| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413584145841558416584175841858419584205842158422584235842458425584265842758428584295843058431584325843358434584355843658437584385843958440584415844258443584445844558446584475844858449584505845158452584535845458455584565845758458584595846058461584625846358464584655846658467584685846958470584715847258473584745847558476584775847858479584805848158482584835848458485584865848758488584895849058491584925849358494584955849658497584985849958500585015850258503585045850558506585075850858509585105851158512585135851458515585165851758518585195852058521585225852358524585255852658527585285852958530585315853258533585345853558536585375853858539585405854158542585435854458545585465854758548585495855058551585525855358554585555855658557585585855958560585615856258563585645856558566585675856858569585705857158572585735857458575585765857758578585795858058581585825858358584585855858658587585885858958590585915859258593585945859558596585975859858599586005860158602586035860458605586065860758608586095861058611586125861358614586155861658617586185861958620586215862258623586245862558626586275862858629586305863158632586335863458635586365863758638586395864058641586425864358644586455864658647586485864958650586515865258653586545865558656586575865858659586605866158662586635866458665586665866758668586695867058671586725867358674586755867658677586785867958680586815868258683586845868558686586875868858689586905869158692586935869458695586965869758698586995870058701587025870358704587055870658707587085870958710587115871258713587145871558716587175871858719587205872158722587235872458725587265872758728587295873058731587325873358734587355873658737587385873958740587415874258743587445874558746587475874858749587505875158752587535875458755587565875758758587595876058761587625876358764587655876658767587685876958770587715877258773587745877558776587775877858779587805878158782587835878458785587865878758788587895879058791587925879358794587955879658797587985879958800588015880258803588045880558806588075880858809588105881158812588135881458815588165881758818588195882058821588225882358824588255882658827588285882958830588315883258833588345883558836588375883858839588405884158842588435884458845588465884758848588495885058851588525885358854588555885658857588585885958860588615886258863588645886558866588675886858869588705887158872588735887458875588765887758878588795888058881588825888358884588855888658887588885888958890588915889258893588945889558896588975889858899589005890158902589035890458905589065890758908589095891058911589125891358914589155891658917589185891958920589215892258923589245892558926589275892858929589305893158932589335893458935589365893758938589395894058941589425894358944589455894658947589485894958950589515895258953589545895558956589575895858959589605896158962589635896458965589665896758968589695897058971589725897358974589755897658977589785897958980589815898258983589845898558986589875898858989589905899158992589935899458995589965899758998589995900059001590025900359004590055900659007590085900959010590115901259013590145901559016590175901859019590205902159022590235902459025590265902759028590295903059031590325903359034590355903659037590385903959040590415904259043590445904559046590475904859049590505905159052590535905459055590565905759058590595906059061590625906359064590655906659067590685906959070590715907259073590745907559076590775907859079590805908159082590835908459085590865908759088590895909059091590925909359094590955909659097590985909959100591015910259103591045910559106591075910859109591105911159112591135911459115591165911759118591195912059121591225912359124591255912659127591285912959130591315913259133591345913559136591375913859139591405914159142591435914459145591465914759148591495915059151591525915359154591555915659157591585915959160591615916259163591645916559166591675916859169591705917159172591735917459175591765917759178591795918059181591825918359184591855918659187591885918959190591915919259193591945919559196591975919859199592005920159202592035920459205592065920759208592095921059211592125921359214592155921659217592185921959220592215922259223592245922559226592275922859229592305923159232592335923459235592365923759238592395924059241592425924359244592455924659247592485924959250592515925259253592545925559256592575925859259592605926159262592635926459265592665926759268592695927059271592725927359274592755927659277592785927959280592815928259283592845928559286592875928859289592905929159292592935929459295592965929759298592995930059301593025930359304593055930659307593085930959310593115931259313593145931559316593175931859319593205932159322593235932459325593265932759328593295933059331593325933359334593355933659337593385933959340593415934259343593445934559346593475934859349593505935159352593535935459355593565935759358593595936059361593625936359364593655936659367593685936959370593715937259373593745937559376593775937859379593805938159382593835938459385593865938759388593895939059391593925939359394593955939659397593985939959400594015940259403594045940559406594075940859409594105941159412594135941459415594165941759418594195942059421594225942359424594255942659427594285942959430594315943259433594345943559436594375943859439594405944159442594435944459445594465944759448594495945059451594525945359454594555945659457594585945959460594615946259463594645946559466594675946859469594705947159472594735947459475594765947759478594795948059481594825948359484594855948659487594885948959490594915949259493594945949559496594975949859499595005950159502595035950459505595065950759508595095951059511595125951359514595155951659517595185951959520595215952259523595245952559526595275952859529595305953159532595335953459535595365953759538595395954059541595425954359544595455954659547595485954959550595515955259553595545955559556595575955859559595605956159562595635956459565595665956759568595695957059571595725957359574595755957659577595785957959580595815958259583595845958559586595875958859589595905959159592595935959459595595965959759598595995960059601596025960359604596055960659607596085960959610596115961259613596145961559616596175961859619596205962159622596235962459625596265962759628596295963059631596325963359634596355963659637596385963959640596415964259643596445964559646596475964859649596505965159652596535965459655596565965759658596595966059661596625966359664596655966659667596685966959670596715967259673596745967559676596775967859679596805968159682596835968459685596865968759688596895969059691596925969359694596955969659697596985969959700597015970259703597045970559706597075970859709597105971159712597135971459715597165971759718597195972059721597225972359724597255972659727597285972959730597315973259733597345973559736597375973859739597405974159742597435974459745597465974759748597495975059751597525975359754597555975659757597585975959760597615976259763597645976559766597675976859769597705977159772597735977459775597765977759778597795978059781597825978359784597855978659787597885978959790597915979259793597945979559796597975979859799598005980159802598035980459805598065980759808598095981059811598125981359814598155981659817598185981959820598215982259823598245982559826598275982859829598305983159832598335983459835598365983759838598395984059841598425984359844598455984659847598485984959850598515985259853598545985559856598575985859859598605986159862598635986459865598665986759868598695987059871598725987359874598755987659877598785987959880598815988259883598845988559886598875988859889598905989159892598935989459895598965989759898598995990059901599025990359904599055990659907599085990959910599115991259913599145991559916599175991859919599205992159922599235992459925599265992759928599295993059931599325993359934599355993659937599385993959940599415994259943599445994559946599475994859949599505995159952599535995459955599565995759958599595996059961599625996359964599655996659967599685996959970599715997259973599745997559976599775997859979599805998159982599835998459985599865998759988599895999059991599925999359994599955999659997599985999960000600016000260003600046000560006600076000860009600106001160012600136001460015600166001760018600196002060021600226002360024600256002660027600286002960030600316003260033600346003560036600376003860039600406004160042600436004460045600466004760048600496005060051600526005360054600556005660057600586005960060600616006260063600646006560066600676006860069600706007160072600736007460075600766007760078600796008060081600826008360084600856008660087600886008960090600916009260093600946009560096600976009860099601006010160102601036010460105601066010760108601096011060111601126011360114601156011660117601186011960120601216012260123601246012560126601276012860129601306013160132601336013460135601366013760138601396014060141601426014360144601456014660147601486014960150601516015260153601546015560156601576015860159601606016160162601636016460165601666016760168601696017060171601726017360174601756017660177601786017960180601816018260183601846018560186601876018860189601906019160192601936019460195601966019760198601996020060201602026020360204602056020660207602086020960210602116021260213602146021560216602176021860219602206022160222602236022460225602266022760228602296023060231602326023360234602356023660237602386023960240602416024260243602446024560246602476024860249602506025160252602536025460255602566025760258602596026060261602626026360264602656026660267602686026960270602716027260273602746027560276602776027860279602806028160282602836028460285602866028760288602896029060291602926029360294602956029660297602986029960300603016030260303603046030560306603076030860309603106031160312603136031460315603166031760318603196032060321603226032360324603256032660327603286032960330603316033260333603346033560336603376033860339603406034160342603436034460345603466034760348603496035060351603526035360354603556035660357603586035960360603616036260363603646036560366603676036860369603706037160372603736037460375603766037760378603796038060381603826038360384603856038660387603886038960390603916039260393603946039560396603976039860399604006040160402604036040460405604066040760408604096041060411604126041360414604156041660417604186041960420604216042260423604246042560426604276042860429604306043160432604336043460435604366043760438604396044060441604426044360444604456044660447604486044960450604516045260453604546045560456604576045860459604606046160462604636046460465604666046760468604696047060471604726047360474604756047660477604786047960480604816048260483604846048560486604876048860489604906049160492604936049460495604966049760498604996050060501605026050360504605056050660507605086050960510605116051260513605146051560516605176051860519605206052160522605236052460525605266052760528605296053060531605326053360534605356053660537605386053960540605416054260543605446054560546605476054860549605506055160552605536055460555605566055760558605596056060561605626056360564605656056660567605686056960570605716057260573605746057560576605776057860579605806058160582605836058460585605866058760588605896059060591605926059360594605956059660597605986059960600606016060260603606046060560606606076060860609606106061160612606136061460615606166061760618606196062060621606226062360624606256062660627606286062960630606316063260633606346063560636606376063860639606406064160642606436064460645606466064760648606496065060651606526065360654606556065660657606586065960660606616066260663606646066560666606676066860669606706067160672606736067460675606766067760678606796068060681606826068360684606856068660687606886068960690606916069260693606946069560696606976069860699607006070160702607036070460705607066070760708607096071060711607126071360714607156071660717607186071960720607216072260723607246072560726607276072860729607306073160732607336073460735607366073760738607396074060741607426074360744607456074660747607486074960750607516075260753607546075560756607576075860759607606076160762607636076460765607666076760768607696077060771607726077360774607756077660777607786077960780607816078260783607846078560786607876078860789607906079160792607936079460795607966079760798607996080060801608026080360804608056080660807608086080960810608116081260813608146081560816608176081860819608206082160822608236082460825608266082760828608296083060831608326083360834608356083660837608386083960840608416084260843608446084560846608476084860849608506085160852608536085460855608566085760858608596086060861608626086360864608656086660867608686086960870608716087260873608746087560876608776087860879608806088160882608836088460885608866088760888608896089060891608926089360894608956089660897608986089960900609016090260903609046090560906609076090860909609106091160912609136091460915609166091760918609196092060921609226092360924609256092660927609286092960930609316093260933609346093560936609376093860939609406094160942609436094460945609466094760948609496095060951609526095360954609556095660957609586095960960609616096260963609646096560966609676096860969609706097160972609736097460975609766097760978609796098060981609826098360984609856098660987609886098960990609916099260993609946099560996609976099860999610006100161002610036100461005610066100761008610096101061011610126101361014610156101661017610186101961020610216102261023610246102561026610276102861029610306103161032610336103461035610366103761038610396104061041610426104361044610456104661047610486104961050610516105261053610546105561056610576105861059610606106161062610636106461065610666106761068610696107061071610726107361074610756107661077610786107961080610816108261083610846108561086610876108861089610906109161092610936109461095610966109761098610996110061101611026110361104611056110661107611086110961110611116111261113611146111561116611176111861119611206112161122611236112461125611266112761128611296113061131611326113361134611356113661137611386113961140611416114261143611446114561146611476114861149611506115161152611536115461155611566115761158611596116061161611626116361164611656116661167611686116961170611716117261173611746117561176611776117861179611806118161182611836118461185611866118761188611896119061191611926119361194611956119661197611986119961200612016120261203612046120561206612076120861209612106121161212612136121461215612166121761218612196122061221612226122361224612256122661227612286122961230612316123261233612346123561236612376123861239612406124161242612436124461245612466124761248612496125061251612526125361254612556125661257612586125961260612616126261263612646126561266612676126861269612706127161272612736127461275612766127761278612796128061281612826128361284612856128661287612886128961290612916129261293612946129561296612976129861299613006130161302613036130461305613066130761308613096131061311613126131361314613156131661317613186131961320613216132261323613246132561326613276132861329613306133161332613336133461335613366133761338613396134061341613426134361344613456134661347613486134961350613516135261353613546135561356613576135861359613606136161362613636136461365613666136761368613696137061371613726137361374613756137661377613786137961380613816138261383613846138561386613876138861389613906139161392613936139461395613966139761398613996140061401614026140361404614056140661407614086140961410614116141261413614146141561416614176141861419614206142161422614236142461425614266142761428614296143061431614326143361434614356143661437614386143961440614416144261443614446144561446614476144861449614506145161452614536145461455614566145761458614596146061461614626146361464614656146661467614686146961470614716147261473614746147561476614776147861479614806148161482614836148461485614866148761488614896149061491614926149361494614956149661497614986149961500615016150261503615046150561506615076150861509615106151161512615136151461515615166151761518615196152061521615226152361524615256152661527615286152961530615316153261533615346153561536615376153861539615406154161542615436154461545615466154761548615496155061551615526155361554615556155661557615586155961560615616156261563615646156561566615676156861569615706157161572615736157461575615766157761578615796158061581615826158361584615856158661587615886158961590615916159261593615946159561596615976159861599616006160161602616036160461605616066160761608616096161061611616126161361614616156161661617616186161961620616216162261623616246162561626616276162861629616306163161632616336163461635616366163761638616396164061641616426164361644616456164661647616486164961650616516165261653616546165561656616576165861659616606166161662616636166461665616666166761668616696167061671616726167361674616756167661677616786167961680616816168261683616846168561686616876168861689616906169161692616936169461695616966169761698616996170061701617026170361704617056170661707617086170961710617116171261713617146171561716617176171861719617206172161722617236172461725617266172761728617296173061731617326173361734617356173661737617386173961740617416174261743617446174561746617476174861749617506175161752617536175461755617566175761758617596176061761617626176361764617656176661767617686176961770617716177261773617746177561776617776177861779617806178161782617836178461785617866178761788617896179061791617926179361794617956179661797617986179961800618016180261803618046180561806618076180861809618106181161812618136181461815618166181761818618196182061821618226182361824618256182661827618286182961830618316183261833618346183561836618376183861839618406184161842618436184461845618466184761848618496185061851618526185361854618556185661857618586185961860618616186261863618646186561866618676186861869618706187161872618736187461875618766187761878618796188061881618826188361884618856188661887618886188961890618916189261893618946189561896618976189861899619006190161902619036190461905619066190761908619096191061911619126191361914619156191661917619186191961920619216192261923619246192561926619276192861929619306193161932619336193461935619366193761938619396194061941619426194361944619456194661947619486194961950619516195261953619546195561956619576195861959619606196161962619636196461965619666196761968619696197061971619726197361974619756197661977619786197961980619816198261983619846198561986619876198861989619906199161992619936199461995619966199761998619996200062001620026200362004620056200662007620086200962010620116201262013620146201562016620176201862019620206202162022620236202462025620266202762028620296203062031620326203362034620356203662037620386203962040620416204262043620446204562046620476204862049620506205162052620536205462055620566205762058620596206062061620626206362064620656206662067620686206962070620716207262073620746207562076620776207862079620806208162082620836208462085620866208762088620896209062091620926209362094620956209662097620986209962100621016210262103621046210562106621076210862109621106211162112621136211462115621166211762118621196212062121621226212362124621256212662127621286212962130621316213262133621346213562136621376213862139621406214162142621436214462145621466214762148621496215062151621526215362154621556215662157621586215962160621616216262163621646216562166621676216862169621706217162172621736217462175621766217762178621796218062181621826218362184621856218662187621886218962190621916219262193621946219562196621976219862199622006220162202622036220462205622066220762208622096221062211622126221362214622156221662217622186221962220622216222262223622246222562226622276222862229622306223162232622336223462235622366223762238622396224062241622426224362244622456224662247622486224962250622516225262253622546225562256622576225862259622606226162262622636226462265622666226762268622696227062271622726227362274622756227662277622786227962280622816228262283622846228562286622876228862289622906229162292622936229462295622966229762298622996230062301623026230362304623056230662307623086230962310623116231262313623146231562316623176231862319623206232162322623236232462325623266232762328623296233062331623326233362334623356233662337623386233962340623416234262343623446234562346623476234862349623506235162352623536235462355623566235762358623596236062361623626236362364623656236662367623686236962370623716237262373623746237562376623776237862379623806238162382623836238462385623866238762388623896239062391623926239362394623956239662397623986239962400624016240262403624046240562406624076240862409624106241162412624136241462415624166241762418624196242062421624226242362424624256242662427624286242962430624316243262433624346243562436624376243862439624406244162442624436244462445624466244762448624496245062451624526245362454624556245662457624586245962460624616246262463624646246562466624676246862469624706247162472624736247462475624766247762478624796248062481624826248362484624856248662487624886248962490624916249262493624946249562496624976249862499625006250162502625036250462505625066250762508625096251062511625126251362514625156251662517625186251962520625216252262523625246252562526625276252862529625306253162532625336253462535625366253762538625396254062541625426254362544625456254662547625486254962550625516255262553625546255562556625576255862559625606256162562625636256462565625666256762568625696257062571625726257362574625756257662577625786257962580625816258262583625846258562586625876258862589625906259162592625936259462595625966259762598625996260062601626026260362604626056260662607626086260962610626116261262613626146261562616626176261862619626206262162622626236262462625626266262762628626296263062631626326263362634626356263662637626386263962640626416264262643626446264562646626476264862649626506265162652626536265462655626566265762658626596266062661626626266362664626656266662667626686266962670626716267262673626746267562676626776267862679626806268162682626836268462685626866268762688626896269062691626926269362694626956269662697626986269962700627016270262703627046270562706627076270862709627106271162712627136271462715627166271762718627196272062721627226272362724627256272662727627286272962730627316273262733627346273562736627376273862739627406274162742627436274462745627466274762748627496275062751627526275362754627556275662757627586275962760627616276262763627646276562766627676276862769627706277162772627736277462775627766277762778627796278062781627826278362784627856278662787627886278962790627916279262793627946279562796627976279862799628006280162802628036280462805628066280762808628096281062811628126281362814628156281662817628186281962820628216282262823628246282562826628276282862829628306283162832628336283462835628366283762838628396284062841628426284362844628456284662847628486284962850628516285262853628546285562856628576285862859628606286162862628636286462865628666286762868628696287062871628726287362874628756287662877628786287962880628816288262883628846288562886628876288862889628906289162892628936289462895628966289762898628996290062901629026290362904629056290662907629086290962910629116291262913629146291562916629176291862919629206292162922629236292462925629266292762928629296293062931629326293362934629356293662937629386293962940629416294262943629446294562946629476294862949629506295162952629536295462955629566295762958629596296062961629626296362964629656296662967629686296962970629716297262973629746297562976629776297862979629806298162982629836298462985629866298762988629896299062991629926299362994629956299662997629986299963000630016300263003630046300563006630076300863009630106301163012630136301463015630166301763018630196302063021630226302363024630256302663027630286302963030630316303263033630346303563036630376303863039630406304163042630436304463045630466304763048630496305063051630526305363054630556305663057630586305963060630616306263063630646306563066630676306863069630706307163072630736307463075630766307763078630796308063081630826308363084630856308663087630886308963090630916309263093630946309563096630976309863099631006310163102631036310463105631066310763108631096311063111631126311363114631156311663117631186311963120631216312263123631246312563126631276312863129631306313163132631336313463135631366313763138631396314063141631426314363144631456314663147631486314963150631516315263153631546315563156631576315863159631606316163162631636316463165631666316763168631696317063171631726317363174631756317663177631786317963180631816318263183631846318563186631876318863189631906319163192631936319463195631966319763198631996320063201632026320363204632056320663207632086320963210632116321263213632146321563216632176321863219632206322163222632236322463225632266322763228632296323063231632326323363234632356323663237632386323963240632416324263243632446324563246632476324863249632506325163252632536325463255632566325763258632596326063261632626326363264632656326663267632686326963270632716327263273632746327563276632776327863279632806328163282632836328463285632866328763288632896329063291632926329363294632956329663297632986329963300633016330263303633046330563306633076330863309633106331163312633136331463315633166331763318633196332063321633226332363324633256332663327633286332963330633316333263333633346333563336633376333863339633406334163342633436334463345633466334763348633496335063351633526335363354633556335663357633586335963360633616336263363633646336563366633676336863369633706337163372633736337463375633766337763378633796338063381633826338363384633856338663387633886338963390633916339263393633946339563396633976339863399634006340163402634036340463405634066340763408634096341063411634126341363414634156341663417634186341963420634216342263423634246342563426634276342863429634306343163432634336343463435634366343763438634396344063441634426344363444634456344663447634486344963450634516345263453634546345563456634576345863459634606346163462634636346463465634666346763468634696347063471634726347363474634756347663477634786347963480634816348263483634846348563486634876348863489634906349163492634936349463495634966349763498634996350063501635026350363504635056350663507635086350963510635116351263513635146351563516635176351863519635206352163522635236352463525635266352763528635296353063531635326353363534635356353663537635386353963540635416354263543635446354563546635476354863549635506355163552635536355463555635566355763558635596356063561635626356363564635656356663567635686356963570635716357263573635746357563576635776357863579635806358163582635836358463585635866358763588635896359063591635926359363594635956359663597635986359963600636016360263603636046360563606636076360863609636106361163612636136361463615636166361763618636196362063621636226362363624636256362663627636286362963630636316363263633636346363563636636376363863639636406364163642636436364463645636466364763648636496365063651636526365363654636556365663657636586365963660636616366263663636646366563666636676366863669636706367163672636736367463675636766367763678636796368063681636826368363684636856368663687636886368963690636916369263693636946369563696636976369863699637006370163702637036370463705637066370763708637096371063711637126371363714637156371663717637186371963720637216372263723637246372563726637276372863729637306373163732637336373463735637366373763738637396374063741637426374363744637456374663747637486374963750637516375263753637546375563756637576375863759637606376163762637636376463765637666376763768637696377063771637726377363774637756377663777637786377963780637816378263783637846378563786637876378863789637906379163792637936379463795637966379763798637996380063801638026380363804638056380663807638086380963810638116381263813638146381563816638176381863819638206382163822638236382463825638266382763828638296383063831638326383363834638356383663837638386383963840638416384263843638446384563846638476384863849638506385163852638536385463855638566385763858638596386063861638626386363864638656386663867638686386963870638716387263873638746387563876638776387863879638806388163882638836388463885638866388763888638896389063891638926389363894638956389663897638986389963900639016390263903639046390563906639076390863909639106391163912639136391463915639166391763918639196392063921639226392363924639256392663927639286392963930639316393263933639346393563936639376393863939639406394163942639436394463945639466394763948639496395063951639526395363954639556395663957639586395963960639616396263963639646396563966639676396863969639706397163972639736397463975639766397763978639796398063981639826398363984639856398663987639886398963990639916399263993639946399563996639976399863999640006400164002640036400464005640066400764008640096401064011640126401364014640156401664017640186401964020640216402264023640246402564026640276402864029640306403164032640336403464035640366403764038640396404064041640426404364044640456404664047640486404964050640516405264053640546405564056640576405864059640606406164062640636406464065640666406764068640696407064071640726407364074640756407664077640786407964080640816408264083640846408564086640876408864089640906409164092640936409464095640966409764098640996410064101641026410364104641056410664107641086410964110641116411264113641146411564116641176411864119641206412164122641236412464125641266412764128641296413064131641326413364134641356413664137641386413964140641416414264143641446414564146641476414864149641506415164152641536415464155641566415764158641596416064161641626416364164641656416664167641686416964170641716417264173641746417564176641776417864179641806418164182641836418464185641866418764188641896419064191641926419364194641956419664197641986419964200642016420264203642046420564206642076420864209642106421164212642136421464215642166421764218642196422064221642226422364224642256422664227642286422964230642316423264233642346423564236642376423864239642406424164242642436424464245642466424764248642496425064251642526425364254642556425664257642586425964260642616426264263642646426564266642676426864269642706427164272642736427464275642766427764278642796428064281642826428364284642856428664287642886428964290642916429264293642946429564296642976429864299643006430164302643036430464305643066430764308643096431064311643126431364314643156431664317643186431964320643216432264323643246432564326643276432864329643306433164332643336433464335643366433764338643396434064341643426434364344643456434664347643486434964350643516435264353643546435564356643576435864359643606436164362643636436464365643666436764368643696437064371643726437364374643756437664377643786437964380643816438264383643846438564386643876438864389643906439164392643936439464395643966439764398643996440064401644026440364404644056440664407644086440964410644116441264413644146441564416644176441864419644206442164422644236442464425644266442764428644296443064431644326443364434644356443664437644386443964440644416444264443644446444564446644476444864449644506445164452644536445464455644566445764458644596446064461644626446364464644656446664467644686446964470644716447264473644746447564476644776447864479644806448164482644836448464485644866448764488644896449064491644926449364494644956449664497644986449964500645016450264503645046450564506645076450864509645106451164512645136451464515645166451764518645196452064521645226452364524645256452664527645286452964530645316453264533645346453564536645376453864539645406454164542645436454464545645466454764548645496455064551645526455364554645556455664557645586455964560645616456264563645646456564566645676456864569645706457164572645736457464575645766457764578645796458064581645826458364584645856458664587645886458964590645916459264593645946459564596645976459864599646006460164602646036460464605646066460764608646096461064611646126461364614646156461664617646186461964620646216462264623646246462564626646276462864629646306463164632646336463464635646366463764638646396464064641646426464364644646456464664647646486464964650646516465264653646546465564656646576465864659646606466164662646636466464665646666466764668646696467064671646726467364674646756467664677646786467964680646816468264683646846468564686646876468864689646906469164692646936469464695646966469764698646996470064701647026470364704647056470664707647086470964710647116471264713647146471564716647176471864719647206472164722647236472464725647266472764728647296473064731647326473364734647356473664737647386473964740647416474264743647446474564746647476474864749647506475164752647536475464755647566475764758647596476064761647626476364764647656476664767647686476964770647716477264773647746477564776647776477864779647806478164782647836478464785647866478764788647896479064791647926479364794647956479664797647986479964800648016480264803648046480564806648076480864809648106481164812648136481464815648166481764818648196482064821648226482364824648256482664827648286482964830648316483264833648346483564836648376483864839648406484164842648436484464845648466484764848648496485064851648526485364854648556485664857648586485964860648616486264863648646486564866648676486864869648706487164872648736487464875648766487764878648796488064881648826488364884648856488664887648886488964890648916489264893648946489564896648976489864899649006490164902649036490464905649066490764908649096491064911649126491364914649156491664917649186491964920649216492264923649246492564926649276492864929649306493164932649336493464935649366493764938649396494064941649426494364944649456494664947649486494964950649516495264953649546495564956649576495864959649606496164962649636496464965649666496764968649696497064971649726497364974649756497664977649786497964980649816498264983649846498564986649876498864989649906499164992649936499464995649966499764998649996500065001650026500365004650056500665007650086500965010650116501265013650146501565016650176501865019650206502165022650236502465025650266502765028650296503065031650326503365034650356503665037650386503965040650416504265043650446504565046650476504865049650506505165052650536505465055650566505765058650596506065061650626506365064650656506665067650686506965070650716507265073650746507565076650776507865079650806508165082650836508465085650866508765088650896509065091650926509365094650956509665097650986509965100651016510265103651046510565106651076510865109651106511165112651136511465115651166511765118651196512065121651226512365124651256512665127651286512965130651316513265133651346513565136651376513865139651406514165142651436514465145651466514765148651496515065151651526515365154651556515665157651586515965160651616516265163651646516565166651676516865169651706517165172651736517465175651766517765178651796518065181651826518365184651856518665187651886518965190651916519265193651946519565196651976519865199652006520165202652036520465205652066520765208652096521065211652126521365214652156521665217652186521965220652216522265223652246522565226652276522865229652306523165232652336523465235652366523765238652396524065241652426524365244652456524665247652486524965250652516525265253652546525565256652576525865259652606526165262652636526465265652666526765268652696527065271652726527365274652756527665277652786527965280652816528265283652846528565286652876528865289652906529165292652936529465295652966529765298652996530065301653026530365304653056530665307653086530965310653116531265313653146531565316653176531865319653206532165322653236532465325653266532765328653296533065331653326533365334653356533665337653386533965340653416534265343653446534565346653476534865349653506535165352653536535465355653566535765358653596536065361653626536365364653656536665367653686536965370653716537265373653746537565376653776537865379653806538165382653836538465385653866538765388653896539065391653926539365394653956539665397653986539965400654016540265403654046540565406654076540865409654106541165412654136541465415654166541765418654196542065421654226542365424654256542665427654286542965430654316543265433654346543565436654376543865439654406544165442654436544465445654466544765448654496545065451654526545365454654556545665457654586545965460654616546265463654646546565466654676546865469654706547165472654736547465475654766547765478654796548065481654826548365484654856548665487654886548965490654916549265493654946549565496654976549865499655006550165502655036550465505655066550765508655096551065511655126551365514655156551665517655186551965520655216552265523655246552565526655276552865529655306553165532655336553465535655366553765538655396554065541655426554365544655456554665547655486554965550655516555265553655546555565556655576555865559655606556165562655636556465565655666556765568655696557065571655726557365574655756557665577655786557965580655816558265583655846558565586655876558865589655906559165592655936559465595655966559765598655996560065601656026560365604656056560665607656086560965610656116561265613656146561565616656176561865619656206562165622656236562465625656266562765628656296563065631656326563365634656356563665637656386563965640656416564265643656446564565646656476564865649656506565165652656536565465655656566565765658656596566065661656626566365664656656566665667656686566965670656716567265673656746567565676656776567865679656806568165682656836568465685656866568765688656896569065691656926569365694656956569665697656986569965700657016570265703657046570565706657076570865709657106571165712657136571465715657166571765718657196572065721657226572365724657256572665727657286572965730657316573265733657346573565736657376573865739657406574165742657436574465745657466574765748657496575065751657526575365754657556575665757657586575965760657616576265763657646576565766657676576865769657706577165772657736577465775657766577765778657796578065781657826578365784657856578665787657886578965790657916579265793657946579565796657976579865799658006580165802658036580465805658066580765808658096581065811658126581365814658156581665817658186581965820658216582265823658246582565826658276582865829658306583165832658336583465835658366583765838658396584065841658426584365844658456584665847658486584965850658516585265853658546585565856658576585865859658606586165862658636586465865658666586765868658696587065871658726587365874658756587665877658786587965880658816588265883658846588565886658876588865889658906589165892658936589465895658966589765898658996590065901659026590365904659056590665907659086590965910659116591265913659146591565916659176591865919659206592165922659236592465925659266592765928659296593065931659326593365934659356593665937659386593965940659416594265943659446594565946659476594865949659506595165952659536595465955659566595765958659596596065961659626596365964659656596665967659686596965970659716597265973659746597565976659776597865979659806598165982659836598465985659866598765988659896599065991659926599365994659956599665997659986599966000660016600266003660046600566006660076600866009660106601166012660136601466015660166601766018660196602066021660226602366024660256602666027660286602966030660316603266033660346603566036660376603866039660406604166042660436604466045660466604766048660496605066051660526605366054660556605666057660586605966060660616606266063660646606566066660676606866069660706607166072660736607466075660766607766078660796608066081660826608366084660856608666087660886608966090660916609266093660946609566096660976609866099661006610166102661036610466105661066610766108661096611066111661126611366114661156611666117661186611966120661216612266123661246612566126661276612866129661306613166132661336613466135661366613766138661396614066141661426614366144661456614666147661486614966150661516615266153661546615566156661576615866159661606616166162661636616466165661666616766168661696617066171661726617366174661756617666177661786617966180661816618266183661846618566186661876618866189661906619166192661936619466195661966619766198661996620066201662026620366204662056620666207662086620966210662116621266213662146621566216662176621866219662206622166222662236622466225662266622766228662296623066231662326623366234662356623666237662386623966240662416624266243662446624566246662476624866249662506625166252662536625466255662566625766258662596626066261662626626366264662656626666267662686626966270662716627266273662746627566276662776627866279662806628166282662836628466285662866628766288662896629066291662926629366294662956629666297662986629966300663016630266303663046630566306663076630866309663106631166312663136631466315663166631766318663196632066321663226632366324663256632666327663286632966330663316633266333663346633566336663376633866339663406634166342663436634466345663466634766348663496635066351663526635366354663556635666357663586635966360663616636266363663646636566366663676636866369663706637166372663736637466375663766637766378663796638066381663826638366384663856638666387663886638966390663916639266393663946639566396663976639866399664006640166402664036640466405664066640766408664096641066411664126641366414664156641666417664186641966420664216642266423664246642566426664276642866429664306643166432664336643466435664366643766438664396644066441664426644366444664456644666447664486644966450664516645266453664546645566456664576645866459664606646166462664636646466465664666646766468664696647066471664726647366474664756647666477664786647966480664816648266483664846648566486664876648866489664906649166492664936649466495664966649766498664996650066501665026650366504665056650666507665086650966510665116651266513665146651566516665176651866519665206652166522665236652466525665266652766528665296653066531665326653366534665356653666537665386653966540665416654266543665446654566546665476654866549665506655166552665536655466555665566655766558665596656066561665626656366564665656656666567665686656966570665716657266573665746657566576665776657866579665806658166582665836658466585665866658766588665896659066591665926659366594665956659666597665986659966600666016660266603666046660566606666076660866609666106661166612666136661466615666166661766618666196662066621666226662366624666256662666627666286662966630666316663266633666346663566636666376663866639666406664166642666436664466645666466664766648666496665066651666526665366654666556665666657666586665966660666616666266663666646666566666666676666866669666706667166672666736667466675666766667766678666796668066681666826668366684666856668666687666886668966690666916669266693666946669566696666976669866699667006670166702667036670466705667066670766708667096671066711667126671366714667156671666717667186671966720667216672266723667246672566726667276672866729667306673166732667336673466735667366673766738667396674066741667426674366744667456674666747667486674966750667516675266753667546675566756667576675866759667606676166762667636676466765667666676766768667696677066771667726677366774667756677666777667786677966780667816678266783667846678566786667876678866789667906679166792667936679466795667966679766798667996680066801668026680366804668056680666807668086680966810668116681266813668146681566816668176681866819668206682166822668236682466825668266682766828668296683066831668326683366834668356683666837668386683966840668416684266843668446684566846668476684866849668506685166852668536685466855668566685766858668596686066861668626686366864668656686666867668686686966870668716687266873668746687566876668776687866879668806688166882668836688466885668866688766888668896689066891668926689366894668956689666897668986689966900669016690266903669046690566906669076690866909669106691166912669136691466915669166691766918669196692066921669226692366924669256692666927669286692966930669316693266933669346693566936669376693866939669406694166942669436694466945669466694766948669496695066951669526695366954669556695666957669586695966960669616696266963669646696566966669676696866969669706697166972669736697466975669766697766978669796698066981669826698366984669856698666987669886698966990669916699266993669946699566996669976699866999670006700167002670036700467005670066700767008670096701067011670126701367014670156701667017670186701967020670216702267023670246702567026670276702867029670306703167032670336703467035670366703767038670396704067041670426704367044670456704667047670486704967050670516705267053670546705567056670576705867059670606706167062670636706467065670666706767068670696707067071670726707367074670756707667077670786707967080670816708267083670846708567086670876708867089670906709167092670936709467095670966709767098670996710067101671026710367104671056710667107671086710967110671116711267113671146711567116671176711867119671206712167122671236712467125671266712767128671296713067131671326713367134671356713667137671386713967140671416714267143671446714567146671476714867149671506715167152671536715467155671566715767158671596716067161671626716367164671656716667167671686716967170671716717267173671746717567176671776717867179671806718167182671836718467185671866718767188671896719067191671926719367194671956719667197671986719967200672016720267203672046720567206672076720867209672106721167212672136721467215672166721767218672196722067221672226722367224672256722667227672286722967230672316723267233672346723567236672376723867239672406724167242672436724467245672466724767248672496725067251672526725367254672556725667257672586725967260672616726267263672646726567266672676726867269672706727167272672736727467275672766727767278672796728067281672826728367284672856728667287672886728967290672916729267293672946729567296672976729867299673006730167302673036730467305673066730767308673096731067311673126731367314673156731667317673186731967320673216732267323673246732567326673276732867329673306733167332673336733467335673366733767338673396734067341673426734367344673456734667347673486734967350673516735267353673546735567356673576735867359673606736167362673636736467365673666736767368673696737067371673726737367374673756737667377673786737967380673816738267383673846738567386673876738867389673906739167392673936739467395673966739767398673996740067401674026740367404674056740667407674086740967410674116741267413674146741567416674176741867419674206742167422674236742467425674266742767428674296743067431674326743367434674356743667437674386743967440674416744267443674446744567446674476744867449674506745167452674536745467455674566745767458674596746067461674626746367464674656746667467674686746967470674716747267473674746747567476674776747867479674806748167482674836748467485674866748767488674896749067491674926749367494674956749667497674986749967500675016750267503675046750567506675076750867509675106751167512675136751467515675166751767518675196752067521675226752367524675256752667527675286752967530675316753267533675346753567536675376753867539675406754167542675436754467545675466754767548675496755067551675526755367554675556755667557675586755967560675616756267563675646756567566675676756867569675706757167572675736757467575675766757767578675796758067581675826758367584675856758667587675886758967590675916759267593675946759567596675976759867599676006760167602676036760467605676066760767608676096761067611676126761367614676156761667617676186761967620676216762267623676246762567626676276762867629676306763167632676336763467635676366763767638676396764067641676426764367644676456764667647676486764967650676516765267653676546765567656676576765867659676606766167662676636766467665676666766767668676696767067671676726767367674676756767667677676786767967680676816768267683676846768567686676876768867689676906769167692676936769467695676966769767698676996770067701677026770367704677056770667707677086770967710677116771267713677146771567716677176771867719677206772167722677236772467725677266772767728677296773067731677326773367734677356773667737677386773967740677416774267743677446774567746677476774867749677506775167752677536775467755677566775767758677596776067761677626776367764677656776667767677686776967770677716777267773677746777567776677776777867779677806778167782677836778467785677866778767788677896779067791677926779367794677956779667797677986779967800678016780267803678046780567806678076780867809678106781167812678136781467815678166781767818678196782067821678226782367824678256782667827678286782967830678316783267833678346783567836678376783867839678406784167842678436784467845678466784767848678496785067851678526785367854678556785667857678586785967860678616786267863678646786567866678676786867869678706787167872678736787467875678766787767878678796788067881678826788367884678856788667887678886788967890678916789267893678946789567896678976789867899679006790167902679036790467905679066790767908679096791067911679126791367914679156791667917679186791967920679216792267923679246792567926679276792867929679306793167932679336793467935679366793767938679396794067941679426794367944679456794667947679486794967950679516795267953679546795567956679576795867959679606796167962679636796467965679666796767968679696797067971679726797367974679756797667977679786797967980679816798267983679846798567986679876798867989679906799167992679936799467995679966799767998679996800068001680026800368004680056800668007680086800968010680116801268013680146801568016680176801868019680206802168022680236802468025680266802768028680296803068031680326803368034680356803668037680386803968040680416804268043680446804568046680476804868049680506805168052680536805468055680566805768058680596806068061680626806368064680656806668067680686806968070680716807268073680746807568076680776807868079680806808168082680836808468085680866808768088680896809068091680926809368094680956809668097680986809968100681016810268103681046810568106681076810868109681106811168112681136811468115681166811768118681196812068121681226812368124681256812668127681286812968130681316813268133681346813568136681376813868139681406814168142681436814468145681466814768148681496815068151681526815368154681556815668157681586815968160681616816268163681646816568166681676816868169681706817168172681736817468175681766817768178681796818068181681826818368184681856818668187681886818968190681916819268193681946819568196681976819868199682006820168202682036820468205682066820768208682096821068211682126821368214682156821668217682186821968220682216822268223682246822568226682276822868229682306823168232682336823468235682366823768238682396824068241682426824368244682456824668247682486824968250682516825268253682546825568256682576825868259682606826168262682636826468265682666826768268682696827068271682726827368274682756827668277682786827968280682816828268283682846828568286682876828868289682906829168292682936829468295682966829768298682996830068301683026830368304683056830668307683086830968310683116831268313683146831568316683176831868319683206832168322683236832468325683266832768328683296833068331683326833368334683356833668337683386833968340683416834268343683446834568346683476834868349683506835168352683536835468355683566835768358683596836068361683626836368364683656836668367683686836968370683716837268373683746837568376683776837868379683806838168382683836838468385683866838768388683896839068391683926839368394683956839668397683986839968400684016840268403684046840568406684076840868409684106841168412684136841468415684166841768418684196842068421684226842368424684256842668427684286842968430684316843268433684346843568436684376843868439684406844168442684436844468445684466844768448684496845068451684526845368454684556845668457684586845968460684616846268463684646846568466684676846868469684706847168472684736847468475684766847768478684796848068481684826848368484684856848668487684886848968490684916849268493684946849568496684976849868499685006850168502685036850468505685066850768508685096851068511685126851368514685156851668517685186851968520685216852268523685246852568526685276852868529685306853168532685336853468535685366853768538685396854068541685426854368544685456854668547685486854968550685516855268553685546855568556685576855868559685606856168562685636856468565685666856768568685696857068571685726857368574685756857668577685786857968580685816858268583685846858568586685876858868589685906859168592685936859468595685966859768598685996860068601686026860368604686056860668607686086860968610686116861268613686146861568616686176861868619686206862168622686236862468625686266862768628686296863068631686326863368634686356863668637686386863968640686416864268643686446864568646686476864868649686506865168652686536865468655686566865768658686596866068661686626866368664686656866668667686686866968670686716867268673686746867568676686776867868679686806868168682686836868468685686866868768688686896869068691686926869368694686956869668697686986869968700687016870268703687046870568706687076870868709687106871168712687136871468715687166871768718687196872068721687226872368724687256872668727687286872968730687316873268733687346873568736687376873868739687406874168742687436874468745687466874768748687496875068751687526875368754687556875668757687586875968760687616876268763687646876568766687676876868769687706877168772687736877468775687766877768778687796878068781687826878368784687856878668787687886878968790687916879268793687946879568796687976879868799688006880168802688036880468805688066880768808688096881068811688126881368814688156881668817688186881968820688216882268823688246882568826688276882868829688306883168832688336883468835688366883768838688396884068841688426884368844688456884668847688486884968850688516885268853688546885568856688576885868859688606886168862688636886468865688666886768868688696887068871688726887368874688756887668877688786887968880688816888268883688846888568886688876888868889688906889168892688936889468895688966889768898688996890068901689026890368904689056890668907689086890968910689116891268913689146891568916689176891868919689206892168922689236892468925689266892768928689296893068931689326893368934689356893668937689386893968940689416894268943689446894568946689476894868949689506895168952689536895468955689566895768958689596896068961689626896368964689656896668967689686896968970689716897268973689746897568976689776897868979689806898168982689836898468985689866898768988689896899068991689926899368994689956899668997689986899969000690016900269003690046900569006690076900869009690106901169012690136901469015690166901769018690196902069021690226902369024690256902669027690286902969030690316903269033690346903569036690376903869039690406904169042690436904469045690466904769048690496905069051690526905369054690556905669057690586905969060690616906269063690646906569066690676906869069690706907169072690736907469075690766907769078690796908069081690826908369084690856908669087690886908969090690916909269093690946909569096690976909869099691006910169102691036910469105691066910769108691096911069111691126911369114691156911669117691186911969120691216912269123691246912569126691276912869129691306913169132691336913469135691366913769138691396914069141691426914369144691456914669147691486914969150691516915269153691546915569156691576915869159691606916169162691636916469165691666916769168691696917069171691726917369174691756917669177691786917969180691816918269183691846918569186691876918869189691906919169192691936919469195691966919769198691996920069201692026920369204692056920669207692086920969210692116921269213692146921569216692176921869219692206922169222692236922469225692266922769228692296923069231692326923369234692356923669237692386923969240692416924269243692446924569246692476924869249692506925169252692536925469255692566925769258692596926069261692626926369264692656926669267692686926969270692716927269273692746927569276692776927869279692806928169282692836928469285692866928769288692896929069291692926929369294692956929669297692986929969300693016930269303693046930569306693076930869309693106931169312693136931469315693166931769318693196932069321693226932369324693256932669327693286932969330693316933269333693346933569336693376933869339693406934169342693436934469345693466934769348693496935069351693526935369354693556935669357693586935969360693616936269363693646936569366693676936869369693706937169372693736937469375693766937769378693796938069381693826938369384693856938669387693886938969390693916939269393693946939569396693976939869399694006940169402694036940469405694066940769408694096941069411694126941369414694156941669417694186941969420694216942269423694246942569426694276942869429694306943169432694336943469435694366943769438694396944069441694426944369444694456944669447694486944969450694516945269453694546945569456694576945869459694606946169462694636946469465694666946769468694696947069471694726947369474694756947669477694786947969480694816948269483694846948569486694876948869489694906949169492694936949469495694966949769498694996950069501695026950369504695056950669507695086950969510695116951269513695146951569516695176951869519695206952169522695236952469525695266952769528695296953069531695326953369534695356953669537695386953969540695416954269543695446954569546695476954869549695506955169552695536955469555695566955769558695596956069561695626956369564695656956669567695686956969570695716957269573695746957569576695776957869579695806958169582695836958469585695866958769588695896959069591695926959369594695956959669597695986959969600696016960269603696046960569606696076960869609696106961169612696136961469615696166961769618696196962069621696226962369624696256962669627696286962969630696316963269633696346963569636696376963869639696406964169642696436964469645696466964769648696496965069651696526965369654696556965669657696586965969660696616966269663696646966569666696676966869669696706967169672696736967469675696766967769678696796968069681696826968369684696856968669687696886968969690696916969269693696946969569696696976969869699697006970169702697036970469705697066970769708697096971069711697126971369714697156971669717697186971969720697216972269723697246972569726697276972869729697306973169732697336973469735697366973769738697396974069741697426974369744697456974669747697486974969750697516975269753697546975569756697576975869759697606976169762697636976469765697666976769768697696977069771697726977369774697756977669777697786977969780697816978269783697846978569786697876978869789697906979169792697936979469795697966979769798697996980069801698026980369804698056980669807698086980969810698116981269813698146981569816698176981869819698206982169822698236982469825698266982769828698296983069831698326983369834698356983669837698386983969840698416984269843698446984569846698476984869849698506985169852698536985469855698566985769858698596986069861698626986369864698656986669867698686986969870698716987269873698746987569876698776987869879698806988169882698836988469885698866988769888698896989069891698926989369894698956989669897698986989969900699016990269903699046990569906699076990869909699106991169912699136991469915699166991769918699196992069921699226992369924699256992669927699286992969930699316993269933699346993569936699376993869939699406994169942699436994469945699466994769948699496995069951699526995369954699556995669957699586995969960699616996269963699646996569966699676996869969699706997169972699736997469975699766997769978699796998069981699826998369984699856998669987699886998969990699916999269993699946999569996699976999869999700007000170002700037000470005700067000770008700097001070011700127001370014700157001670017700187001970020700217002270023700247002570026700277002870029700307003170032700337003470035700367003770038700397004070041700427004370044700457004670047700487004970050700517005270053700547005570056700577005870059700607006170062700637006470065700667006770068700697007070071700727007370074700757007670077700787007970080700817008270083700847008570086700877008870089700907009170092700937009470095700967009770098700997010070101701027010370104701057010670107701087010970110701117011270113701147011570116701177011870119701207012170122701237012470125701267012770128701297013070131701327013370134701357013670137701387013970140701417014270143701447014570146701477014870149701507015170152701537015470155701567015770158701597016070161701627016370164701657016670167701687016970170701717017270173701747017570176701777017870179701807018170182701837018470185701867018770188701897019070191701927019370194701957019670197701987019970200702017020270203702047020570206702077020870209702107021170212702137021470215702167021770218702197022070221702227022370224702257022670227702287022970230702317023270233702347023570236702377023870239702407024170242702437024470245702467024770248702497025070251702527025370254702557025670257702587025970260702617026270263702647026570266702677026870269702707027170272702737027470275702767027770278702797028070281702827028370284702857028670287702887028970290702917029270293702947029570296702977029870299703007030170302703037030470305703067030770308703097031070311703127031370314703157031670317703187031970320703217032270323703247032570326703277032870329703307033170332703337033470335703367033770338703397034070341703427034370344703457034670347703487034970350703517035270353703547035570356703577035870359703607036170362703637036470365703667036770368703697037070371703727037370374703757037670377703787037970380703817038270383703847038570386703877038870389703907039170392703937039470395703967039770398703997040070401704027040370404704057040670407704087040970410704117041270413704147041570416704177041870419704207042170422704237042470425704267042770428704297043070431704327043370434704357043670437704387043970440704417044270443704447044570446704477044870449704507045170452704537045470455704567045770458704597046070461704627046370464704657046670467704687046970470704717047270473704747047570476704777047870479704807048170482704837048470485704867048770488704897049070491704927049370494704957049670497704987049970500705017050270503705047050570506705077050870509705107051170512705137051470515705167051770518705197052070521705227052370524705257052670527705287052970530705317053270533705347053570536705377053870539705407054170542705437054470545705467054770548705497055070551705527055370554705557055670557705587055970560705617056270563705647056570566705677056870569705707057170572705737057470575705767057770578705797058070581705827058370584705857058670587705887058970590705917059270593705947059570596705977059870599706007060170602706037060470605706067060770608706097061070611706127061370614706157061670617706187061970620706217062270623706247062570626706277062870629706307063170632706337063470635706367063770638706397064070641706427064370644706457064670647706487064970650706517065270653706547065570656706577065870659706607066170662706637066470665706667066770668706697067070671706727067370674706757067670677706787067970680706817068270683706847068570686706877068870689706907069170692706937069470695706967069770698706997070070701707027070370704707057070670707707087070970710707117071270713707147071570716707177071870719707207072170722707237072470725707267072770728707297073070731707327073370734707357073670737707387073970740707417074270743707447074570746707477074870749707507075170752707537075470755707567075770758707597076070761707627076370764707657076670767707687076970770707717077270773707747077570776707777077870779707807078170782707837078470785707867078770788707897079070791707927079370794707957079670797707987079970800708017080270803708047080570806708077080870809708107081170812708137081470815708167081770818708197082070821708227082370824708257082670827708287082970830708317083270833708347083570836708377083870839708407084170842708437084470845708467084770848708497085070851708527085370854708557085670857708587085970860708617086270863708647086570866708677086870869708707087170872708737087470875708767087770878708797088070881708827088370884708857088670887708887088970890708917089270893708947089570896708977089870899709007090170902709037090470905709067090770908709097091070911709127091370914709157091670917709187091970920709217092270923709247092570926709277092870929709307093170932709337093470935709367093770938709397094070941709427094370944709457094670947709487094970950709517095270953709547095570956709577095870959709607096170962709637096470965709667096770968709697097070971709727097370974709757097670977709787097970980709817098270983709847098570986709877098870989709907099170992709937099470995709967099770998709997100071001710027100371004710057100671007710087100971010710117101271013710147101571016710177101871019710207102171022710237102471025710267102771028710297103071031710327103371034710357103671037710387103971040710417104271043710447104571046710477104871049710507105171052710537105471055710567105771058710597106071061710627106371064710657106671067710687106971070710717107271073710747107571076710777107871079710807108171082710837108471085710867108771088710897109071091710927109371094710957109671097710987109971100711017110271103711047110571106711077110871109711107111171112711137111471115711167111771118711197112071121711227112371124711257112671127711287112971130711317113271133711347113571136711377113871139711407114171142711437114471145711467114771148711497115071151711527115371154711557115671157711587115971160711617116271163711647116571166711677116871169711707117171172711737117471175711767117771178711797118071181711827118371184711857118671187711887118971190711917119271193711947119571196711977119871199712007120171202712037120471205712067120771208712097121071211712127121371214712157121671217712187121971220712217122271223712247122571226712277122871229712307123171232712337123471235712367123771238712397124071241712427124371244712457124671247712487124971250712517125271253712547125571256712577125871259712607126171262712637126471265712667126771268712697127071271712727127371274712757127671277712787127971280712817128271283712847128571286712877128871289712907129171292712937129471295712967129771298712997130071301713027130371304713057130671307713087130971310713117131271313713147131571316713177131871319713207132171322713237132471325713267132771328713297133071331713327133371334713357133671337713387133971340713417134271343713447134571346713477134871349713507135171352713537135471355713567135771358713597136071361713627136371364713657136671367713687136971370713717137271373713747137571376713777137871379713807138171382713837138471385713867138771388713897139071391713927139371394713957139671397713987139971400714017140271403714047140571406714077140871409714107141171412714137141471415714167141771418714197142071421714227142371424714257142671427714287142971430714317143271433714347143571436714377143871439714407144171442714437144471445714467144771448714497145071451714527145371454714557145671457714587145971460714617146271463714647146571466714677146871469714707147171472714737147471475714767147771478714797148071481714827148371484714857148671487714887148971490714917149271493714947149571496714977149871499715007150171502715037150471505715067150771508715097151071511715127151371514715157151671517715187151971520715217152271523715247152571526715277152871529715307153171532715337153471535715367153771538715397154071541715427154371544715457154671547715487154971550715517155271553715547155571556715577155871559715607156171562715637156471565715667156771568715697157071571715727157371574715757157671577715787157971580715817158271583715847158571586715877158871589715907159171592715937159471595715967159771598715997160071601716027160371604716057160671607716087160971610716117161271613716147161571616716177161871619716207162171622716237162471625716267162771628716297163071631716327163371634716357163671637716387163971640716417164271643716447164571646716477164871649716507165171652716537165471655716567165771658716597166071661716627166371664716657166671667716687166971670716717167271673716747167571676716777167871679716807168171682716837168471685716867168771688716897169071691716927169371694716957169671697716987169971700717017170271703717047170571706717077170871709717107171171712717137171471715717167171771718717197172071721717227172371724717257172671727717287172971730717317173271733717347173571736717377173871739717407174171742717437174471745717467174771748717497175071751717527175371754717557175671757717587175971760717617176271763717647176571766717677176871769717707177171772717737177471775717767177771778717797178071781717827178371784717857178671787717887178971790717917179271793717947179571796717977179871799718007180171802718037180471805718067180771808718097181071811718127181371814718157181671817718187181971820718217182271823718247182571826718277182871829718307183171832718337183471835718367183771838718397184071841718427184371844718457184671847718487184971850718517185271853718547185571856718577185871859718607186171862718637186471865718667186771868718697187071871718727187371874718757187671877718787187971880718817188271883718847188571886718877188871889718907189171892718937189471895718967189771898718997190071901719027190371904719057190671907719087190971910719117191271913719147191571916719177191871919719207192171922719237192471925719267192771928719297193071931719327193371934719357193671937719387193971940719417194271943719447194571946719477194871949719507195171952719537195471955719567195771958719597196071961719627196371964719657196671967719687196971970719717197271973719747197571976719777197871979719807198171982719837198471985719867198771988719897199071991719927199371994719957199671997719987199972000720017200272003720047200572006720077200872009720107201172012720137201472015720167201772018720197202072021720227202372024720257202672027720287202972030720317203272033720347203572036720377203872039720407204172042720437204472045720467204772048720497205072051720527205372054720557205672057720587205972060720617206272063720647206572066720677206872069720707207172072720737207472075720767207772078720797208072081720827208372084720857208672087720887208972090720917209272093720947209572096720977209872099721007210172102721037210472105721067210772108721097211072111721127211372114721157211672117721187211972120721217212272123721247212572126721277212872129721307213172132721337213472135721367213772138721397214072141721427214372144721457214672147721487214972150721517215272153721547215572156721577215872159721607216172162721637216472165721667216772168721697217072171721727217372174721757217672177721787217972180721817218272183721847218572186721877218872189721907219172192721937219472195721967219772198721997220072201722027220372204722057220672207722087220972210722117221272213722147221572216722177221872219722207222172222722237222472225722267222772228722297223072231722327223372234722357223672237722387223972240722417224272243722447224572246722477224872249722507225172252722537225472255722567225772258722597226072261722627226372264722657226672267722687226972270722717227272273722747227572276722777227872279722807228172282722837228472285722867228772288722897229072291722927229372294722957229672297722987229972300723017230272303723047230572306723077230872309723107231172312723137231472315723167231772318723197232072321723227232372324723257232672327723287232972330723317233272333723347233572336723377233872339723407234172342723437234472345723467234772348723497235072351723527235372354723557235672357723587235972360723617236272363723647236572366723677236872369723707237172372723737237472375723767237772378723797238072381723827238372384723857238672387723887238972390723917239272393723947239572396723977239872399724007240172402724037240472405724067240772408724097241072411724127241372414724157241672417724187241972420724217242272423724247242572426724277242872429724307243172432724337243472435724367243772438724397244072441724427244372444724457244672447724487244972450724517245272453724547245572456724577245872459724607246172462724637246472465724667246772468724697247072471724727247372474724757247672477724787247972480724817248272483724847248572486724877248872489724907249172492724937249472495724967249772498724997250072501725027250372504725057250672507725087250972510725117251272513725147251572516725177251872519725207252172522725237252472525725267252772528725297253072531725327253372534725357253672537725387253972540725417254272543725447254572546725477254872549725507255172552725537255472555725567255772558725597256072561725627256372564725657256672567725687256972570725717257272573725747257572576725777257872579725807258172582725837258472585725867258772588725897259072591725927259372594725957259672597725987259972600726017260272603726047260572606726077260872609726107261172612726137261472615726167261772618726197262072621726227262372624726257262672627726287262972630726317263272633726347263572636726377263872639726407264172642726437264472645726467264772648726497265072651726527265372654726557265672657726587265972660726617266272663726647266572666726677266872669726707267172672726737267472675726767267772678726797268072681726827268372684726857268672687726887268972690726917269272693726947269572696726977269872699727007270172702727037270472705727067270772708727097271072711727127271372714727157271672717727187271972720727217272272723727247272572726727277272872729727307273172732727337273472735727367273772738727397274072741727427274372744727457274672747727487274972750727517275272753727547275572756727577275872759727607276172762727637276472765727667276772768727697277072771727727277372774727757277672777727787277972780727817278272783727847278572786727877278872789727907279172792727937279472795727967279772798727997280072801728027280372804728057280672807728087280972810728117281272813728147281572816728177281872819728207282172822728237282472825728267282772828728297283072831728327283372834728357283672837728387283972840728417284272843728447284572846728477284872849728507285172852728537285472855728567285772858728597286072861728627286372864728657286672867728687286972870728717287272873728747287572876728777287872879728807288172882728837288472885728867288772888728897289072891728927289372894728957289672897728987289972900729017290272903729047290572906729077290872909729107291172912729137291472915729167291772918729197292072921729227292372924729257292672927729287292972930729317293272933729347293572936729377293872939729407294172942729437294472945729467294772948729497295072951729527295372954729557295672957729587295972960729617296272963729647296572966729677296872969729707297172972729737297472975729767297772978729797298072981729827298372984729857298672987729887298972990729917299272993729947299572996729977299872999730007300173002730037300473005730067300773008730097301073011730127301373014730157301673017730187301973020730217302273023730247302573026730277302873029730307303173032730337303473035730367303773038730397304073041730427304373044730457304673047730487304973050730517305273053730547305573056730577305873059730607306173062730637306473065730667306773068730697307073071730727307373074730757307673077730787307973080730817308273083730847308573086730877308873089730907309173092730937309473095730967309773098730997310073101731027310373104731057310673107731087310973110731117311273113731147311573116731177311873119731207312173122731237312473125731267312773128731297313073131731327313373134731357313673137731387313973140731417314273143731447314573146731477314873149731507315173152731537315473155731567315773158731597316073161731627316373164731657316673167731687316973170731717317273173731747317573176731777317873179731807318173182731837318473185731867318773188731897319073191731927319373194731957319673197731987319973200732017320273203732047320573206732077320873209732107321173212732137321473215732167321773218732197322073221732227322373224732257322673227732287322973230732317323273233732347323573236732377323873239732407324173242732437324473245732467324773248732497325073251732527325373254732557325673257732587325973260732617326273263732647326573266732677326873269732707327173272732737327473275732767327773278732797328073281732827328373284732857328673287732887328973290732917329273293732947329573296732977329873299733007330173302733037330473305733067330773308733097331073311733127331373314733157331673317733187331973320733217332273323733247332573326733277332873329733307333173332733337333473335733367333773338733397334073341733427334373344733457334673347733487334973350733517335273353733547335573356733577335873359733607336173362733637336473365733667336773368733697337073371733727337373374733757337673377733787337973380733817338273383733847338573386733877338873389733907339173392733937339473395733967339773398733997340073401734027340373404734057340673407734087340973410734117341273413734147341573416734177341873419734207342173422734237342473425734267342773428734297343073431734327343373434734357343673437734387343973440734417344273443734447344573446734477344873449734507345173452734537345473455734567345773458734597346073461734627346373464734657346673467734687346973470734717347273473734747347573476734777347873479734807348173482734837348473485734867348773488734897349073491734927349373494734957349673497734987349973500735017350273503735047350573506735077350873509735107351173512735137351473515735167351773518735197352073521735227352373524735257352673527735287352973530735317353273533735347353573536735377353873539735407354173542735437354473545735467354773548735497355073551735527355373554735557355673557735587355973560735617356273563735647356573566735677356873569735707357173572735737357473575735767357773578735797358073581735827358373584735857358673587735887358973590735917359273593735947359573596735977359873599736007360173602736037360473605736067360773608736097361073611736127361373614736157361673617736187361973620736217362273623736247362573626736277362873629736307363173632736337363473635736367363773638736397364073641736427364373644736457364673647736487364973650736517365273653736547365573656736577365873659736607366173662736637366473665736667366773668736697367073671736727367373674736757367673677736787367973680736817368273683736847368573686736877368873689736907369173692736937369473695736967369773698736997370073701737027370373704737057370673707737087370973710737117371273713737147371573716737177371873719737207372173722737237372473725737267372773728737297373073731737327373373734737357373673737737387373973740737417374273743737447374573746737477374873749737507375173752737537375473755737567375773758737597376073761737627376373764737657376673767737687376973770737717377273773737747377573776737777377873779737807378173782737837378473785737867378773788737897379073791737927379373794737957379673797737987379973800738017380273803738047380573806738077380873809738107381173812738137381473815738167381773818738197382073821738227382373824738257382673827738287382973830738317383273833738347383573836738377383873839738407384173842738437384473845738467384773848738497385073851738527385373854738557385673857738587385973860738617386273863738647386573866738677386873869738707387173872738737387473875738767387773878738797388073881738827388373884738857388673887738887388973890738917389273893738947389573896738977389873899739007390173902739037390473905739067390773908739097391073911739127391373914739157391673917739187391973920739217392273923739247392573926739277392873929739307393173932739337393473935739367393773938739397394073941739427394373944739457394673947739487394973950739517395273953739547395573956739577395873959739607396173962739637396473965739667396773968739697397073971739727397373974739757397673977739787397973980739817398273983739847398573986739877398873989739907399173992739937399473995739967399773998739997400074001740027400374004740057400674007740087400974010740117401274013740147401574016740177401874019740207402174022740237402474025740267402774028740297403074031740327403374034740357403674037740387403974040740417404274043740447404574046740477404874049740507405174052740537405474055740567405774058740597406074061740627406374064740657406674067740687406974070740717407274073740747407574076740777407874079740807408174082740837408474085740867408774088740897409074091740927409374094740957409674097740987409974100741017410274103741047410574106741077410874109741107411174112741137411474115741167411774118741197412074121741227412374124741257412674127741287412974130741317413274133741347413574136741377413874139741407414174142741437414474145741467414774148741497415074151741527415374154741557415674157741587415974160741617416274163741647416574166741677416874169741707417174172741737417474175741767417774178741797418074181741827418374184741857418674187741887418974190741917419274193741947419574196741977419874199742007420174202742037420474205742067420774208742097421074211742127421374214742157421674217742187421974220742217422274223742247422574226742277422874229742307423174232742337423474235742367423774238742397424074241742427424374244742457424674247742487424974250742517425274253742547425574256742577425874259742607426174262742637426474265742667426774268742697427074271742727427374274742757427674277742787427974280742817428274283742847428574286742877428874289742907429174292742937429474295742967429774298742997430074301743027430374304743057430674307743087430974310743117431274313743147431574316743177431874319743207432174322743237432474325743267432774328743297433074331743327433374334743357433674337743387433974340743417434274343743447434574346743477434874349743507435174352743537435474355743567435774358743597436074361743627436374364743657436674367743687436974370743717437274373743747437574376743777437874379743807438174382743837438474385743867438774388743897439074391743927439374394743957439674397743987439974400744017440274403744047440574406744077440874409744107441174412744137441474415744167441774418744197442074421744227442374424744257442674427744287442974430744317443274433744347443574436744377443874439744407444174442744437444474445744467444774448744497445074451744527445374454744557445674457744587445974460744617446274463744647446574466744677446874469744707447174472744737447474475744767447774478744797448074481744827448374484744857448674487744887448974490744917449274493744947449574496744977449874499745007450174502745037450474505745067450774508745097451074511745127451374514745157451674517745187451974520745217452274523745247452574526745277452874529745307453174532745337453474535745367453774538745397454074541745427454374544745457454674547745487454974550745517455274553745547455574556745577455874559745607456174562745637456474565745667456774568745697457074571745727457374574745757457674577745787457974580745817458274583745847458574586745877458874589745907459174592745937459474595745967459774598745997460074601746027460374604746057460674607746087460974610746117461274613746147461574616746177461874619746207462174622746237462474625746267462774628746297463074631746327463374634746357463674637746387463974640746417464274643746447464574646746477464874649746507465174652746537465474655746567465774658746597466074661746627466374664746657466674667746687466974670746717467274673746747467574676746777467874679746807468174682746837468474685746867468774688746897469074691746927469374694746957469674697746987469974700747017470274703747047470574706747077470874709747107471174712747137471474715747167471774718747197472074721747227472374724747257472674727747287472974730747317473274733747347473574736747377473874739747407474174742747437474474745747467474774748747497475074751747527475374754747557475674757747587475974760747617476274763747647476574766747677476874769747707477174772747737477474775747767477774778747797478074781747827478374784747857478674787747887478974790747917479274793747947479574796747977479874799748007480174802748037480474805748067480774808748097481074811748127481374814748157481674817748187481974820748217482274823748247482574826748277482874829748307483174832748337483474835748367483774838748397484074841748427484374844748457484674847748487484974850748517485274853748547485574856748577485874859748607486174862748637486474865748667486774868748697487074871748727487374874748757487674877748787487974880748817488274883748847488574886748877488874889748907489174892748937489474895748967489774898748997490074901749027490374904749057490674907749087490974910749117491274913749147491574916749177491874919749207492174922749237492474925749267492774928749297493074931749327493374934749357493674937749387493974940749417494274943749447494574946749477494874949749507495174952749537495474955749567495774958749597496074961749627496374964749657496674967749687496974970749717497274973749747497574976749777497874979749807498174982749837498474985749867498774988749897499074991749927499374994749957499674997749987499975000750017500275003750047500575006750077500875009750107501175012750137501475015750167501775018750197502075021750227502375024750257502675027750287502975030750317503275033750347503575036750377503875039750407504175042750437504475045750467504775048750497505075051750527505375054750557505675057750587505975060750617506275063750647506575066750677506875069750707507175072750737507475075750767507775078750797508075081750827508375084750857508675087750887508975090750917509275093750947509575096750977509875099751007510175102751037510475105751067510775108751097511075111751127511375114751157511675117751187511975120751217512275123751247512575126751277512875129751307513175132751337513475135751367513775138751397514075141751427514375144751457514675147751487514975150751517515275153751547515575156751577515875159751607516175162751637516475165751667516775168751697517075171751727517375174751757517675177751787517975180751817518275183751847518575186751877518875189751907519175192751937519475195751967519775198751997520075201752027520375204752057520675207752087520975210752117521275213752147521575216752177521875219752207522175222752237522475225752267522775228752297523075231752327523375234752357523675237752387523975240752417524275243752447524575246752477524875249752507525175252752537525475255752567525775258752597526075261752627526375264752657526675267752687526975270752717527275273752747527575276752777527875279752807528175282752837528475285752867528775288752897529075291752927529375294752957529675297752987529975300753017530275303753047530575306753077530875309753107531175312753137531475315753167531775318753197532075321753227532375324753257532675327753287532975330753317533275333753347533575336753377533875339753407534175342753437534475345753467534775348753497535075351753527535375354753557535675357753587535975360753617536275363753647536575366753677536875369753707537175372753737537475375753767537775378753797538075381753827538375384753857538675387753887538975390753917539275393753947539575396753977539875399754007540175402754037540475405754067540775408754097541075411754127541375414754157541675417754187541975420754217542275423754247542575426754277542875429754307543175432754337543475435754367543775438754397544075441754427544375444754457544675447754487544975450754517545275453754547545575456754577545875459754607546175462754637546475465754667546775468754697547075471754727547375474754757547675477754787547975480754817548275483754847548575486754877548875489754907549175492754937549475495754967549775498754997550075501755027550375504755057550675507755087550975510755117551275513755147551575516755177551875519755207552175522755237552475525755267552775528755297553075531755327553375534755357553675537755387553975540755417554275543755447554575546755477554875549755507555175552755537555475555755567555775558755597556075561755627556375564755657556675567755687556975570755717557275573755747557575576755777557875579755807558175582755837558475585755867558775588755897559075591755927559375594755957559675597755987559975600756017560275603756047560575606756077560875609756107561175612756137561475615756167561775618756197562075621756227562375624756257562675627756287562975630756317563275633756347563575636756377563875639756407564175642756437564475645756467564775648756497565075651756527565375654756557565675657756587565975660756617566275663756647566575666756677566875669756707567175672756737567475675756767567775678756797568075681756827568375684756857568675687756887568975690756917569275693756947569575696756977569875699757007570175702757037570475705757067570775708757097571075711757127571375714757157571675717757187571975720757217572275723757247572575726757277572875729757307573175732757337573475735757367573775738757397574075741757427574375744757457574675747757487574975750757517575275753757547575575756757577575875759757607576175762757637576475765757667576775768757697577075771757727577375774757757577675777757787577975780757817578275783757847578575786757877578875789757907579175792757937579475795757967579775798757997580075801758027580375804758057580675807758087580975810758117581275813758147581575816758177581875819758207582175822758237582475825758267582775828758297583075831758327583375834758357583675837758387583975840758417584275843758447584575846758477584875849758507585175852758537585475855758567585775858758597586075861758627586375864758657586675867758687586975870758717587275873758747587575876758777587875879758807588175882758837588475885758867588775888758897589075891758927589375894758957589675897758987589975900759017590275903759047590575906759077590875909759107591175912759137591475915759167591775918759197592075921759227592375924759257592675927759287592975930759317593275933759347593575936759377593875939759407594175942759437594475945759467594775948759497595075951759527595375954759557595675957759587595975960759617596275963759647596575966759677596875969759707597175972759737597475975759767597775978759797598075981759827598375984759857598675987759887598975990759917599275993759947599575996759977599875999760007600176002760037600476005760067600776008760097601076011760127601376014760157601676017760187601976020760217602276023760247602576026760277602876029760307603176032760337603476035760367603776038760397604076041760427604376044760457604676047760487604976050760517605276053760547605576056760577605876059760607606176062760637606476065760667606776068760697607076071760727607376074760757607676077760787607976080760817608276083760847608576086760877608876089760907609176092760937609476095760967609776098760997610076101761027610376104761057610676107761087610976110761117611276113761147611576116761177611876119761207612176122761237612476125761267612776128761297613076131761327613376134761357613676137761387613976140761417614276143761447614576146761477614876149761507615176152761537615476155761567615776158761597616076161761627616376164761657616676167761687616976170761717617276173761747617576176761777617876179761807618176182761837618476185761867618776188761897619076191761927619376194761957619676197761987619976200762017620276203762047620576206762077620876209762107621176212762137621476215762167621776218762197622076221762227622376224762257622676227762287622976230762317623276233762347623576236762377623876239762407624176242762437624476245762467624776248762497625076251762527625376254762557625676257762587625976260762617626276263762647626576266762677626876269762707627176272762737627476275762767627776278762797628076281762827628376284762857628676287762887628976290762917629276293762947629576296762977629876299763007630176302763037630476305763067630776308763097631076311763127631376314763157631676317763187631976320763217632276323763247632576326763277632876329763307633176332763337633476335763367633776338763397634076341763427634376344763457634676347763487634976350763517635276353763547635576356763577635876359763607636176362763637636476365763667636776368763697637076371763727637376374763757637676377763787637976380763817638276383763847638576386763877638876389763907639176392763937639476395763967639776398763997640076401764027640376404764057640676407764087640976410764117641276413764147641576416764177641876419764207642176422764237642476425764267642776428764297643076431764327643376434764357643676437764387643976440764417644276443764447644576446764477644876449764507645176452764537645476455764567645776458764597646076461764627646376464764657646676467764687646976470764717647276473764747647576476764777647876479764807648176482764837648476485764867648776488764897649076491764927649376494764957649676497764987649976500765017650276503765047650576506765077650876509765107651176512765137651476515765167651776518765197652076521765227652376524765257652676527765287652976530765317653276533765347653576536765377653876539765407654176542765437654476545765467654776548765497655076551765527655376554765557655676557765587655976560765617656276563765647656576566765677656876569765707657176572765737657476575765767657776578765797658076581765827658376584765857658676587765887658976590765917659276593765947659576596765977659876599766007660176602766037660476605766067660776608766097661076611766127661376614766157661676617766187661976620766217662276623766247662576626766277662876629766307663176632766337663476635766367663776638766397664076641766427664376644766457664676647766487664976650766517665276653766547665576656766577665876659766607666176662766637666476665766667666776668766697667076671766727667376674766757667676677766787667976680766817668276683766847668576686766877668876689766907669176692766937669476695766967669776698766997670076701767027670376704767057670676707767087670976710767117671276713767147671576716767177671876719767207672176722767237672476725767267672776728767297673076731767327673376734767357673676737767387673976740767417674276743767447674576746767477674876749767507675176752767537675476755767567675776758767597676076761767627676376764767657676676767767687676976770767717677276773767747677576776767777677876779767807678176782767837678476785767867678776788767897679076791767927679376794767957679676797767987679976800768017680276803768047680576806768077680876809768107681176812768137681476815768167681776818768197682076821768227682376824768257682676827768287682976830768317683276833768347683576836768377683876839768407684176842768437684476845768467684776848768497685076851768527685376854768557685676857768587685976860768617686276863768647686576866768677686876869768707687176872768737687476875768767687776878768797688076881768827688376884768857688676887768887688976890768917689276893768947689576896768977689876899769007690176902769037690476905769067690776908769097691076911769127691376914769157691676917769187691976920769217692276923769247692576926769277692876929769307693176932769337693476935769367693776938769397694076941769427694376944769457694676947769487694976950769517695276953769547695576956769577695876959769607696176962769637696476965769667696776968769697697076971769727697376974769757697676977769787697976980769817698276983769847698576986769877698876989769907699176992769937699476995769967699776998769997700077001770027700377004770057700677007770087700977010770117701277013770147701577016770177701877019770207702177022770237702477025770267702777028770297703077031770327703377034770357703677037770387703977040770417704277043770447704577046770477704877049770507705177052770537705477055770567705777058770597706077061770627706377064770657706677067770687706977070770717707277073770747707577076770777707877079770807708177082770837708477085770867708777088770897709077091770927709377094770957709677097770987709977100771017710277103771047710577106771077710877109771107711177112771137711477115771167711777118771197712077121771227712377124771257712677127771287712977130771317713277133771347713577136771377713877139771407714177142771437714477145771467714777148771497715077151771527715377154771557715677157771587715977160771617716277163771647716577166771677716877169771707717177172771737717477175771767717777178771797718077181771827718377184771857718677187771887718977190771917719277193771947719577196771977719877199772007720177202772037720477205772067720777208772097721077211772127721377214772157721677217772187721977220772217722277223772247722577226772277722877229772307723177232772337723477235772367723777238772397724077241772427724377244772457724677247772487724977250772517725277253772547725577256772577725877259772607726177262772637726477265772667726777268772697727077271772727727377274772757727677277772787727977280772817728277283772847728577286772877728877289772907729177292772937729477295772967729777298772997730077301773027730377304773057730677307773087730977310773117731277313773147731577316773177731877319773207732177322773237732477325773267732777328773297733077331773327733377334773357733677337773387733977340773417734277343773447734577346773477734877349773507735177352773537735477355773567735777358773597736077361773627736377364773657736677367773687736977370773717737277373773747737577376773777737877379773807738177382773837738477385773867738777388773897739077391773927739377394773957739677397773987739977400774017740277403774047740577406774077740877409774107741177412774137741477415774167741777418774197742077421774227742377424774257742677427774287742977430774317743277433774347743577436774377743877439774407744177442774437744477445774467744777448774497745077451774527745377454774557745677457774587745977460774617746277463774647746577466774677746877469774707747177472774737747477475774767747777478774797748077481774827748377484774857748677487774887748977490774917749277493774947749577496774977749877499775007750177502775037750477505775067750777508775097751077511775127751377514775157751677517775187751977520775217752277523775247752577526775277752877529775307753177532775337753477535775367753777538775397754077541775427754377544775457754677547775487754977550775517755277553775547755577556775577755877559775607756177562775637756477565775667756777568775697757077571775727757377574775757757677577775787757977580775817758277583775847758577586775877758877589775907759177592775937759477595775967759777598775997760077601776027760377604776057760677607776087760977610776117761277613776147761577616776177761877619776207762177622776237762477625776267762777628776297763077631776327763377634776357763677637776387763977640776417764277643776447764577646776477764877649776507765177652776537765477655776567765777658776597766077661776627766377664776657766677667776687766977670776717767277673776747767577676776777767877679776807768177682776837768477685776867768777688776897769077691776927769377694776957769677697776987769977700777017770277703777047770577706777077770877709777107771177712777137771477715777167771777718777197772077721777227772377724777257772677727777287772977730777317773277733777347773577736777377773877739777407774177742777437774477745777467774777748777497775077751777527775377754777557775677757777587775977760777617776277763777647776577766777677776877769777707777177772777737777477775777767777777778777797778077781777827778377784777857778677787777887778977790777917779277793777947779577796777977779877799778007780177802778037780477805778067780777808778097781077811778127781377814778157781677817778187781977820778217782277823778247782577826778277782877829778307783177832778337783477835778367783777838778397784077841778427784377844778457784677847778487784977850778517785277853778547785577856778577785877859778607786177862778637786477865778667786777868778697787077871778727787377874778757787677877778787787977880778817788277883778847788577886778877788877889778907789177892778937789477895778967789777898778997790077901779027790377904779057790677907779087790977910779117791277913779147791577916779177791877919779207792177922779237792477925779267792777928779297793077931779327793377934779357793677937779387793977940779417794277943779447794577946779477794877949779507795177952779537795477955779567795777958779597796077961779627796377964779657796677967779687796977970779717797277973779747797577976779777797877979779807798177982779837798477985779867798777988779897799077991779927799377994779957799677997779987799978000780017800278003780047800578006780077800878009780107801178012780137801478015780167801778018780197802078021780227802378024780257802678027780287802978030780317803278033780347803578036780377803878039780407804178042780437804478045780467804778048780497805078051780527805378054780557805678057780587805978060780617806278063780647806578066780677806878069780707807178072780737807478075780767807778078780797808078081780827808378084780857808678087780887808978090780917809278093780947809578096780977809878099781007810178102781037810478105781067810778108781097811078111781127811378114781157811678117781187811978120781217812278123781247812578126781277812878129781307813178132781337813478135781367813778138781397814078141781427814378144781457814678147781487814978150781517815278153781547815578156781577815878159781607816178162781637816478165781667816778168781697817078171781727817378174781757817678177781787817978180781817818278183781847818578186781877818878189781907819178192781937819478195781967819778198781997820078201782027820378204782057820678207782087820978210782117821278213782147821578216782177821878219782207822178222782237822478225782267822778228782297823078231782327823378234782357823678237782387823978240782417824278243782447824578246782477824878249782507825178252782537825478255782567825778258782597826078261782627826378264782657826678267782687826978270782717827278273782747827578276782777827878279782807828178282782837828478285782867828778288782897829078291782927829378294782957829678297782987829978300783017830278303783047830578306783077830878309783107831178312783137831478315783167831778318783197832078321783227832378324783257832678327783287832978330783317833278333783347833578336783377833878339783407834178342783437834478345783467834778348783497835078351783527835378354783557835678357783587835978360783617836278363783647836578366783677836878369783707837178372783737837478375783767837778378783797838078381783827838378384783857838678387783887838978390783917839278393783947839578396783977839878399784007840178402784037840478405784067840778408784097841078411784127841378414784157841678417784187841978420784217842278423784247842578426784277842878429784307843178432784337843478435784367843778438784397844078441784427844378444784457844678447784487844978450784517845278453784547845578456784577845878459784607846178462784637846478465784667846778468784697847078471784727847378474784757847678477784787847978480784817848278483784847848578486784877848878489784907849178492784937849478495784967849778498784997850078501785027850378504785057850678507785087850978510785117851278513785147851578516785177851878519785207852178522785237852478525785267852778528785297853078531785327853378534785357853678537785387853978540785417854278543785447854578546785477854878549785507855178552785537855478555785567855778558785597856078561785627856378564785657856678567785687856978570785717857278573785747857578576785777857878579785807858178582785837858478585785867858778588785897859078591785927859378594785957859678597785987859978600786017860278603786047860578606786077860878609786107861178612786137861478615786167861778618786197862078621786227862378624786257862678627786287862978630786317863278633786347863578636786377863878639786407864178642786437864478645786467864778648786497865078651786527865378654786557865678657786587865978660786617866278663786647866578666786677866878669786707867178672786737867478675786767867778678786797868078681786827868378684786857868678687786887868978690786917869278693786947869578696786977869878699787007870178702787037870478705787067870778708787097871078711787127871378714787157871678717787187871978720787217872278723787247872578726787277872878729787307873178732787337873478735787367873778738787397874078741787427874378744787457874678747787487874978750787517875278753787547875578756787577875878759787607876178762787637876478765787667876778768787697877078771787727877378774787757877678777787787877978780787817878278783787847878578786787877878878789787907879178792787937879478795787967879778798787997880078801788027880378804788057880678807788087880978810788117881278813788147881578816788177881878819788207882178822788237882478825788267882778828788297883078831788327883378834788357883678837788387883978840788417884278843788447884578846788477884878849788507885178852788537885478855788567885778858788597886078861788627886378864788657886678867788687886978870788717887278873788747887578876788777887878879788807888178882788837888478885788867888778888788897889078891788927889378894788957889678897788987889978900789017890278903789047890578906789077890878909789107891178912789137891478915789167891778918789197892078921789227892378924789257892678927789287892978930789317893278933789347893578936789377893878939789407894178942789437894478945789467894778948789497895078951789527895378954789557895678957789587895978960789617896278963789647896578966789677896878969789707897178972789737897478975789767897778978789797898078981789827898378984789857898678987789887898978990789917899278993789947899578996789977899878999790007900179002790037900479005790067900779008790097901079011790127901379014790157901679017790187901979020790217902279023790247902579026790277902879029790307903179032790337903479035790367903779038790397904079041790427904379044790457904679047790487904979050790517905279053790547905579056790577905879059790607906179062790637906479065790667906779068790697907079071790727907379074790757907679077790787907979080790817908279083790847908579086790877908879089790907909179092790937909479095790967909779098790997910079101791027910379104791057910679107791087910979110791117911279113791147911579116791177911879119791207912179122791237912479125791267912779128791297913079131791327913379134791357913679137791387913979140791417914279143791447914579146791477914879149791507915179152791537915479155791567915779158791597916079161791627916379164791657916679167791687916979170791717917279173791747917579176791777917879179791807918179182791837918479185791867918779188791897919079191791927919379194791957919679197791987919979200792017920279203792047920579206792077920879209792107921179212792137921479215792167921779218792197922079221792227922379224792257922679227792287922979230792317923279233792347923579236792377923879239792407924179242792437924479245792467924779248792497925079251792527925379254792557925679257792587925979260792617926279263792647926579266792677926879269792707927179272792737927479275792767927779278792797928079281792827928379284792857928679287792887928979290792917929279293792947929579296792977929879299793007930179302793037930479305793067930779308793097931079311793127931379314793157931679317793187931979320793217932279323793247932579326793277932879329793307933179332793337933479335793367933779338793397934079341793427934379344793457934679347793487934979350793517935279353793547935579356793577935879359793607936179362793637936479365793667936779368793697937079371793727937379374793757937679377793787937979380793817938279383793847938579386793877938879389793907939179392793937939479395793967939779398793997940079401794027940379404794057940679407794087940979410794117941279413794147941579416794177941879419794207942179422794237942479425794267942779428794297943079431794327943379434794357943679437794387943979440794417944279443794447944579446794477944879449794507945179452794537945479455794567945779458794597946079461794627946379464794657946679467794687946979470794717947279473794747947579476794777947879479794807948179482794837948479485794867948779488794897949079491794927949379494794957949679497794987949979500795017950279503795047950579506795077950879509795107951179512795137951479515795167951779518795197952079521795227952379524795257952679527795287952979530795317953279533795347953579536795377953879539795407954179542795437954479545795467954779548795497955079551795527955379554795557955679557795587955979560795617956279563795647956579566795677956879569795707957179572795737957479575795767957779578795797958079581795827958379584795857958679587795887958979590795917959279593795947959579596795977959879599796007960179602796037960479605796067960779608796097961079611796127961379614796157961679617796187961979620796217962279623796247962579626796277962879629796307963179632796337963479635796367963779638796397964079641796427964379644796457964679647796487964979650796517965279653796547965579656796577965879659796607966179662796637966479665796667966779668796697967079671796727967379674796757967679677796787967979680796817968279683796847968579686796877968879689796907969179692796937969479695796967969779698796997970079701797027970379704797057970679707797087970979710797117971279713797147971579716797177971879719797207972179722797237972479725797267972779728797297973079731797327973379734797357973679737797387973979740797417974279743797447974579746797477974879749797507975179752797537975479755797567975779758797597976079761797627976379764797657976679767797687976979770797717977279773797747977579776797777977879779797807978179782797837978479785797867978779788797897979079791797927979379794797957979679797797987979979800798017980279803798047980579806798077980879809798107981179812798137981479815798167981779818798197982079821798227982379824798257982679827798287982979830798317983279833798347983579836798377983879839798407984179842798437984479845798467984779848798497985079851798527985379854798557985679857798587985979860798617986279863798647986579866798677986879869798707987179872798737987479875798767987779878798797988079881798827988379884798857988679887798887988979890798917989279893798947989579896798977989879899799007990179902799037990479905799067990779908799097991079911799127991379914799157991679917799187991979920799217992279923799247992579926799277992879929799307993179932799337993479935799367993779938799397994079941799427994379944799457994679947799487994979950799517995279953799547995579956799577995879959799607996179962799637996479965799667996779968799697997079971799727997379974799757997679977799787997979980799817998279983799847998579986799877998879989799907999179992799937999479995799967999779998799998000080001800028000380004800058000680007800088000980010800118001280013800148001580016800178001880019800208002180022800238002480025800268002780028800298003080031800328003380034800358003680037800388003980040800418004280043800448004580046800478004880049800508005180052800538005480055800568005780058800598006080061800628006380064800658006680067800688006980070800718007280073800748007580076800778007880079800808008180082800838008480085800868008780088800898009080091800928009380094800958009680097800988009980100801018010280103801048010580106801078010880109801108011180112801138011480115801168011780118801198012080121801228012380124801258012680127801288012980130801318013280133801348013580136801378013880139801408014180142801438014480145801468014780148801498015080151801528015380154801558015680157801588015980160801618016280163801648016580166801678016880169801708017180172801738017480175801768017780178801798018080181801828018380184801858018680187801888018980190801918019280193801948019580196801978019880199802008020180202802038020480205802068020780208802098021080211802128021380214802158021680217802188021980220802218022280223802248022580226802278022880229802308023180232802338023480235802368023780238802398024080241802428024380244802458024680247802488024980250802518025280253802548025580256802578025880259802608026180262802638026480265802668026780268802698027080271802728027380274802758027680277802788027980280802818028280283802848028580286802878028880289802908029180292802938029480295802968029780298802998030080301803028030380304803058030680307803088030980310803118031280313803148031580316803178031880319803208032180322803238032480325803268032780328803298033080331803328033380334803358033680337803388033980340803418034280343803448034580346803478034880349803508035180352803538035480355803568035780358803598036080361803628036380364803658036680367803688036980370803718037280373803748037580376803778037880379803808038180382803838038480385803868038780388803898039080391803928039380394803958039680397803988039980400804018040280403804048040580406804078040880409804108041180412804138041480415804168041780418804198042080421804228042380424804258042680427804288042980430804318043280433804348043580436804378043880439804408044180442804438044480445804468044780448804498045080451804528045380454804558045680457804588045980460804618046280463804648046580466804678046880469804708047180472804738047480475804768047780478804798048080481804828048380484804858048680487804888048980490804918049280493804948049580496804978049880499805008050180502805038050480505805068050780508805098051080511805128051380514805158051680517805188051980520805218052280523805248052580526805278052880529805308053180532805338053480535805368053780538805398054080541805428054380544805458054680547805488054980550805518055280553805548055580556805578055880559805608056180562805638056480565805668056780568805698057080571805728057380574805758057680577805788057980580805818058280583805848058580586805878058880589805908059180592805938059480595805968059780598805998060080601806028060380604806058060680607806088060980610806118061280613806148061580616806178061880619806208062180622806238062480625806268062780628806298063080631806328063380634806358063680637806388063980640806418064280643806448064580646806478064880649806508065180652806538065480655806568065780658806598066080661806628066380664806658066680667806688066980670806718067280673806748067580676806778067880679806808068180682806838068480685806868068780688806898069080691806928069380694806958069680697806988069980700807018070280703807048070580706807078070880709807108071180712807138071480715807168071780718807198072080721807228072380724807258072680727807288072980730807318073280733807348073580736807378073880739807408074180742807438074480745807468074780748807498075080751807528075380754807558075680757807588075980760807618076280763807648076580766807678076880769807708077180772807738077480775807768077780778807798078080781807828078380784807858078680787807888078980790807918079280793807948079580796807978079880799808008080180802808038080480805808068080780808808098081080811808128081380814808158081680817808188081980820808218082280823808248082580826808278082880829808308083180832808338083480835808368083780838808398084080841808428084380844808458084680847808488084980850808518085280853808548085580856808578085880859808608086180862808638086480865808668086780868808698087080871808728087380874808758087680877808788087980880808818088280883808848088580886808878088880889808908089180892808938089480895808968089780898808998090080901809028090380904809058090680907809088090980910809118091280913809148091580916809178091880919809208092180922809238092480925809268092780928809298093080931809328093380934809358093680937809388093980940809418094280943809448094580946809478094880949809508095180952809538095480955809568095780958809598096080961809628096380964809658096680967809688096980970809718097280973809748097580976809778097880979809808098180982809838098480985809868098780988809898099080991809928099380994809958099680997809988099981000810018100281003810048100581006810078100881009810108101181012810138101481015810168101781018810198102081021810228102381024810258102681027810288102981030810318103281033810348103581036810378103881039810408104181042810438104481045810468104781048810498105081051810528105381054810558105681057810588105981060810618106281063810648106581066810678106881069810708107181072810738107481075810768107781078810798108081081810828108381084810858108681087810888108981090810918109281093810948109581096810978109881099811008110181102811038110481105811068110781108811098111081111811128111381114811158111681117811188111981120811218112281123811248112581126811278112881129811308113181132811338113481135811368113781138811398114081141811428114381144811458114681147811488114981150811518115281153811548115581156811578115881159811608116181162811638116481165811668116781168811698117081171811728117381174811758117681177811788117981180811818118281183811848118581186811878118881189811908119181192811938119481195811968119781198811998120081201812028120381204812058120681207812088120981210812118121281213812148121581216812178121881219812208122181222812238122481225812268122781228812298123081231812328123381234812358123681237812388123981240812418124281243812448124581246812478124881249812508125181252812538125481255812568125781258812598126081261812628126381264812658126681267812688126981270812718127281273812748127581276812778127881279812808128181282812838128481285812868128781288812898129081291812928129381294812958129681297812988129981300813018130281303813048130581306813078130881309813108131181312813138131481315813168131781318813198132081321813228132381324813258132681327813288132981330813318133281333813348133581336813378133881339813408134181342813438134481345813468134781348813498135081351813528135381354813558135681357813588135981360813618136281363813648136581366813678136881369813708137181372813738137481375813768137781378813798138081381813828138381384813858138681387813888138981390813918139281393813948139581396813978139881399814008140181402814038140481405814068140781408814098141081411814128141381414814158141681417814188141981420814218142281423814248142581426814278142881429814308143181432814338143481435814368143781438814398144081441814428144381444814458144681447814488144981450814518145281453814548145581456814578145881459814608146181462814638146481465814668146781468814698147081471814728147381474814758147681477814788147981480814818148281483814848148581486814878148881489814908149181492814938149481495814968149781498814998150081501815028150381504815058150681507815088150981510815118151281513815148151581516815178151881519815208152181522815238152481525815268152781528815298153081531815328153381534815358153681537815388153981540815418154281543815448154581546815478154881549815508155181552815538155481555815568155781558815598156081561815628156381564815658156681567815688156981570815718157281573815748157581576815778157881579815808158181582815838158481585815868158781588815898159081591815928159381594815958159681597815988159981600816018160281603816048160581606816078160881609816108161181612816138161481615816168161781618816198162081621816228162381624816258162681627816288162981630816318163281633816348163581636816378163881639816408164181642816438164481645816468164781648816498165081651816528165381654816558165681657816588165981660816618166281663816648166581666816678166881669816708167181672816738167481675816768167781678816798168081681816828168381684816858168681687816888168981690816918169281693816948169581696816978169881699817008170181702817038170481705817068170781708817098171081711817128171381714817158171681717817188171981720817218172281723817248172581726817278172881729817308173181732817338173481735817368173781738817398174081741817428174381744817458174681747817488174981750817518175281753817548175581756817578175881759817608176181762817638176481765817668176781768817698177081771817728177381774817758177681777817788177981780817818178281783817848178581786817878178881789817908179181792817938179481795817968179781798817998180081801818028180381804818058180681807818088180981810818118181281813818148181581816818178181881819818208182181822818238182481825818268182781828818298183081831818328183381834818358183681837818388183981840818418184281843818448184581846818478184881849818508185181852818538185481855818568185781858818598186081861818628186381864818658186681867818688186981870818718187281873818748187581876818778187881879818808188181882818838188481885818868188781888818898189081891818928189381894818958189681897818988189981900819018190281903819048190581906819078190881909819108191181912819138191481915819168191781918819198192081921819228192381924819258192681927819288192981930819318193281933819348193581936819378193881939819408194181942819438194481945819468194781948819498195081951819528195381954819558195681957819588195981960819618196281963819648196581966819678196881969819708197181972819738197481975819768197781978819798198081981819828198381984819858198681987819888198981990819918199281993819948199581996819978199881999820008200182002820038200482005820068200782008820098201082011820128201382014820158201682017820188201982020820218202282023820248202582026820278202882029820308203182032820338203482035820368203782038820398204082041820428204382044820458204682047820488204982050820518205282053820548205582056820578205882059820608206182062820638206482065820668206782068820698207082071820728207382074820758207682077820788207982080820818208282083820848208582086820878208882089820908209182092820938209482095820968209782098820998210082101821028210382104821058210682107821088210982110821118211282113821148211582116821178211882119821208212182122821238212482125821268212782128821298213082131821328213382134821358213682137821388213982140821418214282143821448214582146821478214882149821508215182152821538215482155821568215782158821598216082161821628216382164821658216682167821688216982170821718217282173821748217582176821778217882179821808218182182821838218482185821868218782188821898219082191821928219382194821958219682197821988219982200822018220282203822048220582206822078220882209822108221182212822138221482215822168221782218822198222082221822228222382224822258222682227822288222982230822318223282233822348223582236822378223882239822408224182242822438224482245822468224782248822498225082251822528225382254822558225682257822588225982260822618226282263822648226582266822678226882269822708227182272822738227482275822768227782278822798228082281822828228382284822858228682287822888228982290822918229282293822948229582296822978229882299823008230182302823038230482305823068230782308823098231082311823128231382314823158231682317823188231982320823218232282323823248232582326823278232882329823308233182332823338233482335823368233782338823398234082341823428234382344823458234682347823488234982350823518235282353823548235582356823578235882359823608236182362823638236482365823668236782368823698237082371823728237382374823758237682377823788237982380823818238282383823848238582386823878238882389823908239182392823938239482395823968239782398823998240082401824028240382404824058240682407824088240982410824118241282413824148241582416824178241882419824208242182422824238242482425824268242782428824298243082431824328243382434824358243682437824388243982440824418244282443824448244582446824478244882449824508245182452824538245482455824568245782458824598246082461824628246382464824658246682467824688246982470824718247282473824748247582476824778247882479824808248182482824838248482485824868248782488824898249082491824928249382494824958249682497824988249982500825018250282503825048250582506825078250882509825108251182512825138251482515825168251782518825198252082521825228252382524825258252682527825288252982530825318253282533825348253582536825378253882539825408254182542825438254482545825468254782548825498255082551825528255382554825558255682557825588255982560825618256282563825648256582566825678256882569825708257182572825738257482575825768257782578825798258082581825828258382584825858258682587825888258982590825918259282593825948259582596825978259882599826008260182602826038260482605826068260782608826098261082611826128261382614826158261682617826188261982620826218262282623826248262582626826278262882629826308263182632826338263482635826368263782638826398264082641826428264382644826458264682647826488264982650826518265282653826548265582656826578265882659826608266182662826638266482665826668266782668826698267082671826728267382674826758267682677826788267982680826818268282683826848268582686826878268882689826908269182692826938269482695826968269782698826998270082701827028270382704827058270682707827088270982710827118271282713827148271582716827178271882719827208272182722827238272482725827268272782728827298273082731827328273382734827358273682737827388273982740827418274282743827448274582746827478274882749827508275182752827538275482755827568275782758827598276082761827628276382764827658276682767827688276982770827718277282773827748277582776827778277882779827808278182782827838278482785827868278782788827898279082791827928279382794827958279682797827988279982800828018280282803828048280582806828078280882809828108281182812828138281482815828168281782818828198282082821828228282382824828258282682827828288282982830828318283282833828348283582836828378283882839828408284182842828438284482845828468284782848828498285082851828528285382854828558285682857828588285982860828618286282863828648286582866828678286882869828708287182872828738287482875828768287782878828798288082881828828288382884828858288682887828888288982890828918289282893828948289582896828978289882899829008290182902829038290482905829068290782908829098291082911829128291382914829158291682917829188291982920829218292282923829248292582926829278292882929829308293182932829338293482935829368293782938829398294082941829428294382944829458294682947829488294982950829518295282953829548295582956829578295882959829608296182962829638296482965829668296782968829698297082971829728297382974829758297682977829788297982980829818298282983829848298582986829878298882989829908299182992829938299482995829968299782998829998300083001830028300383004830058300683007830088300983010830118301283013830148301583016830178301883019830208302183022830238302483025830268302783028830298303083031830328303383034830358303683037830388303983040830418304283043830448304583046830478304883049830508305183052830538305483055830568305783058830598306083061830628306383064830658306683067830688306983070830718307283073830748307583076830778307883079830808308183082830838308483085830868308783088830898309083091830928309383094830958309683097830988309983100831018310283103831048310583106831078310883109831108311183112831138311483115831168311783118831198312083121831228312383124831258312683127831288312983130831318313283133831348313583136831378313883139831408314183142831438314483145831468314783148831498315083151831528315383154831558315683157831588315983160831618316283163831648316583166831678316883169831708317183172831738317483175831768317783178831798318083181831828318383184831858318683187831888318983190831918319283193831948319583196831978319883199832008320183202832038320483205832068320783208832098321083211832128321383214832158321683217832188321983220832218322283223832248322583226832278322883229832308323183232832338323483235832368323783238832398324083241832428324383244832458324683247832488324983250832518325283253832548325583256832578325883259832608326183262832638326483265832668326783268832698327083271832728327383274832758327683277832788327983280832818328283283832848328583286832878328883289832908329183292832938329483295832968329783298832998330083301833028330383304833058330683307833088330983310833118331283313833148331583316833178331883319833208332183322833238332483325833268332783328833298333083331833328333383334833358333683337833388333983340833418334283343833448334583346833478334883349833508335183352833538335483355833568335783358833598336083361833628336383364833658336683367833688336983370833718337283373833748337583376833778337883379833808338183382833838338483385833868338783388833898339083391833928339383394833958339683397833988339983400834018340283403834048340583406834078340883409834108341183412834138341483415834168341783418834198342083421834228342383424834258342683427834288342983430834318343283433834348343583436834378343883439834408344183442834438344483445834468344783448834498345083451834528345383454834558345683457834588345983460834618346283463834648346583466834678346883469834708347183472834738347483475834768347783478834798348083481834828348383484834858348683487834888348983490834918349283493834948349583496834978349883499835008350183502835038350483505835068350783508835098351083511835128351383514835158351683517835188351983520835218352283523835248352583526835278352883529835308353183532835338353483535835368353783538835398354083541835428354383544835458354683547835488354983550835518355283553835548355583556835578355883559835608356183562835638356483565835668356783568835698357083571835728357383574835758357683577835788357983580835818358283583835848358583586835878358883589835908359183592835938359483595835968359783598835998360083601836028360383604836058360683607836088360983610836118361283613836148361583616836178361883619836208362183622836238362483625836268362783628836298363083631836328363383634836358363683637836388363983640836418364283643836448364583646836478364883649836508365183652836538365483655836568365783658836598366083661836628366383664836658366683667836688366983670836718367283673836748367583676836778367883679836808368183682836838368483685836868368783688836898369083691836928369383694836958369683697836988369983700837018370283703837048370583706837078370883709837108371183712837138371483715837168371783718837198372083721837228372383724837258372683727837288372983730837318373283733837348373583736837378373883739837408374183742837438374483745837468374783748837498375083751837528375383754837558375683757837588375983760837618376283763837648376583766837678376883769837708377183772837738377483775837768377783778837798378083781837828378383784837858378683787837888378983790837918379283793837948379583796837978379883799838008380183802838038380483805838068380783808838098381083811838128381383814838158381683817838188381983820838218382283823838248382583826838278382883829838308383183832838338383483835838368383783838838398384083841838428384383844838458384683847838488384983850838518385283853838548385583856838578385883859838608386183862838638386483865838668386783868838698387083871838728387383874838758387683877838788387983880838818388283883838848388583886838878388883889838908389183892838938389483895838968389783898838998390083901839028390383904839058390683907839088390983910839118391283913839148391583916839178391883919839208392183922839238392483925839268392783928839298393083931839328393383934839358393683937839388393983940839418394283943839448394583946839478394883949839508395183952839538395483955839568395783958839598396083961839628396383964839658396683967839688396983970839718397283973839748397583976839778397883979839808398183982839838398483985839868398783988839898399083991839928399383994839958399683997839988399984000840018400284003840048400584006840078400884009840108401184012840138401484015840168401784018840198402084021840228402384024840258402684027840288402984030840318403284033840348403584036840378403884039840408404184042840438404484045840468404784048840498405084051840528405384054840558405684057840588405984060840618406284063840648406584066840678406884069840708407184072840738407484075840768407784078840798408084081840828408384084840858408684087840888408984090840918409284093840948409584096840978409884099841008410184102841038410484105841068410784108841098411084111841128411384114841158411684117841188411984120841218412284123841248412584126841278412884129841308413184132841338413484135841368413784138841398414084141841428414384144841458414684147841488414984150841518415284153841548415584156841578415884159841608416184162841638416484165841668416784168841698417084171841728417384174841758417684177841788417984180841818418284183841848418584186841878418884189841908419184192841938419484195841968419784198841998420084201842028420384204842058420684207842088420984210842118421284213842148421584216842178421884219842208422184222842238422484225842268422784228842298423084231842328423384234842358423684237842388423984240842418424284243842448424584246842478424884249842508425184252842538425484255842568425784258842598426084261842628426384264842658426684267842688426984270842718427284273842748427584276842778427884279842808428184282842838428484285842868428784288842898429084291842928429384294842958429684297842988429984300843018430284303843048430584306843078430884309843108431184312843138431484315843168431784318843198432084321843228432384324843258432684327843288432984330843318433284333843348433584336843378433884339843408434184342843438434484345843468434784348843498435084351843528435384354843558435684357843588435984360843618436284363843648436584366843678436884369843708437184372843738437484375843768437784378843798438084381843828438384384843858438684387843888438984390843918439284393843948439584396843978439884399844008440184402844038440484405844068440784408844098441084411844128441384414844158441684417844188441984420844218442284423844248442584426844278442884429844308443184432844338443484435844368443784438844398444084441844428444384444844458444684447844488444984450844518445284453844548445584456844578445884459844608446184462844638446484465844668446784468844698447084471844728447384474844758447684477844788447984480844818448284483844848448584486844878448884489844908449184492844938449484495844968449784498844998450084501845028450384504845058450684507845088450984510845118451284513845148451584516845178451884519845208452184522845238452484525845268452784528845298453084531845328453384534845358453684537845388453984540845418454284543845448454584546845478454884549845508455184552845538455484555845568455784558845598456084561845628456384564845658456684567845688456984570845718457284573845748457584576845778457884579845808458184582845838458484585845868458784588845898459084591845928459384594845958459684597845988459984600846018460284603846048460584606846078460884609846108461184612846138461484615846168461784618846198462084621846228462384624846258462684627846288462984630846318463284633846348463584636846378463884639846408464184642846438464484645846468464784648846498465084651846528465384654846558465684657846588465984660846618466284663846648466584666846678466884669846708467184672846738467484675846768467784678846798468084681846828468384684846858468684687846888468984690846918469284693846948469584696846978469884699847008470184702847038470484705847068470784708847098471084711847128471384714847158471684717847188471984720847218472284723847248472584726847278472884729847308473184732847338473484735847368473784738847398474084741847428474384744847458474684747847488474984750847518475284753847548475584756847578475884759847608476184762847638476484765847668476784768847698477084771847728477384774847758477684777847788477984780847818478284783847848478584786847878478884789847908479184792847938479484795847968479784798847998480084801848028480384804848058480684807848088480984810848118481284813848148481584816848178481884819848208482184822848238482484825848268482784828848298483084831848328483384834848358483684837848388483984840848418484284843848448484584846848478484884849848508485184852848538485484855848568485784858848598486084861848628486384864848658486684867848688486984870848718487284873848748487584876848778487884879848808488184882848838488484885848868488784888848898489084891848928489384894848958489684897848988489984900849018490284903849048490584906849078490884909849108491184912849138491484915849168491784918849198492084921849228492384924849258492684927849288492984930849318493284933849348493584936849378493884939849408494184942849438494484945849468494784948849498495084951849528495384954849558495684957849588495984960849618496284963849648496584966849678496884969849708497184972849738497484975849768497784978849798498084981849828498384984849858498684987849888498984990849918499284993849948499584996849978499884999850008500185002850038500485005850068500785008850098501085011850128501385014850158501685017850188501985020850218502285023850248502585026850278502885029850308503185032850338503485035850368503785038850398504085041850428504385044850458504685047850488504985050850518505285053850548505585056850578505885059850608506185062850638506485065850668506785068850698507085071850728507385074850758507685077850788507985080850818508285083850848508585086850878508885089850908509185092850938509485095850968509785098850998510085101851028510385104851058510685107851088510985110851118511285113851148511585116851178511885119851208512185122851238512485125851268512785128851298513085131851328513385134851358513685137851388513985140851418514285143851448514585146851478514885149851508515185152851538515485155851568515785158851598516085161851628516385164851658516685167851688516985170851718517285173851748517585176851778517885179851808518185182851838518485185851868518785188851898519085191851928519385194851958519685197851988519985200852018520285203852048520585206852078520885209852108521185212852138521485215852168521785218852198522085221852228522385224852258522685227852288522985230852318523285233852348523585236852378523885239852408524185242852438524485245852468524785248852498525085251852528525385254852558525685257852588525985260852618526285263852648526585266852678526885269852708527185272852738527485275852768527785278852798528085281852828528385284852858528685287852888528985290852918529285293852948529585296852978529885299853008530185302853038530485305853068530785308853098531085311853128531385314853158531685317853188531985320853218532285323853248532585326853278532885329853308533185332853338533485335853368533785338853398534085341853428534385344853458534685347853488534985350853518535285353853548535585356853578535885359853608536185362853638536485365853668536785368853698537085371853728537385374853758537685377853788537985380853818538285383853848538585386853878538885389853908539185392853938539485395853968539785398853998540085401854028540385404854058540685407854088540985410854118541285413854148541585416854178541885419854208542185422854238542485425854268542785428854298543085431854328543385434854358543685437854388543985440854418544285443854448544585446854478544885449854508545185452854538545485455854568545785458854598546085461854628546385464854658546685467854688546985470854718547285473854748547585476854778547885479854808548185482854838548485485854868548785488854898549085491854928549385494854958549685497854988549985500855018550285503855048550585506855078550885509855108551185512855138551485515855168551785518855198552085521855228552385524855258552685527855288552985530855318553285533855348553585536855378553885539855408554185542855438554485545855468554785548855498555085551855528555385554855558555685557855588555985560855618556285563855648556585566855678556885569855708557185572855738557485575855768557785578855798558085581855828558385584855858558685587855888558985590855918559285593855948559585596855978559885599856008560185602856038560485605856068560785608856098561085611856128561385614856158561685617856188561985620856218562285623856248562585626856278562885629856308563185632856338563485635856368563785638856398564085641856428564385644856458564685647856488564985650856518565285653856548565585656856578565885659856608566185662856638566485665856668566785668856698567085671856728567385674856758567685677856788567985680856818568285683856848568585686856878568885689856908569185692856938569485695856968569785698856998570085701857028570385704857058570685707857088570985710857118571285713857148571585716857178571885719857208572185722857238572485725857268572785728857298573085731857328573385734857358573685737857388573985740857418574285743857448574585746857478574885749857508575185752857538575485755857568575785758857598576085761857628576385764857658576685767857688576985770857718577285773857748577585776857778577885779857808578185782857838578485785857868578785788857898579085791857928579385794857958579685797857988579985800858018580285803858048580585806858078580885809858108581185812858138581485815858168581785818858198582085821858228582385824858258582685827858288582985830858318583285833858348583585836858378583885839858408584185842858438584485845858468584785848858498585085851858528585385854858558585685857858588585985860858618586285863858648586585866858678586885869858708587185872858738587485875858768587785878858798588085881858828588385884858858588685887858888588985890858918589285893858948589585896858978589885899859008590185902859038590485905859068590785908859098591085911859128591385914859158591685917859188591985920859218592285923859248592585926859278592885929859308593185932859338593485935859368593785938859398594085941859428594385944859458594685947859488594985950859518595285953859548595585956859578595885959859608596185962859638596485965859668596785968859698597085971859728597385974859758597685977859788597985980859818598285983859848598585986859878598885989859908599185992859938599485995859968599785998859998600086001860028600386004860058600686007860088600986010860118601286013860148601586016860178601886019860208602186022860238602486025860268602786028860298603086031860328603386034860358603686037860388603986040860418604286043860448604586046860478604886049860508605186052860538605486055860568605786058860598606086061860628606386064860658606686067860688606986070860718607286073860748607586076860778607886079860808608186082860838608486085860868608786088860898609086091860928609386094860958609686097860988609986100861018610286103861048610586106861078610886109861108611186112861138611486115861168611786118861198612086121861228612386124861258612686127861288612986130861318613286133861348613586136861378613886139861408614186142861438614486145861468614786148861498615086151861528615386154861558615686157861588615986160861618616286163861648616586166861678616886169861708617186172861738617486175861768617786178861798618086181861828618386184861858618686187861888618986190861918619286193861948619586196861978619886199862008620186202862038620486205862068620786208862098621086211862128621386214862158621686217862188621986220862218622286223862248622586226862278622886229862308623186232862338623486235862368623786238862398624086241862428624386244862458624686247862488624986250862518625286253862548625586256862578625886259862608626186262862638626486265862668626786268862698627086271862728627386274862758627686277862788627986280862818628286283862848628586286862878628886289862908629186292862938629486295862968629786298862998630086301863028630386304863058630686307863088630986310863118631286313863148631586316863178631886319863208632186322863238632486325863268632786328863298633086331863328633386334863358633686337863388633986340863418634286343863448634586346863478634886349863508635186352863538635486355863568635786358863598636086361863628636386364863658636686367863688636986370863718637286373863748637586376863778637886379863808638186382863838638486385863868638786388863898639086391863928639386394863958639686397863988639986400864018640286403864048640586406864078640886409864108641186412864138641486415864168641786418864198642086421864228642386424864258642686427864288642986430864318643286433864348643586436864378643886439864408644186442864438644486445864468644786448864498645086451864528645386454864558645686457864588645986460864618646286463864648646586466864678646886469864708647186472864738647486475864768647786478864798648086481864828648386484864858648686487864888648986490864918649286493864948649586496864978649886499865008650186502865038650486505865068650786508865098651086511865128651386514865158651686517865188651986520865218652286523865248652586526865278652886529865308653186532865338653486535865368653786538865398654086541865428654386544865458654686547865488654986550865518655286553865548655586556865578655886559865608656186562865638656486565865668656786568865698657086571865728657386574865758657686577865788657986580865818658286583865848658586586865878658886589865908659186592865938659486595865968659786598865998660086601866028660386604866058660686607866088660986610866118661286613866148661586616866178661886619866208662186622866238662486625866268662786628866298663086631866328663386634866358663686637866388663986640866418664286643866448664586646866478664886649866508665186652866538665486655866568665786658866598666086661866628666386664866658666686667866688666986670866718667286673866748667586676866778667886679866808668186682866838668486685866868668786688866898669086691866928669386694866958669686697866988669986700867018670286703867048670586706867078670886709867108671186712867138671486715867168671786718867198672086721867228672386724867258672686727867288672986730867318673286733867348673586736867378673886739867408674186742867438674486745867468674786748867498675086751867528675386754867558675686757867588675986760867618676286763867648676586766867678676886769867708677186772867738677486775867768677786778867798678086781867828678386784867858678686787867888678986790867918679286793867948679586796867978679886799868008680186802868038680486805868068680786808868098681086811868128681386814868158681686817868188681986820868218682286823868248682586826868278682886829868308683186832868338683486835868368683786838868398684086841868428684386844868458684686847868488684986850868518685286853868548685586856868578685886859868608686186862868638686486865868668686786868868698687086871868728687386874868758687686877868788687986880868818688286883868848688586886868878688886889868908689186892868938689486895868968689786898868998690086901869028690386904869058690686907869088690986910869118691286913869148691586916869178691886919869208692186922869238692486925869268692786928869298693086931869328693386934869358693686937869388693986940869418694286943869448694586946869478694886949869508695186952869538695486955869568695786958869598696086961869628696386964869658696686967869688696986970869718697286973869748697586976869778697886979869808698186982869838698486985869868698786988869898699086991869928699386994869958699686997869988699987000870018700287003870048700587006870078700887009870108701187012870138701487015870168701787018870198702087021870228702387024870258702687027870288702987030870318703287033870348703587036870378703887039870408704187042870438704487045870468704787048870498705087051870528705387054870558705687057870588705987060870618706287063870648706587066870678706887069870708707187072870738707487075870768707787078870798708087081870828708387084870858708687087870888708987090870918709287093870948709587096870978709887099871008710187102871038710487105871068710787108871098711087111871128711387114871158711687117871188711987120871218712287123871248712587126871278712887129871308713187132871338713487135871368713787138871398714087141871428714387144871458714687147871488714987150871518715287153871548715587156871578715887159871608716187162871638716487165871668716787168871698717087171871728717387174871758717687177871788717987180871818718287183871848718587186871878718887189871908719187192871938719487195871968719787198871998720087201872028720387204872058720687207872088720987210872118721287213872148721587216872178721887219872208722187222872238722487225872268722787228872298723087231872328723387234872358723687237872388723987240872418724287243872448724587246872478724887249872508725187252872538725487255872568725787258872598726087261872628726387264872658726687267872688726987270872718727287273872748727587276872778727887279872808728187282872838728487285872868728787288872898729087291872928729387294872958729687297872988729987300873018730287303873048730587306873078730887309873108731187312873138731487315873168731787318873198732087321873228732387324873258732687327873288732987330873318733287333873348733587336873378733887339873408734187342873438734487345873468734787348873498735087351873528735387354873558735687357873588735987360873618736287363873648736587366873678736887369873708737187372873738737487375873768737787378873798738087381873828738387384873858738687387873888738987390873918739287393873948739587396873978739887399874008740187402874038740487405874068740787408874098741087411874128741387414874158741687417874188741987420874218742287423874248742587426874278742887429874308743187432874338743487435874368743787438874398744087441874428744387444874458744687447874488744987450874518745287453874548745587456874578745887459874608746187462874638746487465874668746787468874698747087471874728747387474874758747687477874788747987480874818748287483874848748587486874878748887489874908749187492874938749487495874968749787498874998750087501875028750387504875058750687507875088750987510875118751287513875148751587516875178751887519875208752187522875238752487525875268752787528875298753087531875328753387534875358753687537875388753987540875418754287543875448754587546875478754887549875508755187552875538755487555875568755787558875598756087561875628756387564875658756687567875688756987570875718757287573875748757587576875778757887579875808758187582875838758487585875868758787588875898759087591875928759387594875958759687597875988759987600876018760287603876048760587606876078760887609876108761187612876138761487615876168761787618876198762087621876228762387624876258762687627876288762987630876318763287633876348763587636876378763887639876408764187642876438764487645876468764787648876498765087651876528765387654876558765687657876588765987660876618766287663876648766587666876678766887669876708767187672876738767487675876768767787678876798768087681876828768387684876858768687687876888768987690876918769287693876948769587696876978769887699877008770187702877038770487705877068770787708877098771087711877128771387714877158771687717877188771987720877218772287723877248772587726877278772887729877308773187732877338773487735877368773787738877398774087741877428774387744877458774687747877488774987750877518775287753877548775587756877578775887759877608776187762877638776487765877668776787768877698777087771877728777387774877758777687777877788777987780877818778287783877848778587786877878778887789877908779187792877938779487795877968779787798877998780087801878028780387804878058780687807878088780987810878118781287813878148781587816878178781887819878208782187822878238782487825878268782787828878298783087831878328783387834878358783687837878388783987840878418784287843878448784587846878478784887849878508785187852878538785487855878568785787858878598786087861878628786387864878658786687867878688786987870878718787287873878748787587876878778787887879878808788187882878838788487885878868788787888878898789087891878928789387894878958789687897878988789987900879018790287903879048790587906879078790887909879108791187912879138791487915879168791787918879198792087921879228792387924879258792687927879288792987930879318793287933879348793587936879378793887939879408794187942879438794487945879468794787948879498795087951879528795387954879558795687957879588795987960879618796287963879648796587966879678796887969879708797187972879738797487975879768797787978879798798087981879828798387984879858798687987879888798987990879918799287993879948799587996879978799887999880008800188002880038800488005880068800788008880098801088011880128801388014880158801688017880188801988020880218802288023880248802588026880278802888029880308803188032880338803488035880368803788038880398804088041880428804388044880458804688047880488804988050880518805288053880548805588056880578805888059880608806188062880638806488065880668806788068880698807088071880728807388074880758807688077880788807988080880818808288083880848808588086880878808888089880908809188092880938809488095880968809788098880998810088101881028810388104881058810688107881088810988110881118811288113881148811588116881178811888119881208812188122881238812488125881268812788128881298813088131881328813388134881358813688137881388813988140881418814288143881448814588146881478814888149881508815188152881538815488155881568815788158881598816088161881628816388164881658816688167881688816988170881718817288173881748817588176881778817888179881808818188182881838818488185881868818788188881898819088191881928819388194881958819688197881988819988200882018820288203882048820588206882078820888209882108821188212882138821488215882168821788218882198822088221882228822388224882258822688227882288822988230882318823288233882348823588236882378823888239882408824188242882438824488245882468824788248882498825088251882528825388254882558825688257882588825988260882618826288263882648826588266882678826888269882708827188272882738827488275882768827788278882798828088281882828828388284882858828688287882888828988290882918829288293882948829588296882978829888299883008830188302883038830488305883068830788308883098831088311883128831388314883158831688317883188831988320883218832288323883248832588326883278832888329883308833188332883338833488335883368833788338883398834088341883428834388344883458834688347883488834988350883518835288353883548835588356883578835888359883608836188362883638836488365883668836788368883698837088371883728837388374883758837688377883788837988380883818838288383883848838588386883878838888389883908839188392883938839488395883968839788398883998840088401884028840388404884058840688407884088840988410884118841288413884148841588416884178841888419884208842188422884238842488425884268842788428884298843088431884328843388434884358843688437884388843988440884418844288443884448844588446884478844888449884508845188452884538845488455884568845788458884598846088461884628846388464884658846688467884688846988470884718847288473884748847588476884778847888479884808848188482884838848488485884868848788488884898849088491884928849388494884958849688497884988849988500885018850288503885048850588506885078850888509885108851188512885138851488515885168851788518885198852088521885228852388524885258852688527885288852988530885318853288533885348853588536885378853888539885408854188542885438854488545885468854788548885498855088551885528855388554885558855688557885588855988560885618856288563885648856588566885678856888569885708857188572885738857488575885768857788578885798858088581885828858388584885858858688587885888858988590885918859288593885948859588596885978859888599886008860188602886038860488605886068860788608886098861088611886128861388614886158861688617886188861988620886218862288623886248862588626886278862888629886308863188632886338863488635886368863788638886398864088641886428864388644886458864688647886488864988650886518865288653886548865588656886578865888659886608866188662886638866488665886668866788668886698867088671886728867388674886758867688677886788867988680886818868288683886848868588686886878868888689886908869188692886938869488695886968869788698886998870088701887028870388704887058870688707887088870988710887118871288713887148871588716887178871888719887208872188722887238872488725887268872788728887298873088731887328873388734887358873688737887388873988740887418874288743887448874588746887478874888749887508875188752887538875488755887568875788758887598876088761887628876388764887658876688767887688876988770887718877288773887748877588776887778877888779887808878188782887838878488785887868878788788887898879088791887928879388794887958879688797887988879988800888018880288803888048880588806888078880888809888108881188812888138881488815888168881788818888198882088821888228882388824888258882688827888288882988830888318883288833888348883588836888378883888839888408884188842888438884488845888468884788848888498885088851888528885388854888558885688857888588885988860888618886288863888648886588866888678886888869888708887188872888738887488875888768887788878888798888088881888828888388884888858888688887888888888988890888918889288893888948889588896888978889888899889008890188902889038890488905889068890788908889098891088911889128891388914889158891688917889188891988920889218892288923889248892588926889278892888929889308893188932889338893488935889368893788938889398894088941889428894388944889458894688947889488894988950889518895288953889548895588956889578895888959889608896188962889638896488965889668896788968889698897088971889728897388974889758897688977889788897988980889818898288983889848898588986889878898888989889908899188992889938899488995889968899788998889998900089001890028900389004890058900689007890088900989010890118901289013890148901589016890178901889019890208902189022890238902489025890268902789028890298903089031890328903389034890358903689037890388903989040890418904289043890448904589046890478904889049890508905189052890538905489055890568905789058890598906089061890628906389064890658906689067890688906989070890718907289073890748907589076890778907889079890808908189082890838908489085890868908789088890898909089091890928909389094890958909689097890988909989100891018910289103891048910589106891078910889109891108911189112891138911489115891168911789118891198912089121891228912389124891258912689127891288912989130891318913289133891348913589136891378913889139891408914189142891438914489145891468914789148891498915089151891528915389154891558915689157891588915989160891618916289163891648916589166891678916889169891708917189172891738917489175891768917789178891798918089181891828918389184891858918689187891888918989190891918919289193891948919589196891978919889199892008920189202892038920489205892068920789208892098921089211892128921389214892158921689217892188921989220892218922289223892248922589226892278922889229892308923189232892338923489235892368923789238892398924089241892428924389244892458924689247892488924989250892518925289253892548925589256892578925889259892608926189262892638926489265892668926789268892698927089271892728927389274892758927689277892788927989280892818928289283892848928589286892878928889289892908929189292892938929489295892968929789298892998930089301893028930389304893058930689307893088930989310893118931289313893148931589316893178931889319893208932189322893238932489325893268932789328893298933089331893328933389334893358933689337893388933989340893418934289343893448934589346893478934889349893508935189352893538935489355893568935789358893598936089361893628936389364893658936689367893688936989370893718937289373893748937589376893778937889379893808938189382893838938489385893868938789388893898939089391893928939389394893958939689397893988939989400894018940289403894048940589406894078940889409894108941189412894138941489415894168941789418894198942089421894228942389424894258942689427894288942989430894318943289433894348943589436894378943889439894408944189442894438944489445894468944789448894498945089451894528945389454894558945689457894588945989460894618946289463894648946589466894678946889469894708947189472894738947489475894768947789478894798948089481894828948389484894858948689487894888948989490894918949289493894948949589496894978949889499895008950189502895038950489505895068950789508895098951089511895128951389514895158951689517895188951989520895218952289523895248952589526895278952889529895308953189532895338953489535895368953789538895398954089541895428954389544895458954689547895488954989550895518955289553895548955589556895578955889559895608956189562895638956489565895668956789568895698957089571895728957389574895758957689577895788957989580895818958289583895848958589586895878958889589895908959189592895938959489595895968959789598895998960089601896028960389604896058960689607896088960989610896118961289613896148961589616896178961889619896208962189622896238962489625896268962789628896298963089631896328963389634896358963689637896388963989640896418964289643896448964589646896478964889649896508965189652896538965489655896568965789658896598966089661896628966389664896658966689667896688966989670896718967289673896748967589676896778967889679896808968189682896838968489685896868968789688896898969089691896928969389694896958969689697896988969989700897018970289703897048970589706897078970889709897108971189712897138971489715897168971789718897198972089721897228972389724897258972689727897288972989730897318973289733897348973589736897378973889739897408974189742897438974489745897468974789748897498975089751897528975389754897558975689757897588975989760897618976289763897648976589766897678976889769897708977189772897738977489775897768977789778897798978089781897828978389784897858978689787897888978989790897918979289793897948979589796897978979889799898008980189802898038980489805898068980789808898098981089811898128981389814898158981689817898188981989820898218982289823898248982589826898278982889829898308983189832898338983489835898368983789838898398984089841898428984389844898458984689847898488984989850898518985289853898548985589856898578985889859898608986189862898638986489865898668986789868898698987089871898728987389874898758987689877898788987989880898818988289883898848988589886898878988889889898908989189892898938989489895898968989789898898998990089901899028990389904899058990689907899088990989910899118991289913899148991589916899178991889919899208992189922899238992489925899268992789928899298993089931899328993389934899358993689937899388993989940899418994289943899448994589946899478994889949899508995189952899538995489955899568995789958899598996089961899628996389964899658996689967899688996989970899718997289973899748997589976899778997889979899808998189982899838998489985899868998789988899898999089991899928999389994899958999689997899988999990000900019000290003900049000590006900079000890009900109001190012900139001490015900169001790018900199002090021900229002390024900259002690027900289002990030900319003290033900349003590036900379003890039900409004190042900439004490045900469004790048900499005090051900529005390054900559005690057900589005990060900619006290063900649006590066900679006890069900709007190072900739007490075900769007790078900799008090081900829008390084900859008690087900889008990090900919009290093900949009590096900979009890099901009010190102901039010490105901069010790108901099011090111901129011390114901159011690117901189011990120901219012290123901249012590126901279012890129901309013190132901339013490135901369013790138901399014090141901429014390144901459014690147901489014990150901519015290153901549015590156901579015890159901609016190162901639016490165901669016790168901699017090171901729017390174901759017690177901789017990180901819018290183901849018590186901879018890189901909019190192901939019490195901969019790198901999020090201902029020390204902059020690207902089020990210902119021290213902149021590216902179021890219902209022190222902239022490225902269022790228902299023090231902329023390234902359023690237902389023990240902419024290243902449024590246902479024890249902509025190252902539025490255902569025790258902599026090261902629026390264902659026690267902689026990270902719027290273902749027590276902779027890279902809028190282902839028490285902869028790288902899029090291902929029390294902959029690297902989029990300903019030290303903049030590306903079030890309903109031190312903139031490315903169031790318903199032090321903229032390324903259032690327903289032990330903319033290333903349033590336903379033890339903409034190342903439034490345903469034790348903499035090351903529035390354903559035690357903589035990360903619036290363903649036590366903679036890369903709037190372903739037490375903769037790378903799038090381903829038390384903859038690387903889038990390903919039290393903949039590396903979039890399904009040190402904039040490405904069040790408904099041090411904129041390414904159041690417904189041990420904219042290423904249042590426904279042890429904309043190432904339043490435904369043790438904399044090441904429044390444904459044690447904489044990450904519045290453904549045590456904579045890459904609046190462904639046490465904669046790468904699047090471904729047390474904759047690477904789047990480904819048290483904849048590486904879048890489904909049190492904939049490495904969049790498904999050090501905029050390504905059050690507905089050990510905119051290513905149051590516905179051890519905209052190522905239052490525905269052790528905299053090531905329053390534905359053690537905389053990540905419054290543905449054590546905479054890549905509055190552905539055490555905569055790558905599056090561905629056390564905659056690567905689056990570905719057290573905749057590576905779057890579905809058190582905839058490585905869058790588905899059090591905929059390594905959059690597905989059990600906019060290603906049060590606906079060890609906109061190612906139061490615906169061790618906199062090621906229062390624906259062690627906289062990630906319063290633906349063590636906379063890639906409064190642906439064490645906469064790648906499065090651906529065390654906559065690657906589065990660906619066290663906649066590666906679066890669906709067190672906739067490675906769067790678906799068090681906829068390684906859068690687906889068990690906919069290693906949069590696906979069890699907009070190702907039070490705907069070790708907099071090711907129071390714907159071690717907189071990720907219072290723907249072590726907279072890729907309073190732907339073490735907369073790738907399074090741907429074390744907459074690747907489074990750907519075290753907549075590756907579075890759907609076190762907639076490765907669076790768907699077090771907729077390774907759077690777907789077990780907819078290783907849078590786907879078890789907909079190792907939079490795907969079790798907999080090801908029080390804908059080690807908089080990810908119081290813908149081590816908179081890819908209082190822908239082490825908269082790828908299083090831908329083390834908359083690837908389083990840908419084290843908449084590846908479084890849908509085190852908539085490855908569085790858908599086090861908629086390864908659086690867908689086990870908719087290873908749087590876908779087890879908809088190882908839088490885908869088790888908899089090891908929089390894908959089690897908989089990900909019090290903909049090590906909079090890909909109091190912909139091490915909169091790918909199092090921909229092390924909259092690927909289092990930909319093290933909349093590936909379093890939909409094190942909439094490945909469094790948909499095090951909529095390954909559095690957909589095990960909619096290963909649096590966909679096890969909709097190972909739097490975909769097790978909799098090981909829098390984909859098690987909889098990990909919099290993909949099590996909979099890999910009100191002910039100491005910069100791008910099101091011910129101391014910159101691017910189101991020910219102291023910249102591026910279102891029910309103191032910339103491035910369103791038910399104091041910429104391044910459104691047910489104991050910519105291053910549105591056910579105891059910609106191062910639106491065910669106791068910699107091071910729107391074910759107691077910789107991080910819108291083910849108591086910879108891089910909109191092910939109491095910969109791098910999110091101911029110391104911059110691107911089110991110911119111291113911149111591116911179111891119911209112191122911239112491125911269112791128911299113091131911329113391134911359113691137911389113991140911419114291143911449114591146911479114891149911509115191152911539115491155911569115791158911599116091161911629116391164911659116691167911689116991170911719117291173911749117591176911779117891179911809118191182911839118491185911869118791188911899119091191911929119391194911959119691197911989119991200912019120291203912049120591206912079120891209912109121191212912139121491215912169121791218912199122091221912229122391224912259122691227912289122991230912319123291233912349123591236912379123891239912409124191242912439124491245912469124791248912499125091251912529125391254912559125691257912589125991260912619126291263912649126591266912679126891269912709127191272912739127491275912769127791278912799128091281912829128391284912859128691287912889128991290912919129291293912949129591296912979129891299913009130191302913039130491305913069130791308913099131091311913129131391314913159131691317913189131991320913219132291323913249132591326913279132891329913309133191332913339133491335913369133791338913399134091341913429134391344913459134691347913489134991350913519135291353913549135591356913579135891359913609136191362913639136491365913669136791368913699137091371913729137391374913759137691377913789137991380913819138291383913849138591386913879138891389913909139191392913939139491395913969139791398913999140091401914029140391404914059140691407914089140991410914119141291413914149141591416914179141891419914209142191422914239142491425914269142791428914299143091431914329143391434914359143691437914389143991440914419144291443914449144591446914479144891449914509145191452914539145491455914569145791458914599146091461914629146391464914659146691467914689146991470914719147291473914749147591476914779147891479914809148191482914839148491485914869148791488914899149091491914929149391494914959149691497914989149991500915019150291503915049150591506915079150891509915109151191512915139151491515915169151791518915199152091521915229152391524915259152691527915289152991530915319153291533915349153591536915379153891539915409154191542915439154491545915469154791548915499155091551915529155391554915559155691557915589155991560915619156291563915649156591566915679156891569915709157191572915739157491575915769157791578915799158091581915829158391584915859158691587915889158991590915919159291593915949159591596915979159891599916009160191602916039160491605916069160791608916099161091611916129161391614916159161691617916189161991620916219162291623916249162591626916279162891629916309163191632916339163491635916369163791638916399164091641916429164391644916459164691647916489164991650916519165291653916549165591656916579165891659916609166191662916639166491665916669166791668916699167091671916729167391674916759167691677916789167991680916819168291683916849168591686916879168891689916909169191692916939169491695916969169791698916999170091701917029170391704917059170691707917089170991710917119171291713917149171591716917179171891719917209172191722917239172491725917269172791728917299173091731917329173391734917359173691737917389173991740917419174291743917449174591746917479174891749917509175191752917539175491755917569175791758917599176091761917629176391764917659176691767917689176991770917719177291773917749177591776917779177891779917809178191782917839178491785917869178791788917899179091791917929179391794917959179691797917989179991800918019180291803918049180591806918079180891809918109181191812918139181491815918169181791818918199182091821918229182391824918259182691827918289182991830918319183291833918349183591836918379183891839918409184191842918439184491845918469184791848918499185091851918529185391854918559185691857918589185991860918619186291863918649186591866918679186891869918709187191872918739187491875918769187791878918799188091881918829188391884918859188691887918889188991890918919189291893918949189591896918979189891899919009190191902919039190491905919069190791908919099191091911919129191391914919159191691917919189191991920919219192291923919249192591926919279192891929919309193191932919339193491935919369193791938919399194091941919429194391944919459194691947919489194991950919519195291953919549195591956919579195891959919609196191962919639196491965919669196791968919699197091971919729197391974919759197691977919789197991980919819198291983919849198591986919879198891989919909199191992919939199491995919969199791998919999200092001920029200392004920059200692007920089200992010920119201292013920149201592016920179201892019920209202192022920239202492025920269202792028920299203092031920329203392034920359203692037920389203992040920419204292043920449204592046920479204892049920509205192052920539205492055920569205792058920599206092061920629206392064920659206692067920689206992070920719207292073920749207592076920779207892079920809208192082920839208492085920869208792088920899209092091920929209392094920959209692097920989209992100921019210292103921049210592106921079210892109921109211192112921139211492115921169211792118921199212092121921229212392124921259212692127921289212992130921319213292133921349213592136921379213892139921409214192142921439214492145921469214792148921499215092151921529215392154921559215692157921589215992160921619216292163921649216592166921679216892169921709217192172921739217492175921769217792178921799218092181921829218392184921859218692187921889218992190921919219292193921949219592196921979219892199922009220192202922039220492205922069220792208922099221092211922129221392214922159221692217922189221992220922219222292223922249222592226922279222892229922309223192232922339223492235922369223792238922399224092241922429224392244922459224692247922489224992250922519225292253922549225592256922579225892259922609226192262922639226492265922669226792268922699227092271922729227392274922759227692277922789227992280922819228292283922849228592286922879228892289922909229192292922939229492295922969229792298922999230092301923029230392304923059230692307923089230992310923119231292313923149231592316923179231892319923209232192322923239232492325923269232792328923299233092331923329233392334923359233692337923389233992340923419234292343923449234592346923479234892349923509235192352923539235492355923569235792358923599236092361923629236392364923659236692367923689236992370923719237292373923749237592376923779237892379923809238192382923839238492385923869238792388923899239092391923929239392394923959239692397923989239992400924019240292403924049240592406924079240892409924109241192412924139241492415924169241792418924199242092421924229242392424924259242692427924289242992430924319243292433924349243592436924379243892439924409244192442924439244492445924469244792448924499245092451924529245392454924559245692457924589245992460924619246292463924649246592466924679246892469924709247192472924739247492475924769247792478924799248092481924829248392484924859248692487924889248992490924919249292493924949249592496924979249892499925009250192502925039250492505925069250792508925099251092511925129251392514925159251692517925189251992520925219252292523925249252592526925279252892529925309253192532925339253492535925369253792538925399254092541925429254392544925459254692547925489254992550925519255292553925549255592556925579255892559925609256192562925639256492565925669256792568925699257092571925729257392574925759257692577925789257992580925819258292583925849258592586925879258892589925909259192592925939259492595925969259792598925999260092601926029260392604926059260692607926089260992610926119261292613926149261592616926179261892619926209262192622926239262492625926269262792628926299263092631926329263392634926359263692637926389263992640926419264292643926449264592646926479264892649926509265192652926539265492655926569265792658926599266092661926629266392664926659266692667926689266992670926719267292673926749267592676926779267892679926809268192682926839268492685926869268792688926899269092691926929269392694926959269692697926989269992700927019270292703927049270592706927079270892709927109271192712927139271492715927169271792718927199272092721927229272392724927259272692727927289272992730927319273292733927349273592736927379273892739927409274192742927439274492745927469274792748927499275092751927529275392754927559275692757927589275992760927619276292763927649276592766927679276892769927709277192772927739277492775927769277792778927799278092781927829278392784927859278692787927889278992790927919279292793927949279592796927979279892799928009280192802928039280492805928069280792808928099281092811928129281392814928159281692817928189281992820928219282292823928249282592826928279282892829928309283192832928339283492835928369283792838928399284092841928429284392844928459284692847928489284992850928519285292853928549285592856928579285892859928609286192862928639286492865928669286792868928699287092871928729287392874928759287692877928789287992880928819288292883928849288592886928879288892889928909289192892928939289492895928969289792898928999290092901929029290392904929059290692907929089290992910929119291292913929149291592916929179291892919929209292192922929239292492925929269292792928929299293092931929329293392934929359293692937929389293992940929419294292943929449294592946929479294892949929509295192952929539295492955929569295792958929599296092961929629296392964929659296692967929689296992970929719297292973929749297592976929779297892979929809298192982929839298492985929869298792988929899299092991929929299392994929959299692997929989299993000930019300293003930049300593006930079300893009930109301193012930139301493015930169301793018930199302093021930229302393024930259302693027930289302993030930319303293033930349303593036930379303893039930409304193042930439304493045930469304793048930499305093051930529305393054930559305693057930589305993060930619306293063930649306593066930679306893069930709307193072930739307493075930769307793078930799308093081930829308393084930859308693087930889308993090930919309293093930949309593096930979309893099931009310193102931039310493105931069310793108931099311093111931129311393114931159311693117931189311993120931219312293123931249312593126931279312893129931309313193132931339313493135931369313793138931399314093141931429314393144931459314693147931489314993150931519315293153931549315593156931579315893159931609316193162931639316493165931669316793168931699317093171931729317393174931759317693177931789317993180931819318293183931849318593186931879318893189931909319193192931939319493195931969319793198931999320093201932029320393204932059320693207932089320993210932119321293213932149321593216932179321893219932209322193222932239322493225932269322793228932299323093231932329323393234932359323693237932389323993240932419324293243932449324593246932479324893249932509325193252932539325493255932569325793258932599326093261932629326393264932659326693267932689326993270932719327293273932749327593276932779327893279932809328193282932839328493285932869328793288932899329093291932929329393294932959329693297932989329993300933019330293303933049330593306933079330893309933109331193312933139331493315933169331793318933199332093321933229332393324933259332693327933289332993330933319333293333933349333593336933379333893339933409334193342933439334493345933469334793348933499335093351933529335393354933559335693357933589335993360933619336293363933649336593366933679336893369933709337193372933739337493375933769337793378933799338093381933829338393384933859338693387933889338993390933919339293393933949339593396933979339893399934009340193402934039340493405934069340793408934099341093411934129341393414934159341693417934189341993420934219342293423934249342593426934279342893429934309343193432934339343493435934369343793438934399344093441934429344393444934459344693447934489344993450934519345293453934549345593456934579345893459934609346193462934639346493465934669346793468934699347093471934729347393474934759347693477934789347993480934819348293483934849348593486934879348893489934909349193492934939349493495934969349793498934999350093501935029350393504935059350693507935089350993510935119351293513935149351593516935179351893519935209352193522935239352493525935269352793528935299353093531935329353393534935359353693537935389353993540935419354293543935449354593546935479354893549935509355193552935539355493555935569355793558935599356093561935629356393564935659356693567935689356993570935719357293573935749357593576935779357893579935809358193582935839358493585935869358793588935899359093591935929359393594935959359693597935989359993600936019360293603936049360593606936079360893609936109361193612936139361493615936169361793618936199362093621936229362393624936259362693627936289362993630936319363293633936349363593636936379363893639936409364193642936439364493645936469364793648936499365093651936529365393654936559365693657936589365993660936619366293663936649366593666936679366893669936709367193672936739367493675936769367793678936799368093681936829368393684936859368693687936889368993690936919369293693936949369593696936979369893699937009370193702937039370493705937069370793708937099371093711937129371393714937159371693717937189371993720937219372293723937249372593726937279372893729937309373193732937339373493735937369373793738937399374093741937429374393744937459374693747937489374993750937519375293753937549375593756937579375893759937609376193762937639376493765937669376793768937699377093771937729377393774937759377693777937789377993780937819378293783937849378593786937879378893789937909379193792937939379493795937969379793798937999380093801938029380393804938059380693807938089380993810938119381293813938149381593816938179381893819938209382193822938239382493825938269382793828938299383093831938329383393834938359383693837938389383993840938419384293843938449384593846938479384893849938509385193852938539385493855938569385793858938599386093861938629386393864938659386693867938689386993870938719387293873938749387593876938779387893879938809388193882938839388493885938869388793888938899389093891938929389393894938959389693897938989389993900939019390293903939049390593906939079390893909939109391193912939139391493915939169391793918939199392093921939229392393924939259392693927939289392993930939319393293933939349393593936939379393893939939409394193942939439394493945939469394793948939499395093951939529395393954939559395693957939589395993960939619396293963939649396593966939679396893969939709397193972939739397493975939769397793978939799398093981939829398393984939859398693987939889398993990939919399293993939949399593996939979399893999940009400194002940039400494005940069400794008940099401094011940129401394014940159401694017940189401994020940219402294023940249402594026940279402894029940309403194032940339403494035940369403794038940399404094041940429404394044940459404694047940489404994050940519405294053940549405594056940579405894059940609406194062940639406494065940669406794068940699407094071940729407394074940759407694077940789407994080940819408294083940849408594086940879408894089940909409194092940939409494095940969409794098940999410094101941029410394104941059410694107941089410994110941119411294113941149411594116941179411894119941209412194122941239412494125941269412794128941299413094131941329413394134941359413694137941389413994140941419414294143941449414594146941479414894149941509415194152941539415494155941569415794158941599416094161941629416394164941659416694167941689416994170941719417294173941749417594176941779417894179941809418194182941839418494185941869418794188941899419094191941929419394194941959419694197941989419994200942019420294203942049420594206942079420894209942109421194212942139421494215942169421794218942199422094221942229422394224942259422694227942289422994230942319423294233942349423594236942379423894239942409424194242942439424494245942469424794248942499425094251942529425394254942559425694257942589425994260942619426294263942649426594266942679426894269942709427194272942739427494275942769427794278942799428094281942829428394284942859428694287942889428994290942919429294293942949429594296942979429894299943009430194302943039430494305943069430794308943099431094311943129431394314943159431694317943189431994320943219432294323943249432594326943279432894329943309433194332943339433494335943369433794338943399434094341943429434394344943459434694347943489434994350943519435294353943549435594356943579435894359943609436194362943639436494365943669436794368943699437094371943729437394374943759437694377943789437994380943819438294383943849438594386943879438894389943909439194392943939439494395943969439794398943999440094401944029440394404944059440694407944089440994410944119441294413944149441594416944179441894419944209442194422944239442494425944269442794428944299443094431944329443394434944359443694437944389443994440944419444294443944449444594446944479444894449944509445194452944539445494455944569445794458944599446094461944629446394464944659446694467944689446994470944719447294473944749447594476944779447894479944809448194482944839448494485944869448794488944899449094491944929449394494944959449694497944989449994500945019450294503945049450594506945079450894509945109451194512945139451494515945169451794518945199452094521945229452394524945259452694527945289452994530945319453294533945349453594536945379453894539945409454194542945439454494545945469454794548945499455094551945529455394554945559455694557945589455994560945619456294563945649456594566945679456894569945709457194572945739457494575945769457794578945799458094581945829458394584945859458694587945889458994590945919459294593945949459594596945979459894599946009460194602946039460494605946069460794608946099461094611946129461394614946159461694617946189461994620946219462294623946249462594626946279462894629946309463194632946339463494635946369463794638946399464094641946429464394644946459464694647946489464994650946519465294653946549465594656946579465894659946609466194662946639466494665946669466794668946699467094671946729467394674946759467694677946789467994680946819468294683946849468594686946879468894689946909469194692946939469494695946969469794698946999470094701947029470394704947059470694707947089470994710947119471294713947149471594716947179471894719947209472194722947239472494725947269472794728947299473094731947329473394734947359473694737947389473994740947419474294743947449474594746947479474894749947509475194752947539475494755947569475794758947599476094761947629476394764947659476694767947689476994770947719477294773947749477594776947779477894779947809478194782947839478494785947869478794788947899479094791947929479394794947959479694797947989479994800948019480294803948049480594806948079480894809948109481194812948139481494815948169481794818948199482094821948229482394824948259482694827948289482994830948319483294833948349483594836948379483894839948409484194842948439484494845948469484794848948499485094851948529485394854948559485694857948589485994860948619486294863948649486594866948679486894869948709487194872948739487494875948769487794878948799488094881948829488394884948859488694887948889488994890948919489294893948949489594896948979489894899949009490194902949039490494905949069490794908949099491094911949129491394914949159491694917949189491994920949219492294923949249492594926949279492894929949309493194932949339493494935949369493794938949399494094941949429494394944949459494694947949489494994950949519495294953949549495594956949579495894959949609496194962949639496494965949669496794968949699497094971949729497394974949759497694977949789497994980949819498294983949849498594986949879498894989949909499194992949939499494995949969499794998949999500095001950029500395004950059500695007950089500995010950119501295013950149501595016950179501895019950209502195022950239502495025950269502795028950299503095031950329503395034950359503695037950389503995040950419504295043950449504595046950479504895049950509505195052950539505495055950569505795058950599506095061950629506395064950659506695067950689506995070950719507295073950749507595076950779507895079950809508195082950839508495085950869508795088950899509095091950929509395094950959509695097950989509995100951019510295103951049510595106951079510895109951109511195112951139511495115951169511795118951199512095121951229512395124951259512695127951289512995130951319513295133951349513595136951379513895139951409514195142951439514495145951469514795148951499515095151951529515395154951559515695157951589515995160951619516295163951649516595166951679516895169951709517195172951739517495175951769517795178951799518095181951829518395184951859518695187951889518995190951919519295193951949519595196951979519895199952009520195202952039520495205952069520795208952099521095211952129521395214952159521695217952189521995220952219522295223952249522595226952279522895229952309523195232952339523495235952369523795238952399524095241952429524395244952459524695247952489524995250952519525295253952549525595256952579525895259952609526195262952639526495265952669526795268952699527095271952729527395274952759527695277952789527995280952819528295283952849528595286952879528895289952909529195292952939529495295952969529795298952999530095301953029530395304953059530695307953089530995310953119531295313953149531595316953179531895319953209532195322953239532495325953269532795328953299533095331953329533395334953359533695337953389533995340953419534295343953449534595346953479534895349953509535195352953539535495355953569535795358953599536095361953629536395364953659536695367953689536995370953719537295373953749537595376953779537895379953809538195382953839538495385953869538795388953899539095391953929539395394953959539695397953989539995400954019540295403954049540595406954079540895409954109541195412954139541495415954169541795418954199542095421954229542395424954259542695427954289542995430954319543295433954349543595436954379543895439954409544195442954439544495445954469544795448954499545095451954529545395454954559545695457954589545995460954619546295463954649546595466954679546895469954709547195472954739547495475954769547795478954799548095481954829548395484954859548695487954889548995490954919549295493954949549595496954979549895499955009550195502955039550495505955069550795508955099551095511955129551395514955159551695517955189551995520955219552295523955249552595526955279552895529955309553195532955339553495535955369553795538955399554095541955429554395544955459554695547955489554995550955519555295553955549555595556955579555895559955609556195562955639556495565955669556795568955699557095571955729557395574955759557695577955789557995580955819558295583955849558595586955879558895589955909559195592955939559495595955969559795598955999560095601956029560395604956059560695607956089560995610956119561295613956149561595616956179561895619956209562195622956239562495625956269562795628956299563095631956329563395634956359563695637956389563995640956419564295643956449564595646956479564895649956509565195652956539565495655956569565795658956599566095661956629566395664956659566695667956689566995670956719567295673956749567595676956779567895679956809568195682956839568495685956869568795688956899569095691956929569395694956959569695697956989569995700957019570295703957049570595706957079570895709957109571195712957139571495715957169571795718957199572095721957229572395724957259572695727957289572995730957319573295733957349573595736957379573895739957409574195742957439574495745957469574795748957499575095751957529575395754957559575695757957589575995760957619576295763957649576595766957679576895769957709577195772957739577495775957769577795778957799578095781957829578395784957859578695787957889578995790957919579295793957949579595796957979579895799958009580195802958039580495805958069580795808958099581095811958129581395814958159581695817958189581995820958219582295823958249582595826958279582895829958309583195832958339583495835958369583795838958399584095841958429584395844958459584695847958489584995850958519585295853958549585595856958579585895859958609586195862958639586495865958669586795868958699587095871958729587395874958759587695877958789587995880958819588295883958849588595886958879588895889958909589195892958939589495895958969589795898958999590095901959029590395904959059590695907959089590995910959119591295913959149591595916959179591895919959209592195922959239592495925959269592795928959299593095931959329593395934959359593695937959389593995940959419594295943959449594595946959479594895949959509595195952959539595495955959569595795958959599596095961959629596395964959659596695967959689596995970959719597295973959749597595976959779597895979959809598195982959839598495985959869598795988959899599095991959929599395994959959599695997959989599996000960019600296003960049600596006960079600896009960109601196012960139601496015960169601796018960199602096021960229602396024960259602696027960289602996030960319603296033960349603596036960379603896039960409604196042960439604496045960469604796048960499605096051960529605396054960559605696057960589605996060960619606296063960649606596066960679606896069960709607196072960739607496075960769607796078960799608096081960829608396084960859608696087960889608996090960919609296093960949609596096960979609896099961009610196102961039610496105961069610796108961099611096111961129611396114961159611696117961189611996120961219612296123961249612596126961279612896129961309613196132961339613496135961369613796138961399614096141961429614396144961459614696147961489614996150961519615296153961549615596156961579615896159961609616196162961639616496165961669616796168961699617096171961729617396174961759617696177961789617996180961819618296183961849618596186961879618896189961909619196192961939619496195961969619796198961999620096201962029620396204962059620696207962089620996210962119621296213962149621596216962179621896219962209622196222962239622496225962269622796228962299623096231962329623396234962359623696237962389623996240962419624296243962449624596246962479624896249962509625196252962539625496255962569625796258962599626096261962629626396264962659626696267962689626996270962719627296273962749627596276962779627896279962809628196282962839628496285962869628796288962899629096291962929629396294962959629696297962989629996300963019630296303963049630596306963079630896309963109631196312963139631496315963169631796318963199632096321963229632396324963259632696327963289632996330963319633296333963349633596336963379633896339963409634196342963439634496345963469634796348963499635096351963529635396354963559635696357963589635996360963619636296363963649636596366963679636896369963709637196372963739637496375963769637796378963799638096381963829638396384963859638696387963889638996390963919639296393963949639596396963979639896399964009640196402964039640496405964069640796408964099641096411964129641396414964159641696417964189641996420964219642296423964249642596426964279642896429964309643196432964339643496435964369643796438964399644096441964429644396444964459644696447964489644996450964519645296453964549645596456964579645896459964609646196462964639646496465964669646796468964699647096471964729647396474964759647696477964789647996480964819648296483964849648596486964879648896489964909649196492964939649496495964969649796498964999650096501965029650396504965059650696507965089650996510965119651296513965149651596516965179651896519965209652196522965239652496525965269652796528965299653096531965329653396534965359653696537965389653996540965419654296543965449654596546965479654896549965509655196552965539655496555965569655796558965599656096561965629656396564965659656696567965689656996570965719657296573965749657596576965779657896579965809658196582965839658496585965869658796588965899659096591965929659396594965959659696597965989659996600966019660296603966049660596606966079660896609966109661196612966139661496615966169661796618966199662096621966229662396624966259662696627966289662996630966319663296633966349663596636966379663896639966409664196642966439664496645966469664796648966499665096651966529665396654966559665696657966589665996660966619666296663966649666596666966679666896669966709667196672966739667496675966769667796678966799668096681966829668396684966859668696687966889668996690966919669296693966949669596696966979669896699967009670196702967039670496705967069670796708967099671096711967129671396714967159671696717967189671996720967219672296723967249672596726967279672896729967309673196732967339673496735967369673796738967399674096741967429674396744967459674696747967489674996750967519675296753967549675596756967579675896759967609676196762967639676496765967669676796768967699677096771967729677396774967759677696777967789677996780967819678296783967849678596786967879678896789967909679196792967939679496795967969679796798967999680096801968029680396804968059680696807968089680996810968119681296813968149681596816968179681896819968209682196822968239682496825968269682796828968299683096831968329683396834968359683696837968389683996840968419684296843968449684596846968479684896849968509685196852968539685496855968569685796858968599686096861968629686396864968659686696867968689686996870968719687296873968749687596876968779687896879968809688196882968839688496885968869688796888968899689096891968929689396894968959689696897968989689996900969019690296903969049690596906969079690896909969109691196912969139691496915969169691796918969199692096921969229692396924969259692696927969289692996930969319693296933969349693596936969379693896939969409694196942969439694496945969469694796948969499695096951969529695396954969559695696957969589695996960969619696296963969649696596966969679696896969969709697196972969739697496975969769697796978969799698096981969829698396984969859698696987969889698996990969919699296993969949699596996969979699896999970009700197002970039700497005970069700797008970099701097011970129701397014970159701697017970189701997020970219702297023970249702597026970279702897029970309703197032970339703497035970369703797038970399704097041970429704397044970459704697047970489704997050970519705297053970549705597056970579705897059970609706197062970639706497065970669706797068970699707097071970729707397074970759707697077970789707997080970819708297083970849708597086970879708897089970909709197092970939709497095970969709797098970999710097101971029710397104971059710697107971089710997110971119711297113971149711597116971179711897119971209712197122971239712497125971269712797128971299713097131971329713397134971359713697137971389713997140971419714297143971449714597146971479714897149971509715197152971539715497155971569715797158971599716097161971629716397164971659716697167971689716997170971719717297173971749717597176971779717897179971809718197182971839718497185971869718797188971899719097191971929719397194971959719697197971989719997200972019720297203972049720597206972079720897209972109721197212972139721497215972169721797218972199722097221972229722397224972259722697227972289722997230972319723297233972349723597236972379723897239972409724197242972439724497245972469724797248972499725097251972529725397254972559725697257972589725997260972619726297263972649726597266972679726897269972709727197272972739727497275972769727797278972799728097281972829728397284972859728697287972889728997290972919729297293972949729597296972979729897299973009730197302973039730497305973069730797308973099731097311973129731397314973159731697317973189731997320973219732297323973249732597326973279732897329973309733197332973339733497335973369733797338973399734097341973429734397344973459734697347973489734997350973519735297353973549735597356973579735897359973609736197362973639736497365973669736797368973699737097371973729737397374973759737697377973789737997380973819738297383973849738597386973879738897389973909739197392973939739497395973969739797398973999740097401974029740397404974059740697407974089740997410974119741297413974149741597416974179741897419974209742197422974239742497425974269742797428974299743097431974329743397434974359743697437974389743997440974419744297443974449744597446974479744897449974509745197452974539745497455974569745797458974599746097461974629746397464974659746697467974689746997470974719747297473974749747597476974779747897479974809748197482974839748497485974869748797488974899749097491974929749397494974959749697497974989749997500975019750297503975049750597506975079750897509975109751197512975139751497515975169751797518975199752097521975229752397524975259752697527975289752997530975319753297533975349753597536975379753897539975409754197542975439754497545975469754797548975499755097551975529755397554975559755697557975589755997560975619756297563975649756597566975679756897569975709757197572975739757497575975769757797578975799758097581975829758397584975859758697587975889758997590975919759297593975949759597596975979759897599976009760197602976039760497605976069760797608976099761097611976129761397614976159761697617976189761997620976219762297623976249762597626976279762897629976309763197632976339763497635976369763797638976399764097641976429764397644976459764697647976489764997650976519765297653976549765597656976579765897659976609766197662976639766497665976669766797668976699767097671976729767397674976759767697677976789767997680976819768297683976849768597686976879768897689976909769197692976939769497695976969769797698976999770097701977029770397704977059770697707977089770997710977119771297713977149771597716977179771897719977209772197722977239772497725977269772797728977299773097731977329773397734977359773697737977389773997740977419774297743977449774597746977479774897749977509775197752977539775497755977569775797758977599776097761977629776397764977659776697767977689776997770977719777297773977749777597776977779777897779977809778197782977839778497785977869778797788977899779097791977929779397794977959779697797977989779997800978019780297803978049780597806978079780897809978109781197812978139781497815978169781797818978199782097821978229782397824978259782697827978289782997830978319783297833978349783597836978379783897839978409784197842978439784497845978469784797848978499785097851978529785397854978559785697857978589785997860978619786297863978649786597866978679786897869978709787197872978739787497875978769787797878978799788097881978829788397884978859788697887978889788997890978919789297893978949789597896978979789897899979009790197902979039790497905979069790797908979099791097911979129791397914979159791697917979189791997920979219792297923979249792597926979279792897929979309793197932979339793497935979369793797938979399794097941979429794397944979459794697947979489794997950979519795297953979549795597956979579795897959979609796197962979639796497965979669796797968979699797097971979729797397974979759797697977979789797997980979819798297983979849798597986979879798897989979909799197992979939799497995979969799797998979999800098001980029800398004980059800698007980089800998010980119801298013980149801598016980179801898019980209802198022980239802498025980269802798028980299803098031980329803398034980359803698037980389803998040980419804298043980449804598046980479804898049980509805198052980539805498055980569805798058980599806098061980629806398064980659806698067980689806998070980719807298073980749807598076980779807898079980809808198082980839808498085980869808798088980899809098091980929809398094980959809698097980989809998100981019810298103981049810598106981079810898109981109811198112981139811498115981169811798118981199812098121981229812398124981259812698127981289812998130981319813298133981349813598136981379813898139981409814198142981439814498145981469814798148981499815098151981529815398154981559815698157981589815998160981619816298163981649816598166981679816898169981709817198172981739817498175981769817798178981799818098181981829818398184981859818698187981889818998190981919819298193981949819598196981979819898199982009820198202982039820498205982069820798208982099821098211982129821398214982159821698217982189821998220982219822298223982249822598226982279822898229982309823198232982339823498235982369823798238982399824098241982429824398244982459824698247982489824998250982519825298253982549825598256982579825898259982609826198262982639826498265982669826798268982699827098271982729827398274982759827698277982789827998280982819828298283982849828598286982879828898289982909829198292982939829498295982969829798298982999830098301983029830398304983059830698307983089830998310983119831298313983149831598316983179831898319983209832198322983239832498325983269832798328983299833098331983329833398334983359833698337983389833998340983419834298343983449834598346983479834898349983509835198352983539835498355983569835798358983599836098361983629836398364983659836698367983689836998370983719837298373983749837598376983779837898379983809838198382983839838498385983869838798388983899839098391983929839398394983959839698397983989839998400984019840298403984049840598406984079840898409984109841198412984139841498415984169841798418984199842098421984229842398424984259842698427984289842998430984319843298433984349843598436984379843898439984409844198442984439844498445984469844798448984499845098451984529845398454984559845698457984589845998460984619846298463984649846598466984679846898469984709847198472984739847498475984769847798478984799848098481984829848398484984859848698487984889848998490984919849298493984949849598496984979849898499985009850198502985039850498505985069850798508985099851098511985129851398514985159851698517985189851998520985219852298523985249852598526985279852898529985309853198532985339853498535985369853798538985399854098541985429854398544985459854698547985489854998550985519855298553985549855598556985579855898559985609856198562985639856498565985669856798568985699857098571985729857398574985759857698577985789857998580985819858298583985849858598586985879858898589985909859198592985939859498595985969859798598985999860098601986029860398604986059860698607986089860998610986119861298613986149861598616986179861898619986209862198622986239862498625986269862798628986299863098631986329863398634986359863698637986389863998640986419864298643986449864598646986479864898649986509865198652986539865498655986569865798658986599866098661986629866398664986659866698667986689866998670986719867298673986749867598676986779867898679986809868198682986839868498685986869868798688986899869098691986929869398694986959869698697986989869998700987019870298703987049870598706987079870898709987109871198712987139871498715987169871798718987199872098721987229872398724987259872698727987289872998730987319873298733987349873598736987379873898739987409874198742987439874498745987469874798748987499875098751987529875398754987559875698757987589875998760987619876298763987649876598766987679876898769987709877198772987739877498775987769877798778987799878098781987829878398784987859878698787987889878998790987919879298793987949879598796987979879898799988009880198802988039880498805988069880798808988099881098811988129881398814988159881698817988189881998820988219882298823988249882598826988279882898829988309883198832988339883498835988369883798838988399884098841988429884398844988459884698847988489884998850988519885298853988549885598856988579885898859988609886198862988639886498865988669886798868988699887098871988729887398874988759887698877988789887998880988819888298883988849888598886988879888898889988909889198892988939889498895988969889798898988999890098901989029890398904989059890698907989089890998910989119891298913989149891598916989179891898919989209892198922989239892498925989269892798928989299893098931989329893398934989359893698937989389893998940989419894298943989449894598946989479894898949989509895198952989539895498955989569895798958989599896098961989629896398964989659896698967989689896998970989719897298973989749897598976989779897898979989809898198982989839898498985989869898798988989899899098991989929899398994989959899698997989989899999000990019900299003990049900599006990079900899009990109901199012990139901499015990169901799018990199902099021990229902399024990259902699027990289902999030990319903299033990349903599036990379903899039990409904199042990439904499045990469904799048990499905099051990529905399054990559905699057990589905999060990619906299063990649906599066990679906899069990709907199072990739907499075990769907799078990799908099081990829908399084990859908699087990889908999090990919909299093990949909599096990979909899099991009910199102991039910499105991069910799108991099911099111991129911399114991159911699117991189911999120991219912299123991249912599126991279912899129991309913199132991339913499135991369913799138991399914099141991429914399144991459914699147991489914999150991519915299153991549915599156991579915899159991609916199162991639916499165991669916799168991699917099171991729917399174991759917699177991789917999180991819918299183991849918599186991879918899189991909919199192991939919499195991969919799198991999920099201992029920399204992059920699207992089920999210992119921299213992149921599216992179921899219992209922199222992239922499225992269922799228992299923099231992329923399234992359923699237992389923999240992419924299243992449924599246992479924899249992509925199252992539925499255992569925799258992599926099261992629926399264992659926699267992689926999270992719927299273992749927599276992779927899279992809928199282992839928499285992869928799288992899929099291992929929399294992959929699297992989929999300993019930299303993049930599306993079930899309993109931199312993139931499315993169931799318993199932099321993229932399324993259932699327993289932999330993319933299333993349933599336993379933899339993409934199342993439934499345993469934799348993499935099351993529935399354993559935699357993589935999360993619936299363993649936599366993679936899369993709937199372993739937499375993769937799378993799938099381993829938399384993859938699387993889938999390993919939299393993949939599396993979939899399994009940199402994039940499405994069940799408994099941099411994129941399414994159941699417994189941999420994219942299423994249942599426994279942899429994309943199432994339943499435994369943799438994399944099441994429944399444994459944699447994489944999450994519945299453994549945599456994579945899459994609946199462994639946499465994669946799468994699947099471994729947399474994759947699477994789947999480994819948299483994849948599486994879948899489994909949199492994939949499495994969949799498994999950099501995029950399504995059950699507995089950999510995119951299513995149951599516995179951899519995209952199522995239952499525995269952799528995299953099531995329953399534995359953699537995389953999540995419954299543995449954599546995479954899549995509955199552995539955499555995569955799558995599956099561995629956399564995659956699567995689956999570995719957299573995749957599576995779957899579995809958199582995839958499585995869958799588995899959099591995929959399594995959959699597995989959999600996019960299603996049960599606996079960899609996109961199612996139961499615996169961799618996199962099621996229962399624996259962699627996289962999630996319963299633996349963599636996379963899639996409964199642996439964499645996469964799648996499965099651996529965399654996559965699657996589965999660996619966299663996649966599666996679966899669996709967199672996739967499675996769967799678996799968099681996829968399684996859968699687996889968999690996919969299693996949969599696996979969899699997009970199702997039970499705997069970799708997099971099711997129971399714997159971699717997189971999720997219972299723997249972599726997279972899729997309973199732997339973499735997369973799738997399974099741997429974399744997459974699747997489974999750997519975299753997549975599756997579975899759997609976199762997639976499765997669976799768997699977099771997729977399774997759977699777997789977999780997819978299783997849978599786997879978899789997909979199792997939979499795997969979799798997999980099801998029980399804998059980699807998089980999810998119981299813998149981599816998179981899819998209982199822998239982499825998269982799828998299983099831998329983399834998359983699837998389983999840998419984299843998449984599846998479984899849998509985199852998539985499855998569985799858998599986099861998629986399864998659986699867998689986999870998719987299873998749987599876998779987899879998809988199882998839988499885998869988799888998899989099891998929989399894998959989699897998989989999900999019990299903999049990599906999079990899909999109991199912999139991499915999169991799918999199992099921999229992399924999259992699927999289992999930999319993299933999349993599936999379993899939999409994199942999439994499945999469994799948999499995099951999529995399954999559995699957999589995999960999619996299963999649996599966999679996899969999709997199972999739997499975999769997799978999799998099981999829998399984999859998699987999889998999990999919999299993999949999599996999979999899999100000100001100002100003100004100005100006100007100008100009100010100011100012100013100014100015100016100017100018100019100020100021100022100023100024100025100026100027100028100029100030100031100032100033100034100035100036100037100038100039100040100041100042100043100044100045100046100047100048100049100050100051100052100053100054100055100056100057100058100059100060100061100062100063100064100065100066100067100068100069100070100071100072100073100074100075100076100077100078100079100080100081100082100083100084100085100086100087100088100089100090100091100092100093100094100095100096100097100098100099100100100101100102100103100104100105100106100107100108100109100110100111100112100113100114100115100116100117100118100119100120100121100122100123100124100125100126100127100128100129100130100131100132100133100134100135100136100137100138100139100140100141100142100143100144100145100146100147100148100149100150100151100152100153100154100155100156100157100158100159100160100161100162100163100164100165100166100167100168100169100170100171100172100173100174100175100176100177100178100179100180100181100182100183100184100185100186100187100188100189100190100191100192100193100194100195100196100197100198100199100200100201100202100203100204100205100206100207100208100209100210100211100212100213100214100215100216100217100218100219100220100221100222100223100224100225100226100227100228100229100230100231100232100233100234100235100236100237100238100239100240100241100242100243100244100245100246100247100248100249100250100251100252100253100254100255100256100257100258100259100260100261100262100263100264100265100266100267100268100269100270100271100272100273100274100275100276100277100278100279100280100281100282100283100284100285100286100287100288100289100290100291100292100293100294100295100296100297100298100299100300100301100302100303100304100305100306100307100308100309100310100311100312100313100314100315100316100317100318100319100320100321100322100323100324100325100326100327100328100329100330100331100332100333100334100335100336100337100338100339100340100341100342100343100344100345100346100347100348100349100350100351100352100353100354100355100356100357100358100359100360100361100362100363100364100365100366100367100368100369100370100371100372100373100374100375100376100377100378100379100380100381100382100383100384100385100386100387100388100389100390100391100392100393100394100395100396100397100398100399100400100401100402100403100404100405100406100407100408100409100410100411100412100413100414100415100416100417100418100419100420100421100422100423100424100425100426100427100428100429100430100431100432100433100434100435100436100437100438100439100440100441100442100443100444100445100446100447100448100449100450100451100452100453100454100455100456100457100458100459100460100461100462100463100464100465100466100467100468100469100470100471100472100473100474100475100476100477100478100479100480100481100482100483100484100485100486100487100488100489100490100491100492100493100494100495100496100497100498100499100500100501100502100503100504100505100506100507100508100509100510100511100512100513100514100515100516100517100518100519100520100521100522100523100524100525100526100527100528100529100530100531100532100533100534100535100536100537100538100539100540100541100542100543100544100545100546100547100548100549100550100551100552100553100554100555100556100557100558100559100560100561100562100563100564100565100566100567100568100569100570100571100572100573100574100575100576100577100578100579100580100581100582100583100584100585100586100587100588100589100590100591100592100593100594100595100596100597100598100599100600100601100602100603100604100605100606100607100608100609100610100611100612100613100614100615100616100617100618100619100620100621100622100623100624100625100626100627100628100629100630100631100632100633100634100635100636100637100638100639100640100641100642100643100644100645100646100647100648100649100650100651100652100653100654100655100656100657100658100659100660100661100662100663100664100665100666100667100668100669100670100671100672100673100674100675100676100677100678100679100680100681100682100683100684100685100686100687100688100689100690100691100692100693100694100695100696100697100698100699100700100701100702100703100704100705100706100707100708100709100710100711100712100713100714100715100716100717100718100719100720100721100722100723100724100725100726100727100728100729100730100731100732100733100734100735100736100737100738100739100740100741100742100743100744100745100746100747100748100749100750100751100752100753100754100755100756100757100758100759100760100761100762100763100764100765100766100767100768100769100770100771100772100773100774100775100776100777100778100779100780100781100782100783100784100785100786100787100788100789100790100791100792100793100794100795100796100797100798100799100800100801100802100803100804100805100806100807100808100809100810100811100812100813100814100815100816100817100818100819100820100821100822100823100824100825100826100827100828100829100830100831100832100833100834100835100836100837100838100839100840100841100842100843100844100845100846100847100848100849100850100851100852100853100854100855100856100857100858100859100860100861100862100863100864100865100866100867100868100869100870100871100872100873100874100875100876100877100878100879100880100881100882100883100884100885100886100887100888100889100890100891100892100893100894100895100896100897100898100899100900100901100902100903100904100905100906100907100908100909100910100911100912100913100914100915100916100917100918100919100920100921100922100923100924100925100926100927100928100929100930100931100932100933100934100935100936100937100938100939100940100941100942100943100944100945100946100947100948100949100950100951100952100953100954100955100956100957100958100959100960100961100962100963100964100965100966100967100968100969100970100971100972100973100974100975100976100977100978100979100980100981100982100983100984100985100986100987100988100989100990100991100992100993100994100995100996100997100998100999101000101001101002101003101004101005101006101007101008101009101010101011101012101013101014101015101016101017101018101019101020101021101022101023101024101025101026101027101028101029101030101031101032101033101034101035101036101037101038101039101040101041101042101043101044101045101046101047101048101049101050101051101052101053101054101055101056101057101058101059101060101061101062101063101064101065101066101067101068101069101070101071101072101073101074101075101076101077101078101079101080101081101082101083101084101085101086101087101088101089101090101091101092101093101094101095101096101097101098101099101100101101101102101103101104101105101106101107101108101109101110101111101112101113101114101115101116101117101118101119101120101121101122101123101124101125101126101127101128101129101130101131101132101133101134101135101136101137101138101139101140101141101142101143101144101145101146101147101148101149101150101151101152101153101154101155101156101157101158101159101160101161101162101163101164101165101166101167101168101169101170101171101172101173101174101175101176101177101178101179101180101181101182101183101184101185101186101187101188101189101190101191101192101193101194101195101196101197101198101199101200101201101202101203101204101205101206101207101208101209101210101211101212101213101214101215101216101217101218101219101220101221101222101223101224101225101226101227101228101229101230101231101232101233101234101235101236101237101238101239101240101241101242101243101244101245101246101247101248101249101250101251101252101253101254101255101256101257101258101259101260101261101262101263101264101265101266101267101268101269101270101271101272101273101274101275101276101277101278101279101280101281101282101283101284101285101286101287101288101289101290101291101292101293101294101295101296101297101298101299101300101301101302101303101304101305101306101307101308101309101310101311101312101313101314101315101316101317101318101319101320101321101322101323101324101325101326101327101328101329101330101331101332101333101334101335101336101337101338101339101340101341101342101343101344101345101346101347101348101349101350101351101352101353101354101355101356101357101358101359101360101361101362101363101364101365101366101367101368101369101370101371101372101373101374101375101376101377101378101379101380101381101382101383101384101385101386101387101388101389101390101391101392101393101394101395101396101397101398101399101400101401101402101403101404101405101406101407101408101409101410101411101412101413101414101415101416101417101418101419101420101421101422101423101424101425101426101427101428101429101430101431101432101433101434101435101436101437101438101439101440101441101442101443101444101445101446101447101448101449101450101451101452101453101454101455101456101457101458101459101460101461101462101463101464101465101466101467101468101469101470101471101472101473101474101475101476101477101478101479101480101481101482101483101484101485101486101487101488101489101490101491101492101493101494101495101496101497101498101499101500101501101502101503101504101505101506101507101508101509101510101511101512101513101514101515101516101517101518101519101520101521101522101523101524101525101526101527101528101529101530101531101532101533101534101535101536101537101538101539101540101541101542101543101544101545101546101547101548101549101550101551101552101553101554101555101556101557101558101559101560101561101562101563101564101565101566101567101568101569101570101571101572101573101574101575101576101577101578101579101580101581101582101583101584101585101586101587101588101589101590101591101592101593101594101595101596101597101598101599101600101601101602101603101604101605101606101607101608101609101610101611101612101613101614101615101616101617101618101619101620101621101622101623101624101625101626101627101628101629101630101631101632101633101634101635101636101637101638101639101640101641101642101643101644101645101646101647101648101649101650101651101652101653101654101655101656101657101658101659101660101661101662101663101664101665101666101667101668101669101670101671101672101673101674101675101676101677101678101679101680101681101682101683101684101685101686101687101688101689101690101691101692101693101694101695101696101697101698101699101700101701101702101703101704101705101706101707101708101709101710101711101712101713101714101715101716101717101718101719101720101721101722101723101724101725101726101727101728101729101730101731101732101733101734101735101736101737101738101739101740101741101742101743101744101745101746101747101748101749101750101751101752101753101754101755101756101757101758101759101760101761101762101763101764101765101766101767101768101769101770101771101772101773101774101775101776101777101778101779101780101781101782101783101784101785101786101787101788101789101790101791101792101793101794101795101796101797101798101799101800101801101802101803101804101805101806101807101808101809101810101811101812101813101814101815101816101817101818101819101820101821101822101823101824101825101826101827101828101829101830101831101832101833101834101835101836101837101838101839101840101841101842101843101844101845101846101847101848101849101850101851101852101853101854101855101856101857101858101859101860101861101862101863101864101865101866101867101868101869101870101871101872101873101874101875101876101877101878101879101880101881101882101883101884101885101886101887101888101889101890101891101892101893101894101895101896101897101898101899101900101901101902101903101904101905101906101907101908101909101910101911101912101913101914101915101916101917101918101919101920101921101922101923101924101925101926101927101928101929101930101931101932101933101934101935101936101937101938101939101940101941101942101943101944101945101946101947101948101949101950101951101952101953101954101955101956101957101958101959101960101961101962101963101964101965101966101967101968101969101970101971101972101973101974101975101976101977101978101979101980101981101982101983101984101985101986101987101988101989101990101991101992101993101994101995101996101997101998101999102000102001102002102003102004102005102006102007102008102009102010102011102012102013102014102015102016102017102018102019102020102021102022102023102024102025102026102027102028102029102030102031102032102033102034102035102036102037102038102039102040102041102042102043102044102045102046102047102048102049102050102051102052102053102054102055102056102057102058102059102060102061102062102063102064102065102066102067102068102069102070102071102072102073102074102075102076102077102078102079102080102081102082102083102084102085102086102087102088102089102090102091102092102093102094102095102096102097102098102099102100102101102102102103102104102105102106102107102108102109102110102111102112102113102114102115102116102117102118102119102120102121102122102123102124102125102126102127102128102129102130102131102132102133102134102135102136102137102138102139102140102141102142102143102144102145102146102147102148102149102150102151102152102153102154102155102156102157102158102159102160102161102162102163102164102165102166102167102168102169102170102171102172102173102174102175102176102177102178102179102180102181102182102183102184102185102186102187102188102189102190102191102192102193102194102195102196102197102198102199102200102201102202102203102204102205102206102207102208102209102210102211102212102213102214102215102216102217102218102219102220102221102222102223102224102225102226102227102228102229102230102231102232102233102234102235102236102237102238102239102240102241102242102243102244102245102246102247102248102249102250102251102252102253102254102255102256102257102258102259102260102261102262102263102264102265102266102267102268102269102270102271102272102273102274102275102276102277102278102279102280102281102282102283102284102285102286102287102288102289102290102291102292102293102294102295102296102297102298102299102300102301102302102303102304102305102306102307102308102309102310102311102312102313102314102315102316102317102318102319102320102321102322102323102324102325102326102327102328102329102330102331102332102333102334102335102336102337102338102339102340102341102342102343102344102345102346102347102348102349102350102351102352102353102354102355102356102357102358102359102360102361102362102363102364102365102366102367102368102369102370102371102372102373102374102375102376102377102378102379102380102381102382102383102384102385102386102387102388102389102390102391102392102393102394102395102396102397102398102399102400102401102402102403102404102405102406102407102408102409102410102411102412102413102414102415102416102417102418102419102420102421102422102423102424102425102426102427102428102429102430102431102432102433102434102435102436102437102438102439102440102441102442102443102444102445102446102447102448102449102450102451102452102453102454102455102456102457102458102459102460102461102462102463102464102465102466102467102468102469102470102471102472102473102474102475102476102477102478102479102480102481102482102483102484102485102486102487102488102489102490102491102492102493102494102495102496102497102498102499102500102501102502102503102504102505102506102507102508102509102510102511102512102513102514102515102516102517102518102519102520102521102522102523102524102525102526102527102528102529102530102531102532102533102534102535102536102537102538102539102540102541102542102543102544102545102546102547102548102549102550102551102552102553102554102555102556102557102558102559102560102561102562102563102564102565102566102567102568102569102570102571102572102573102574102575102576102577102578102579102580102581102582102583102584102585102586102587102588102589102590102591102592102593102594102595102596102597102598102599102600102601102602102603102604102605102606102607102608102609102610102611102612102613102614102615102616102617102618102619102620102621102622102623102624102625102626102627102628102629102630102631102632102633102634102635102636102637102638102639102640102641102642102643102644102645102646102647102648102649102650102651102652102653102654102655102656102657102658102659102660102661102662102663102664102665102666102667102668102669102670102671102672102673102674102675102676102677102678102679102680102681102682102683102684102685102686102687102688102689102690102691102692102693102694102695102696102697102698102699102700102701102702102703102704102705102706102707102708102709102710102711102712102713102714102715102716102717102718102719102720102721102722102723102724102725102726102727102728102729102730102731102732102733102734102735102736102737102738102739102740102741102742102743102744102745102746102747102748102749102750102751102752102753102754102755102756102757102758102759102760102761102762102763102764102765102766102767102768102769102770102771102772102773102774102775102776102777102778102779102780102781102782102783102784102785102786102787102788102789102790102791102792102793102794102795102796102797102798102799102800102801102802102803102804102805102806102807102808102809102810102811102812102813102814102815102816102817102818102819102820102821102822102823102824102825102826102827102828102829102830102831102832102833102834102835102836102837102838102839102840102841102842102843102844102845102846102847102848102849102850102851102852102853102854102855102856102857102858102859102860102861102862102863102864102865102866102867102868102869102870102871102872102873102874102875102876102877102878102879102880102881102882102883102884102885102886102887102888102889102890102891102892102893102894102895102896102897102898102899102900102901102902102903102904102905102906102907102908102909102910102911102912102913102914102915102916102917102918102919102920102921102922102923102924102925102926102927102928102929102930102931102932102933102934102935102936102937102938102939102940102941102942102943102944102945102946102947102948102949102950102951102952102953102954102955102956102957102958102959102960102961102962102963102964102965102966102967102968102969102970102971102972102973102974102975102976102977102978102979102980102981102982102983102984102985102986102987102988102989102990102991102992102993102994102995102996102997102998102999103000103001103002103003103004103005103006103007103008103009103010103011103012103013103014103015103016103017103018103019103020103021103022103023103024103025103026103027103028103029103030103031103032103033103034103035103036103037103038103039103040103041103042103043103044103045103046103047103048103049103050103051103052103053103054103055103056103057103058103059103060103061103062103063103064103065103066103067103068103069103070103071103072103073103074103075103076103077103078103079103080103081103082103083103084103085103086103087103088103089103090103091103092103093103094103095103096103097103098103099103100103101103102103103103104103105103106103107103108103109103110103111103112103113103114103115103116103117103118103119103120103121103122103123103124103125103126103127103128103129103130103131103132103133103134103135103136103137103138103139103140103141103142103143103144103145103146103147103148103149103150103151103152103153103154103155103156103157103158103159103160103161103162103163103164103165103166103167103168103169103170103171103172103173103174103175103176103177103178103179103180103181103182103183103184103185103186103187103188103189103190103191103192103193103194103195103196103197103198103199103200103201103202103203103204103205103206103207103208103209103210103211103212103213103214103215103216103217103218103219103220103221103222103223103224103225103226103227103228103229103230103231103232103233103234103235103236103237103238103239103240103241103242103243103244103245103246103247103248103249103250103251103252103253103254103255103256103257103258103259103260103261103262103263103264103265103266103267103268103269103270103271103272103273103274103275103276103277103278103279103280103281103282103283103284103285103286103287103288103289103290103291103292103293103294103295103296103297103298103299103300103301103302103303103304103305103306103307103308103309103310103311103312103313103314103315103316103317103318103319103320103321103322103323103324103325103326103327103328103329103330103331103332103333103334103335103336103337103338103339103340103341103342103343103344103345103346103347103348103349103350103351103352103353103354103355103356103357103358103359103360103361103362103363103364103365103366103367103368103369103370103371103372103373103374103375103376103377103378103379103380103381103382103383103384103385103386103387103388103389103390103391103392103393103394103395103396103397103398103399103400103401103402103403103404103405103406103407103408103409103410103411103412103413103414103415103416103417103418103419103420103421103422103423103424103425103426103427103428103429103430103431103432103433103434103435103436103437103438103439103440103441103442103443103444103445103446103447103448103449103450103451103452103453103454103455103456103457103458103459103460103461103462103463103464103465103466103467103468103469103470103471103472103473103474103475103476103477103478103479103480103481103482103483103484103485103486103487103488103489103490103491103492103493103494103495103496103497103498103499103500103501103502103503103504103505103506103507103508103509103510103511103512103513103514103515103516103517103518103519103520103521103522103523103524103525103526103527103528103529103530103531103532103533103534103535103536103537103538103539103540103541103542103543103544103545103546103547103548103549103550103551103552103553103554103555103556103557103558103559103560103561103562103563103564103565103566103567103568103569103570103571103572103573103574103575103576103577103578103579103580103581103582103583103584103585103586103587103588103589103590103591103592103593103594103595103596103597103598103599103600103601103602103603103604103605103606103607103608103609103610103611103612103613103614103615103616103617103618103619103620103621103622103623103624103625103626103627103628103629103630103631103632103633103634103635103636103637103638103639103640103641103642103643103644103645103646103647103648103649103650103651103652103653103654103655103656103657103658103659103660103661103662103663103664103665103666103667103668103669103670103671103672103673103674103675103676103677103678103679103680103681103682103683103684103685103686103687103688103689103690103691103692103693103694103695103696103697103698103699103700103701103702103703103704103705103706103707103708103709103710103711103712103713103714103715103716103717103718103719103720103721103722103723103724103725103726103727103728103729103730103731103732103733103734103735103736103737103738103739103740103741103742103743103744103745103746103747103748103749103750103751103752103753103754103755103756103757103758103759103760103761103762103763103764103765103766103767103768103769103770103771103772103773103774103775103776103777103778103779103780103781103782103783103784103785103786103787103788103789103790103791103792103793103794103795103796103797103798103799103800103801103802103803103804103805103806103807103808103809103810103811103812103813103814103815103816103817103818103819103820103821103822103823103824103825103826103827103828103829103830103831103832103833103834103835103836103837103838103839103840103841103842103843103844103845103846103847103848103849103850103851103852103853103854103855103856103857103858103859103860103861103862103863103864103865103866103867103868103869103870103871103872103873103874103875103876103877103878103879103880103881103882103883103884103885103886103887103888103889103890103891103892103893103894103895103896103897103898103899103900103901103902103903103904103905103906103907103908103909103910103911103912103913103914103915103916103917103918103919103920103921103922103923103924103925103926103927103928103929103930103931103932103933103934103935103936103937103938103939103940103941103942103943103944103945103946103947103948103949103950103951103952103953103954103955103956103957103958103959103960103961103962103963103964103965103966103967103968103969103970103971103972103973103974103975103976103977103978103979103980103981103982103983103984103985103986103987103988103989103990103991103992103993103994103995103996103997103998103999104000104001104002104003104004104005104006104007104008104009104010104011104012104013104014104015104016104017104018104019104020104021104022104023104024104025104026104027104028104029104030104031104032104033104034104035104036104037104038104039104040104041104042104043104044104045104046104047104048104049104050104051104052104053104054104055104056104057104058104059104060104061104062104063104064104065104066104067104068104069104070104071104072104073104074104075104076104077104078104079104080104081104082104083104084104085104086104087104088104089104090104091104092104093104094104095104096104097104098104099104100104101104102104103104104104105104106104107104108104109104110104111104112104113104114104115104116104117104118104119104120104121104122104123104124104125104126104127104128104129104130104131104132104133104134104135104136104137104138104139104140104141104142104143104144104145104146104147104148104149104150104151104152104153104154104155104156104157104158104159104160104161104162104163104164104165104166104167104168104169104170104171104172104173104174104175104176104177104178104179104180104181104182104183104184104185104186104187104188104189104190104191104192104193104194104195104196104197104198104199104200104201104202104203104204104205104206104207104208104209104210104211104212104213104214104215104216104217104218104219104220104221104222104223104224104225104226104227104228104229104230104231104232104233104234104235104236104237104238104239104240104241104242104243104244104245104246104247104248104249104250104251104252104253104254104255104256104257104258104259104260104261104262104263104264104265104266104267104268104269104270104271104272104273104274104275104276104277104278104279104280104281104282104283104284104285104286104287104288104289104290104291104292104293104294104295104296104297104298104299104300104301104302104303104304104305104306104307104308104309104310104311104312104313104314104315104316104317104318104319104320104321104322104323104324104325104326104327104328104329104330104331104332104333104334104335104336104337104338104339104340104341104342104343104344104345104346104347104348104349104350104351104352104353104354104355104356104357104358104359104360104361104362104363104364104365104366104367104368104369104370104371104372104373104374104375104376104377104378104379104380104381104382104383104384104385104386104387104388104389104390104391104392104393104394104395104396104397104398104399104400104401104402104403104404104405104406104407104408104409104410104411104412104413104414104415104416104417104418104419104420104421104422104423104424104425104426104427104428104429104430104431104432104433104434104435104436104437104438104439104440104441104442104443104444104445104446104447104448104449104450104451104452104453104454104455104456104457104458104459104460104461104462104463104464104465104466104467104468104469104470104471104472104473104474104475104476104477104478104479104480104481104482104483104484104485104486104487104488104489104490104491104492104493104494104495104496104497104498104499104500104501104502104503104504104505104506104507104508104509104510104511104512104513104514104515104516104517104518104519104520104521104522104523104524104525104526104527104528104529104530104531104532104533104534104535104536104537104538104539104540104541104542104543104544104545104546104547104548104549104550104551104552104553104554104555104556104557104558104559104560104561104562104563104564104565104566104567104568104569104570104571104572104573104574104575104576104577104578104579104580104581104582104583104584104585104586104587104588104589104590104591104592104593104594104595104596104597104598104599104600104601104602104603104604104605104606104607104608104609104610104611104612104613104614104615104616104617104618104619104620104621104622104623104624104625104626104627104628104629104630104631104632104633104634104635104636104637104638104639104640104641104642104643104644104645104646104647104648104649104650104651104652104653104654104655104656104657104658104659104660104661104662104663104664104665104666104667104668104669104670104671104672104673104674104675104676104677104678104679104680104681104682104683104684104685104686104687104688104689104690104691104692104693104694104695104696104697104698104699104700104701104702104703104704104705104706104707104708104709104710104711104712104713104714104715104716104717104718104719104720104721104722104723104724104725104726104727104728104729104730104731104732104733104734104735104736104737104738104739104740104741104742104743104744104745104746104747104748104749104750104751104752104753104754104755104756104757104758104759104760104761104762104763104764104765104766104767104768104769104770104771104772104773104774104775104776104777104778104779104780104781104782104783104784104785104786104787104788104789104790104791104792104793104794104795104796104797104798104799104800104801104802104803104804104805104806104807104808104809104810104811104812104813104814104815104816104817104818104819104820104821104822104823104824104825104826104827104828104829104830104831104832104833104834104835104836104837104838104839104840104841104842104843104844104845104846104847104848104849104850104851104852104853104854104855104856104857104858104859104860104861104862104863104864104865104866104867104868104869104870104871104872104873104874104875104876104877104878104879104880104881104882104883104884104885104886104887104888104889104890104891104892104893104894104895104896104897104898104899104900104901104902104903104904104905104906104907104908104909104910104911104912104913104914104915104916104917104918104919104920104921104922104923104924104925104926104927104928104929104930104931104932104933104934104935104936104937104938104939104940104941104942104943104944104945104946104947104948104949104950104951104952104953104954104955104956104957104958104959104960104961104962104963104964104965104966104967104968104969104970104971104972104973104974104975104976104977104978104979104980104981104982104983104984104985104986104987104988104989104990104991104992104993104994104995104996104997104998104999105000105001105002105003105004105005105006105007105008105009105010105011105012105013105014105015105016105017105018105019105020105021105022105023105024105025105026105027105028105029105030105031105032105033105034105035105036105037105038105039105040105041105042105043105044105045105046105047105048105049105050105051105052105053105054105055105056105057105058105059105060105061105062105063105064105065105066105067105068105069105070105071105072105073105074105075105076105077105078105079105080105081105082105083105084105085105086105087105088105089105090105091105092105093105094105095105096105097105098105099105100105101105102105103105104105105105106105107105108105109105110105111105112105113105114105115105116105117105118105119105120105121105122105123105124105125105126105127105128105129105130105131105132105133105134105135105136105137105138105139105140105141105142105143105144105145105146105147105148105149105150105151105152105153105154105155105156105157105158105159105160105161105162105163105164105165105166105167105168105169105170105171105172105173105174105175105176105177105178105179105180105181105182105183105184105185105186105187105188105189105190105191105192105193105194105195105196105197105198105199105200105201105202105203105204105205105206105207105208105209105210105211105212105213105214105215105216105217105218105219105220105221105222105223105224105225105226105227105228105229105230105231105232105233105234105235105236105237105238105239105240105241105242105243105244105245105246105247105248105249105250105251105252105253105254105255105256105257105258105259105260105261105262105263105264105265105266105267105268105269105270105271105272105273105274105275105276105277105278105279105280105281105282105283105284105285105286105287105288105289105290105291105292105293105294105295105296105297105298105299105300105301105302105303105304105305105306105307105308105309105310105311105312105313105314105315105316105317105318105319105320105321105322105323105324105325105326105327105328105329105330105331105332105333105334105335105336105337105338105339105340105341105342105343105344105345105346105347105348105349105350105351105352105353105354105355105356105357105358105359105360105361105362105363105364105365105366105367105368105369105370105371105372105373105374105375105376105377105378105379105380105381105382105383105384105385105386105387105388105389105390105391105392105393105394105395105396105397105398105399105400105401105402105403105404105405105406105407105408105409105410105411105412105413105414105415105416105417105418105419105420105421105422105423105424105425105426105427105428105429105430105431105432105433105434105435105436105437105438105439105440105441105442105443105444105445105446105447105448105449105450105451105452105453105454105455105456105457105458105459105460105461105462105463105464105465105466105467105468105469105470105471105472105473105474105475105476105477105478105479105480105481105482105483105484105485105486105487105488105489105490105491105492105493105494105495105496105497105498105499105500105501105502105503105504105505105506105507105508105509105510105511105512105513105514105515105516105517105518105519105520105521105522105523105524105525105526105527105528105529105530105531105532105533105534105535105536105537105538105539105540105541105542105543105544105545105546105547105548105549105550105551105552105553105554105555105556105557105558105559105560105561105562105563105564105565105566105567105568105569105570105571105572105573105574105575105576105577105578105579105580105581105582105583105584105585105586105587105588105589105590105591105592105593105594105595105596105597105598105599105600105601105602105603105604105605105606105607105608105609105610105611105612105613105614105615105616105617105618105619105620105621105622105623105624105625105626105627105628105629105630105631105632105633105634105635105636105637105638105639105640105641105642105643105644105645105646105647105648105649105650105651105652105653105654105655105656105657105658105659105660105661105662105663105664105665105666105667105668105669105670105671105672105673105674105675105676105677105678105679105680105681105682105683105684105685105686105687105688105689105690105691105692105693105694105695105696105697105698105699105700105701105702105703105704105705105706105707105708105709105710105711105712105713105714105715105716105717105718105719105720105721105722105723105724105725105726105727105728105729105730105731105732105733105734105735105736105737105738105739105740105741105742105743105744105745105746105747105748105749105750105751105752105753105754105755105756105757105758105759105760105761105762105763105764105765105766105767105768105769105770105771105772105773105774105775105776105777105778105779105780105781105782105783105784105785105786105787105788105789105790105791105792105793105794105795105796105797105798105799105800105801105802105803105804105805105806105807105808105809105810105811105812105813105814105815105816105817105818105819105820105821105822105823105824105825105826105827105828105829105830105831105832105833105834105835105836105837105838105839105840105841105842105843105844105845105846105847105848105849105850105851105852105853105854105855105856105857105858105859105860105861105862105863105864105865105866105867105868105869105870105871105872105873105874105875105876105877105878105879105880105881105882105883105884105885105886105887105888105889105890105891105892105893105894105895105896105897105898105899105900105901105902105903105904105905105906105907105908105909105910105911105912105913105914105915105916105917105918105919105920105921105922105923105924105925105926105927105928105929105930105931105932105933105934105935105936105937105938105939105940105941105942105943105944105945105946105947105948105949105950105951105952105953105954105955105956105957105958105959105960105961105962105963105964105965105966105967105968105969105970105971105972105973105974105975105976105977105978105979105980105981105982105983105984105985105986105987105988105989105990105991105992105993105994105995105996105997105998105999106000106001106002106003106004106005106006106007106008106009106010106011106012106013106014106015106016106017106018106019106020106021106022106023106024106025106026106027106028106029106030106031106032106033106034106035106036106037106038106039106040106041106042106043106044106045106046106047106048106049106050106051106052106053106054106055106056106057106058106059106060106061106062106063106064106065106066106067106068106069106070106071106072106073106074106075106076106077106078106079106080106081106082106083106084106085106086106087106088106089106090106091106092106093106094106095106096106097106098106099106100106101106102106103106104106105106106106107106108106109106110106111106112106113106114106115106116106117106118106119106120106121106122106123106124106125106126106127106128106129106130106131106132106133106134106135106136106137106138106139106140106141106142106143106144106145106146106147106148106149106150106151106152106153106154106155106156106157106158106159106160106161106162106163106164106165106166106167106168106169106170106171106172106173106174106175106176106177106178106179106180106181106182106183106184106185106186106187106188106189106190106191106192106193106194106195106196106197106198106199106200106201106202106203106204106205106206106207106208106209106210106211106212106213106214106215106216106217106218106219106220106221106222106223106224106225106226106227106228106229106230106231106232106233106234106235106236106237106238106239106240106241106242106243106244106245106246106247106248106249106250106251106252106253106254106255106256106257106258106259106260106261106262106263106264106265106266106267106268106269106270106271106272106273106274106275106276106277106278106279106280106281106282106283106284106285106286106287106288106289106290106291106292106293106294106295106296106297106298106299106300106301106302106303106304106305106306106307106308106309106310106311106312106313106314106315106316106317106318106319106320106321106322106323106324106325106326106327106328106329106330106331106332106333106334106335106336106337106338106339106340106341106342106343106344106345106346106347106348106349106350106351106352106353106354106355106356106357106358106359106360106361106362106363106364106365106366106367106368106369106370106371106372106373106374106375106376106377106378106379106380106381106382106383106384106385106386106387106388106389106390106391106392106393106394106395106396106397106398106399106400106401106402106403106404106405106406106407106408106409106410106411106412106413106414106415106416106417106418106419106420106421106422106423106424106425106426106427106428106429106430106431106432106433106434106435106436106437106438106439106440106441106442106443106444106445106446106447106448106449106450106451106452106453106454106455106456106457106458106459106460106461106462106463106464106465106466106467106468106469106470106471106472106473106474106475106476106477106478106479106480106481106482106483106484106485106486106487106488106489106490106491106492106493106494106495106496106497106498106499106500106501106502106503106504106505106506106507106508106509106510106511106512106513106514106515106516106517106518106519106520106521106522106523106524106525106526106527106528106529106530106531106532106533106534106535106536106537106538106539106540106541106542106543106544106545106546106547106548106549106550106551106552106553106554106555106556106557106558106559106560106561106562106563106564106565106566106567106568106569106570106571106572106573106574106575106576106577106578106579106580106581106582106583106584106585106586106587106588106589106590106591106592106593106594106595106596106597106598106599106600106601106602106603106604106605106606106607106608106609106610106611106612106613106614106615106616106617106618106619106620106621106622106623106624106625106626106627106628106629106630106631106632106633106634106635106636106637106638106639106640106641106642106643106644106645106646106647106648106649106650106651106652106653106654106655106656106657106658106659106660106661106662106663106664106665106666106667106668106669106670106671106672106673106674106675106676106677106678106679106680106681106682106683106684106685106686106687106688106689106690106691106692106693106694106695106696106697106698106699106700106701106702106703106704106705106706106707106708106709106710106711106712106713106714106715106716106717106718106719106720106721106722106723106724106725106726106727106728106729106730106731106732106733106734106735106736106737106738106739106740106741106742106743106744106745106746106747106748106749106750106751106752106753106754106755106756106757106758106759106760106761106762106763106764106765106766106767106768106769106770106771106772106773106774106775106776106777106778106779106780106781106782106783106784106785106786106787106788106789106790106791106792106793106794106795106796106797106798106799106800106801106802106803106804106805106806106807106808106809106810106811106812106813106814106815106816106817106818106819106820106821106822106823106824106825106826106827106828106829106830106831106832106833106834106835106836106837106838106839106840106841106842106843106844106845106846106847106848106849106850106851106852106853106854106855106856106857106858106859106860106861106862106863106864106865106866106867106868106869106870106871106872106873106874106875106876106877106878106879106880106881106882106883106884106885106886106887106888106889106890106891106892106893106894106895106896106897106898106899106900106901106902106903106904106905106906106907106908106909106910106911106912106913106914106915106916106917106918106919106920106921106922106923106924106925106926106927106928106929106930106931106932106933106934106935106936106937106938106939106940106941106942106943106944106945106946106947106948106949106950106951106952106953106954106955106956106957106958106959106960106961106962106963106964106965106966106967106968106969106970106971106972106973106974106975106976106977106978106979106980106981106982106983106984106985106986106987106988106989106990106991106992106993106994106995106996106997106998106999107000107001107002107003107004107005107006107007107008107009107010107011107012107013107014107015107016107017107018107019107020107021107022107023107024107025107026107027107028107029107030107031107032107033107034107035107036107037107038107039107040107041107042107043107044107045107046107047107048107049107050107051107052107053107054107055107056107057107058107059107060107061107062107063107064107065107066107067107068107069107070107071107072107073107074107075107076107077107078107079107080107081107082107083107084107085107086107087107088107089107090107091107092107093107094107095107096107097107098107099107100107101107102107103107104107105107106107107107108107109107110107111107112107113107114107115107116107117107118107119107120107121107122107123107124107125107126107127107128107129107130107131107132107133107134107135107136107137107138107139107140107141107142107143107144107145107146107147107148107149107150107151107152107153107154107155107156107157107158107159107160107161107162107163107164107165107166107167107168107169107170107171107172107173107174107175107176107177107178107179107180107181107182107183107184107185107186107187107188107189107190107191107192107193107194107195107196107197107198107199107200107201107202107203107204107205107206107207107208107209107210107211107212107213107214107215107216107217107218107219107220107221107222107223107224107225107226107227107228107229107230107231107232107233107234107235107236107237107238107239107240107241107242107243107244107245107246107247107248107249107250107251107252107253107254107255107256107257107258107259107260107261107262107263107264107265107266107267107268107269107270107271107272107273107274107275107276107277107278107279107280107281107282107283107284107285107286107287107288107289107290107291107292107293107294107295107296107297107298107299107300107301107302107303107304107305107306107307107308107309107310107311107312107313107314107315107316107317107318107319107320107321107322107323107324107325107326107327107328107329107330107331107332107333107334107335107336107337107338107339107340107341107342107343107344107345107346107347107348107349107350107351107352107353107354107355107356107357107358107359107360107361107362107363107364107365107366107367107368107369107370107371107372107373107374107375107376107377107378107379107380107381107382107383107384107385107386107387107388107389107390107391107392107393107394107395107396107397107398107399107400107401107402107403107404107405107406107407107408107409107410107411107412107413107414107415107416107417107418107419107420107421107422107423107424107425107426107427107428107429107430107431107432107433107434107435107436107437107438107439107440107441107442107443107444107445107446107447107448107449107450107451107452107453107454107455107456107457107458107459107460107461107462107463107464107465107466107467107468107469107470107471107472107473107474107475107476107477107478107479107480107481107482107483107484107485107486107487107488107489107490107491107492107493107494107495107496107497107498107499107500107501107502107503107504107505107506107507107508107509107510107511107512107513107514107515107516107517107518107519107520107521107522107523107524107525107526107527107528107529107530107531107532107533107534107535107536107537107538107539107540107541107542107543107544107545107546107547107548107549107550107551107552107553107554107555107556107557107558107559107560107561107562107563107564107565107566107567107568107569107570107571107572107573107574107575107576107577107578107579107580107581107582107583107584107585107586107587107588107589107590107591107592107593107594107595107596107597107598107599107600107601107602107603107604107605107606107607107608107609107610107611107612107613107614107615107616107617107618107619107620107621107622107623107624107625107626107627107628107629107630107631107632107633107634107635107636107637107638107639107640107641107642107643107644107645107646107647107648107649107650107651107652107653107654107655107656107657107658107659107660107661107662107663107664107665107666107667107668107669107670107671107672107673107674107675107676107677107678107679107680107681107682107683107684107685107686107687107688107689107690107691107692107693107694107695107696107697107698107699107700107701107702107703107704107705107706107707107708107709107710107711107712107713107714107715107716107717107718107719107720107721107722107723107724107725107726107727107728107729107730107731107732107733107734107735107736107737107738107739107740107741107742107743107744107745107746107747107748107749107750107751107752107753107754107755107756107757107758107759107760107761107762107763107764107765107766107767107768107769107770107771107772107773107774107775107776107777107778107779107780107781107782107783107784107785107786107787107788107789107790107791107792107793107794107795107796107797107798107799107800107801107802107803107804107805107806107807107808107809107810107811107812107813107814107815107816107817107818107819107820107821107822107823107824107825107826107827107828107829107830107831107832107833107834107835107836107837107838107839107840107841107842107843107844107845107846107847107848107849107850107851107852107853107854107855107856107857107858107859107860107861107862107863107864107865107866107867107868107869107870107871107872107873107874107875107876107877107878107879107880107881107882107883107884107885107886107887107888107889107890107891107892107893107894107895107896107897107898107899107900107901107902107903107904107905107906107907107908107909107910107911107912107913107914107915107916107917107918107919107920107921107922107923107924107925107926107927107928107929107930107931107932107933107934107935107936107937107938107939107940107941107942107943107944107945107946107947107948107949107950107951107952107953107954107955107956107957107958107959107960107961107962107963107964107965107966107967107968107969107970107971107972107973107974107975107976107977107978107979107980107981107982107983107984107985107986107987107988107989107990107991107992107993107994107995107996107997107998107999108000108001108002108003108004108005108006108007108008108009108010108011108012108013108014108015108016108017108018108019108020108021108022108023108024108025108026108027108028108029108030108031108032108033108034108035108036108037108038108039108040108041108042108043108044108045108046108047108048108049108050108051108052108053108054108055108056108057108058108059108060108061108062108063108064108065108066108067108068108069108070108071108072108073108074108075108076108077108078108079108080108081108082108083108084108085108086108087108088108089108090108091108092108093108094108095108096108097108098108099108100108101108102108103108104108105108106108107108108108109108110108111108112108113108114108115108116108117108118108119108120108121108122108123108124108125108126108127108128108129108130108131108132108133108134108135108136108137108138108139108140108141108142108143108144108145108146108147108148108149108150108151108152108153108154108155108156108157108158108159108160108161108162108163108164108165108166108167108168108169108170108171108172108173108174108175108176108177108178108179108180108181108182108183108184108185108186108187108188108189108190108191108192108193108194108195108196108197108198108199108200108201108202108203108204108205108206108207108208108209108210108211108212108213108214108215108216108217108218108219108220108221108222108223108224108225108226108227108228108229108230108231108232108233108234108235108236108237108238108239108240108241108242108243108244108245108246108247108248108249108250108251108252108253108254108255108256108257108258108259108260108261108262108263108264108265108266108267108268108269108270108271108272108273108274108275108276108277108278108279108280108281108282108283108284108285108286108287108288108289108290108291108292108293108294108295108296108297108298108299108300108301108302108303108304108305108306108307108308108309108310108311108312108313108314108315108316108317108318108319108320108321108322108323108324108325108326108327108328108329108330108331108332108333108334108335108336108337108338108339108340108341108342108343108344108345108346108347108348108349108350108351108352108353108354108355108356108357108358108359108360108361108362108363108364108365108366108367108368108369108370108371108372108373108374108375108376108377108378108379108380108381108382108383108384108385108386108387108388108389108390108391108392108393108394108395108396108397108398108399108400108401108402108403108404108405108406108407108408108409108410108411108412108413108414108415108416108417108418108419108420108421108422108423108424108425108426108427108428108429108430108431108432108433108434108435108436108437108438108439108440108441108442108443108444108445108446108447108448108449108450108451108452108453108454108455108456108457108458108459108460108461108462108463108464108465108466108467108468108469108470108471108472108473108474108475108476108477108478108479108480108481108482108483108484108485108486108487108488108489108490108491108492108493108494108495108496108497108498108499108500108501108502108503108504108505108506108507108508108509108510108511108512108513108514108515108516108517108518108519108520108521108522108523108524108525108526108527108528108529108530108531108532108533108534108535108536108537108538108539108540108541108542108543108544108545108546108547108548108549108550108551108552108553108554108555108556108557108558108559108560108561108562108563108564108565108566108567108568108569108570108571108572108573108574108575108576108577108578108579108580108581108582108583108584108585108586108587108588108589108590108591108592108593108594108595108596108597108598108599108600108601108602108603108604108605108606108607108608108609108610108611108612108613108614108615108616108617108618108619108620108621108622108623108624108625108626108627108628108629108630108631108632108633108634108635108636108637108638108639108640108641108642108643108644108645108646108647108648108649108650108651108652108653108654108655108656108657108658108659108660108661108662108663108664108665108666108667108668108669108670108671108672108673108674108675108676108677108678108679108680108681108682108683108684108685108686108687108688108689108690108691108692108693108694108695108696108697108698108699108700108701108702108703108704108705108706108707108708108709108710108711108712108713108714108715108716108717108718108719108720108721108722108723108724108725108726108727108728108729108730108731108732108733108734108735108736108737108738108739108740108741108742108743108744108745108746108747108748108749108750108751108752108753108754108755108756108757108758108759108760108761108762108763108764108765108766108767108768108769108770108771108772108773108774108775108776108777108778108779108780108781108782108783108784108785108786108787108788108789108790108791108792108793108794108795108796108797108798108799108800108801108802108803108804108805108806108807108808108809108810108811108812108813108814108815108816108817108818108819108820108821108822108823108824108825108826108827108828108829108830108831108832108833108834108835108836108837108838108839108840108841108842108843108844108845108846108847108848108849108850108851108852108853108854108855108856108857108858108859108860108861108862108863108864108865108866108867108868108869108870108871108872108873108874108875108876108877108878108879108880108881108882108883108884108885108886108887108888108889108890108891108892108893108894108895108896108897108898108899108900108901108902108903108904108905108906108907108908108909108910108911108912108913108914108915108916108917108918108919108920108921108922108923108924108925108926108927108928108929108930108931108932108933108934108935108936108937108938108939108940108941108942108943108944108945108946108947108948108949108950108951108952108953108954108955108956108957108958108959108960108961108962108963108964108965108966108967108968108969108970108971108972108973108974108975108976108977108978108979108980108981108982108983108984108985108986108987108988108989108990108991108992108993108994108995108996108997108998108999109000109001109002109003109004109005109006109007109008109009109010109011109012109013109014109015109016109017109018109019109020109021109022109023109024109025109026109027109028109029109030109031109032109033109034109035109036109037109038109039109040109041109042109043109044109045109046109047109048109049109050109051109052109053109054109055109056109057109058109059109060109061109062109063109064109065109066109067109068109069109070109071109072109073109074109075109076109077109078109079109080109081109082109083109084109085109086109087109088109089109090109091109092109093109094109095109096109097109098109099109100109101109102109103109104109105109106109107109108109109109110109111109112109113109114109115109116109117109118109119109120109121109122109123109124109125109126109127109128109129109130109131109132109133109134109135109136109137109138109139109140109141109142109143109144109145109146109147109148109149109150109151109152109153109154109155109156109157109158109159109160109161109162109163109164109165109166109167109168109169109170109171109172109173109174109175109176109177109178109179109180109181109182109183109184109185109186109187109188109189109190109191109192109193109194109195109196109197109198109199109200109201109202109203109204109205109206109207109208109209109210109211109212109213109214109215109216109217109218109219109220109221109222109223109224109225109226109227109228109229109230109231109232109233109234109235109236109237109238109239109240109241109242109243109244109245109246109247109248109249109250109251109252109253109254109255109256109257109258109259109260109261109262109263109264109265109266109267109268109269109270109271109272109273109274109275109276109277109278109279109280109281109282109283109284109285109286109287109288109289109290109291109292109293109294109295109296109297109298109299109300109301109302109303109304109305109306109307109308109309109310109311109312109313109314109315109316109317109318109319109320109321109322109323109324109325109326109327109328109329109330109331109332109333109334109335109336109337109338109339109340109341109342109343109344109345109346109347109348109349109350109351109352109353109354109355109356109357109358109359109360109361109362109363109364109365109366109367109368109369109370109371109372109373109374109375109376109377109378109379109380109381109382109383109384109385109386109387109388109389109390109391109392109393109394109395109396109397109398109399109400109401109402109403109404109405109406109407109408109409109410109411109412109413109414109415109416109417109418109419109420109421109422109423109424109425109426109427109428109429109430109431109432109433109434109435109436109437109438109439109440109441109442109443109444109445109446109447109448109449109450109451109452109453109454109455109456109457109458109459109460109461109462109463109464109465109466109467109468109469109470109471109472109473109474109475109476109477109478109479109480109481109482109483109484109485109486109487109488109489109490109491109492109493109494109495109496109497109498109499109500109501109502109503109504109505109506109507109508109509109510109511109512109513109514109515109516109517109518109519109520109521109522109523109524109525109526109527109528109529109530109531109532109533109534109535109536109537109538109539109540109541109542109543109544109545109546109547109548109549109550109551109552109553109554109555109556109557109558109559109560109561109562109563109564109565109566109567109568109569109570109571109572109573109574109575109576109577109578109579109580109581109582109583109584109585109586109587109588109589109590109591109592109593109594109595109596109597109598109599109600109601109602109603109604109605109606109607109608109609109610109611109612109613109614109615109616109617109618109619109620109621109622109623109624109625109626109627109628109629109630109631109632109633109634109635109636109637109638109639109640109641109642109643109644109645109646109647109648109649109650109651109652109653109654109655109656109657109658109659109660109661109662109663109664109665109666109667109668109669109670109671109672109673109674109675109676109677109678109679109680109681109682109683109684109685109686109687109688109689109690109691109692109693109694109695109696109697109698109699109700109701109702109703109704109705109706109707109708109709109710109711109712109713109714109715109716109717109718109719109720109721109722109723109724109725109726109727109728109729109730109731109732109733109734109735109736109737109738109739109740109741109742109743109744109745109746109747109748109749109750109751109752109753109754109755109756109757109758109759109760109761109762109763109764109765109766109767109768109769109770109771109772109773109774109775109776109777109778109779109780109781109782109783109784109785109786109787109788109789109790109791109792109793109794109795109796109797109798109799109800109801109802109803109804109805109806109807109808109809109810109811109812109813109814109815109816109817109818109819109820109821109822109823109824109825109826109827109828109829109830109831109832109833109834109835109836109837109838109839109840109841109842109843109844109845109846109847109848109849109850109851109852109853109854109855109856109857109858109859109860109861109862109863109864109865109866109867109868109869109870109871109872109873109874109875109876109877109878109879109880109881109882109883109884109885109886109887109888109889109890109891109892109893109894109895109896109897109898109899109900109901109902109903109904109905109906109907109908109909109910109911109912109913109914109915109916109917109918109919109920109921109922109923109924109925109926109927109928109929109930109931109932109933109934109935109936109937109938109939109940109941109942109943109944109945109946109947109948109949109950109951109952109953109954109955109956109957109958109959109960109961109962109963109964109965109966109967109968109969109970109971109972109973109974109975109976109977109978109979109980109981109982109983109984109985109986109987109988109989109990109991109992109993109994109995109996109997109998109999110000110001110002110003110004110005110006110007110008110009110010110011110012110013110014110015110016110017110018110019110020110021110022110023110024110025110026110027110028110029110030110031110032110033110034110035110036110037110038110039110040110041110042110043110044110045110046110047110048110049110050110051110052110053110054110055110056110057110058110059110060110061110062110063110064110065110066110067110068110069110070110071110072110073110074110075110076110077110078110079110080110081110082110083110084110085110086110087110088110089110090110091110092110093110094110095110096110097110098110099110100110101110102110103110104110105110106110107110108110109110110110111110112110113110114110115110116110117110118110119110120110121110122110123110124110125110126110127110128110129110130110131110132110133110134110135110136110137110138110139110140110141110142110143110144110145110146110147110148110149110150110151110152110153110154110155110156110157110158110159110160110161110162110163110164110165110166110167110168110169110170110171110172110173110174110175110176110177110178110179110180110181110182110183110184110185110186110187110188110189110190110191110192110193110194110195110196110197110198110199110200110201110202110203110204110205110206110207110208110209110210110211110212110213110214110215110216110217110218110219110220110221110222110223110224110225110226110227110228110229110230110231110232110233110234110235110236110237110238110239110240110241110242110243110244110245110246110247110248110249110250110251110252110253110254110255110256110257110258110259110260110261110262110263110264110265110266110267110268110269110270110271110272110273110274110275110276110277110278110279110280110281110282110283110284110285110286110287110288110289110290110291110292110293110294110295110296110297110298110299110300110301110302110303110304110305110306110307110308110309110310110311110312110313110314110315110316110317110318110319110320110321110322110323110324110325110326110327110328110329110330110331110332110333110334110335110336110337110338110339110340110341110342110343110344110345110346110347110348110349110350110351110352110353110354110355110356110357110358110359110360110361110362110363110364110365110366110367110368110369110370110371110372110373110374110375110376110377110378110379110380110381110382110383110384110385110386110387110388110389110390110391110392110393110394110395110396110397110398110399110400110401110402110403110404110405110406110407110408110409110410110411110412110413110414110415110416110417110418110419110420110421110422110423110424110425110426110427110428110429110430110431110432110433110434110435110436110437110438110439110440110441110442110443110444110445110446110447110448110449110450110451110452110453110454110455110456110457110458110459110460110461110462110463110464110465110466110467110468110469110470110471110472110473110474110475110476110477110478110479110480110481110482110483110484110485110486110487110488110489110490110491110492110493110494110495110496110497110498110499110500110501110502110503110504110505110506110507110508110509110510110511110512110513110514110515110516110517110518110519110520110521110522110523110524110525110526110527110528110529110530110531110532110533110534110535110536110537110538110539110540110541110542110543110544110545110546110547110548110549110550110551110552110553110554110555110556110557110558110559110560110561110562110563110564110565110566110567110568110569110570110571110572110573110574110575110576110577110578110579110580110581110582110583110584110585110586110587110588110589110590110591110592110593110594110595110596110597110598110599110600110601110602110603110604110605110606110607110608110609110610110611110612110613110614110615110616110617110618110619110620110621110622110623110624110625110626110627110628110629110630110631110632110633110634110635110636110637110638110639110640110641110642110643110644110645110646110647110648110649110650110651110652110653110654110655110656110657110658110659110660110661110662110663110664110665110666110667110668110669110670110671110672110673110674110675110676110677110678110679110680110681110682110683110684110685110686110687110688110689110690110691110692110693110694110695110696110697110698110699110700110701110702110703110704110705110706110707110708110709110710110711110712110713110714110715110716110717110718110719110720110721110722110723110724110725110726110727110728110729110730110731110732110733110734110735110736110737110738110739110740110741110742110743110744110745110746110747110748110749110750110751110752110753110754110755110756110757110758110759110760110761110762110763110764110765110766110767110768110769110770110771110772110773110774110775110776110777110778110779110780110781110782110783110784110785110786110787110788110789110790110791110792110793110794110795110796110797110798110799110800110801110802110803110804110805110806110807110808110809110810110811110812110813110814110815110816110817110818110819110820110821110822110823110824110825110826110827110828110829110830110831110832110833110834110835110836110837110838110839110840110841110842110843110844110845110846110847110848110849110850110851110852110853110854110855110856110857110858110859110860110861110862110863110864110865110866110867110868110869110870110871110872110873110874110875110876110877110878110879110880110881110882110883110884110885110886110887110888110889110890110891110892110893110894110895110896110897110898110899110900110901110902110903110904110905110906110907110908110909110910110911110912110913110914110915110916110917110918110919110920110921110922110923110924110925110926110927110928110929110930110931110932110933110934110935110936110937110938110939110940110941110942110943110944110945110946110947110948110949110950110951110952110953110954110955110956110957110958110959110960110961110962110963110964110965110966110967110968110969110970110971110972110973110974110975110976110977110978110979110980110981110982110983110984110985110986110987110988110989110990110991110992110993110994110995110996110997110998110999111000111001111002111003111004111005111006111007111008111009111010111011111012111013111014111015111016111017111018111019111020111021111022111023111024111025111026111027111028111029111030111031111032111033111034111035111036111037111038111039111040111041111042111043111044111045111046111047111048111049111050111051111052111053111054111055111056111057111058111059111060111061111062111063111064111065111066111067111068111069111070111071111072111073111074111075111076111077111078111079111080111081111082111083111084111085111086111087111088111089111090111091111092111093111094111095111096111097111098111099111100111101111102111103111104111105111106111107111108111109111110111111111112111113111114111115111116111117111118111119111120111121111122111123111124111125111126111127111128111129111130111131111132111133111134111135111136111137111138111139111140111141111142111143111144111145111146111147111148111149111150111151111152111153111154111155111156111157111158111159111160111161111162111163111164111165111166111167111168111169111170111171111172111173111174111175111176111177111178111179111180111181111182111183111184111185111186111187111188111189111190111191111192111193111194111195111196111197111198111199111200111201111202111203111204111205111206111207111208111209111210111211111212111213111214111215111216111217111218111219111220111221111222111223111224111225111226111227111228111229111230111231111232111233111234111235111236111237111238111239111240111241111242111243111244111245111246111247111248111249111250111251111252111253111254111255111256111257111258111259111260111261111262111263111264111265111266111267111268111269111270111271111272111273111274111275111276111277111278111279111280111281111282111283111284111285111286111287111288111289111290111291111292111293111294111295111296111297111298111299111300111301111302111303111304111305111306111307111308111309111310111311111312111313111314111315111316111317111318111319111320111321111322111323111324111325111326111327111328111329111330111331111332111333111334111335111336111337111338111339111340111341111342111343111344111345111346111347111348111349111350111351111352111353111354111355111356111357111358111359111360111361111362111363111364111365111366111367111368111369111370111371111372111373111374111375111376111377111378111379111380111381111382111383111384111385111386111387111388111389111390111391111392111393111394111395111396111397111398111399111400111401111402111403111404111405111406111407111408111409111410111411111412111413111414111415111416111417111418111419111420111421111422111423111424111425111426111427111428111429111430111431111432111433111434111435111436111437111438111439111440111441111442111443111444111445111446111447111448111449111450111451111452111453111454111455111456111457111458111459111460111461111462111463111464111465111466111467111468111469111470111471111472111473111474111475111476111477111478111479111480111481111482111483111484111485111486111487111488111489111490111491111492111493111494111495111496111497111498111499111500111501111502111503111504111505111506111507111508111509111510111511111512111513111514111515111516111517111518111519111520111521111522111523111524111525111526111527111528111529111530111531111532111533111534111535111536111537111538111539111540111541111542111543111544111545111546111547111548111549111550111551111552111553111554111555111556111557111558111559111560111561111562111563111564111565111566111567111568111569111570111571111572111573111574111575111576111577111578111579111580111581111582111583111584111585111586111587111588111589111590111591111592111593111594111595111596111597111598111599111600111601111602111603111604111605111606111607111608111609111610111611111612111613111614111615111616111617111618111619111620111621111622111623111624111625111626111627111628111629111630111631111632111633111634111635111636111637111638111639111640111641111642111643111644111645111646111647111648111649111650111651111652111653111654111655111656111657111658111659111660111661111662111663111664111665111666111667111668111669111670111671111672111673111674111675111676111677111678111679111680111681111682111683111684111685111686111687111688111689111690111691111692111693111694111695111696111697111698111699111700111701111702111703111704111705111706111707111708111709111710111711111712111713111714111715111716111717111718111719111720111721111722111723111724111725111726111727111728111729111730111731111732111733111734111735111736111737111738111739111740111741111742111743111744111745111746111747111748111749111750111751111752111753111754111755111756111757111758111759111760111761111762111763111764111765111766111767111768111769111770111771111772111773111774111775111776111777111778111779111780111781111782111783111784111785111786111787111788111789111790111791111792111793111794111795111796111797111798111799111800111801111802111803111804111805111806111807111808111809111810111811111812111813111814111815111816111817111818111819111820111821111822111823111824111825111826111827111828111829111830111831111832111833111834111835111836111837111838111839111840111841111842111843111844111845111846111847111848111849111850111851111852111853111854111855111856111857111858111859111860111861111862111863111864111865111866111867111868111869111870111871111872111873111874111875111876111877111878111879111880111881111882111883111884111885111886111887111888111889111890111891111892111893111894111895111896111897111898111899111900111901111902111903111904111905111906111907111908111909111910111911111912111913111914111915111916111917111918111919111920111921111922111923111924111925111926111927111928111929111930111931111932111933111934111935111936111937111938111939111940111941111942111943111944111945111946111947111948111949111950111951111952111953111954111955111956111957111958111959111960111961111962111963111964111965111966111967111968111969111970111971111972111973111974111975111976111977111978111979111980111981111982111983111984111985111986111987111988111989111990111991111992111993111994111995111996111997111998111999112000112001112002112003112004112005112006112007112008112009112010112011112012112013112014112015112016112017112018112019112020112021112022112023112024112025112026112027112028112029112030112031112032112033112034112035112036112037112038112039112040112041112042112043112044112045112046112047112048112049112050112051112052112053112054112055112056112057112058112059112060112061112062112063112064112065112066112067112068112069112070112071112072112073112074112075112076112077112078112079112080112081112082112083112084112085112086112087112088112089112090112091112092112093112094112095112096112097112098112099112100112101112102112103112104112105112106112107112108112109112110112111112112112113112114112115112116112117112118112119112120112121112122112123112124112125112126112127112128112129112130112131112132112133112134112135112136112137112138112139112140112141112142112143112144112145112146112147112148112149112150112151112152112153112154112155112156112157112158112159112160112161112162112163112164112165112166112167112168112169112170112171112172112173112174112175112176112177112178112179112180112181112182112183112184112185112186112187112188112189112190112191112192112193112194112195112196112197112198112199112200112201112202112203112204112205112206112207112208112209112210112211112212112213112214112215112216112217112218112219112220112221112222112223112224112225112226112227112228112229112230112231112232112233112234112235112236112237112238112239112240112241112242112243112244112245112246112247112248112249112250112251112252112253112254112255112256112257112258112259112260112261112262112263112264112265112266112267112268112269112270112271112272112273112274112275112276112277112278112279112280112281112282112283112284112285112286112287112288112289112290112291112292112293112294112295112296112297112298112299112300112301112302112303112304112305112306112307112308112309112310112311112312112313112314112315112316112317112318112319112320112321112322112323112324112325112326112327112328112329112330112331112332112333112334112335112336112337112338112339112340112341112342112343112344112345112346112347112348112349112350112351112352112353112354112355112356112357112358112359112360112361112362112363112364112365112366112367112368112369112370112371112372112373112374112375112376112377112378112379112380112381112382112383112384112385112386112387112388112389112390112391112392112393112394112395112396112397112398112399112400112401112402112403112404112405112406112407112408112409112410112411112412112413112414112415112416112417112418112419112420112421112422112423112424112425112426112427112428112429112430112431112432112433112434112435112436112437112438112439112440112441112442112443112444112445112446112447112448112449112450112451112452112453112454112455112456112457112458112459112460112461112462112463112464112465112466112467112468112469112470112471112472112473112474112475112476112477112478112479112480112481112482112483112484112485112486112487112488112489112490112491112492112493112494112495112496112497112498112499112500112501112502112503112504112505112506112507112508112509112510112511112512112513112514112515112516112517112518112519112520112521112522112523112524112525112526112527112528112529112530112531112532112533112534112535112536112537112538112539112540112541112542112543112544112545112546112547112548112549112550112551112552112553112554112555112556112557112558112559112560112561112562112563112564112565112566112567112568112569112570112571112572112573112574112575112576112577112578112579112580112581112582112583112584112585112586112587112588112589112590112591112592112593112594112595112596112597112598112599112600112601112602112603112604112605112606112607112608112609112610112611112612112613112614112615112616112617112618112619112620112621112622112623112624112625112626112627112628112629112630112631112632112633112634112635112636112637112638112639112640112641112642112643112644112645112646112647112648112649112650112651112652112653112654112655112656112657112658112659112660112661112662112663112664112665112666112667112668112669112670112671112672112673112674112675112676112677112678112679112680112681112682112683112684112685112686112687112688112689112690112691112692112693112694112695112696112697112698112699112700112701112702112703112704112705112706112707112708112709112710112711112712112713112714112715112716112717112718112719112720112721112722112723112724112725112726112727112728112729112730112731112732112733112734112735112736112737112738112739112740112741112742112743112744112745112746112747112748112749112750112751112752112753112754112755112756112757112758112759112760112761112762112763112764112765112766112767112768112769112770112771112772112773112774112775112776112777112778112779112780112781112782112783112784112785112786112787112788112789112790112791112792112793112794112795112796112797112798112799112800112801112802112803112804112805112806112807112808112809112810112811112812112813112814112815112816112817112818112819112820112821112822112823112824112825112826112827112828112829112830112831112832112833112834112835112836112837112838112839112840112841112842112843112844112845112846112847112848112849112850112851112852112853112854112855112856112857112858112859112860112861112862112863112864112865112866112867112868112869112870112871112872112873112874112875112876112877112878112879112880112881112882112883112884112885112886112887112888112889112890112891112892112893112894112895112896112897112898112899112900112901112902112903112904112905112906112907112908112909112910112911112912112913112914112915112916112917112918112919112920112921112922112923112924112925112926112927112928112929112930112931112932112933112934112935112936112937112938112939112940112941112942112943112944112945112946112947112948112949112950112951112952112953112954112955112956112957112958112959112960112961112962112963112964112965112966112967112968112969112970112971112972112973112974112975112976112977112978112979112980112981112982112983112984112985112986112987112988112989112990112991112992112993112994112995112996112997112998112999113000113001113002113003113004113005113006113007113008113009113010113011113012113013113014113015113016113017113018113019113020113021113022113023113024113025113026113027113028113029113030113031113032113033113034113035113036113037113038113039113040113041113042113043113044113045113046113047113048113049113050113051113052113053113054113055113056113057113058113059113060113061113062113063113064113065113066113067113068113069113070113071113072113073113074113075113076113077113078113079113080113081113082113083113084113085113086113087113088113089113090113091113092113093113094113095113096113097113098113099113100113101113102113103113104113105113106113107113108113109113110113111113112113113113114113115113116113117113118113119113120113121113122113123113124113125113126113127113128113129113130113131113132113133113134113135113136113137113138113139113140113141113142113143113144113145113146113147113148113149113150113151113152113153113154113155113156113157113158113159113160113161113162113163113164113165113166113167113168113169113170113171113172113173113174113175113176113177113178113179113180113181113182113183113184113185113186113187113188113189113190113191113192113193113194113195113196113197113198113199113200113201113202113203113204113205113206113207113208113209113210113211113212113213113214113215113216113217113218113219113220113221113222113223113224113225113226113227113228113229113230113231113232113233113234113235113236113237113238113239113240113241113242113243113244113245113246113247113248113249113250113251113252113253113254113255113256113257113258113259113260113261113262113263113264113265113266113267113268113269113270113271113272113273113274113275113276113277113278113279113280113281113282113283113284113285113286113287113288113289113290113291113292113293113294113295113296113297113298113299113300113301113302113303113304113305113306113307113308113309113310113311113312113313113314113315113316113317113318113319113320113321113322113323113324113325113326113327113328113329113330113331113332113333113334113335113336113337113338113339113340113341113342113343113344113345113346113347113348113349113350113351113352113353113354113355113356113357113358113359113360113361113362113363113364113365113366113367113368113369113370113371113372113373113374113375113376113377113378113379113380113381113382113383113384113385113386113387113388113389113390113391113392113393113394113395113396113397113398113399113400113401113402113403113404113405113406113407113408113409113410113411113412113413113414113415113416113417113418113419113420113421113422113423113424113425113426113427113428113429113430113431113432113433113434113435113436113437113438113439113440113441113442113443113444113445113446113447113448113449113450113451113452113453113454113455113456113457113458113459113460113461113462113463113464113465113466113467113468113469113470113471113472113473113474113475113476113477113478113479113480113481113482113483113484113485113486113487113488113489113490113491113492113493113494113495113496113497113498113499113500113501113502113503113504113505113506113507113508113509113510113511113512113513113514113515113516113517113518113519113520113521113522113523113524113525113526113527113528113529113530113531113532113533113534113535113536113537113538113539113540113541113542113543113544113545113546113547113548113549113550113551113552113553113554113555113556113557113558113559113560113561113562113563113564113565113566113567113568113569113570113571113572113573113574113575113576113577113578113579113580113581113582113583113584113585113586113587113588113589113590113591113592113593113594113595113596113597113598113599113600113601113602113603113604113605113606113607113608113609113610113611113612113613113614113615113616113617113618113619113620113621113622113623113624113625113626113627113628113629113630113631113632113633113634113635113636113637113638113639113640113641113642113643113644113645113646113647113648113649113650113651113652113653113654113655113656113657113658113659113660113661113662113663113664113665113666113667113668113669113670113671113672113673113674113675113676113677113678113679113680113681113682113683113684113685113686113687113688113689113690113691113692113693113694113695113696113697113698113699113700113701113702113703113704113705113706113707113708113709113710113711113712113713113714113715113716113717113718113719113720113721113722113723113724113725113726113727113728113729113730113731113732113733113734113735113736113737113738113739113740113741113742113743113744113745113746113747113748113749113750113751113752113753113754113755113756113757113758113759113760113761113762113763113764113765113766113767113768113769113770113771113772113773113774113775113776113777113778113779113780113781113782113783113784113785113786113787113788113789113790113791113792113793113794113795113796113797113798113799113800113801113802113803113804113805113806113807113808113809113810113811113812113813113814113815113816113817113818113819113820113821113822113823113824113825113826113827113828113829113830113831113832113833113834113835113836113837113838113839113840113841113842113843113844113845113846113847113848113849113850113851113852113853113854113855113856113857113858113859113860113861113862113863113864113865113866113867113868113869113870113871113872113873113874113875113876113877113878113879113880113881113882113883113884113885113886113887113888113889113890113891113892113893113894113895113896113897113898113899113900113901113902113903113904113905113906113907113908113909113910113911113912113913113914113915113916113917113918113919113920113921113922113923113924113925113926113927113928113929113930113931113932113933113934113935113936113937113938113939113940113941113942113943113944113945113946113947113948113949113950113951113952113953113954113955113956113957113958113959113960113961113962113963113964113965113966113967113968113969113970113971113972113973113974113975113976113977113978113979113980113981113982113983113984113985113986113987113988113989113990113991113992113993113994113995113996113997113998113999114000114001114002114003114004114005114006114007114008114009114010114011114012114013114014114015114016114017114018114019114020114021114022114023114024114025114026114027114028114029114030114031114032114033114034114035114036114037114038114039114040114041114042114043114044114045114046114047114048114049114050114051114052114053114054114055114056114057114058114059114060114061114062114063114064114065114066114067114068114069114070114071114072114073114074114075114076114077114078114079114080114081114082114083114084114085114086114087114088114089114090114091114092114093114094114095114096114097114098114099114100114101114102114103114104114105114106114107114108114109114110114111114112114113114114114115114116114117114118114119114120114121114122114123114124114125114126114127114128114129114130114131114132114133114134114135114136114137114138114139114140114141114142114143114144114145114146114147114148114149114150114151114152114153114154114155114156114157114158114159114160114161114162114163114164114165114166114167114168114169114170114171114172114173114174114175114176114177114178114179114180114181114182114183114184114185114186114187114188114189114190114191114192114193114194114195114196114197114198114199114200114201114202114203114204114205114206114207114208114209114210114211114212114213114214114215114216114217114218114219114220114221114222114223114224114225114226114227114228114229114230114231114232114233114234114235114236114237114238114239114240114241114242114243114244114245114246114247114248114249114250114251114252114253114254114255114256114257114258114259114260114261114262114263114264114265114266114267114268114269114270114271114272114273114274114275114276114277114278114279114280114281114282114283114284114285114286114287114288114289114290114291114292114293114294114295114296114297114298114299114300114301114302114303114304114305114306114307114308114309114310114311114312114313114314114315114316114317114318114319114320114321114322114323114324114325114326114327114328114329114330114331114332114333114334114335114336114337114338114339114340114341114342114343114344114345114346114347114348114349114350114351114352114353114354114355114356114357114358114359114360114361114362114363114364114365114366114367114368114369114370114371114372114373114374114375114376114377114378114379114380114381114382114383114384114385114386114387114388114389114390114391114392114393114394114395114396114397114398114399114400114401114402114403114404114405114406114407114408114409114410114411114412114413114414114415114416114417114418114419114420114421114422114423114424114425114426114427114428114429114430114431114432114433114434114435114436114437114438114439114440114441114442114443114444114445114446114447114448114449114450114451114452114453114454114455114456114457114458114459114460114461114462114463114464114465114466114467114468114469114470114471114472114473114474114475114476114477114478114479114480114481114482114483114484114485114486114487114488114489114490114491114492114493114494114495114496114497114498114499114500114501114502114503114504114505114506114507114508114509114510114511114512114513114514114515114516114517114518114519114520114521114522114523114524114525114526114527114528114529114530114531114532114533114534114535114536114537114538114539114540114541114542114543114544114545114546114547114548114549114550114551114552114553114554114555114556114557114558114559114560114561114562114563114564114565114566114567114568114569114570114571114572114573114574114575114576114577114578114579114580114581114582114583114584114585114586114587114588114589114590114591114592114593114594114595114596114597114598114599114600114601114602114603114604114605114606114607114608114609114610114611114612114613114614114615114616114617114618114619114620114621114622114623114624114625114626114627114628114629114630114631114632114633114634114635114636114637114638114639114640114641114642114643114644114645114646114647114648114649114650114651114652114653114654114655114656114657114658114659114660114661114662114663114664114665114666114667114668114669114670114671114672114673114674114675114676114677114678114679114680114681114682114683114684114685114686114687114688114689114690114691114692114693114694114695114696114697114698114699114700114701114702114703114704114705114706114707114708114709114710114711114712114713114714114715114716114717114718114719114720114721114722114723114724114725114726114727114728114729114730114731114732114733114734114735114736114737114738114739114740114741114742114743114744114745114746114747114748114749114750114751114752114753114754114755114756114757114758114759114760114761114762114763114764114765114766114767114768114769114770114771114772114773114774114775114776114777114778114779114780114781114782114783114784114785114786114787114788114789114790114791114792114793114794114795114796114797114798114799114800114801114802114803114804114805114806114807114808114809114810114811114812114813114814114815114816114817114818114819114820114821114822114823114824114825114826114827114828114829114830114831114832114833114834114835114836114837114838114839114840114841114842114843114844114845114846114847114848114849114850114851114852114853114854114855114856114857114858114859114860114861114862114863114864114865114866114867114868114869114870114871114872114873114874114875114876114877114878114879114880114881114882114883114884114885114886114887114888114889114890114891114892114893114894114895114896114897114898114899114900114901114902114903114904114905114906114907114908114909114910114911114912114913114914114915114916114917114918114919114920114921114922114923114924114925114926114927114928114929114930114931114932114933114934114935114936114937114938114939114940114941114942114943114944114945114946114947114948114949114950114951114952114953114954114955114956114957114958114959114960114961114962114963114964114965114966114967114968114969114970114971114972114973114974114975114976114977114978114979114980114981114982114983114984114985114986114987114988114989114990114991114992114993114994114995114996114997114998114999115000115001115002115003115004115005115006115007115008115009115010115011115012115013115014115015115016115017115018115019115020115021115022115023115024115025115026115027115028115029115030115031115032115033115034115035115036115037115038115039115040115041115042115043115044115045115046115047115048115049115050115051115052115053115054115055115056115057115058115059115060115061115062115063115064115065115066115067115068115069115070115071115072115073115074115075115076115077115078115079115080115081115082115083115084115085115086115087115088115089115090115091115092115093115094115095115096115097115098115099115100115101115102115103115104115105115106115107115108115109115110115111115112115113115114115115115116115117115118115119115120115121115122115123115124115125115126115127115128115129115130115131115132115133115134115135115136115137115138115139115140115141115142115143115144115145115146115147115148115149115150115151115152115153115154115155115156115157115158115159115160115161115162115163115164115165115166115167115168115169115170115171115172115173115174115175115176115177115178115179115180115181115182115183115184115185115186115187115188115189115190115191115192115193115194115195115196115197115198115199115200115201115202115203115204115205115206115207115208115209115210115211115212115213115214115215115216115217115218115219115220115221115222115223115224115225115226115227115228115229115230115231115232115233115234115235115236115237115238115239115240115241115242115243115244115245115246115247115248115249115250115251115252115253115254115255115256115257115258115259115260115261115262115263115264115265115266115267115268115269115270115271115272115273115274115275115276115277115278115279115280115281115282115283115284115285115286115287115288115289115290115291115292115293115294115295115296115297115298115299115300115301115302115303115304115305115306115307115308115309115310115311115312115313115314115315115316115317115318115319115320115321115322115323115324115325115326115327115328115329115330115331115332115333115334115335115336115337115338115339115340115341115342115343115344115345115346115347115348115349115350115351115352115353115354115355115356115357115358115359115360115361115362115363115364115365115366115367115368115369115370115371115372115373115374115375115376115377115378115379115380115381115382115383115384115385115386115387115388115389115390115391115392115393115394115395115396115397115398115399115400115401115402115403115404115405115406115407115408115409115410115411115412115413115414115415115416115417115418115419115420115421115422115423115424115425115426115427115428115429115430115431115432115433115434115435115436115437115438115439115440115441115442115443115444115445115446115447115448115449115450115451115452115453115454115455115456115457115458115459115460115461115462115463115464115465115466115467115468115469115470115471115472115473115474115475115476115477115478115479115480115481115482115483115484115485115486115487115488115489115490115491115492115493115494115495115496115497115498115499115500115501115502115503115504115505115506115507115508115509115510115511115512115513115514115515115516115517115518115519115520115521115522115523115524115525115526115527115528115529115530115531115532115533115534115535115536115537115538115539115540115541115542115543115544115545115546115547115548115549115550115551115552115553115554115555115556115557115558115559115560115561115562115563115564115565115566115567115568115569115570115571115572115573115574115575115576115577115578115579115580115581115582115583115584115585115586115587115588115589115590115591115592115593115594115595115596115597115598115599115600115601115602115603115604115605115606115607115608115609115610115611115612115613115614115615115616115617115618115619115620115621115622115623115624115625115626115627115628115629115630115631115632115633115634115635115636115637115638115639115640115641115642115643115644115645115646115647115648115649115650115651115652115653115654115655115656115657115658115659115660115661115662115663115664115665115666115667115668115669115670115671115672115673115674115675115676115677115678115679115680115681115682115683115684115685115686115687115688115689115690115691115692115693115694115695115696115697115698115699115700115701115702115703115704115705115706115707115708115709115710115711115712115713115714115715115716115717115718115719115720115721115722115723115724115725115726115727115728115729115730115731115732115733115734115735115736115737115738115739115740115741115742115743115744115745115746115747115748115749115750115751115752115753115754115755115756115757115758115759115760115761115762115763115764115765115766115767115768115769115770115771115772115773115774115775115776115777115778115779115780115781115782115783115784115785115786115787115788115789115790115791115792115793115794115795115796115797115798115799115800115801115802115803115804115805115806115807115808115809115810115811115812115813115814115815115816115817115818115819115820115821115822115823115824115825115826115827115828115829115830115831115832115833115834115835115836115837115838115839115840115841115842115843115844115845115846115847115848115849115850115851115852115853115854115855115856115857115858115859115860115861115862115863115864115865115866115867115868115869115870115871115872115873115874115875115876115877115878115879115880115881115882115883115884115885115886115887115888115889115890115891115892115893115894115895115896115897115898115899115900115901115902115903115904115905115906115907115908115909115910115911115912115913115914115915115916115917115918115919115920115921115922115923115924115925115926115927115928115929115930115931115932115933115934115935115936115937115938115939115940115941115942115943115944115945115946115947115948115949115950115951115952115953115954115955115956115957115958115959115960115961115962115963115964115965115966115967115968115969115970115971115972115973115974115975115976115977115978115979115980115981115982115983115984115985115986115987115988115989115990115991115992115993115994115995115996115997115998115999116000116001116002116003116004116005116006116007116008116009116010116011116012116013116014116015116016116017116018116019116020116021116022116023116024116025116026116027116028116029116030116031116032116033116034116035116036116037116038116039116040116041116042116043116044116045116046116047116048116049116050116051116052116053116054116055116056116057116058116059116060116061116062116063116064116065116066116067116068116069116070116071116072116073116074116075116076116077116078116079116080116081116082116083116084116085116086116087116088116089116090116091116092116093116094116095116096116097116098116099116100116101116102116103116104116105116106116107116108116109116110116111116112116113116114116115116116116117116118116119116120116121116122116123116124116125116126116127116128116129116130116131116132116133116134116135116136116137116138116139116140116141116142116143116144116145116146116147116148116149116150116151116152116153116154116155116156116157116158116159116160116161116162116163116164116165116166116167116168116169116170116171116172116173116174116175116176116177116178116179116180116181116182116183116184116185116186116187116188116189116190116191116192116193116194116195116196116197116198116199116200116201116202116203116204116205116206116207116208116209116210116211116212116213116214116215116216116217116218116219116220116221116222116223116224116225116226116227116228116229116230116231116232116233116234116235116236116237116238116239116240116241116242116243116244116245116246116247116248116249116250116251116252116253116254116255116256116257116258116259116260116261116262116263116264116265116266116267116268116269116270116271116272116273116274116275116276116277116278116279116280116281116282116283116284116285116286116287116288116289116290116291116292116293116294116295116296116297116298116299116300116301116302116303116304116305116306116307116308116309116310116311116312116313116314116315116316116317116318116319116320116321116322116323116324116325116326116327116328116329116330116331116332116333116334116335116336116337116338116339116340116341116342116343116344116345116346116347116348116349116350116351116352116353116354116355116356116357116358116359116360116361116362116363116364116365116366116367116368116369116370116371116372116373116374116375116376116377116378116379116380116381116382116383116384116385116386116387116388116389116390116391116392116393116394116395116396116397116398116399116400116401116402116403116404116405116406116407116408116409116410116411116412116413116414116415116416116417116418116419116420116421116422116423116424116425116426116427116428116429116430116431116432116433116434116435116436116437116438116439116440116441116442116443116444116445116446116447116448116449116450116451116452116453116454116455116456116457116458116459116460116461116462116463116464116465116466116467116468116469116470116471116472116473116474116475116476116477116478116479116480116481116482116483116484116485116486116487116488116489116490116491116492116493116494116495116496116497116498116499116500116501116502116503116504116505116506116507116508116509116510116511116512116513116514116515116516116517116518116519116520116521116522116523116524116525116526116527116528116529116530116531116532116533116534116535116536116537116538116539116540116541116542116543116544116545116546116547116548116549116550116551116552116553116554116555116556116557116558116559116560116561116562116563116564116565116566116567116568116569116570116571116572116573116574116575116576116577116578116579116580116581116582116583116584116585116586116587116588116589116590116591116592116593116594116595116596116597116598116599116600116601116602116603116604116605116606116607116608116609116610116611116612116613116614116615116616116617116618116619116620116621116622116623116624116625116626116627116628116629116630116631116632116633116634116635116636116637116638116639116640116641116642116643116644116645116646116647116648116649116650116651116652116653116654116655116656116657116658116659116660116661116662116663116664116665116666116667116668116669116670116671116672116673116674116675116676116677116678116679116680116681116682116683116684116685116686116687116688116689116690116691116692116693116694116695116696116697116698116699116700116701116702116703116704116705116706116707116708116709116710116711116712116713116714116715116716116717116718116719116720116721116722116723116724116725116726116727116728116729116730116731116732116733116734116735116736116737116738116739116740116741116742116743116744116745116746116747116748116749116750116751116752116753116754116755116756116757116758116759116760116761116762116763116764116765116766116767116768116769116770116771116772116773116774116775116776116777116778116779116780116781116782116783116784116785116786116787116788116789116790116791116792116793116794116795116796116797116798116799116800116801116802116803116804116805116806116807 |
- {
- "openapi" : "3.0.3",
- "info" : {
- "title" : "支付宝开放平台API",
- "description" : "支付宝开放平台v3协议文档",
- "contact" : {
- "name" : "开放平台文档中心",
- "url" : "https://openhome.alipay.com/developmentDocument.htm"
- },
- "version" : "2023-06-06"
- },
- "servers" : [ {
- "url" : "https://openapi.alipay.com",
- "description" : "Production server"
- }, {
- "url" : "http://openapi.sandbox.dl.alipaydev.com",
- "description" : "Sandbox server"
- } ],
- "paths" : {
- "/v3/alios/open/auto/info/query" : {
- "get" : {
- "tags" : [ "alios.open.auto.info" ],
- "summary" : "查询阿里车的车辆信息",
- "description" : "用户授权商户可获取用户的车辆信息后商户可通过openapi获取车辆信息",
- "operationId" : "alios.open.auto.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AliosOpenAutoInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AliosOpenAutoInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID",
- "schema" : {
- "type" : "string",
- "example" : "33424562"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "经度",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "device_token",
- "in" : "query",
- "description" : "设备token",
- "schema" : {
- "type" : "string",
- "example" : "cn-shanghai.e81fe6ffe0214049be4da405b3e78849"
- }
- } ]
- }
- },
- "/v3/alipay/boss/fnc/invoice/apply" : {
- "post" : {
- "tags" : [ "alipay.boss.fnc.invoice" ],
- "summary" : "应收开票申请(根据账单申请)",
- "description" : "根据账单申请应收发票开票",
- "operationId" : "alipay.boss.fnc.invoice.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncInvoiceApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayBossFncInvoiceApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncInvoiceApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/boss/fnc/invoice/batchquery" : {
- "post" : {
- "tags" : [ "alipay.boss.fnc.invoice" ],
- "summary" : "应收发票综合查询",
- "description" : "根据综合查询条件查询对应发票信息",
- "operationId" : "alipay.boss.fnc.invoice.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncInvoiceBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayBossFncInvoiceBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncInvoiceBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/boss/fnc/invoice/query" : {
- "get" : {
- "tags" : [ "alipay.boss.fnc.invoice" ],
- "summary" : "根据发票ID查询发票信息",
- "description" : "根据发票综合查询接口(alipay.boss.fnc.invoice.batchquery)查询到发票列表后,再根据每个发票对应的发票id查询发票的详细信息",
- "operationId" : "alipay.boss.fnc.invoice.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncInvoiceQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayBossFncInvoiceQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "invoice_id",
- "in" : "query",
- "description" : "查询ID:用于标示一张发票,通过发票综合查询可以查询到该ID。",
- "schema" : {
- "type" : "string",
- "example" : "如:2017060210122000040400270002815483"
- }
- } ]
- }
- },
- "/v3/alipay/boss/fnc/invoicereceipt/batchquery" : {
- "post" : {
- "tags" : [ "alipay.boss.fnc.invoicereceipt" ],
- "summary" : "根据月账单号集合和来源查询开票单据及金额汇总",
- "description" : "根据月账单号集合和来源查询开票单据及金额汇总",
- "operationId" : "alipay.boss.fnc.invoicereceipt.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/boss/fnc/invoicereceipt/create" : {
- "post" : {
- "tags" : [ "alipay.boss.fnc.invoicereceipt" ],
- "summary" : "账单变更同步接口月帐单创建消息同步",
- "description" : "月帐单创建消息同步",
- "operationId" : "alipay.boss.fnc.invoicereceipt.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncInvoicereceiptCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/boss/fnc/userinvoiceinfo/create" : {
- "post" : {
- "tags" : [ "alipay.boss.fnc.userinvoiceinfo" ],
- "summary" : "新增客户开票资料",
- "description" : "申请开票alipay.boss.fnc.invoice.create之前需要维护的开票资料信息",
- "operationId" : "alipay.boss.fnc.userinvoiceinfo.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/boss/fnc/userinvoiceinfo/modify" : {
- "post" : {
- "tags" : [ "alipay.boss.fnc.userinvoiceinfo" ],
- "summary" : "修改用户开票资料",
- "description" : "通过查询用户的开票资料(alipay.boss.fnc.userinvoiceinfo.query)后进行开票资料的修改",
- "operationId" : "alipay.boss.fnc.userinvoiceinfo.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/boss/fnc/userinvoiceinfo/query" : {
- "get" : {
- "tags" : [ "alipay.boss.fnc.userinvoiceinfo" ],
- "summary" : "根据PID获取相关的开票资料",
- "description" : "根据PID获取相关的开票资料",
- "operationId" : "alipay.boss.fnc.userinvoiceinfo.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayBossFncUserinvoiceinfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "pid",
- "in" : "query",
- "description" : "开票pid/mid/ou,唯一标识商户信息/集团用户信息的ID",
- "schema" : {
- "type" : "string",
- "example" : "2088001007243670"
- }
- } ]
- }
- },
- "/v3/alipay/boss/prod/my/test/query" : {
- "get" : {
- "tags" : [ "alipay.boss.prod.my.test" ],
- "summary" : "明焕open测试",
- "description" : "测试",
- "operationId" : "alipay.boss.prod.my.test.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayBossProdMyTestQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayBossProdMyTestQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "area_code",
- "in" : "query",
- "description" : "区.",
- "schema" : {
- "type" : "string",
- "example" : "sahuidsa"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/cityfacilitator/station/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.cityfacilitator.station" ],
- "summary" : "地铁购票站点数据查询",
- "description" : "商户App获取地铁购票开放购票的站点和禁止到达的站点",
- "operationId" : "alipay.commerce.cityfacilitator.station.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorStationQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorStationQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "city_code",
- "in" : "query",
- "description" : "城市编码请参考查询 <a href=\"http://www.mca.gov.cn/article/sj/xzqh/\">中华人民共和国行政区划代码</a>。\t已支持城市:广州 440100,深圳 440300,杭州330100。",
- "schema" : {
- "type" : "string",
- "example" : "440300"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/cityfacilitator/voucher/batchquery" : {
- "post" : {
- "tags" : [ "alipay.commerce.cityfacilitator.voucher" ],
- "summary" : "地铁购票订单批量查询",
- "description" : "商户APP调该接口批量查询订单状态",
- "operationId" : "alipay.commerce.cityfacilitator.voucher.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/cityfacilitator/voucher/generate" : {
- "post" : {
- "tags" : [ "alipay.commerce.cityfacilitator.voucher" ],
- "summary" : "地铁购票核销码发码",
- "description" : "商户APP调快捷支付付款后,获取地铁购票的核销码",
- "operationId" : "alipay.commerce.cityfacilitator.voucher.generate",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherGenerateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherGenerateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherGenerateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/cityfacilitator/voucher/refund" : {
- "post" : {
- "tags" : [ "alipay.commerce.cityfacilitator.voucher" ],
- "summary" : "地铁购票发码退款",
- "description" : "地铁购票,商户发码后,调该接口从中间户退款",
- "operationId" : "alipay.commerce.cityfacilitator.voucher.refund",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherRefundResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceCityfacilitatorVoucherRefundModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/balance/downloadurl/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.balance.downloadurl" ],
- "summary" : "对账单文件下载接口",
- "description" : "对账单文件下载接口",
- "operationId" : "alipay.commerce.ec.balance.downloadurl.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcBalanceDownloadurlQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcBalanceDownloadurlQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088123456789000"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "共同账户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000295356628"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20205820659822371223"
- }
- }, {
- "name" : "bill_type",
- "in" : "query",
- "description" : "账单类型",
- "schema" : {
- "type" : "string",
- "example" : "enterprisetrade"
- }
- }, {
- "name" : "bill_date",
- "in" : "query",
- "description" : "账单时间",
- "schema" : {
- "type" : "string",
- "example" : "yyyy-MM-dd"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/balance/period/modify" : {
- "post" : {
- "tags" : [ "alipay.commerce.ec.balance.period" ],
- "summary" : "企业码月对账单账期修改",
- "description" : "用于在企业码B端后台创建的企业调整月对账单账期",
- "operationId" : "alipay.commerce.ec.balance.period.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcBalancePeriodModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcBalancePeriodModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcBalancePeriodModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/consume/detail/query" : {
- "post" : {
- "tags" : [ "alipay.commerce.ec.consume.detail" ],
- "summary" : "企业码账单详情查询",
- "description" : "用于企业查询企业码账单详情",
- "operationId" : "alipay.commerce.ec.consume.detail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcConsumeDetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcConsumeDetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcConsumeDetailQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/department" : {
- "put" : {
- "tags" : [ "alipay.commerce.ec.department.info" ],
- "summary" : "企业部门信息修改",
- "description" : "修改企业部门信息",
- "operationId" : "alipay.commerce.ec.department.info.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoModifyModel"
- }
- }
- },
- "required" : false
- }
- },
- "post" : {
- "tags" : [ "alipay.commerce.ec.department" ],
- "summary" : "企业部门创建",
- "description" : "创建企业部门",
- "operationId" : "alipay.commerce.ec.department.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/department/delete" : {
- "post" : {
- "tags" : [ "alipay.commerce.ec.department" ],
- "summary" : "企业部门删除",
- "description" : "删除企业部门",
- "operationId" : "alipay.commerce.ec.department.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/department/info/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.department.info" ],
- "summary" : "查询部门详情",
- "description" : "根据部门id查询企业下某个部门的详细信息",
- "operationId" : "alipay.commerce.ec.department.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id",
- "schema" : {
- "type" : "string",
- "example" : "2088441363102941"
- }
- }, {
- "name" : "department_id",
- "in" : "query",
- "description" : "部门id",
- "schema" : {
- "type" : "string",
- "example" : "1001094000039142"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/department/sublist/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.department.sublist" ],
- "summary" : "查询子部门id列表",
- "description" : "查询某个部门的子部门id列表,支持查询根部门id",
- "operationId" : "alipay.commerce.ec.department.sublist.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentSublistQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcDepartmentSublistQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id",
- "schema" : {
- "type" : "string",
- "example" : "2088441363102941"
- }
- }, {
- "name" : "department_id",
- "in" : "query",
- "description" : "部门id,特殊值 -1 表示查询根部门id",
- "schema" : {
- "type" : "string",
- "example" : "1001094000039142"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/employee/add" : {
- "post" : {
- "tags" : [ "alipay.commerce.ec.employee" ],
- "summary" : "添加员工",
- "description" : "企业添加员工,并返回员工签约链接",
- "operationId" : "alipay.commerce.ec.employee.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/employee/delete" : {
- "post" : {
- "tags" : [ "alipay.commerce.ec.employee" ],
- "summary" : "删除员工",
- "description" : "删除员工并解绑因公付",
- "operationId" : "alipay.commerce.ec.employee.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/employee/idlist/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.employee.idlist" ],
- "summary" : "查询部门下员工id列表",
- "description" : "查询某个部门下员工id列表",
- "operationId" : "alipay.commerce.ec.employee.idlist.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeIdlistQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeIdlistQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id",
- "schema" : {
- "type" : "string",
- "example" : "2088441363102941"
- }
- }, {
- "name" : "department_id",
- "in" : "query",
- "description" : "部门id",
- "schema" : {
- "type" : "string",
- "example" : "1001094000039142"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "查询页数",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页查询大小,限制最大为1000",
- "schema" : {
- "type" : "integer",
- "example" : "1000"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/employee/info" : {
- "put" : {
- "tags" : [ "alipay.commerce.ec.employee.info" ],
- "summary" : "员工信息修改",
- "description" : "员工信息修改",
- "operationId" : "alipay.commerce.ec.employee.info.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/employee/info/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.employee.info" ],
- "summary" : "查询员工详情",
- "description" : "根据员工id或员工uid查询企业下某个员工的详细信息",
- "operationId" : "alipay.commerce.ec.employee.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id",
- "schema" : {
- "type" : "string",
- "example" : "2088441363102941"
- }
- }, {
- "name" : "employee_id",
- "in" : "query",
- "description" : "员工id",
- "schema" : {
- "type" : "string",
- "example" : "228420000000057942506"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID",
- "schema" : {
- "type" : "string",
- "example" : "2088501304519332"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/employee/invite" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.employee.invite" ],
- "summary" : "获取员工邀请链接",
- "description" : "获取员工邀请链接,若只传入企业ID企业则邀请链接对企业员工均有效,若传入了企业ID和员工ID则链接只对传入的员工ID有效",
- "operationId" : "alipay.commerce.ec.employee.invite.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInviteQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeInviteQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id",
- "schema" : {
- "type" : "string",
- "example" : "2088985758939"
- }
- }, {
- "name" : "employee_id",
- "in" : "query",
- "description" : "企业码员工ID",
- "schema" : {
- "type" : "string",
- "example" : "2288099887700000"
- }
- }, {
- "name" : "page_content_code",
- "in" : "query",
- "description" : "页面内容code",
- "schema" : {
- "type" : "string",
- "example" : "PCC_STANDARD"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/employee/title" : {
- "put" : {
- "tags" : [ "alipay.commerce.ec.employee.title" ],
- "summary" : "修改员工抬头信息",
- "description" : "修改员工抬头信息",
- "operationId" : "alipay.commerce.ec.employee.title.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleModifyModel"
- }
- }
- },
- "required" : false
- }
- },
- "post" : {
- "tags" : [ "alipay.commerce.ec.employee.title" ],
- "summary" : "新增员工抬头关系",
- "description" : "批量新增员工抬头关系",
- "operationId" : "alipay.commerce.ec.employee.title.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/employee/title/delete" : {
- "post" : {
- "tags" : [ "alipay.commerce.ec.employee.title" ],
- "summary" : "删除员工抬头信息",
- "description" : "批量删除员工抬头信息",
- "operationId" : "alipay.commerce.ec.employee.title.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEmployeeTitleDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/enterprise" : {
- "put" : {
- "tags" : [ "alipay.commerce.ec.enterprise.info" ],
- "summary" : "企业信息修改",
- "description" : "修改企业信息",
- "operationId" : "alipay.commerce.ec.enterprise.info.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/enterprise/address" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.enterprise.address" ],
- "summary" : "企业地址查询",
- "description" : "查询企业地址信息",
- "operationId" : "alipay.commerce.ec.enterprise.address.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id和account_id二选一",
- "schema" : {
- "type" : "string",
- "example" : "208890399440"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "共同账户id和enterprise_id二选一",
- "schema" : {
- "type" : "string",
- "example" : "2088483784949"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "协议号,如果填共同账户id,则该字段必填",
- "schema" : {
- "type" : "string",
- "example" : "23893293203"
- }
- }, {
- "name" : "address_id",
- "in" : "query",
- "description" : "地址id",
- "schema" : {
- "type" : "string",
- "example" : "190309300303"
- }
- }, {
- "name" : "city_code",
- "in" : "query",
- "description" : "市",
- "schema" : {
- "type" : "string",
- "example" : "310023"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页码从1开始",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页数据",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- } ]
- },
- "put" : {
- "tags" : [ "alipay.commerce.ec.enterprise.address" ],
- "summary" : "企业地址修改",
- "description" : "企业地址修改",
- "operationId" : "alipay.commerce.ec.enterprise.address.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressModifyModel"
- }
- }
- },
- "required" : false
- }
- },
- "post" : {
- "tags" : [ "alipay.commerce.ec.enterprise.address" ],
- "summary" : "企业地址添加",
- "description" : "企业地址添加",
- "operationId" : "alipay.commerce.ec.enterprise.address.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAddressAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/enterprise/agreement" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.enterprise.agreement" ],
- "summary" : "查询企业签约企业码信息",
- "description" : "查询企业签约企业码信息",
- "operationId" : "alipay.commerce.ec.enterprise.agreement.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAgreementQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseAgreementQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id;enterprise_id与account_id至少传一个,如果都传了优先使用enterprise_id",
- "schema" : {
- "type" : "string",
- "example" : "2088441399627416"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "资金共同账号id;enterprise_id与account_id至少传一个,如果都传了优先使用enterprise_id",
- "schema" : {
- "type" : "string",
- "example" : "2088610274867962"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/enterprise/create" : {
- "post" : {
- "tags" : [ "alipay.commerce.ec.enterprise" ],
- "summary" : "企业入驻",
- "description" : "企业入驻,并返回签约链接",
- "operationId" : "alipay.commerce.ec.enterprise.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/enterprise/delete" : {
- "post" : {
- "tags" : [ "alipay.commerce.ec.enterprise" ],
- "summary" : "企业注销",
- "description" : "企业注销,清理企业数据",
- "operationId" : "alipay.commerce.ec.enterprise.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/ec/enterprise/info" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.enterprise.info" ],
- "summary" : "查询企业详情",
- "description" : "查询企业详细信息",
- "operationId" : "alipay.commerce.ec.enterprise.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id",
- "schema" : {
- "type" : "string",
- "example" : "20889490309498"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/enterprise/unsignurl" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.enterprise" ],
- "summary" : "企业解约",
- "description" : "企业解约,获取解约链接,点击链接跳转到解约页面,进行解约协议",
- "operationId" : "alipay.commerce.ec.enterprise.unsign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseUnsignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcEnterpriseUnsignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id",
- "schema" : {
- "type" : "string",
- "example" : "208893900430"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "共同账户id和企业id二选一必填",
- "schema" : {
- "type" : "string",
- "example" : "208849300303"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "签约协议号,account_id不为空则该字段必填",
- "schema" : {
- "type" : "string",
- "example" : "29300309290200200"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/jointaccountbill/detail/batchquery" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.jointaccountbill.detail" ],
- "summary" : "企业账单批量分页查询",
- "description" : "分页查询企业账单",
- "operationId" : "alipay.commerce.ec.jointaccountbill.detail.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcJointaccountbillDetailBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcJointaccountbillDetailBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088123456789000"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "业务场景。不传默认为ISV_DEFAULT",
- "schema" : {
- "type" : "string",
- "example" : "ISV_DEFAULT"
- }
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "员工支付宝UID",
- "schema" : {
- "type" : "string",
- "example" : "2088123456789000"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "员工支付宝UID",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "employee_id",
- "in" : "query",
- "description" : "员工id",
- "schema" : {
- "type" : "string",
- "example" : "2288029541813166"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页码",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页大小",
- "schema" : {
- "type" : "string",
- "example" : "20"
- }
- }, {
- "name" : "start_date",
- "in" : "query",
- "description" : "起始日期",
- "schema" : {
- "type" : "string",
- "example" : "yyyy-MM-dd HH:mm:ss"
- }
- }, {
- "name" : "end_date",
- "in" : "query",
- "description" : "截止日期",
- "schema" : {
- "type" : "string",
- "example" : "yyyy-MM-dd HH:mm:ss"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/ec/user/enterprise" : {
- "get" : {
- "tags" : [ "alipay.commerce.ec.user.enterprise" ],
- "summary" : "用户企业列表",
- "description" : "用户所属企业列表",
- "operationId" : "alipay.commerce.ec.user.enterprise.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEcUserEnterpriseQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEcUserEnterpriseQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_id",
- "in" : "query",
- "description" : "用户id",
- "schema" : {
- "type" : "string",
- "example" : "20889384849393"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "用户open_id",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/educate/campus/institutions/add" : {
- "post" : {
- "tags" : [ "alipay.commerce.educate.campus.institutions" ],
- "summary" : "入驻学校信息",
- "description" : "学校信息入驻",
- "operationId" : "alipay.commerce.educate.campus.institutions.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/educate/campus/institutions/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.educate.campus.institutions" ],
- "summary" : "查询学校信息",
- "description" : "可以通过学校库产品查询支付宝系统中是否已存在对应的学校,避免重复入驻,以及通过该接口查询入驻的进度:入驻成功则会返回学校信息,失败则不会返回",
- "operationId" : "alipay.commerce.educate.campus.institutions.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEducateCampusInstitutionsQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "inst_name",
- "in" : "query",
- "description" : "学校名称",
- "schema" : {
- "type" : "string",
- "example" : "复旦大学"
- }
- }, {
- "name" : "province_code",
- "in" : "query",
- "description" : "省份编码,编码标准为中华人民共和国行政区划代码,参见 2020年12月中华人民共和国县以上行政区划代码。",
- "schema" : {
- "type" : "string",
- "example" : "370000"
- }
- }, {
- "name" : "city_code",
- "in" : "query",
- "description" : "城市编码,编码标准为中华人民共和国行政区划代码,参见 2020年12月中华人民共和国县以上行政区划代码。",
- "schema" : {
- "type" : "string",
- "example" : "370900"
- }
- }, {
- "name" : "inst_id",
- "in" : "query",
- "description" : "学校内标:支付宝内部学校唯一编号。使用内标查询时,默认使用内标进行精确匹配。",
- "schema" : {
- "type" : "string",
- "example" : "2088000139662311"
- }
- }, {
- "name" : "inst_std_code",
- "in" : "query",
- "description" : "学校外标:统一社会信用编码或教育部提供的学校标识码。使用学校外标查询时,默认使用外标进行精确匹配。",
- "schema" : {
- "type" : "string",
- "example" : "202008016104"
- }
- }, {
- "name" : "like_property",
- "in" : "query",
- "description" : "是否使用学校名称模糊匹配进行查询,默认精确匹配。\t枚举值如下:\t1:精确匹配;\t0:模糊匹配",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/educate/schoolcard/order/sync" : {
- "post" : {
- "tags" : [ "alipay.commerce.educate.schoolcard.order" ],
- "summary" : "校园卡支付订单数据同步",
- "description" : "校园卡支付订单数据同步",
- "operationId" : "alipay.commerce.educate.schoolcard.order.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEducateSchoolcardOrderSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceEducateSchoolcardOrderSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceEducateSchoolcardOrderSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/iot/device/report/upload" : {
- "post" : {
- "tags" : [ "alipay.commerce.iot.device.report" ],
- "summary" : "设备检测报告上传",
- "description" : "设备检测报告上传",
- "operationId" : "alipay.commerce.iot.device.report.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceIotDeviceReportUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceIotDeviceReportUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceIotDeviceReportUploadModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/iot/sdarttool/message/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.iot.sdarttool.message" ],
- "summary" : "消息查询",
- "description" : "isv通过消息id查询消息",
- "operationId" : "alipay.commerce.iot.sdarttool.message.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "message_no",
- "in" : "query",
- "description" : "消息ID",
- "schema" : {
- "type" : "string",
- "example" : "201911250000021611"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/iot/sdarttool/message/send" : {
- "post" : {
- "tags" : [ "alipay.commerce.iot.sdarttool.message" ],
- "summary" : "IOT消息服务",
- "description" : "ISV通过此接口向IOT设备推送消息",
- "operationId" : "alipay.commerce.iot.sdarttool.message.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceIotSdarttoolMessageSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/logistics/invoice/istdwaybill/create" : {
- "post" : {
- "tags" : [ "alipay.commerce.logistics.invoice.istdwaybill" ],
- "summary" : "开即时配送订单发票",
- "description" : "开即时配送订单发票",
- "operationId" : "alipay.commerce.logistics.invoice.istdwaybill.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/logistics/invoice/istdwaybill/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.logistics.invoice.istdwaybill" ],
- "summary" : "查询即时配送订单的开票结果",
- "description" : "查询即时配送订单的开票结果",
- "operationId" : "alipay.commerce.logistics.invoice.istdwaybill.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsInvoiceIstdwaybillQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "logistics_code",
- "in" : "query",
- "description" : "即时配送公司编码",
- "schema" : {
- "type" : "string",
- "example" : "FENGNIAO"
- }
- }, {
- "name" : "out_invoice_request_no",
- "in" : "query",
- "description" : "开票请求流水号",
- "schema" : {
- "type" : "string",
- "example" : "out_invoice_no_00001"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/logistics/logisticscompany/instantdelivery/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.logistics.logisticscompany.instantdelivery" ],
- "summary" : "查询支付宝支持的即时配送公司",
- "description" : "查询支付宝支持的即时配送公司",
- "operationId" : "alipay.commerce.logistics.logisticscompany.instantdelivery.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsLogisticscompanyInstantdeliveryQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsLogisticscompanyInstantdeliveryQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/commerce/logistics/order/instantdelivery/cancel" : {
- "post" : {
- "tags" : [ "alipay.commerce.logistics.order.instantdelivery" ],
- "summary" : "取消即时配送订单",
- "description" : "取消即时配送订单",
- "operationId" : "alipay.commerce.logistics.order.instantdelivery.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/logistics/order/instantdelivery/create" : {
- "post" : {
- "tags" : [ "alipay.commerce.logistics.order.instantdelivery" ],
- "summary" : "下即时配送订单",
- "description" : "下即时配送订单",
- "operationId" : "alipay.commerce.logistics.order.instantdelivery.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/logistics/order/instantdelivery/precreate" : {
- "post" : {
- "tags" : [ "alipay.commerce.logistics.order.instantdelivery" ],
- "summary" : "预下即时配送订单",
- "description" : "预下即时配送订单",
- "operationId" : "alipay.commerce.logistics.order.instantdelivery.precreate",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryPrecreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryPrecreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderInstantdeliveryPrecreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/logistics/order/istdcancel/preconsult" : {
- "post" : {
- "tags" : [ "alipay.commerce.logistics.order.istdcancel" ],
- "summary" : "预取消即时配送订单",
- "description" : "预取消即时配送订单",
- "operationId" : "alipay.commerce.logistics.order.istdcancel.preconsult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdcancelPreconsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdcancelPreconsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdcancelPreconsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/logistics/order/istdretry/create" : {
- "post" : {
- "tags" : [ "alipay.commerce.logistics.order.istdretry" ],
- "summary" : "重下即时配送订单",
- "description" : "重下即时配送订单",
- "operationId" : "alipay.commerce.logistics.order.istdretry.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdretryCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdretryCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsOrderIstdretryCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/logistics/waybill/istddetail/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.logistics.waybill.istddetail" ],
- "summary" : "查询即时配送运单详情",
- "description" : "查询即时配送运单详情",
- "operationId" : "alipay.commerce.logistics.waybill.istddetail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsWaybillIstddetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceLogisticsWaybillIstddetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "shop_no",
- "in" : "query",
- "description" : "商家球房编号",
- "schema" : {
- "type" : "string",
- "example" : "shopno001"
- }
- }, {
- "name" : "out_order_no",
- "in" : "query",
- "description" : "商家订单号",
- "schema" : {
- "type" : "string",
- "example" : "2020090411140000000000777000216122"
- }
- }, {
- "name" : "order_no",
- "in" : "query",
- "description" : "支付宝订单流水号",
- "schema" : {
- "type" : "string",
- "example" : "2020090411130000000000772400280352"
- }
- }, {
- "name" : "logistics_code",
- "in" : "query",
- "description" : "即时配送公司编码",
- "schema" : {
- "type" : "string",
- "example" : "FENGNIAO"
- }
- }, {
- "name" : "waybill_no",
- "in" : "query",
- "description" : "即时配送运单编号",
- "schema" : {
- "type" : "string",
- "example" : "waybillno001"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/operation/activity/merchant/modify" : {
- "post" : {
- "tags" : [ "alipay.commerce.operation.activity.merchant" ],
- "summary" : "商户签约信息修改",
- "description" : "商户签约信息修改",
- "operationId" : "alipay.commerce.operation.activity.merchant.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/operation/activity/merchant/sign" : {
- "post" : {
- "tags" : [ "alipay.commerce.operation.activity.merchant" ],
- "summary" : "商户签约活动",
- "description" : "商户签约活动",
- "operationId" : "alipay.commerce.operation.activity.merchant.sign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantSignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantSignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantSignModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/operation/activity/merchant/unsign" : {
- "post" : {
- "tags" : [ "alipay.commerce.operation.activity.merchant" ],
- "summary" : "活动商户解约",
- "description" : "用户银行商户模式商户解约活动使用",
- "operationId" : "alipay.commerce.operation.activity.merchant.unsign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantUnsignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceOperationActivityMerchantUnsignErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/commerce/operation/bank/activity/query" : {
- "get" : {
- "tags" : [ "alipay.commerce.operation.bank.activity" ],
- "summary" : "银行活动信息查询",
- "description" : "银行活动信息查询",
- "operationId" : "alipay.commerce.operation.bank.activity.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceOperationBankActivityQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceOperationBankActivityQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "open_id",
- "in" : "query",
- "description" : "支付宝openId",
- "schema" : {
- "type" : "string",
- "example" : "021xxxx"
- }
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID",
- "schema" : {
- "type" : "string",
- "example" : "2088xxxx"
- }
- } ]
- }
- },
- "/v3/alipay/commerce/transport/charger/chargerbindinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.commerce.transport.charger.chargerbindinfo" ],
- "summary" : "充电运营商同步用户绑定充电桩信息接口",
- "description" : "设备运营商通过该接口同步自己阵地中用户绑定充电桩的信息,包含绑定信息,解绑信息,设备状态等等设备信息",
- "operationId" : "alipay.commerce.transport.charger.chargerbindinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceTransportChargerChargerbindinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceTransportChargerChargerbindinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceTransportChargerChargerbindinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/transport/parking/enterinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.commerce.transport.parking.enterinfo" ],
- "summary" : "停车入场模板消息配置",
- "description" : "车辆驶入停车场时,服务商通过此接口配置消息模板内容告知支付宝发送给用户",
- "operationId" : "alipay.commerce.transport.parking.enterinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceTransportParkingEnterinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceTransportParkingEnterinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceTransportParkingEnterinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/transport/parking/exitinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.commerce.transport.parking.exitinfo" ],
- "summary" : "停车离场消息模板配置",
- "description" : "用户要驶离停车场时,服务商通过此接口配置消息模板内容告知支付宝发送给用户",
- "operationId" : "alipay.commerce.transport.parking.exitinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceTransportParkingExitinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceTransportParkingExitinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceTransportParkingExitinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/commerce/transport/parking/paymentinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.commerce.transport.parking.paymentinfo" ],
- "summary" : "停车支付模板消息配置",
- "description" : "用户在场内支付时,服务商通过此接口配置消息模板内容告知支付宝发送给用户",
- "operationId" : "alipay.commerce.transport.parking.paymentinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceTransportParkingPaymentinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayCommerceTransportParkingPaymentinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayCommerceTransportParkingPaymentinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/data/bill/accountbookereceipt/apply" : {
- "post" : {
- "tags" : [ "alipay.data.bill.accountbookereceipt" ],
- "summary" : "申请子账本电子回单(incubating)",
- "description" : "申请子账本电子回单(子账本业务定制接口)",
- "operationId" : "alipay.data.bill.accountbookereceipt.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/data/bill/accountbookereceipt/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.accountbookereceipt" ],
- "summary" : "查询子账本电子回单状态(incubating)",
- "description" : "电子签章申请分两个步骤: 1、使用alipay.data.bill.ereceipt.apply创建申请,并获取file_id信息。 2、等待一段时间后,使用file_id查询alipay.data.bill.ereceipt.query申请信息。 单个申请建议每5分钟查询一次状态。汇总回单建议30分钟查询一次",
- "operationId" : "alipay.data.bill.accountbookereceipt.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillAccountbookereceiptQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "file_id",
- "in" : "query",
- "description" : "根据申请id查询状态",
- "schema" : {
- "type" : "string",
- "example" : "12345"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "协议号",
- "schema" : {
- "type" : "string",
- "example" : "20205215001418078112"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/accountlog/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.accountlog" ],
- "summary" : "支付宝商家账户账务明细查询",
- "description" : "为支付宝商家提供支付宝账户的账务流水信息,供对账使用。",
- "operationId" : "alipay.data.bill.accountlog.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillAccountlogQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillAccountlogQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "start_time",
- "in" : "query",
- "description" : "账务流水创建时间的起始范围",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-01 00:00:00"
- }
- }, {
- "name" : "end_time",
- "in" : "query",
- "description" : "账务流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-02 00:00:00"
- }
- }, {
- "name" : "alipay_order_no",
- "in" : "query",
- "description" : "支付宝订单号,通过支付宝订单号精确查询相关的流水明细,商户订单号与支付宝订单号互斥",
- "schema" : {
- "type" : "string",
- "example" : "20190101***"
- }
- }, {
- "name" : "merchant_order_no",
- "in" : "query",
- "description" : "商户订单号,通过商户订单号精确查询相关的流水明细,商户订单号与支付宝订单号互斥",
- "schema" : {
- "type" : "string",
- "example" : "TX***"
- }
- }, {
- "name" : "page_no",
- "in" : "query",
- "description" : "分页号,从1开始",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页大小1000-2000,默认2000",
- "schema" : {
- "type" : "string",
- "example" : "2000"
- }
- }, {
- "name" : "trans_code",
- "in" : "query",
- "description" : "账务的类型代码,特殊场景下使用",
- "schema" : {
- "type" : "string",
- "example" : "101101,301101"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "协议授权码,特殊场景下使用",
- "schema" : {
- "type" : "string",
- "example" : "20215606000635888888"
- }
- }, {
- "name" : "agreement_product_code",
- "in" : "query",
- "description" : "协议产品码。特殊场景下使用",
- "schema" : {
- "type" : "string",
- "example" : "FUND_SIGN_WITHHOLDING"
- }
- }, {
- "name" : "bill_user_id",
- "in" : "query",
- "description" : "指定用户做账单查询",
- "schema" : {
- "type" : "string",
- "example" : "2088123456789012"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/bail/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.bail" ],
- "summary" : "支付宝商家账户保证金查询",
- "description" : "为支付宝商家提供支付宝账户保证金信息,供对账使用。",
- "operationId" : "alipay.data.bill.bail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillBailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillBailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "start_time",
- "in" : "query",
- "description" : "保证金流水创建时间的起始范围",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-01 00:00:00"
- }
- }, {
- "name" : "end_time",
- "in" : "query",
- "description" : "保证金流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-02 00:00:00"
- }
- }, {
- "name" : "bail_type",
- "in" : "query",
- "description" : "保证金类型,目前支持TMALL_S_BAIL-天猫保证金,TAOBAO_BAIL-淘宝保证金",
- "schema" : {
- "type" : "string",
- "example" : "TMALL_S_BAIL"
- }
- }, {
- "name" : "trans_log_id",
- "in" : "query",
- "description" : "保证金流水号。如果查询参数中指定流水号,则只查询流水号相关的记录",
- "schema" : {
- "type" : "string",
- "example" : "20190101***"
- }
- }, {
- "name" : "biz_orig_no",
- "in" : "query",
- "description" : "业务基础订单号。如果查询参数中指定订单号,则只查询相关的记录",
- "schema" : {
- "type" : "string",
- "example" : "1***"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/balance/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.balance" ],
- "summary" : "支付宝商家账户当前余额查询",
- "description" : "为支付宝商家提供支付宝账户当前余额信息,包括冻结金额,可用余额和总额,供对账使用。",
- "operationId" : "alipay.data.bill.balance.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillBalanceQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillBalanceQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "bill_user_id",
- "in" : "query",
- "description" : "目标查询账户(仅支持部分场景,查询自身时候不需要传递当前字段)。",
- "schema" : {
- "type" : "string",
- "example" : "2088123456789012"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/balancehis/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.balancehis" ],
- "summary" : "支付宝商家账户历史余额查询",
- "description" : "为支付宝商家提供支付宝账户历史余额信息,供对账使用。",
- "operationId" : "alipay.data.bill.balancehis.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillBalancehisQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillBalancehisQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "biz_date",
- "in" : "query",
- "description" : "查询指定自然日的起初余额和期末余额,biz_date与biz_month传入参数互斥",
- "schema" : {
- "type" : "string",
- "example" : "2019-08-01"
- }
- }, {
- "name" : "biz_month",
- "in" : "query",
- "description" : "查询指定自然月的起初余额和期末余额,biz_date与biz_month传入参数互斥",
- "schema" : {
- "type" : "string",
- "example" : "2019-08"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/bizfundagent/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.bizfundagent" ],
- "summary" : "ISV代理商户资金业务账单查询",
- "description" : "用于ISV代理商户查询商户的资金业务账单",
- "operationId" : "alipay.data.bill.bizfundagent.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillBizfundagentQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillBizfundagentQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "start_time",
- "in" : "query",
- "description" : "账单查询时间范围 -- 起始时间",
- "schema" : {
- "type" : "string",
- "example" : "2021-01-01 00:00:00"
- }
- }, {
- "name" : "end_time",
- "in" : "query",
- "description" : "账单查询时间范围 -- 结束范围。时间范围最大不超过31天。",
- "schema" : {
- "type" : "string",
- "example" : "2021-02-01 00:00:00"
- }
- }, {
- "name" : "page_no",
- "in" : "query",
- "description" : "页码,从1开始",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页大小1000-2000,默认2000",
- "schema" : {
- "type" : "string",
- "example" : "2000"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "ISV与商户授权协议号",
- "schema" : {
- "type" : "string",
- "example" : "20205215001418078112"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/buy/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.buy" ],
- "summary" : "支付宝商家账户买入交易查询",
- "description" : "为支付宝商家提供支付宝账户买入交易信息,供对账使用。",
- "operationId" : "alipay.data.bill.buy.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillBuyQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillBuyQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "start_time",
- "in" : "query",
- "description" : "交易流水创建时间的起始范围",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-01 00:00:00"
- }
- }, {
- "name" : "end_time",
- "in" : "query",
- "description" : "交易流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-02 00:00:00"
- }
- }, {
- "name" : "alipay_order_no",
- "in" : "query",
- "description" : "支付宝交易流水号。如果查询参数中指定流水号,则只查询流水号相关的记录",
- "schema" : {
- "type" : "string",
- "example" : "20190101***"
- }
- }, {
- "name" : "merchant_order_no",
- "in" : "query",
- "description" : "商户交易号。如果查询参数中指定交易号,则只查询相关的记录",
- "schema" : {
- "type" : "string",
- "example" : "TX***"
- }
- }, {
- "name" : "store_no",
- "in" : "query",
- "description" : "球房编号,模糊搜索",
- "schema" : {
- "type" : "string",
- "example" : "球房1"
- }
- }, {
- "name" : "page_no",
- "in" : "query",
- "description" : "分页号,从1开始",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页大小1000-2000,默认2000",
- "schema" : {
- "type" : "string",
- "example" : "2000"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/ereceipt/apply" : {
- "post" : {
- "tags" : [ "alipay.data.bill.ereceipt" ],
- "summary" : "申请电子回单(incubating)",
- "description" : "支持商家下载多种类型支付宝资金凭证。包括:余额收支证明、余额收支流水证明、转入转出收支证明、收支汇总证明(日汇总)以及收支汇总证明(月汇总)。\n 账单凭证申请分两个步骤: \n1、使用alipay.data.bill.ereceipt.apply创建申请,并获取file_id信息。 \n2、使用file_id查询alipay.data.bill.ereceipt.query获取回单信息,回单生成完毕将会返回对应的下载链接,下载链接时效为30秒,过期将无法下载,需重新调用alipay.data.bill.ereceipt.query获取新的下载链接。",
- "operationId" : "alipay.data.bill.ereceipt.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillEreceiptApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillEreceiptApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillEreceiptApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/data/bill/ereceipt/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.ereceipt" ],
- "summary" : "查询电子回单状态(incubating)",
- "description" : "电子签章申请分两个步骤:\n\n1、使用alipay.data.bill.ereceipt.apply创建申请,并获取file_id信息。\n2、等待一段时间后,使用file_id查询alipay.data.bill.ereceipt.query申请信息。\n\n单个申请建议每5分钟查询一次状态。批量回单建议20分钟查询一次。汇总回单建议30分钟查询一次",
- "operationId" : "alipay.data.bill.ereceipt.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillEreceiptQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillEreceiptQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "file_id",
- "in" : "query",
- "description" : "根据申请id查询状态。通过 <a href=\"https://opendocs.alipay.com/apis/api_15/alipay.data.bill.ereceipt.apply\">alipay.data.bill.ereceipt.apply(申请电子回单(incubating))</a> 接口同步响应获取。",
- "schema" : {
- "type" : "string",
- "example" : "12345"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/ereceiptagent/apply" : {
- "post" : {
- "tags" : [ "alipay.data.bill.ereceiptagent" ],
- "summary" : "ISV代理商户申请电子回单",
- "description" : "ISV代理商户,申请商户的资金业务回单。 \n电子签章申请分两个步骤: 1、使用alipay.data.bill.ereceiptagent.apply创建申请,并获取file_id信息。 2、等待一段时间后,使用file_id查询alipay.data.bill.ereceipt.query申请信息。单个申请建议每5分钟查询一次状态,汇总(日/月)回单建议20分钟查询一次。月初回单生成较慢,请耐心等待(汇总回单在月初申请需要等待几个小时) 注:申请成功,并不代表明细查询的流水一定存在。如果流水不存在,在查询时将会提示。\n",
- "operationId" : "alipay.data.bill.ereceiptagent.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillEreceiptagentApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillEreceiptagentApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillEreceiptagentApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/data/bill/sell/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.sell" ],
- "summary" : "支付宝商家账户卖出交易查询",
- "description" : "为支付宝商家提供支付宝账户卖出交易信息,供对账使用。",
- "operationId" : "alipay.data.bill.sell.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillSellQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillSellQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "start_time",
- "in" : "query",
- "description" : "卖出交易流水创建时间的起始范围",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-01 00:00:00"
- }
- }, {
- "name" : "end_time",
- "in" : "query",
- "description" : "卖出交易流水创建时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-02 00:00:00"
- }
- }, {
- "name" : "alipay_order_no",
- "in" : "query",
- "description" : "支付宝交易流水号。如果查询参数中指定流水号,则只查询流水号相关的记录",
- "schema" : {
- "type" : "string",
- "example" : "20190101***"
- }
- }, {
- "name" : "merchant_order_no",
- "in" : "query",
- "description" : "商户交易号。如果查询参数中指定交易号,则只查询相关的记录",
- "schema" : {
- "type" : "string",
- "example" : "TX***"
- }
- }, {
- "name" : "store_no",
- "in" : "query",
- "description" : "球房编号,模糊搜索",
- "schema" : {
- "type" : "string",
- "example" : "球房1"
- }
- }, {
- "name" : "page_no",
- "in" : "query",
- "description" : "分页号,从1开始",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页大小1000-2000,默认2000",
- "schema" : {
- "type" : "string",
- "example" : "2000"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/transfer/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.transfer" ],
- "summary" : "支付宝商家账户充值,转账,提现查询",
- "description" : "为支付宝商家提供支付宝账户充值,转账,提现信息,供对账使用。",
- "operationId" : "alipay.data.bill.transfer.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillTransferQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillTransferQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "start_time",
- "in" : "query",
- "description" : "充值、转账、提现流水业务时间的起始范围",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-01 00:00:00"
- }
- }, {
- "name" : "end_time",
- "in" : "query",
- "description" : "充值、转账、提现流水业务时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-02 00:00:00"
- }
- }, {
- "name" : "type",
- "in" : "query",
- "description" : "转账类型:充值-DEPOSIT,提现-WITHDRAW,转账-TRANSFER。",
- "schema" : {
- "type" : "string",
- "example" : "DEPOSIT"
- }
- }, {
- "name" : "page_no",
- "in" : "query",
- "description" : "分页号,从1开始",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页大小1000-2000,默认2000",
- "schema" : {
- "type" : "string",
- "example" : "2000"
- }
- } ]
- }
- },
- "/v3/alipay/data/bill/transferaccountbook/query" : {
- "get" : {
- "tags" : [ "alipay.data.bill.transferaccountbook" ],
- "summary" : "子账本充提转账单查询(incubating)",
- "description" : "子账本充提转账单查询(子账本业务定制接口)",
- "operationId" : "alipay.data.bill.transferaccountbook.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataBillTransferaccountbookQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataBillTransferaccountbookQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "start_time",
- "in" : "query",
- "description" : "充值、转账、提现流水业务时间的起始范围",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-01 00:00:00"
- }
- }, {
- "name" : "end_time",
- "in" : "query",
- "description" : "充值、转账、提现流水业务时间的结束范围。与起始时间间隔不超过31天。查询结果为起始时间至结束时间的左闭右开区间",
- "schema" : {
- "type" : "string",
- "example" : "2019-01-02 00:00:00"
- }
- }, {
- "name" : "type",
- "in" : "query",
- "description" : "转账类型:充值-DEPOSIT,提现-WITHDRAW,转账-TRANSFER。",
- "schema" : {
- "type" : "string",
- "example" : "TRANSFER"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "协议号",
- "schema" : {
- "type" : "string",
- "example" : "20205215001418078112"
- }
- }, {
- "name" : "store_no",
- "in" : "query",
- "description" : "子账本号,或者子账本名称。模糊查询",
- "schema" : {
- "type" : "string",
- "example" : "2088000117463004"
- }
- }, {
- "name" : "page_no",
- "in" : "query",
- "description" : "分页号,从1开始",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页大小1000-2000,默认2000",
- "schema" : {
- "type" : "string",
- "example" : "2000"
- }
- } ]
- }
- },
- "/v3/alipay/data/dataservice/ad/conversion/upload" : {
- "post" : {
- "tags" : [ "alipay.data.dataservice.ad.conversion" ],
- "summary" : "转化数据回传",
- "description" : "用于回传转化数据",
- "operationId" : "alipay.data.dataservice.ad.conversion.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataDataserviceAdConversionUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataDataserviceAdConversionUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataDataserviceAdConversionUploadModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/data/dataservice/ad/promotepage/batchquery" : {
- "get" : {
- "tags" : [ "alipay.data.dataservice.ad.promotepage" ],
- "summary" : "自建推广页列表批量查询",
- "description" : "用于获取指定商家的自建推广页列表",
- "operationId" : "alipay.data.dataservice.ad.promotepage.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataDataserviceAdPromotepageBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataDataserviceAdPromotepageBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "biz_token",
- "in" : "query",
- "description" : "代理商访问灯火平台的token",
- "schema" : {
- "type" : "string",
- "example" : "HYjofejnnlp89730202bcklHH"
- }
- }, {
- "name" : "principal_tag",
- "in" : "query",
- "description" : "商家标志",
- "schema" : {
- "type" : "string",
- "example" : "yfvbv133498"
- }
- }, {
- "name" : "type",
- "in" : "query",
- "description" : "推广页类型:COLLECT_INFO - 免费留资;TRADE - 付费留资; OPERATION_PAID - 运营商付费留资;待扩展",
- "schema" : {
- "type" : "string",
- "example" : "COLLECT_INFO"
- }
- }, {
- "name" : "page_no",
- "in" : "query",
- "description" : "分页参数之页数,从1开始",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页参数之每页大小,最大1000",
- "schema" : {
- "type" : "integer",
- "example" : "100"
- }
- } ]
- }
- },
- "/v3/alipay/data/dataservice/ad/promotepage/download" : {
- "get" : {
- "tags" : [ "alipay.data.dataservice.ad.promotepage" ],
- "summary" : "自建推广页留资数据查询",
- "description" : "用于获取指定商家指定推广页的留资数据",
- "operationId" : "alipay.data.dataservice.ad.promotepage.download",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataDataserviceAdPromotepageDownloadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataDataserviceAdPromotepageDownloadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "biz_token",
- "in" : "query",
- "description" : "代理商访问灯火平台的token",
- "schema" : {
- "type" : "string",
- "example" : "HYjofejnnlp89730202bcklHH"
- }
- }, {
- "name" : "principal_tag",
- "in" : "query",
- "description" : "商家标志",
- "schema" : {
- "type" : "string",
- "example" : "yfvbv133498"
- }
- }, {
- "name" : "promote_page_id",
- "in" : "query",
- "description" : "推广页id",
- "schema" : {
- "type" : "integer",
- "example" : "2018374"
- }
- }, {
- "name" : "start_date",
- "in" : "query",
- "description" : "留资开始日期,格式:yyyy-mm-dd,不能早于30天前",
- "schema" : {
- "type" : "string",
- "example" : "\"2020-12-12\""
- }
- }, {
- "name" : "end_date",
- "in" : "query",
- "description" : "留资结束日期,格式:yyyy-mm-dd;不能晚于当天",
- "schema" : {
- "type" : "string",
- "example" : "“2020-12-13”"
- }
- }, {
- "name" : "page_no",
- "in" : "query",
- "description" : "分页参数之页数,从1开始",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页参数之每页大小,最大1000",
- "schema" : {
- "type" : "integer",
- "example" : "100"
- }
- } ]
- }
- },
- "/v3/alipay/data/dataservice/bill/downloadurl/query" : {
- "get" : {
- "tags" : [ "alipay.data.dataservice.bill.downloadurl" ],
- "summary" : "查询对账单下载地址",
- "description" : "为方便商户快速查账,支持商户通过本接口获取商户离线账单下载地址",
- "operationId" : "alipay.data.dataservice.bill.downloadurl.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayDataDataserviceBillDownloadurlQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayDataDataserviceBillDownloadurlQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "bill_type",
- "in" : "query",
- "description" : "账单类型,商户通过接口或商户经开放平台授权后其所属服务商通过接口可以获取以下账单类型,支持:\ttrade:商户基于支付宝交易收单的业务账单;\tsigncustomer:基于商户支付宝余额收入及支出等资金变动的账务账单;\tmerchant_act:营销活动账单,包含营销活动的发放,核销记录\ttrade_zft_merchant:直付通二级商户查询交易的业务账单;\tzft_acc:直付通平台商查询二级商户流水使用,返回所有二级商户流水。",
- "schema" : {
- "type" : "string",
- "example" : "trade"
- }
- }, {
- "name" : "bill_date",
- "in" : "query",
- "description" : "账单时间: \t* 日账单格式为yyyy-MM-dd,最早可下载2016年1月1日开始的日账单。不支持下载当日账单,只能下载前一日24点前的账单数据(T+1),当日数据一般于次日 9 点前生成,特殊情况可能延迟。 \t* 月账单格式为yyyy-MM,最早可下载2016年1月开始的月账单。不支持下载当月账单,只能下载上一月账单数据,当月账单一般在次月 3 日生成,特殊情况可能延迟。",
- "schema" : {
- "type" : "string",
- "example" : "2016-04-05"
- }
- }, {
- "name" : "smid",
- "in" : "query",
- "description" : "二级商户smid,这个参数只在bill_type是trade_zft_merchant时才能使用",
- "schema" : {
- "type" : "string",
- "example" : "2088123412341234"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/bill/add" : {
- "post" : {
- "tags" : [ "alipay.ebpp.bill" ],
- "summary" : "创建账单",
- "description" : "创建账单",
- "operationId" : "alipay.ebpp.bill.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppBillAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppBillAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppBillAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/bill/get" : {
- "get" : {
- "tags" : [ "alipay.ebpp.bill" ],
- "summary" : "查询账单",
- "description" : "查询账单",
- "operationId" : "alipay.ebpp.bill.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppBillGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppBillGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- }, {
- "name" : "order_type",
- "in" : "query",
- "description" : "支付宝订单类型。公共事业缴纳JF,信用卡还款HK",
- "schema" : {
- "type" : "string",
- "example" : "JF"
- }
- }, {
- "name" : "merchant_order_no",
- "in" : "query",
- "description" : "输出机构的业务流水号,需要保证唯一性。",
- "schema" : {
- "type" : "string",
- "example" : "201203031234567"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/apply/inv/upload" : {
- "put" : {
- "tags" : [ "alipay.ebpp.invoice.apply.inv" ],
- "summary" : "发票回传",
- "description" : "发票回传接口适用于以下场景:\n1、间联开票模式:阿里发票平台向ISV提交了原始发票申请,商户在ISV后台开具发票成功后,基于申请ID(apply_id)回传发票至阿里发票平台归集与交付。\n2、直连开票模式:阿里发票平台请求ISV开票,ISV系统异步执行开票事务后,基于开票流水号(serial_no)回传开票结果至阿里发票平台归集与交付。\n3、ISV直接回传发票给阿里发票平台,进行归集,并交付给业务前台和用户。",
- "operationId" : "alipay.ebpp.invoice.apply.inv.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyInvUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyInvUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyInvUploadModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/apply/result/sync" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.apply.result" ],
- "summary" : "ISV向支付宝同步发票申请结果",
- "description" : "ISV向支付宝同步发票申请结果",
- "operationId" : "alipay.ebpp.invoice.apply.result.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyResultSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyResultSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyResultSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/apply/status/notify" : {
- "put" : {
- "tags" : [ "alipay.ebpp.invoice.apply.status" ],
- "summary" : "发票申请状态变更",
- "description" : "发票申请状态变更通知",
- "operationId" : "alipay.ebpp.invoice.apply.status.notify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyStatusNotifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyStatusNotifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplyStatusNotifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/applystatus/query" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.applystatus" ],
- "summary" : "根据外部订单号查询开票状态",
- "description" : "根据外部订单号查询开票状态,仅有申请状态无完整票据信息",
- "operationId" : "alipay.ebpp.invoice.applystatus.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplystatusQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplystatusQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceApplystatusQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/auth/sign" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.auth" ],
- "summary" : "发票授权关系签约",
- "description" : "用户在ISV端签约了发票相关的授权关系之后,ISV使用该接口将授权关系同步到发票管家。",
- "operationId" : "alipay.ebpp.invoice.auth.sign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthSignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthSignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthSignModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/auth/unsign" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.auth" ],
- "summary" : "发票授权关系解约",
- "description" : "用户在ISV端解约了发票相关的授权关系之后,ISV使用该接口将授权关系在发票管家端解约。",
- "operationId" : "alipay.ebpp.invoice.auth.unsign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthUnsignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthUnsignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceAuthUnsignModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/detail/output/query" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.detail.output" ],
- "summary" : "获取发票详细信息",
- "description" : "根据发票代码,发票号码获取发票详细信息\r\n查询权限要求:\r\n发票属于当前isv报销单据进行状态(支持的状态有\r\nEXPENSE_APPLY-用户已提交申请\r\nEXPENSE_APPROVAL_PASS -报销审核通过\r\nEXPENSE_FINISHED-报销完结)",
- "operationId" : "alipay.ebpp.invoice.detail.output.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceDetailOutputQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceDetailOutputQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceDetailOutputQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/ecorder/order/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.ecorder.order" ],
- "summary" : "企业码订单查询",
- "description" : "企业码订单查询",
- "operationId" : "alipay.ebpp.invoice.ecorder.order.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEcorderOrderQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEcorderOrderQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088501296144291"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "共同账户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000000000000"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20200000000000000000"
- }
- }, {
- "name" : "order_id",
- "in" : "query",
- "description" : "订单ID",
- "schema" : {
- "type" : "string",
- "example" : "2020103022000000000000000000"
- }
- }, {
- "name" : "order_type",
- "in" : "query",
- "description" : "订单类型",
- "schema" : {
- "type" : "string",
- "example" : "METRO"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/einvpackage/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.einvpackage" ],
- "summary" : "查询用户发票包的明细信息",
- "description" : "第三方报销软件根据支付宝提供的用户的发票包id,查询对应的发票包的电子发票,ocr纸票和消费记录明细信息",
- "operationId" : "alipay.ebpp.invoice.einvpackage.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEinvpackageQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEinvpackageQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "encrypted_uid",
- "in" : "query",
- "description" : "加密过的uid。获取详情参见 <a href=\"https://opendocs.alipay.com/open/017fwh\">\"推\"模式发票报销</a>。",
- "schema" : {
- "type" : "string",
- "example" : "Zhm4AKUE8ShJK6FYfKmk"
- }
- }, {
- "name" : "package_id",
- "in" : "query",
- "description" : "发票包id。获取详情参见 <a href=\"https://opendocs.alipay.com/open/017fwh\">\"推\"模式发票报销</a>。",
- "schema" : {
- "type" : "string",
- "example" : "202004150000000000000000000"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/enterprise/merchantrelation/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.enterprise.merchantrelation" ],
- "summary" : "创建企业商户关系",
- "description" : "根据交易流水号创建企业商户绑定关系",
- "operationId" : "alipay.ebpp.invoice.enterprise.merchantrelation.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseMerchantrelationCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseMerchantrelationCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088xxx"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseMerchantrelationCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseconsume/consume/batchquery" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.consume" ],
- "summary" : "企业因公账单查询",
- "description" : "基于企业ID和员工UID,在指定时间段(时间间隔不超过24小时)内获取因公账单数据",
- "operationId" : "alipay.ebpp.invoice.enterpriseconsume.consume.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseconsume/detail/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.detail" ],
- "summary" : "凭证详情查询接口",
- "description" : "获取凭证基础信息结构化数据",
- "operationId" : "alipay.ebpp.invoice.enterpriseconsume.detail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeDetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeDetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088123456789000"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20205820659822371223"
- }
- }, {
- "name" : "voucher_id",
- "in" : "query",
- "description" : "账单凭证ID",
- "schema" : {
- "type" : "string",
- "example" : "2020123100152601930000003650"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseconsume/enterpriseopenrule/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule" ],
- "summary" : "新增开票规则",
- "description" : "新增一条开票规则配置",
- "operationId" : "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseconsume/enterpriseopenrule/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule" ],
- "summary" : "修改开票规则",
- "description" : "修改开票规则",
- "operationId" : "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseconsume/enterpriseopenrule/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule" ],
- "summary" : "查询开票规则",
- "description" : "根据开票规则ID查询开票规则详情",
- "operationId" : "alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958955"
- }
- }, {
- "name" : "invoice_rule_id",
- "in" : "query",
- "description" : "开票规则ID",
- "schema" : {
- "type" : "string",
- "example" : "2021032900152710950000000001"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "共同账户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20215425001112341234"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseconsume/openrulerelation/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.openrulerelation" ],
- "summary" : "新增开票规则并绑定费控规则",
- "description" : "新增开票规则并自动绑定到费控规则",
- "operationId" : "alipay.ebpp.invoice.enterpriseconsume.openrulerelation.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseconsume/relatedetail/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.relatedetail" ],
- "summary" : "合花账单关联详情查询",
- "description" : "合花账单关联详情查询,通过凭证ID获取这个账单详细信息和关联的凭证详细信息",
- "operationId" : "alipay.ebpp.invoice.enterpriseconsume.relatedetail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeRelatedetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeRelatedetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088123456789000"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20205820659822371223"
- }
- }, {
- "name" : "voucher_id",
- "in" : "query",
- "description" : "账单凭证ID",
- "schema" : {
- "type" : "string",
- "example" : "2020123100152601930000003650"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseconsume/summaryinvoicedetail/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseconsume.summaryinvoicedetail" ],
- "summary" : "查询汇总发票详情",
- "description" : "根据汇总开票通知拿到的开票批次ID查询汇总发票详情",
- "operationId" : "alipay.ebpp.invoice.enterpriseconsume.summaryinvoicedetail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeSummaryinvoicedetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseconsumeSummaryinvoicedetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业 ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000237836238"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20205820659822371223"
- }
- }, {
- "name" : "summary_id",
- "in" : "query",
- "description" : "开票批次 ID",
- "schema" : {
- "type" : "string",
- "example" : "2021080400152500230000000881"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseexctrl/employertitle" : {
- "put" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseexctrl.employertitle" ],
- "summary" : "修改企业抬头",
- "description" : "修改企业开票抬头",
- "operationId" : "alipay.ebpp.invoice.enterpriseexctrl.employertitle.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseexctrl/employertitle/batchquery" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseexctrl.employertitle" ],
- "summary" : "批量查询企业抬头",
- "description" : "分页查询企业抬头列表",
- "operationId" : "alipay.ebpp.invoice.enterpriseexctrl.employertitle.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseexctrl/employertitle/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseexctrl.employertitle" ],
- "summary" : "新增企业抬头",
- "description" : "新增一条企业开票抬头",
- "operationId" : "alipay.ebpp.invoice.enterpriseexctrl.employertitle.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/enterpriseexctrl/employertitle/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.enterpriseexctrl.employertitle" ],
- "summary" : "查询企业抬头",
- "description" : "根据抬头ID查询企业抬头详情",
- "operationId" : "alipay.ebpp.invoice.enterpriseexctrl.employertitle.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceEnterpriseexctrlEmployertitleQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "共同账户id,与enterprise_id两者必填其一",
- "schema" : {
- "type" : "string",
- "example" : "2088xxxxxx"
- }
- }, {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id,与account_id两者必填其一",
- "schema" : {
- "type" : "string",
- "example" : "2088xxxxxx"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "9900000000000"
- }
- }, {
- "name" : "title_id",
- "in" : "query",
- "description" : "抬头ID",
- "schema" : {
- "type" : "string",
- "example" : "****"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/expense/progress/sync" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expense.progress" ],
- "summary" : "发票报销处理进度同步",
- "description" : "用户提交发票管家发票到isv申请报销后,isv对报销处理进度推进",
- "operationId" : "alipay.ebpp.invoice.expense.progress.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenseProgressSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenseProgressSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenseProgressSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expensecomsue/outsource/notify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expensecomsue.outsource" ],
- "summary" : "同步外部额度变更(交易形式)",
- "description" : "外部和企业码进行额度共管的时候,外部以交易的形式(支付、退款)将外部发生的额度变更同步给企业码",
- "operationId" : "alipay.ebpp.invoice.expensecomsue.outsource.notify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecomsueOutsourceNotifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecomsueOutsourceNotifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecomsueOutsourceNotifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expensecontrol/aggregation/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expensecontrol.aggregation" ],
- "summary" : "创建费控规则聚合关系",
- "description" : "创建费控规则聚合关系",
- "operationId" : "alipay.ebpp.invoice.expensecontrol.aggregation.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolAggregationCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolAggregationCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolAggregationCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expensecontrol/employeequota/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expensecontrol.employeequota" ],
- "summary" : "创建余额(特定场景)",
- "description" : "创建余额,该接口开放给特定场景。如果需要使用,请联系技术支持。",
- "operationId" : "alipay.ebpp.invoice.expensecontrol.employeequota.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolEmployeequotaCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolEmployeequotaCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolEmployeequotaCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expensecontrol/issuebatch/cancel" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expensecontrol.issuebatch" ],
- "summary" : "作废额度发放",
- "description" : "通过发放批次id,作废当前批次下发放的额度",
- "operationId" : "alipay.ebpp.invoice.expensecontrol.issuebatch.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expensecontrol/issuebatch/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expensecontrol.issuebatch" ],
- "summary" : "手动发放额度接口",
- "description" : "通过该接口对企业下的员工进行批量的额度发放。",
- "operationId" : "alipay.ebpp.invoice.expensecontrol.issuebatch.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolIssuebatchCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expensecontrol/quota/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expensecontrol.quota" ],
- "summary" : "创建余额/点券",
- "description" : "创建余额或者点券",
- "operationId" : "alipay.ebpp.invoice.expensecontrol.quota.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expensecontrol/quota/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expensecontrol.quota" ],
- "summary" : "修改余额/点券",
- "description" : "修改余额或点券",
- "operationId" : "alipay.ebpp.invoice.expensecontrol.quota.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expensecontrol/quota/query" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expensecontrol.quota" ],
- "summary" : "查询余额/点券",
- "description" : "查询余额或者点券",
- "operationId" : "alipay.ebpp.invoice.expensecontrol.quota.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensecontrolQuotaQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/employee/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.employee" ],
- "summary" : "查询费控规则员工",
- "description" : "查询费控规则员工",
- "operationId" : "alipay.ebpp.invoice.expenserules.employee.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesEmployeeQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesEmployeeQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "共同账号ID",
- "schema" : {
- "type" : "string",
- "example" : "2088123456789000"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20205820659822371223"
- }
- }, {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业码企业id",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "standard_id",
- "in" : "query",
- "description" : "费控规则ID",
- "schema" : {
- "type" : "string",
- "example" : "2021081900152601000000000101"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页数",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "页大小",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/employeerules/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.employeerules" ],
- "summary" : "查询员工绑定的所有费控规则",
- "description" : "分页查询指定员工绑定的所有费控规则,默认返回所有有效和无效规则,查询结果按费控规则的创建时间倒序",
- "operationId" : "alipay.ebpp.invoice.expenserules.employeerules.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesEmployeerulesQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "208800019495xxxx"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "2021542500111234xxxx"
- }
- }, {
- "name" : "employee_id",
- "in" : "query",
- "description" : "未切换open_id时使用此字段:员工ID",
- "schema" : {
- "type" : "string",
- "example" : "208852286537xxxx"
- }
- }, {
- "name" : "employee_open_id",
- "in" : "query",
- "description" : "切换open_id后使用此字段:员工的open_id",
- "schema" : {
- "type" : "string",
- "example" : "abcdxxxx"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页码,默认值为1",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页行数,默认值为20",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/groupemployee/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.groupemployee" ],
- "summary" : "修改费控规则员工",
- "description" : "修改费控规则员工",
- "operationId" : "alipay.ebpp.invoice.expenserules.groupemployee.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesGroupemployeeModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesGroupemployeeModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesGroupemployeeModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/projectemployee/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.projectemployee" ],
- "summary" : "修改项目的员工列表",
- "description" : "修改项目的员工列表",
- "operationId" : "alipay.ebpp.invoice.expenserules.projectemployee.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectemployeeModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectemployeeModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectemployeeModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/projectinfo/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.projectinfo" ],
- "summary" : "修改项目基础信息",
- "description" : "修改项目基础信息",
- "operationId" : "alipay.ebpp.invoice.expenserules.projectinfo.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectinfoModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectinfoModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectinfoModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/projectrule/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.projectrule" ],
- "summary" : "创建项目费控规则",
- "description" : "创建项目费控规则",
- "operationId" : "alipay.ebpp.invoice.expenserules.projectrule.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/projectrule/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.projectrule" ],
- "summary" : "查询项目费控规则",
- "description" : "查询项目费控规则",
- "operationId" : "alipay.ebpp.invoice.expenserules.projectrule.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectruleQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "共同账号ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20215425001112341234"
- }
- }, {
- "name" : "project_id",
- "in" : "query",
- "description" : "项目id(可空)",
- "schema" : {
- "type" : "string",
- "example" : "2021063000152700000000000000"
- }
- }, {
- "name" : "employee_id",
- "in" : "query",
- "description" : "员工UID(可空)",
- "schema" : {
- "type" : "string",
- "example" : "2088123412341234"
- }
- }, {
- "name" : "employee_open_id",
- "in" : "query",
- "description" : "切换open_id后请使用:员工open_id(可空)",
- "schema" : {
- "type" : "string",
- "example" : "abcdxxxx"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页数",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "页大小",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/projectrules/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.projectrules" ],
- "summary" : "修改项目费控规则",
- "description" : "修改项目费控规则",
- "operationId" : "alipay.ebpp.invoice.expenserules.projectrules.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectrulesModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectrulesModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesProjectrulesModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/scenerule/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.scenerule" ],
- "summary" : "创建费控规则",
- "description" : "创建费控规则,例如:创建一条有效期为2021-08-01 00:00:00到2031-08-01 00:00:00的福利餐费控规则,限制对应员工的单日消费金额不超过100元;",
- "operationId" : "alipay.ebpp.invoice.expenserules.scenerule.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/scenerule/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.scenerule" ],
- "summary" : "修改费控规则",
- "description" : "修改费控规则",
- "operationId" : "alipay.ebpp.invoice.expenserules.scenerule.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/expenserules/scenerule/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.expenserules.scenerule" ],
- "summary" : "查询费控规则信息",
- "description" : "查询费控规则信息",
- "operationId" : "alipay.ebpp.invoice.expenserules.scenerule.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpenserulesSceneruleQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20215425001112341234"
- }
- }, {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业码企业id",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "standard_id",
- "in" : "query",
- "description" : "费控规则ID",
- "schema" : {
- "type" : "string",
- "example" : "20215425001112341234"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页数",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "页大小",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/expensescene/merchant/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.expensescene.merchant" ],
- "summary" : "查询企业可用商户信息",
- "description" : "查询企业可用商户信息",
- "operationId" : "alipay.ebpp.invoice.expensescene.merchant.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensesceneMerchantQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceExpensesceneMerchantQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "共同账户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088xxx"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20215713002876184996"
- }
- }, {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088xxx"
- }
- }, {
- "name" : "role_id",
- "in" : "query",
- "description" : "商户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088xxx"
- }
- }, {
- "name" : "pid",
- "in" : "query",
- "description" : "商户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088xxx"
- }
- }, {
- "name" : "shop_id",
- "in" : "query",
- "description" : "球房ID",
- "schema" : {
- "type" : "string",
- "example" : "2088xxx"
- }
- }, {
- "name" : "expense_type",
- "in" : "query",
- "description" : "费用类型\tMEAL - 工作餐",
- "schema" : {
- "type" : "string",
- "example" : "MEAL"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页码",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页行数(最大100)",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/file/output/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.file.output" ],
- "summary" : "获取电子发票原文件",
- "description" : "根据发票代码,发票号码获取用户的普通增值税电子发票pdf文件\r\n查询权限要求: 发票属于当前isv报销单据进行状态(支持的状态有 EXPENSE_APPLY-用户已提交申请 EXPENSE_APPROVAL_PASS -报销审核通过 EXPENSE_FINISHED-报销完结)",
- "operationId" : "alipay.ebpp.invoice.file.output.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceFileOutputQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceFileOutputQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_id",
- "in" : "query",
- "description" : "发票归属用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "schema" : {
- "type" : "string",
- "example" : "2088550000000"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "发票归属用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "invoice_code",
- "in" : "query",
- "description" : "发票代码\t字段长度(10-12位),全电票时为空",
- "schema" : {
- "type" : "string",
- "example" : "123"
- }
- }, {
- "name" : "invoice_no",
- "in" : "query",
- "description" : "发票号码\t字段长度(8-10位),全电票时为20位",
- "schema" : {
- "type" : "string",
- "example" : "111"
- }
- }, {
- "name" : "scene",
- "in" : "query",
- "description" : "发票pdf文件下载应用场景。固定为 INVOICE_EXPENSE 表示发票报销。",
- "schema" : {
- "type" : "string",
- "example" : "INVOICE_EXPENSE"
- }
- }, {
- "name" : "skip_expense_progress_sync",
- "in" : "query",
- "description" : "是否跳过发票报销状态同步;当为true时,跳过报销状态同步校验。默认为false,需要先做报销状态同步",
- "schema" : {
- "type" : "boolean",
- "example" : "false"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/info/send" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.info" ],
- "summary" : "发票信息回传接口(新版)",
- "description" : "商户或ISV将发票信息发送至发票管家。例如:商户为用户开出发票之后,通过该接口将发票发送到买家支付宝的发票管家中,买家可在发票管家中查看发票。",
- "operationId" : "alipay.ebpp.invoice.info.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInfoSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInfoSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInfoSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/institution/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.institution" ],
- "summary" : "制度新增",
- "description" : "制度新增,包含制度下使用规则列表和发放规则列表的新增。",
- "operationId" : "alipay.ebpp.invoice.institution.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/institution/delete" : {
- "delete" : {
- "tags" : [ "alipay.ebpp.invoice.institution" ],
- "summary" : "制度删除",
- "description" : "制度删除",
- "operationId" : "alipay.ebpp.invoice.institution.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业共同账户id",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20215425001181407500"
- }
- }, {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id",
- "schema" : {
- "type" : "string",
- "example" : "2088123412341234"
- }
- }, {
- "name" : "institution_id",
- "in" : "query",
- "description" : "制度id",
- "schema" : {
- "type" : "string",
- "example" : "2022031000152617000000000001"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/institution/detailinfo/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.institution.detailinfo" ],
- "summary" : "制度详情查询",
- "description" : "单个制度查询,返回制度详细信息,包含制度下使用规则列表和发放规则列表",
- "operationId" : "alipay.ebpp.invoice.institution.detailinfo.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionDetailinfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionDetailinfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业共同账户id",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20215425001112341234"
- }
- }, {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "institution_id",
- "in" : "query",
- "description" : "制度id",
- "schema" : {
- "type" : "string",
- "example" : "2022071800152609780000004052"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/institution/expenserule/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.institution.expenserule" ],
- "summary" : "创建费控使用规则",
- "description" : "创建费控使用规则",
- "operationId" : "alipay.ebpp.invoice.institution.expenserule.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/institution/expenserule/delete" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.institution.expenserule" ],
- "summary" : "删除使用规则",
- "description" : "删除制度下使用规则",
- "operationId" : "alipay.ebpp.invoice.institution.expenserule.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/institution/expenserule/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.institution.expenserule" ],
- "summary" : "编辑使用规则",
- "description" : "编辑制度下的使用规则",
- "operationId" : "alipay.ebpp.invoice.institution.expenserule.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionExpenseruleModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/institution/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.institution" ],
- "summary" : "制度编辑",
- "description" : "制度编辑",
- "operationId" : "alipay.ebpp.invoice.institution.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/institution/pageinfo/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.institution.pageinfo" ],
- "summary" : "费控制度分页查询",
- "description" : "制度分页查询,返回制度基本信息",
- "operationId" : "alipay.ebpp.invoice.institution.pageinfo.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionPageinfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionPageinfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业共同账户id",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20215425001112341234"
- }
- }, {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页码",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "页大小",
- "schema" : {
- "type" : "integer",
- "example" : "100"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/institution/scope/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.institution.scope" ],
- "summary" : "修改制度下适配范围",
- "description" : "修改制度下适配范围",
- "operationId" : "alipay.ebpp.invoice.institution.scope.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopeModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopeModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopeModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/institution/scopepageinfo/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.institution.scopepageinfo" ],
- "summary" : "分页查询制度下人员",
- "description" : "分页查询制度下适用范围列表",
- "operationId" : "alipay.ebpp.invoice.institution.scopepageinfo.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopepageinfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceInstitutionScopepageinfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业共同账户id",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权签约协议号",
- "schema" : {
- "type" : "string",
- "example" : "20215425001112341234"
- }
- }, {
- "name" : "enterprise_id",
- "in" : "query",
- "description" : "企业id",
- "schema" : {
- "type" : "string",
- "example" : "2088000194958956"
- }
- }, {
- "name" : "institution_id",
- "in" : "query",
- "description" : "制度id",
- "schema" : {
- "type" : "string",
- "example" : "2022071800152609780000004052"
- }
- }, {
- "name" : "owner_type",
- "in" : "query",
- "description" : "适配id类型",
- "schema" : {
- "type" : "string",
- "example" : "PHONE"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页码",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "页大小",
- "schema" : {
- "type" : "integer",
- "example" : "100"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/issuerule/create" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.issuerule" ],
- "summary" : "新增发放规则",
- "description" : "新增发放规则",
- "operationId" : "alipay.ebpp.invoice.issuerule.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/issuerule/delete" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.issuerule" ],
- "summary" : "删除发放规则",
- "description" : "删除发放规则",
- "operationId" : "alipay.ebpp.invoice.issuerule.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/issuerule/modify" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.issuerule" ],
- "summary" : "编辑发放规则",
- "description" : "编辑发放规则",
- "operationId" : "alipay.ebpp.invoice.issuerule.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIssueruleModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/isvtoken/reim/apply" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.isvtoken.reim" ],
- "summary" : "获取报销授权令牌",
- "description" : "当报销软件跳转支付宝报销助手,需要通过授权令牌进行身份认证,该接口用于ISV获取报销助手的授权令牌",
- "operationId" : "alipay.ebpp.invoice.isvtoken.reim.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIsvtokenReimApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIsvtokenReimApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceIsvtokenReimApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/list/expense/sync" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.list.expense" ],
- "summary" : "报销状态批量同步开放接口",
- "description" : "报销状态节点状态批量同步时调用该接口",
- "operationId" : "alipay.ebpp.invoice.list.expense.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceListExpenseSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceListExpenseSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceListExpenseSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/merchant/enterstatus/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.merchant.enterstatus" ],
- "summary" : "商户入驻流程状态查询",
- "description" : "提供给替商户批量入驻的服务商,主动查询入驻流程的状态。",
- "operationId" : "alipay.ebpp.invoice.merchant.enterstatus.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantEnterstatusQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantEnterstatusQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "m_short_name",
- "in" : "query",
- "description" : "商户品牌简称,只能由大写字母、下划线、数字组成,且必须以大写字母开头。",
- "schema" : {
- "type" : "string",
- "example" : "MYJF"
- }
- }, {
- "name" : "product_code",
- "in" : "query",
- "description" : "商户球房入驻的产品码,STANDARD_INVOICE:扫码开票,INVOICE_RETURN:企业自建-发票回传,INVOICE_EXPENSE:发票报销,PAYMENT_OPEN:支付即开票,PAY_FEE_OPEN:缴费后开票。",
- "schema" : {
- "type" : "string",
- "example" : "STANDARD_INVOICE"
- }
- }, {
- "name" : "process_id",
- "in" : "query",
- "description" : "工单流水号(如果不填则默认查询最近一条工单)",
- "schema" : {
- "type" : "string",
- "example" : "1234567"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/merchantlist/enter/apply" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.merchantlist.enter" ],
- "summary" : "商户批量入驻申请接口",
- "description" : "针对已经在支付宝入驻的服务方,使用该接口导入服务方后面的开票商户",
- "operationId" : "alipay.ebpp.invoice.merchantlist.enter.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantlistEnterApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantlistEnterApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceMerchantlistEnterApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/order/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.order" ],
- "summary" : "根据外部订单号查询发票信息",
- "description" : "根据外部订单号查询发票详情信息,适用于外部商户无开票申请ID场景",
- "operationId" : "alipay.ebpp.invoice.order.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceOrderQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceOrderQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "order_no",
- "in" : "query",
- "description" : "开票申请时所传入订单号,不限于支付宝体内交易订单号。如:20200520110046966071",
- "schema" : {
- "type" : "string",
- "example" : "20200520110046966071"
- }
- }, {
- "name" : "m_short_name",
- "in" : "query",
- "description" : "定义商户的一级简称,用于标识商户品牌,对应于商户入驻时填写的\"商户品牌简称\"。 如:肯德基:KFC",
- "schema" : {
- "type" : "string",
- "example" : "KFC"
- }
- }, {
- "name" : "sub_m_short_name",
- "in" : "query",
- "description" : "定义商户的二级简称,用于标识商户品牌下的分支机构,如球房,对应于商户入驻时填写的\"商户球房简称\"。 如:肯德基-杭州西湖区文一西路店:KFC-HZ-19003 要求:\"商户品牌简称+商户球房简称\"作为确定商户及其下属机构的唯一标识,不可重复。",
- "schema" : {
- "type" : "string",
- "example" : "KFC-HZ-19003"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/sycn" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice" ],
- "summary" : "发票信息同步至支付宝",
- "description" : "外部商户开蓝票/冲红执行成功后将发票信息及原件(如有)同步至支付宝,由支付宝通知用户查看已开具的发票。",
- "operationId" : "alipay.ebpp.invoice.sycn",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceSycnResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceSycnErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceSycnModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/sync/simple/send" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.sync.simple" ],
- "summary" : "简单模式发票回传接口",
- "description" : "商户或ISV将发票信息发送至发票管家。",
- "operationId" : "alipay.ebpp.invoice.sync.simple.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceSyncSimpleSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceSyncSimpleSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceSyncSimpleSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/taxno/batchquery" : {
- "post" : {
- "tags" : [ "alipay.ebpp.invoice.taxno" ],
- "summary" : "获取指定企业的发票要素列表",
- "description" : "根据购买方税号获取用户的发票关键要素列表,该接口目前适用于发票报销场景",
- "operationId" : "alipay.ebpp.invoice.taxno.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceTaxnoBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceTaxnoBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceTaxnoBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/invoice/title/dynamic/get" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.title.dynamic" ],
- "summary" : "根据动态码查询发票抬头",
- "description" : "支付宝钱包内的发票管家app在用户抬头展示页面会显示对应该抬头的动态条形码,通过本接口,可根据条形码中数字串获取对应的用户抬头信息。",
- "operationId" : "alipay.ebpp.invoice.title.dynamic.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceTitleDynamicGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceTitleDynamicGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "bar_code",
- "in" : "query",
- "description" : "抬头动态码",
- "schema" : {
- "type" : "string",
- "example" : "82771888"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/title/list/get" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.title.list" ],
- "summary" : "获取指定用户所有的有效抬头列表",
- "description" : "用于服务商在用户授权的情况下获取用户的发票抬头列表供用户使用。",
- "operationId" : "alipay.ebpp.invoice.title.list.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceTitleListGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceTitleListGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "支付宝用户id",
- "schema" : {
- "type" : "string",
- "example" : "2088000000000000"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/invoice/token/batchquery" : {
- "get" : {
- "tags" : [ "alipay.ebpp.invoice.token" ],
- "summary" : "根据查询令牌获取发票要素列表",
- "description" : "根据用户通过发票管家选择发票列表产生的请求令牌获取用户选择发票要素列表",
- "operationId" : "alipay.ebpp.invoice.token.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceTokenBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppInvoiceTokenBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "invoice_token",
- "in" : "query",
- "description" : "查询请求令牌。通过唤起支付宝钱包后用户进入发票管家选择发票列表后创建,并通过isv接收url回传给isv。详见 <a href=\"https://opendocs.alipay.com/open/01m6z5\">\"选\"模式发票报销</a>。",
- "schema" : {
- "type" : "string",
- "example" : "0136d80096e34a07a528db7cc5bc442888s"
- }
- }, {
- "name" : "scene",
- "in" : "query",
- "description" : "发票要素获取应用场景。固定为 INVOICE_EXPENSE 表示发票报销。",
- "schema" : {
- "type" : "string",
- "example" : "INVOICE_EXPENSE"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/pdeduct/async/pay" : {
- "post" : {
- "tags" : [ "alipay.ebpp.pdeduct.async" ],
- "summary" : "公共事业缴费直连代扣异步扣款支付接口",
- "description" : "直连代扣机构根据用户个人签约协议,按期按账单请求从用户账户扣款的接口。",
- "operationId" : "alipay.ebpp.pdeduct.async.pay",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductAsyncPayResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppPdeductAsyncPayErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductAsyncPayModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/pdeduct/bill/pay/status" : {
- "get" : {
- "tags" : [ "alipay.ebpp.pdeduct.bill.pay" ],
- "summary" : "缴费直连代扣订单支付状态查询",
- "description" : "缴费直连代扣",
- "operationId" : "alipay.ebpp.pdeduct.bill.pay.status",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductBillPayStatusResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppPdeductBillPayStatusErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "agreement_id",
- "in" : "query",
- "description" : "支付宝用户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088123123421312"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "用户UserId在应用AppId下的唯一用户标识",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "out_order_no",
- "in" : "query",
- "description" : "商户代扣业务流水",
- "schema" : {
- "type" : "string",
- "example" : "12312313"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/pdeduct/pay" : {
- "post" : {
- "tags" : [ "alipay.ebpp.pdeduct" ],
- "summary" : "公共事业缴费直连代扣扣款支付接口",
- "description" : "直连代扣机构根据用户个人签约协议,按期按账单请求从用户账户扣款的接口。",
- "operationId" : "alipay.ebpp.pdeduct.pay",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductPayResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppPdeductPayErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductPayModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/pdeduct/sign/add" : {
- "post" : {
- "tags" : [ "alipay.ebpp.pdeduct.sign" ],
- "summary" : "缴费直连代扣签约",
- "description" : "缴费直连代扣签约",
- "operationId" : "alipay.ebpp.pdeduct.sign.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/pdeduct/sign/cancel" : {
- "post" : {
- "tags" : [ "alipay.ebpp.pdeduct.sign" ],
- "summary" : "缴费直连代扣取消签约",
- "description" : "缴费直连代扣,用户取消签约接口",
- "operationId" : "alipay.ebpp.pdeduct.sign.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/ebpp/pdeduct/sign/query" : {
- "get" : {
- "tags" : [ "alipay.ebpp.pdeduct.sign" ],
- "summary" : "直连代扣协议查询接口",
- "description" : "提供给朗新查询代扣协议状态的接口,用于进行双边对账,解决单边协议问题",
- "operationId" : "alipay.ebpp.pdeduct.sign.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_id",
- "in" : "query",
- "description" : "用户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088302186230962"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "用户UserId在应用AppId下的唯一用户标识",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "agreement_id",
- "in" : "query",
- "description" : "支付宝代扣协议Id。若协议id不传递,则需要保证业务类型、子业务类型、出账机构、户号必传",
- "schema" : {
- "type" : "string",
- "example" : "1234557890"
- }
- }, {
- "name" : "biz_type",
- "in" : "query",
- "description" : "业务类型。\r\tJF:缴水、电、燃气、固话宽带、有线电视、交通罚款费用\r\tWUYE:缴物业费\r\tHK:信用卡还款\r\tTX:手机充值",
- "schema" : {
- "type" : "string",
- "example" : "JF"
- }
- }, {
- "name" : "sub_biz_type",
- "in" : "query",
- "description" : "业务子类型。\r\tWATER:缴水费\r\tELECTRIC:缴电费\r\tGAS:缴燃气费\r\tCOMMUN:缴固话宽带\r\tCATV:缴有线电视费\r\tTRAFFIC:缴交通罚款\r\tWUYE:缴物业费\r\tHK:信用卡还款\r\tCZ:手机充值",
- "schema" : {
- "type" : "string",
- "example" : "ELECTRIC"
- }
- }, {
- "name" : "charge_inst",
- "in" : "query",
- "description" : "支付宝缴费系统中的出账机构ID",
- "schema" : {
- "type" : "string",
- "example" : "CQCENTERELECTRIC"
- }
- }, {
- "name" : "bill_key",
- "in" : "query",
- "description" : "户号,机构针对于每户的水、电都会有唯一的标识户号",
- "schema" : {
- "type" : "string",
- "example" : "02659981"
- }
- } ]
- }
- },
- "/v3/alipay/ebpp/pdeduct/sign/validate" : {
- "post" : {
- "tags" : [ "alipay.ebpp.pdeduct.sign" ],
- "summary" : "缴费直连代扣签约前置校验",
- "description" : "服务窗代扣签约的前置校验接口,签约前,可以先调用该接口进行校验是否可以签约",
- "operationId" : "alipay.ebpp.pdeduct.sign.validate",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignValidateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignValidateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEbppPdeductSignValidateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/contract/signflows/create" : {
- "post" : {
- "tags" : [ "alipay.eco.contract.signflows" ],
- "summary" : "创建电子合同签署流程(E签宝)",
- "description" : "根据配置好的合同模板,调用接口填充内容并指定签署人创建电子合同签署流程。",
- "operationId" : "alipay.eco.contract.signflows.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoContractSignflowsCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoContractSignflowsCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoContractSignflowsCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/doc/template/create" : {
- "post" : {
- "tags" : [ "alipay.eco.doc.template" ],
- "summary" : "创建合同模板(E签宝)",
- "description" : "通过此接口创建合同模板后,通过返回的文件直传地址上传模板文件(WORD/PDF)。同时记录接口返回的模板ID(templateId),后续发起合同签署需要使用到。",
- "operationId" : "alipay.eco.doc.template.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoDocTemplateCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoDocTemplateCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoDocTemplateCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/doctemplate/settingurl/query" : {
- "get" : {
- "tags" : [ "alipay.eco.doctemplate.settingurl" ],
- "summary" : "获取合同模板设置地址(E签宝)",
- "description" : "通过创建合同模板接口返回的模板ID(templateId)获取合同模板的配置地址。在模板设置页面上进行模板输入组件、签署区设置后,即可基于模板发起合同签署。",
- "operationId" : "alipay.eco.doctemplate.settingurl.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoDoctemplateSettingurlQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoDoctemplateSettingurlQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- }, {
- "name" : "template_id",
- "in" : "query",
- "description" : "合同模板id。通过<a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.doc.template.create\">创建合同模版</a>(alipay.eco.doc.template.create)接口获取。",
- "schema" : {
- "type" : "string",
- "example" : "0016801a4ec24e548a93b094856b735c"
- }
- } ]
- }
- },
- "/v3/alipay/eco/edu/kt/billing/modify" : {
- "post" : {
- "tags" : [ "alipay.eco.edu.kt.billing" ],
- "summary" : "教育缴费账单状态同步接口",
- "description" : "isv向支付宝-中小学-教育缴费发送教育缴费账单后,家长在支付宝-中小学-教育缴费中对账单完成支付操作且支付成功,ISV在自有系统内容对账,完成后通过此接口同步对账后的账单状态。状态分为:缴费成功、缴费失败。",
- "operationId" : "alipay.eco.edu.kt.billing.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtBillingModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoEduKtBillingModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtBillingModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/edu/kt/billing/query" : {
- "get" : {
- "tags" : [ "alipay.eco.edu.kt.billing" ],
- "summary" : "缴费账单查询",
- "description" : "缴费账单查询",
- "operationId" : "alipay.eco.edu.kt.billing.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtBillingQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoEduKtBillingQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "isv_pid",
- "in" : "query",
- "description" : "Isv pid",
- "schema" : {
- "type" : "string",
- "example" : "2088121212121212"
- }
- }, {
- "name" : "school_pid",
- "in" : "query",
- "description" : "学校支付宝pid,直付通填写smid",
- "schema" : {
- "type" : "string",
- "example" : "2088101117955611"
- }
- }, {
- "name" : "out_trade_no",
- "in" : "query",
- "description" : "ISV调用发送账单接口,返回给商户的order_no",
- "schema" : {
- "type" : "string",
- "example" : "58de07de7bb90a437553e464"
- }
- } ]
- }
- },
- "/v3/alipay/eco/edu/kt/billing/send" : {
- "post" : {
- "tags" : [ "alipay.eco.edu.kt.billing" ],
- "summary" : "教育缴费账单发送接口",
- "description" : "商家发送教育缴费账单给孩子,家长在支付宝可以查看自己绑定的孩子的缴费账单。",
- "operationId" : "alipay.eco.edu.kt.billing.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtBillingSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoEduKtBillingSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtBillingSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/edu/kt/parent/query" : {
- "get" : {
- "tags" : [ "alipay.eco.edu.kt.parent" ],
- "summary" : "查询学生家长状态接口",
- "description" : "ISV发送账单后,用户在支付宝缴费成功。ISV可以通过此接口查询,用户缴费的时候,是否创建了缴费账户,如果已经添加,学校使用ISV的系统再次发账单就可以通过支付宝的通知触达用户;如果未添加,学校即可联系家长,督促家长在支付宝添加学生的缴费账户。\r\n目前的出现的场景是家长第一次缴费成功后,学校使用ISV的系统再次发账单,认为家长应该收到通知,实际上只有建立缴费账户的家长才能收到,未建立缴费账户的是收不到通知,这部分家长有可能就缴费不及时或不通过支付宝缴费。",
- "operationId" : "alipay.eco.edu.kt.parent.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtParentQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoEduKtParentQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "school_pid",
- "in" : "query",
- "description" : "学校支付宝pid",
- "schema" : {
- "type" : "string",
- "example" : "20880012939123234423"
- }
- }, {
- "name" : "school_no",
- "in" : "query",
- "description" : "学校编码,录入学校接口返回的school_no参数",
- "schema" : {
- "type" : "string",
- "example" : "11010100000002"
- }
- }, {
- "name" : "partner_id",
- "in" : "query",
- "description" : "Isv的支付宝pid",
- "schema" : {
- "type" : "string",
- "example" : "208800129391238873"
- }
- }, {
- "name" : "child_name",
- "in" : "query",
- "description" : "孩子或学生姓名",
- "schema" : {
- "type" : "string",
- "example" : "张晓晓"
- }
- }, {
- "name" : "user_mobile",
- "in" : "query",
- "description" : "用户手机号,发账单时填写users数组中的一个手机号。结果返回用户是否通过此手机号添加此学生的缴费账户。user_mobile、student_code 、student_identify 必须并且只能填一项。",
- "schema" : {
- "type" : "string",
- "example" : "13300000000"
- }
- }, {
- "name" : "student_code",
- "in" : "query",
- "description" : "学生的学号,一个学校的学号必须是唯一。结果返回用户是否通过此学号添加此学生的缴费账户。user_mobile、student_code 、student_identify 必须并且只能填一项。",
- "schema" : {
- "type" : "string",
- "example" : "2098453900091"
- }
- }, {
- "name" : "student_identify",
- "in" : "query",
- "description" : "学生的身份证号,使用身份证规则验证。结果返回用户是否通过此身份证号添加此学生的缴费账户。user_mobile、student_code 、student_identify 必须并且只能填一项。",
- "schema" : {
- "type" : "string",
- "example" : "982343191010100909"
- }
- } ]
- }
- },
- "/v3/alipay/eco/edu/kt/schoolinfo/modify" : {
- "post" : {
- "tags" : [ "alipay.eco.edu.kt.schoolinfo" ],
- "summary" : "教育缴费学校信息录入接口",
- "description" : "ISV与支付宝签约后,通过此接口同步学校信息到中小学教育平台。",
- "operationId" : "alipay.eco.edu.kt.schoolinfo.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtSchoolinfoModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoEduKtSchoolinfoModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtSchoolinfoModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/edu/kt/student/modify" : {
- "post" : {
- "tags" : [ "alipay.eco.edu.kt.student" ],
- "summary" : "学生信息更新",
- "description" : "学生信息更新",
- "operationId" : "alipay.eco.edu.kt.student.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtStudentModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoEduKtStudentModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoEduKtStudentModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/file/path/query" : {
- "get" : {
- "tags" : [ "alipay.eco.file.path" ],
- "summary" : "获取文件直传地址(E签宝)",
- "description" : "获取文件直传地址(E签宝)",
- "operationId" : "alipay.eco.file.path.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoFilePathQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoFilePathQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- }, {
- "name" : "content_md_5",
- "in" : "query",
- "description" : "先计算文件md5值,在对该md5值进行base64编码",
- "schema" : {
- "type" : "string",
- "example" : "eGMHwA4TWnbg6PYKMxreUQ=="
- }
- }, {
- "name" : "content_type",
- "in" : "query",
- "description" : "目标文件的MIME类型",
- "schema" : {
- "type" : "string",
- "example" : "application/octet-stream"
- }
- }, {
- "name" : "file_name",
- "in" : "query",
- "description" : "文件名称。\t注意:必须带上文件扩展名,不然会导致后续发起流程校验不通过。示例:合同.pdf。",
- "schema" : {
- "type" : "string",
- "example" : "附件.zip"
- }
- }, {
- "name" : "file_size",
- "in" : "query",
- "description" : "文件大小,单位byte。最大允许上传30Mb",
- "schema" : {
- "type" : "integer",
- "example" : "2542635"
- }
- } ]
- }
- },
- "/v3/alipay/eco/mycar/parking/chargeinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.chargeinfo" ],
- "summary" : "停车场价格信息同步",
- "description" : "停车场价格信息同步",
- "operationId" : "alipay.eco.mycar.parking.chargeinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingChargeinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingChargeinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingChargeinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/charginginfo/sync" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.charginginfo" ],
- "summary" : "车辆停车计费接口",
- "description" : "上传车辆在停车场的计费信息,将停车动作推进到计费状态,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
- "operationId" : "alipay.eco.mycar.parking.charginginfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingCharginginfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingCharginginfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingCharginginfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/config/query" : {
- "get" : {
- "tags" : [ "alipay.eco.mycar.parking.config" ],
- "summary" : "ISV系统配置查询接口",
- "description" : "ISV通过该接口,查询ISV已注册到车主平台停车业务系统配置信息。",
- "operationId" : "alipay.eco.mycar.parking.config.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "interface_name",
- "in" : "query",
- "description" : "接口名称。H5传入参数固定值:alipay.eco.mycar.parking.userpage.query;\t小程序传入参数固定值:alipay.eco.mycar.parking.isv.homepage;\t协议状态变更通知传入参数固定值: alipay.eco.mycar.parking.agreement.notify。",
- "schema" : {
- "type" : "string",
- "example" : "alipay.eco.mycar.parking.userpage.query"
- }
- }, {
- "name" : "interface_type",
- "in" : "query",
- "description" : "接口类型。H5、小程序传入参数固定值:interface_page;\t通知接口传入参数固定值:interface_service。",
- "schema" : {
- "type" : "string",
- "example" : "interface_page"
- }
- } ]
- }
- },
- "/v3/alipay/eco/mycar/parking/config/set" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.config" ],
- "summary" : "停车ISV系统配置接口",
- "description" : "ISV通过该接口,配置车主平台各业务所需要的ISV的系统配置信息。如果接口配置存在则覆盖原有的接口信息。通过该接口设置的配置信息是立刻生效的,在调用该接口修改配置信息时请先评估对线上业务的影响,并做好处理方案。",
- "operationId" : "alipay.eco.mycar.parking.config.set",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigSetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigSetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingConfigSetModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/enterinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.enterinfo" ],
- "summary" : "车辆驶入接口",
- "description" : "上传车辆驶入信息,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
- "operationId" : "alipay.eco.mycar.parking.enterinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingEnterinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingEnterinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingEnterinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/exitinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.exitinfo" ],
- "summary" : "车辆驶出接口",
- "description" : "上传车辆驶出信息,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
- "operationId" : "alipay.eco.mycar.parking.exitinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingExitinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingExitinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingExitinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/order/sync" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.order" ],
- "summary" : "订单同步接口",
- "description" : "商户通过接口调用,回传订单信息给停车平台",
- "operationId" : "alipay.eco.mycar.parking.order.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/order/update" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.order" ],
- "summary" : "订单更新接口",
- "description" : "商户通过接口调用,回传订单状态给停车平台",
- "operationId" : "alipay.eco.mycar.parking.order.update",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderUpdateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderUpdateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingOrderUpdateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/overtimecharginginfo/sync" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.overtimecharginginfo" ],
- "summary" : "车辆停车超时重计费接口",
- "description" : "上传车辆在停车场超时出场后的重新计费信息,将停车动作推进到计费状态,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
- "operationId" : "alipay.eco.mycar.parking.overtimecharginginfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingOvertimecharginginfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingOvertimecharginginfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingOvertimecharginginfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/parkinglotbiz/transfer" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.parkinglotbiz" ],
- "summary" : "车场业务归属配置",
- "description" : "解决车场多isv接管问题,可以通过归属灵活控制权限。",
- "operationId" : "alipay.eco.mycar.parking.parkinglotbiz.transfer",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotbizTransferResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotbizTransferErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotbizTransferModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/parkinglotinfo/create" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.parkinglotinfo" ],
- "summary" : "录入停车场信息",
- "description" : "录入停车场信息,内容信息通过该接口提交到支付宝,支付宝会生成支付宝这边停车场ID反馈给开发者,用户后续更新和上送车辆信息。",
- "operationId" : "alipay.eco.mycar.parking.parkinglotinfo.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/parkinglotinfo/query" : {
- "get" : {
- "tags" : [ "alipay.eco.mycar.parking.parkinglotinfo" ],
- "summary" : "停车场信息查询",
- "description" : "停车场信息查询,通过停车场id或者ISV停车场ID查询停车场信息。只能查询正在调用接口商户自己创建的停车场,限制在归属PID层面上。",
- "operationId" : "alipay.eco.mycar.parking.parkinglotinfo.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "parking_id",
- "in" : "query",
- "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不能同时为空。",
- "schema" : {
- "type" : "string",
- "example" : "PI1535687028031821446"
- }
- }, {
- "name" : "out_parking_id",
- "in" : "query",
- "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不能同时为空。",
- "schema" : {
- "type" : "string",
- "example" : "10000110001"
- }
- } ]
- }
- },
- "/v3/alipay/eco/mycar/parking/parkinglotinfo/update" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.parkinglotinfo" ],
- "summary" : "修改停车场信息",
- "description" : "录入停车场信息,内容信息通过该接口提交到支付宝,支付宝会生成支付宝这边停车场ID反馈给开发者,用于后续更新和上送车辆信息,停车场名称不允许修改。",
- "operationId" : "alipay.eco.mycar.parking.parkinglotinfo.update",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoUpdateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoUpdateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingParkinglotinfoUpdateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/paymentinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.paymentinfo" ],
- "summary" : "车辆停车缴费接口",
- "description" : "上传车辆在停车场的缴费信息,将停车动作推进到计费状态,上传信息通过该接口提交到支付宝,支付宝返回对应的信息",
- "operationId" : "alipay.eco.mycar.parking.paymentinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingPaymentinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingPaymentinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingPaymentinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/spaceinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.eco.mycar.parking.spaceinfo" ],
- "summary" : "停车场车位信息同步",
- "description" : "停车场位置信息同步",
- "operationId" : "alipay.eco.mycar.parking.spaceinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingSpaceinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingSpaceinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingSpaceinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/mycar/parking/vehicle/query" : {
- "get" : {
- "tags" : [ "alipay.eco.mycar.parking.vehicle" ],
- "summary" : "车牌查询接口",
- "description" : "商户通过接口调用,获取用户车牌信息",
- "operationId" : "alipay.eco.mycar.parking.vehicle.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingVehicleQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoMycarParkingVehicleQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- }, {
- "name" : "car_id",
- "in" : "query",
- "description" : "支付宝用户车辆ID,系统唯一。(该参数会在停车平台用户点击查询缴费,跳转到ISV停车缴费查询页面时,从请求中传递)",
- "schema" : {
- "type" : "string",
- "example" : "201605061278654"
- }
- } ]
- }
- },
- "/v3/alipay/eco/sign/flow/cancel" : {
- "post" : {
- "tags" : [ "alipay.eco.sign.flow" ],
- "summary" : "签署流程撤销(E签宝)",
- "description" : "签署流程撤销(E签宝)",
- "operationId" : "alipay.eco.sign.flow.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/sign/flow/create" : {
- "post" : {
- "tags" : [ "alipay.eco.sign.flow" ],
- "summary" : "创建流程(E签宝)",
- "description" : "创建流程(E签宝)。",
- "operationId" : "alipay.eco.sign.flow.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/sign/flow/finish" : {
- "post" : {
- "tags" : [ "alipay.eco.sign.flow" ],
- "summary" : "签署流程归档",
- "description" : "手动归档签署流程,归档后所有资源不可修改,归档前签署流程中的所有签署人必须都签署完成。如果创建流程时,设置了自动归档,则无需调用本接口,签署完成后系统会自动调用。",
- "operationId" : "alipay.eco.sign.flow.finish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowFinishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowFinishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowFinishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/eco/sign/flow/query" : {
- "get" : {
- "tags" : [ "alipay.eco.sign.flow" ],
- "summary" : "签署流程查询(E签宝)",
- "description" : "签署流程查询(E签宝)。可通过此接口查询流程、签署人的签署状态。",
- "operationId" : "alipay.eco.sign.flow.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoSignFlowQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- }, {
- "name" : "flow_id",
- "in" : "query",
- "description" : "流程id,通过 <a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.contract.signflows.create\">创建电子合同签署流程</a>(alipay.eco.contract.signflows.create)接口获取。",
- "schema" : {
- "type" : "string",
- "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
- }
- } ]
- }
- },
- "/v3/alipay/eco/signflows/detail/query" : {
- "get" : {
- "tags" : [ "alipay.eco.signflows.detail" ],
- "summary" : "获取签署流程合同与附件的下载地址(E签宝)",
- "description" : "获取签署流程合同与附件的下载地址(E签宝)",
- "operationId" : "alipay.eco.signflows.detail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoSignflowsDetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoSignflowsDetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- }, {
- "name" : "flow_id",
- "in" : "query",
- "description" : "流程id,通过 <a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.contract.signflows.create\">创建电子合同签署流程</a>(alipay.eco.contract.signflows.create)接口获取。",
- "schema" : {
- "type" : "string",
- "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
- }
- } ]
- }
- },
- "/v3/alipay/eco/signflows/url/query" : {
- "get" : {
- "tags" : [ "alipay.eco.signflows.url" ],
- "summary" : "获取签署地址",
- "description" : "创建流程后,获取指定签署人的签署链接地址,可在应用内集成H5签署页,或者通过短信发送签署链接。\n传入个人唯一标识,则获取的签署任务链接仅包含个人人的签署任务;如同时传入企业唯一标识,则获取的签署任务链接包含企业与个人的签署任务。\n预览链接:支持签署人先查看合同原文,后进行登录并完成签署。适用于应用内集成场景。\n签署链接:签署人需要登录后查看合同原文并签署。适用用短信发送场景。",
- "operationId" : "alipay.eco.signflows.url.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayEcoSignflowsUrlQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayEcoSignflowsUrlQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/TargetAppId"
- }, {
- "name" : "flow_id",
- "in" : "query",
- "description" : "流程id,通过 <a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.contract.signflows.create\">创建电子合同签署流程</a>(alipay.eco.contract.signflows.create)接口获取。",
- "schema" : {
- "type" : "string",
- "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
- }
- }, {
- "name" : "third_party_user_id",
- "in" : "query",
- "description" : "创建流程时指定个人唯一标识",
- "schema" : {
- "type" : "string",
- "example" : "2088102924502823"
- }
- }, {
- "name" : "org_third_party_user_id",
- "in" : "query",
- "description" : "创建流程时指定企业唯一标识",
- "schema" : {
- "type" : "string",
- "example" : "913301087458306077"
- }
- } ]
- }
- },
- "/v3/alipay/fund/account/query" : {
- "get" : {
- "tags" : [ "alipay.fund.account" ],
- "summary" : "支付宝资金账户资产查询接口",
- "description" : "可查询请求方的支付宝账户余额信息。",
- "operationId" : "alipay.fund.account.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAccountQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAccountQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "merchant_user_id",
- "in" : "query",
- "description" : "商户会员的唯一标识。如果传入的user_id为虚拟账户userId,此字段必传并比对一致性。",
- "schema" : {
- "type" : "string",
- "example" : "243893499"
- }
- }, {
- "name" : "alipay_user_id",
- "in" : "query",
- "description" : "支付宝会员 id。",
- "schema" : {
- "type" : "string",
- "example" : "2088301409188095"
- }
- }, {
- "name" : "alipay_open_id",
- "in" : "query",
- "description" : "支付宝openId",
- "schema" : {
- "type" : "string",
- "example" : "061P6NAblcWDWJoDRxSVvOYz-ufp-3wQaA4E_szQyMFTXse"
- }
- }, {
- "name" : "account_product_code",
- "in" : "query",
- "description" : "开户产品码。如果查询托管子户余额,必传且必须传入与开户时传入的值一致。",
- "schema" : {
- "type" : "string",
- "example" : "DING_ACCOUNT"
- }
- }, {
- "name" : "account_type",
- "in" : "query",
- "description" : "查询的账号类型,查询余额账户值为ACCTRANS_ACCOUNT。必填。",
- "schema" : {
- "type" : "string",
- "example" : "ACCTRANS_ACCOUNT"
- }
- }, {
- "name" : "account_scene_code",
- "in" : "query",
- "description" : "开户场景码,与开户产品码不可同时传递。",
- "schema" : {
- "type" : "string",
- "example" : "SCENE_000_000_000"
- }
- }, {
- "name" : "ext_info",
- "in" : "query",
- "description" : "JSON格式,传递业务扩展参数。",
- "schema" : {
- "type" : "string",
- "example" : "{\"agreement_no\":\"2019000000000\"}"
- }
- } ]
- }
- },
- "/v3/alipay/fund/accountbook/create" : {
- "post" : {
- "tags" : [ "alipay.fund.accountbook" ],
- "summary" : "资金记账本开通",
- "description" : "资金记账本开通",
- "operationId" : "alipay.fund.accountbook.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAccountbookCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAccountbookCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAccountbookCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/accountbook/notify/query" : {
- "get" : {
- "tags" : [ "alipay.fund.accountbook.notify" ],
- "summary" : "记账本通知订阅关系查询接口",
- "description" : "ISV通过此接口查询指定记账本的入金和出金通知的订阅关系",
- "operationId" : "alipay.fund.accountbook.notify.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "产品码。固定为SATF_FUND_BOOK",
- "schema" : {
- "type" : "string",
- "example" : "SATF_FUND_BOOK"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "场景码。固定为DEFAULT",
- "schema" : {
- "type" : "string",
- "example" : "DEFAULT"
- }
- }, {
- "name" : "account_book_id",
- "in" : "query",
- "description" : "记账本ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000147677710"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "协议号。 若是基于协议的记账本,则agreement_no必传; 若是自创建的记账本,则agreement_no不传;",
- "schema" : {
- "type" : "string",
- "example" : "20205724001102186227"
- }
- } ]
- }
- },
- "/v3/alipay/fund/accountbook/notify/subscribe" : {
- "post" : {
- "tags" : [ "alipay.fund.accountbook.notify" ],
- "summary" : "记账本通知订阅接口",
- "description" : "ISV通过此接口订阅指定记账本的入金和出金通知。目前只有非OpenAPI方式的充值通知(比如大额来账、贷款入金)",
- "operationId" : "alipay.fund.accountbook.notify.subscribe",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAccountbookNotifySubscribeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAccountbookNotifySubscribeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAccountbookNotifySubscribeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/accountbook/notify/unsubscribe" : {
- "post" : {
- "tags" : [ "alipay.fund.accountbook.notify" ],
- "summary" : "记账本通知取消订阅接口",
- "description" : "ISV通过此接口取消订阅指定记账本的入金和出金通知",
- "operationId" : "alipay.fund.accountbook.notify.unsubscribe",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyUnsubscribeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyUnsubscribeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAccountbookNotifyUnsubscribeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/accountbook/query" : {
- "get" : {
- "tags" : [ "alipay.fund.accountbook" ],
- "summary" : "资金记账本的信息查询",
- "description" : "资金记账本的信息查询",
- "operationId" : "alipay.fund.accountbook.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAccountbookQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAccountbookQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "account_book_id",
- "in" : "query",
- "description" : "记账账簿id",
- "schema" : {
- "type" : "string",
- "example" : "2088001409188095"
- }
- }, {
- "name" : "merchant_user_id",
- "in" : "query",
- "description" : "商户会员的唯一标识,如果传入account_book_id此字段必传并比对一致性。",
- "schema" : {
- "type" : "string",
- "example" : "243893499"
- }
- }, {
- "name" : "scene_code",
- "in" : "query",
- "description" : "资金记账本的开通场景码",
- "schema" : {
- "type" : "string",
- "example" : "SATF_FUND_BOOK"
- }
- }, {
- "name" : "ext_info",
- "in" : "query",
- "description" : "JSON格式,传递业务扩展参数",
- "schema" : {
- "type" : "string",
- "example" : "{\"agreement_no\":\"2019000000000\"}"
- }
- } ]
- }
- },
- "/v3/alipay/fund/agreement/quota/modify" : {
- "post" : {
- "tags" : [ "alipay.fund.agreement.quota" ],
- "summary" : "额度设置接口",
- "description" : "基于扣款合约设置付款方额度",
- "operationId" : "alipay.fund.agreement.quota.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAgreementQuotaModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAgreementQuotaModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAgreementQuotaModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/agreement/quota/query" : {
- "post" : {
- "tags" : [ "alipay.fund.agreement.quota" ],
- "summary" : "额度查询接口",
- "description" : "查询基于扣款协议的额度配置查询",
- "operationId" : "alipay.fund.agreement.quota.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAgreementQuotaQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAgreementQuotaQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAgreementQuotaQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/auth/operation/cancel" : {
- "post" : {
- "tags" : [ "alipay.fund.auth.operation" ],
- "summary" : "资金授权撤销接口",
- "description" : "只有商户由于业务系统处理超时需要终止后续业务处理或者授权结果未知时可调用撤销,其他正常授权冻结的操作如需实现相同功能请调用资金授权解冻服务。提交资金授权后调用【资金授权操作查询】,没有明确的授权结果再调用【资金授权撤销】",
- "operationId" : "alipay.fund.auth.operation.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOperationCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAuthOperationCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOperationCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/auth/operation/detail/query" : {
- "post" : {
- "tags" : [ "alipay.fund.auth.operation.detail" ],
- "summary" : "资金授权操作查询接口",
- "description" : "通过该接口可以查询单笔明细的详细信息",
- "operationId" : "alipay.fund.auth.operation.detail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOperationDetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAuthOperationDetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOperationDetailQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/auth/order/app/freeze" : {
- "post" : {
- "tags" : [ "alipay.fund.auth.order.app" ],
- "summary" : "线上资金授权冻结接口",
- "description" : "创建支付宝授权订单并完成资金冻结。适用于线上场景完成资金授权, 例如从商户APP端拉起支付宝收银台完成冻结。",
- "operationId" : "alipay.fund.auth.order.app.freeze",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderAppFreezeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderAppFreezeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderAppFreezeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/auth/order/freeze" : {
- "post" : {
- "tags" : [ "alipay.fund.auth.order" ],
- "summary" : "资金授权冻结接口",
- "description" : "收银员使用扫码设备读取用户支付宝钱包“付款码”后,将条码信息和订单信息通过本接口上送至支付宝发起资金冻结。",
- "operationId" : "alipay.fund.auth.order.freeze",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderFreezeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderFreezeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderFreezeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/auth/order/unfreeze" : {
- "post" : {
- "tags" : [ "alipay.fund.auth.order" ],
- "summary" : "资金授权解冻接口",
- "description" : "当资金授权发生之后一段时间内,由于买家或者商家等其他原因需要要解冻资金,商家可通过资金授权解冻接口将授权资金进行解冻,支付宝将在收到解冻请求并验证成功后,按解冻规则将冻结资金按原路进行解冻",
- "operationId" : "alipay.fund.auth.order.unfreeze",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderUnfreezeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderUnfreezeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderUnfreezeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/auth/order/voucher/create" : {
- "post" : {
- "tags" : [ "alipay.fund.auth.order.voucher" ],
- "summary" : "资金授权发码接口",
- "description" : "收银员通过收银台或商户后台调用支付宝接口,生成二维码后,展示给用户,由用户扫描二维码完成资金冻结。",
- "operationId" : "alipay.fund.auth.order.voucher.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderVoucherCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderVoucherCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundAuthOrderVoucherCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/enterprisepay/group/add" : {
- "post" : {
- "tags" : [ "alipay.fund.enterprisepay.group" ],
- "summary" : "因公付新增账户下群组",
- "description" : "创建因公付群组,包含群组信息和出资信息",
- "operationId" : "alipay.fund.enterprisepay.group.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/enterprisepay/group/delete" : {
- "delete" : {
- "tags" : [ "alipay.fund.enterprisepay.group" ],
- "summary" : "因公付删除账户下群组",
- "description" : "因公付删除账户下群组",
- "operationId" : "alipay.fund.enterprisepay.group.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "产品码,默认值\tENTERPRISE_PAY",
- "schema" : {
- "type" : "string",
- "example" : "ENTERPRISE_PAY"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "场景码,联系支付宝分配",
- "schema" : {
- "type" : "string",
- "example" : "ANT_GROUP"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业签约账户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088888888"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "平台和企业的三方授权协议号",
- "schema" : {
- "type" : "string",
- "example" : "1231231321323"
- }
- }, {
- "name" : "out_biz_no",
- "in" : "query",
- "description" : "外部业务号",
- "schema" : {
- "type" : "string",
- "example" : "12123123"
- }
- } ]
- }
- },
- "/v3/alipay/fund/enterprisepay/group/modify" : {
- "post" : {
- "tags" : [ "alipay.fund.enterprisepay.group" ],
- "summary" : "因公付更新账户下群组",
- "description" : "因公付更新账户下群组",
- "operationId" : "alipay.fund.enterprisepay.group.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/enterprisepay/group/query" : {
- "get" : {
- "tags" : [ "alipay.fund.enterprisepay.group" ],
- "summary" : "因公付查询账户下群组",
- "description" : "查询因公付群组,包含群组信息和对应的出资主体",
- "operationId" : "alipay.fund.enterprisepay.group.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayGroupQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "产品码,默认值 ENTERPRISE_PAY",
- "schema" : {
- "type" : "string",
- "example" : "ENTERPRISE_PAY"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "场景码,联系支付宝分配",
- "schema" : {
- "type" : "string",
- "example" : "ANT_GROUP"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业签约账户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088888888"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "平台和企业的三方授权协议号",
- "schema" : {
- "type" : "string",
- "example" : "1231231321323"
- }
- }, {
- "name" : "out_biz_no",
- "in" : "query",
- "description" : "外部业务号,外部群组号",
- "schema" : {
- "type" : "string",
- "example" : "12312313"
- }
- } ]
- }
- },
- "/v3/alipay/fund/enterprisepay/member/modify" : {
- "post" : {
- "tags" : [ "alipay.fund.enterprisepay.member" ],
- "summary" : "因公付更新员工资金协议",
- "description" : "因公付更新员工资金协议",
- "operationId" : "alipay.fund.enterprisepay.member.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayMemberModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayMemberModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayMemberModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/enterprisepay/sign" : {
- "post" : {
- "tags" : [ "alipay.fund.enterprisepay" ],
- "summary" : "因公付企业签约",
- "description" : "用于获取因公付企业签约链接",
- "operationId" : "alipay.fund.enterprisepay.sign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepaySignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepaySignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepaySignModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/enterprisepay/unsign" : {
- "post" : {
- "tags" : [ "alipay.fund.enterprisepay" ],
- "summary" : "因公付企业解约",
- "description" : "用于因公付企业解约时获取解约链接",
- "operationId" : "alipay.fund.enterprisepay.unsign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayUnsignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayUnsignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundEnterprisepayUnsignModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/jointaccount/bill/query" : {
- "get" : {
- "tags" : [ "alipay.fund.jointaccount.bill" ],
- "summary" : "因公付账单查询",
- "description" : "因公付账单查询",
- "operationId" : "alipay.fund.jointaccount.bill.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountBillQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountBillQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "因公付产品码",
- "schema" : {
- "type" : "string",
- "example" : "ENTERPRISE_PAY"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "业务场景",
- "schema" : {
- "type" : "string",
- "example" : "DEFAULT"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "账户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088900976746215"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "采用分页查询,本参数为空或0默认显示第一页。如果输入的值大于总页数,则支付宝返回最后一页数据",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页大小,不传的情况下默认20条,超过20条默认按20条查询;不足20条则按实际记录数返回",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "员工ID",
- "schema" : {
- "type" : "string",
- "example" : "2088900976746215"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "员工的openId",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "start_date",
- "in" : "query",
- "description" : "起始日期",
- "schema" : {
- "type" : "string",
- "example" : "yyyy-MM-dd"
- }
- }, {
- "name" : "end_date",
- "in" : "query",
- "description" : "截止日期",
- "schema" : {
- "type" : "string",
- "example" : "yyyy-MM-dd"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权协议号",
- "schema" : {
- "type" : "string",
- "example" : "2088900976746215123123"
- }
- } ]
- }
- },
- "/v3/alipay/fund/jointaccount/detail/query" : {
- "get" : {
- "tags" : [ "alipay.fund.jointaccount.detail" ],
- "summary" : "共享资金-查询账户详情",
- "description" : "发起人在商户上点击查看账户详情,商户服务端进行受理,并调用支付宝进行处理。处理结果,同步返回给商户。",
- "operationId" : "alipay.fund.jointaccount.detail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountDetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountDetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "销售产品码",
- "schema" : {
- "type" : "string",
- "example" : "ENTERPRISE_PAY"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "业务场景码",
- "schema" : {
- "type" : "string",
- "example" : "DEFAULT"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "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中返回。",
- "schema" : {
- "type" : "string",
- "example" : "2088xxx"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "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中返回。",
- "schema" : {
- "type" : "string",
- "example" : "2088xxx"
- }
- }, {
- "name" : "out_biz_no",
- "in" : "query",
- "description" : "商户侧单号(查询方式一:通过传入\tout_biz_no查询)<br>\t补充说明:<br>\t-该字段与签约接口alipay.fund.jointaccount.sign请求参数中传入值保持一致",
- "schema" : {
- "type" : "string",
- "example" : "无"
- }
- }, {
- "name" : "channel",
- "in" : "query",
- "description" : "业务渠道</br>\t补充说明:</br>\t需要商户侧必传,支付宝侧不做强校验",
- "schema" : {
- "type" : "string",
- "example" : "MMJZ"
- }
- } ]
- }
- },
- "/v3/alipay/fund/jointaccount/list/query" : {
- "get" : {
- "tags" : [ "alipay.fund.jointaccount.list" ],
- "summary" : "企业查询代付账户列表",
- "description" : "企业查询代付账户列表",
- "operationId" : "alipay.fund.jointaccount.list.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountListQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountListQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "产品码",
- "schema" : {
- "type" : "string",
- "example" : "ENTERPRISE_PAY"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "业务场景",
- "schema" : {
- "type" : "string",
- "example" : "DEFAULT"
- }
- }, {
- "name" : "operate_role",
- "in" : "query",
- "description" : "角色:创建方(CREATOR)、参与方(PARTICIPANT)",
- "schema" : {
- "type" : "string",
- "example" : "CREATOR"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权协议号",
- "schema" : {
- "type" : "string",
- "example" : "208890097674621512231"
- }
- }, {
- "name" : "identity",
- "in" : "query",
- "description" : "员工账号:\t\tidentity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t\t是ALIPAY_LOGON_ID 填支付宝登录号",
- "schema" : {
- "type" : "string",
- "example" : "name@email.com"
- }
- }, {
- "name" : "identity_type",
- "in" : "query",
- "description" : "账号类型,目前支持如下类型: 1、ALIPAY_USER_ID 支付宝的会员ID 2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式",
- "schema" : {
- "type" : "string",
- "example" : "ALIPAY_LOGON_ID"
- }
- } ]
- }
- },
- "/v3/alipay/fund/jointaccount/member/batchquery" : {
- "post" : {
- "tags" : [ "alipay.fund.jointaccount.member" ],
- "summary" : "企业批量查询员工信息(分页)",
- "description" : "企业查询员工列表,支持分页,支持按登录号精确查询,支持按会员号精确查询",
- "operationId" : "alipay.fund.jointaccount.member.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/jointaccount/member/bind" : {
- "post" : {
- "tags" : [ "alipay.fund.jointaccount.member" ],
- "summary" : "因公付邀请员工",
- "description" : "因公付邀请员工",
- "operationId" : "alipay.fund.jointaccount.member.bind",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBindResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBindErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberBindModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/jointaccount/member/consult" : {
- "post" : {
- "tags" : [ "alipay.fund.jointaccount.member" ],
- "summary" : "员企关系咨询",
- "description" : "返回输入的员工列表是否在指定企业组织中",
- "operationId" : "alipay.fund.jointaccount.member.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberConsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/jointaccount/member/query" : {
- "get" : {
- "tags" : [ "alipay.fund.jointaccount.member" ],
- "summary" : "企业查询员工列表",
- "description" : "企业查询员工列表",
- "operationId" : "alipay.fund.jointaccount.member.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "产品码",
- "schema" : {
- "type" : "string",
- "example" : "ENTERPRISE_PAY"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "业务场景",
- "schema" : {
- "type" : "string",
- "example" : "DEFAULT"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "账户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088900976746215"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "采用分页查询,本参数为空或0默认显示第一页。如果输入的值大于总页数,则支付宝返回最后一页数据。",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页大小,不传的情况下默认20条,超过20条默认按20条查询;不足20条则按实际记录数返回",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "员工id",
- "schema" : {
- "type" : "string",
- "example" : "2088900976746215"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "员工的openId",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权协议号",
- "schema" : {
- "type" : "string",
- "example" : "20889009767462151111111"
- }
- } ]
- }
- },
- "/v3/alipay/fund/jointaccount/member/unbind" : {
- "post" : {
- "tags" : [ "alipay.fund.jointaccount.member" ],
- "summary" : "企业删除员工",
- "description" : "企业删除员工",
- "operationId" : "alipay.fund.jointaccount.member.unbind",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberUnbindResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberUnbindErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberUnbindModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/jointaccount/memberrule/modify" : {
- "post" : {
- "tags" : [ "alipay.fund.jointaccount.memberrule" ],
- "summary" : "企业设置员工规则",
- "description" : "企业设置员工规则",
- "operationId" : "alipay.fund.jointaccount.memberrule.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberruleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberruleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountMemberruleModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/jointaccount/quota/query" : {
- "get" : {
- "tags" : [ "alipay.fund.jointaccount.quota" ],
- "summary" : "查询账户额度详情",
- "description" : "查询账户额度详情",
- "operationId" : "alipay.fund.jointaccount.quota.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountQuotaQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountQuotaQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "产品码",
- "schema" : {
- "type" : "string",
- "example" : "ENTERPRISE_PAY"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "业务场景",
- "schema" : {
- "type" : "string",
- "example" : "DEFAULT"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "账户ID",
- "schema" : {
- "type" : "string",
- "example" : "2088900976746215"
- }
- }, {
- "name" : "member_id",
- "in" : "query",
- "description" : "员工ID",
- "schema" : {
- "type" : "string",
- "example" : "2088900976746215"
- }
- }, {
- "name" : "member_open_id",
- "in" : "query",
- "description" : "员工的openid",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "operate_role",
- "in" : "query",
- "description" : "角色:创建方(CREATOR)、参与方(PARTICIPANT)",
- "schema" : {
- "type" : "string",
- "example" : "CREATOR"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "授权协议号",
- "schema" : {
- "type" : "string",
- "example" : "208890097674621512312"
- }
- } ]
- }
- },
- "/v3/alipay/fund/jointaccount/rule/modify" : {
- "post" : {
- "tags" : [ "alipay.fund.jointaccount.rule" ],
- "summary" : "企业账户规则设置",
- "description" : "企业账户规则设置",
- "operationId" : "alipay.fund.jointaccount.rule.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountRuleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountRuleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountRuleModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/jointaccount/sign/query" : {
- "get" : {
- "tags" : [ "alipay.fund.jointaccount.sign" ],
- "summary" : "企业签约结果查询",
- "description" : "通过外部订单号(out_biz_no)主动查询企业签约结果,可用于未收到签约结果通知的补偿操作",
- "operationId" : "alipay.fund.jointaccount.sign.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountSignQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountSignQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "产品码,默认值\tENTERPRISE_PAY",
- "schema" : {
- "type" : "string",
- "example" : "ENTERPRISE_PAY"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "场景码,联系支付宝分配",
- "schema" : {
- "type" : "string",
- "example" : "ISV_ALIYUN"
- }
- }, {
- "name" : "out_biz_no",
- "in" : "query",
- "description" : "外部业务号,查询对应账户状态,优先级高于account_id",
- "schema" : {
- "type" : "string",
- "example" : "123123132"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业签约账户ID,用于外部商户已获取企业签约ID,查询账户状态",
- "schema" : {
- "type" : "string",
- "example" : "208812312313213"
- }
- } ]
- }
- },
- "/v3/alipay/fund/jointaccount/trade/query" : {
- "get" : {
- "tags" : [ "alipay.fund.jointaccount.trade" ],
- "summary" : "共同账户交易查询",
- "description" : "共同账户交易查询",
- "operationId" : "alipay.fund.jointaccount.trade.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundJointaccountTradeQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundJointaccountTradeQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "销售产品码",
- "schema" : {
- "type" : "string",
- "example" : "ENTERPRISE_PAY"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "业务场景",
- "schema" : {
- "type" : "string",
- "example" : "ELE_ONLINE"
- }
- }, {
- "name" : "member_id",
- "in" : "query",
- "description" : "成员ID,消费发起人",
- "schema" : {
- "type" : "string",
- "example" : "208811123123"
- }
- }, {
- "name" : "member_open_id",
- "in" : "query",
- "description" : "消费发起人的openId",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "account_id",
- "in" : "query",
- "description" : "企业账户ID",
- "schema" : {
- "type" : "string",
- "example" : "208811123123"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "三方授权协议号",
- "schema" : {
- "type" : "string",
- "example" : "12312312313123"
- }
- }, {
- "name" : "trade_no",
- "in" : "query",
- "description" : "支付宝交易订单号",
- "schema" : {
- "type" : "string",
- "example" : "12312313123"
- }
- }, {
- "name" : "platform_order_id",
- "in" : "query",
- "description" : "外部平台订单号。使用该参数查询时,返回结果见trade_info_list",
- "schema" : {
- "type" : "string",
- "example" : "781773393333012410369282"
- }
- } ]
- }
- },
- "/v3/alipay/fund/trans/common/query" : {
- "get" : {
- "tags" : [ "alipay.fund.trans.common" ],
- "summary" : "转账业务单据查询接口",
- "description" : "商户可通过该接口查询转账业务单据的状态,主要应用于统一转账接口(alipay.fund.trans.uni.transfer)、无线转账接口(alipay.fund.trans.app.pay)、单笔转账到支付宝账户接口(alipay.fund.trans.toaccount.transfer)",
- "operationId" : "alipay.fund.trans.common.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransCommonQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundTransCommonQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "product_code",
- "in" : "query",
- "description" : "销售产品码,商家和支付宝签约的产品码,如果传递了out_biz_no则该字段为必传。可传值如下:\tSTD_RED_PACKET:现金红包\tTRANS_ACCOUNT_NO_PWD:单笔无密转账到支付宝账户\tTRANS_BANKCARD_NO_PWD:单笔无密转账到银行卡",
- "schema" : {
- "type" : "string",
- "example" : "STD_RED_PACKET"
- }
- }, {
- "name" : "biz_scene",
- "in" : "query",
- "description" : "描述特定的业务场景,如果传递了out_biz_no则该字段为必传。可取的业务场景如下:\r\tPERSONAL_PAY:C2C现金红包-发红包;\r\tPERSONAL_COLLECTION:C2C现金红包-领红包;\r\tREFUND:C2C现金红包-红包退回;\r\tDIRECT_TRANSFER:B2C现金红包、单笔无密转账",
- "schema" : {
- "type" : "string",
- "example" : "PERSONAL_PAY"
- }
- }, {
- "name" : "out_biz_no",
- "in" : "query",
- "description" : "商户转账唯一订单号,发起转账来源方定义的转账单据ID。 \t本参数和order_id(支付宝转账单据号)、pay_fund_order_id(支付宝支付资金流水号)三者不能同时为空。\t当三者同时传入时,将用pay_fund_order_id(支付宝支付资金流水号)进行查询,忽略其余两者;\t当本参数和支付宝转账单据号同时提供时,将用支付宝转账单据号进行查询,忽略本参数。",
- "schema" : {
- "type" : "string",
- "example" : "201808080001"
- }
- }, {
- "name" : "order_id",
- "in" : "query",
- "description" : "支付宝转账单据号。 本参数和out_biz_no(商户转账唯一订单号)、pay_fund_order_id(支付宝支付资金流水号)三者不能同时为空。 \t当三者同时传入时,将用pay_fund_order_id(支付宝支付资金流水号)进行查询,忽略其余两者;\t当本参数和pay_fund_order_id(支付宝支付资金流水号)同时提供时,将用支付宝支付资金流水号进行查询,忽略本参数; \t当本参数和out_biz_no(商户转账唯一订单号)同时提供时,将用本参数进行查询,忽略商户转账唯一订单号。",
- "schema" : {
- "type" : "string",
- "example" : "20190801110070000006380000250621"
- }
- }, {
- "name" : "pay_fund_order_id",
- "in" : "query",
- "description" : "支付宝支付资金流水号。本参数和支付宝转账单据号、商户转账唯一订单号三者不能同时为空。 \t当本参数和out_biz_no(商户转账唯一订单号)、order_id(支付宝转账单据号)同时提供时,将用本参数进行查询,忽略其余两者;\t当本参数和order_id(支付宝转账单据号)同时提供时,将用本参数进行查询,忽略支付宝转账单据号; \t当本参数和out_biz_no(商户转账唯一订单号)同时提供时,将用本参数进行查询,忽略商户转账唯一订单号。",
- "schema" : {
- "type" : "string",
- "example" : "20190801110070001506380000251556"
- }
- } ]
- }
- },
- "/v3/alipay/fund/trans/order/query" : {
- "get" : {
- "tags" : [ "alipay.fund.trans.order" ],
- "summary" : "查询转账订单接口",
- "description" : "商户可通过该接口查询转账订单的状态、支付时间等相关信息,主要应用于B2C转账订单查询的场景",
- "operationId" : "alipay.fund.trans.order.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransOrderQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundTransOrderQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "out_biz_no",
- "in" : "query",
- "description" : "商户转账唯一订单号:发起转账来源方定义的转账单据ID。\r\t和支付宝转账单据号不能同时为空。当和支付宝转账单据号同时提供时,将用支付宝转账单据号进行查询,忽略本参数。",
- "schema" : {
- "type" : "string",
- "example" : "3142321423432"
- }
- }, {
- "name" : "order_id",
- "in" : "query",
- "description" : "支付宝转账单据号:和商户转账唯一订单号不能同时为空。当和商户转账唯一订单号同时提供时,将用本参数进行查询,忽略商户转账唯一订单号。",
- "schema" : {
- "type" : "string",
- "example" : "20160627110070001502260006780837"
- }
- } ]
- }
- },
- "/v3/alipay/fund/trans/pay" : {
- "post" : {
- "tags" : [ "alipay.fund.trans" ],
- "summary" : "资金支付接口",
- "description" : "付款方通过协议、二维码、声波、人脸等方式,通过本接口提交给支付宝直接完成支付。",
- "operationId" : "alipay.fund.trans.pay",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransPayResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundTransPayErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransPayModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/trans/payee/bind/query" : {
- "get" : {
- "tags" : [ "alipay.fund.trans.payee.bind" ],
- "summary" : "资金收款账号绑定关系查询",
- "description" : "资金收款账号绑定关系查询",
- "operationId" : "alipay.fund.trans.payee.bind.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransPayeeBindQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundTransPayeeBindQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "identity",
- "in" : "query",
- "description" : "证件号",
- "schema" : {
- "type" : "string",
- "example" : "230100199901010001"
- }
- }, {
- "name" : "identity_type",
- "in" : "query",
- "description" : "证件类型,暂仅支持 IDENTITY_CARD (身份证)",
- "schema" : {
- "type" : "string",
- "example" : "IDENTITY_CARD"
- }
- } ]
- }
- },
- "/v3/alipay/fund/trans/refund" : {
- "post" : {
- "tags" : [ "alipay.fund.trans" ],
- "summary" : "资金退回接口",
- "description" : "当资金支付一段时间后,由于收款方一直没有收钱(比如抢红包),可以通过退款接口将资金退换给付款方。支付宝将会按照退款规则将支付款按原路退到付款方帐号上。 \r\n交易超过约定时间(签约时设置的可退款时间)的订单无法进行退款。支付宝退款支持单笔交易分多次退回,多次退款需要提交原支付订单的商户订单号和设置不同的退款单号。一笔退款失败后重新提交,要采用原来的退款单号。总退款金额不能超过(用户实际支付金额-已领红包)的金额。",
- "operationId" : "alipay.fund.trans.refund",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransRefundResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundTransRefundErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransRefundModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/trans/toaccount/transfer" : {
- "post" : {
- "tags" : [ "alipay.fund.trans.toaccount" ],
- "summary" : "单笔转账到支付宝账户接口",
- "description" : "单笔转账到支付宝账户接口是基于支付宝的资金处理能力,为了满足支付宝商家向其他支付宝账户转账的需求,针对有部分开发能力的商家,提供通过API接口完成支付宝账户间的转账的功能。\n该接口适用行业较广,比如商家间的货款结算,商家给个人用户发放佣金等。(目前已对该接口能力做了升级,后续建议调用新接口alipay.fund.trans.uni.transfer)",
- "operationId" : "alipay.fund.trans.toaccount.transfer",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransToaccountTransferResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundTransToaccountTransferErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransToaccountTransferModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/trans/uni/transfer" : {
- "post" : {
- "tags" : [ "alipay.fund.trans.uni" ],
- "summary" : "单笔转账接口",
- "description" : "单笔转账接口是基于支付宝的资金处理能力,为了满足支付宝商家的转账需求,针对有部分开发能力的商家,提供通过API接口完成企业自身支付宝账户到支付宝账户的转账功能。 适用于:C2C现金红包的红包领取、B2C现金红包的红包发放、B2C单笔转账到支付宝账户等。<br />\n<b>说明:本接口为公用接口,参数说明不针对特定产品。</b>不同产品入参请参考对应产品文档。",
- "operationId" : "alipay.fund.trans.uni.transfer",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransUniTransferResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundTransUniTransferErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundTransUniTransferModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/fund/usertrade/batchquery" : {
- "post" : {
- "tags" : [ "alipay.fund.usertrade" ],
- "summary" : "用户交易数据查询",
- "description" : "资金团队会监听指定球房相关的用户交易数据,并且,在用户授权后,开放该接口给到外部调用,查询用户近期内的交易数据。",
- "operationId" : "alipay.fund.usertrade.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundUsertradeBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayFundUsertradeBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayFundUsertradeBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/agent/create" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.agent" ],
- "summary" : "新增客服接口",
- "description" : "新增一个CCM客服",
- "operationId" : "alipay.iservice.ccm.agent.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/agent/delete" : {
- "delete" : {
- "tags" : [ "alipay.iservice.ccm.agent" ],
- "summary" : "删除客服接口",
- "description" : "管理员删除一个客服",
- "operationId" : "alipay.iservice.ccm.agent.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "id",
- "in" : "query",
- "description" : "客服id",
- "schema" : {
- "type" : "string",
- "example" : "2019032101896769"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/agent/get" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.agent" ],
- "summary" : "查询客服详情",
- "description" : "ISV或商户查询获取某个客服的详细信息",
- "operationId" : "alipay.iservice.ccm.agent.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "id",
- "in" : "query",
- "description" : "客服id",
- "schema" : {
- "type" : "string",
- "example" : "2018101801902073"
- }
- }, {
- "name" : "job_number",
- "in" : "query",
- "description" : "客服工号",
- "schema" : {
- "type" : "string",
- "example" : "0001"
- }
- }, {
- "name" : "user_channel",
- "in" : "query",
- "description" : "客服账号渠道, ALIPAY:支付宝账号\tuser_channel和external_user_id必须配对使用",
- "schema" : {
- "type" : "string",
- "example" : "ALIPAY"
- }
- }, {
- "name" : "external_user_id",
- "in" : "query",
- "description" : "客服账号id,当user_channel=ALIPAY时,此id为支付宝2088id\texternal_user_id和user_channel必须配对使用",
- "schema" : {
- "type" : "string",
- "example" : "2088xxx"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/agent/modify" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.agent" ],
- "summary" : "更新客服接口",
- "description" : "管理员修改客服信息",
- "operationId" : "alipay.iservice.ccm.agent.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/agent/query" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.agent" ],
- "summary" : "客服查询接口",
- "description" : "根据指定的查询条件查询客服列表",
- "operationId" : "alipay.iservice.ccm.agent.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/agent/schedulelog/query" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.agent.schedulelog" ],
- "summary" : "查询客服状态变更流水日志",
- "description" : "ISV或商户批量查询获取客服状态变更流水日志详细信息",
- "operationId" : "alipay.iservice.ccm.agent.schedulelog.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentSchedulelogQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentSchedulelogQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmAgentSchedulelogQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/function/query" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.function" ],
- "summary" : "列出所有的功能点",
- "description" : "列出所有的功能点",
- "operationId" : "alipay.iservice.ccm.function.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmFunctionQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmFunctionQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/iservice/ccm/instance/create" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.instance" ],
- "summary" : "创建租户实例",
- "description" : "创建租户实例",
- "operationId" : "alipay.iservice.ccm.instance.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/instance/get" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.instance" ],
- "summary" : "查询单个租户实例(数据权限)",
- "description" : "查询单个租户实例(数据权限)",
- "operationId" : "alipay.iservice.ccm.instance.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "id",
- "in" : "query",
- "description" : "部门id(即租户实例ID、数据权限ID)",
- "schema" : {
- "type" : "string",
- "example" : "pYv_gs0m"
- }
- }, {
- "name" : "external_id",
- "in" : "query",
- "description" : "外部id",
- "schema" : {
- "type" : "string",
- "example" : "5544744"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/instance/query" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.instance" ],
- "summary" : "列出所有的租户实例(数据权限)",
- "description" : "列出所有的租户实例(数据权限)。一个云客服租户下可以有多个租户实例(数据权限),每个租户实例之间的数据是隔离的(除了用户、权限、私信、IVR数据外)。",
- "operationId" : "alipay.iservice.ccm.instance.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmInstanceQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "page_num",
- "in" : "query",
- "description" : "查询结果的页码,起始值为 1,默认值为 1",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 10",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/isv/initialize" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.isv" ],
- "summary" : "ccm isv注册接口",
- "description" : "商家 / ISV 开发的插件接入CCM(蚂蚁客户沟通管理平台)之前,需要先将自己的信息注册到 CCM,并设置一个用于 iframe 接口接入安全认证使用的公钥。",
- "operationId" : "alipay.iservice.ccm.isv.initialize",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmIsvInitializeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmIsvInitializeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmIsvInitializeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/ols/chatrecord/query" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.ols.chatrecord" ],
- "summary" : "查询某通在线服务的聊天记录",
- "description" : "ISV或商户根据在线服务记录id查询该通对话的聊天记录及相关信息",
- "operationId" : "alipay.iservice.ccm.ols.chatrecord.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmOlsChatrecordQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmOlsChatrecordQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "ccs_instance_id",
- "in" : "query",
- "description" : "租户实例id(数据权限id),不填,则使用默认的租户实例id",
- "schema" : {
- "type" : "string",
- "example" : "ZPSDWACN"
- }
- }, {
- "name" : "id",
- "in" : "query",
- "description" : "在线服务记录id",
- "schema" : {
- "type" : "string",
- "example" : "201909021113010100000001922200"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/robot/avatarbase/query" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.robot.avatarbase" ],
- "summary" : "虚拟数字人开放接口调用",
- "description" : "用于与数字人交互",
- "operationId" : "alipay.iservice.ccm.robot.avatarbase.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRobotAvatarbaseQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRobotAvatarbaseQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRobotAvatarbaseQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/role/create" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.role" ],
- "summary" : "创建角色",
- "description" : "创建角色",
- "operationId" : "alipay.iservice.ccm.role.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/role/delete" : {
- "delete" : {
- "tags" : [ "alipay.iservice.ccm.role" ],
- "summary" : "删除角色",
- "description" : "删除角色",
- "operationId" : "alipay.iservice.ccm.role.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "id",
- "in" : "query",
- "description" : "角色id",
- "schema" : {
- "type" : "string",
- "example" : "123"
- }
- }, {
- "name" : "ccs_instance_id",
- "in" : "query",
- "description" : "部门id(即租户实例ID、数据权限ID),如果不传入,使用租户id",
- "schema" : {
- "type" : "string",
- "example" : "ksj_J2Qa"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/role/get" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.role" ],
- "summary" : "获取角色详情",
- "description" : "获取角色详情",
- "operationId" : "alipay.iservice.ccm.role.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "id",
- "in" : "query",
- "description" : "角色id",
- "schema" : {
- "type" : "string",
- "example" : "123"
- }
- }, {
- "name" : "ccs_instance_id",
- "in" : "query",
- "description" : "部门id,不传默认用租户ID",
- "schema" : {
- "type" : "string",
- "example" : "qi1_FAq1"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/role/modify" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.role" ],
- "summary" : "更新角色",
- "description" : "更新角色",
- "operationId" : "alipay.iservice.ccm.role.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRoleModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/role/page/query" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.role.page" ],
- "summary" : "分页查询角色",
- "description" : "分页查询角色",
- "operationId" : "alipay.iservice.ccm.role.page.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRolePageQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmRolePageQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "name",
- "in" : "query",
- "description" : "角色名称",
- "schema" : {
- "type" : "string",
- "example" : "普通客服"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "查询结果的页码,起始值为 1,默认值为 1",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 10",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- }, {
- "name" : "ccs_instance_id",
- "in" : "query",
- "description" : "部门id(即租户实例ID、数据权限ID)",
- "schema" : {
- "type" : "string",
- "example" : "kaj_9DA1"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/service/buy" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.service" ],
- "summary" : "租户开通isv服务接口",
- "description" : "租户购买了isv服务后,通知ccm开通服务",
- "operationId" : "alipay.iservice.ccm.service.buy",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServiceBuyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServiceBuyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServiceBuyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/service/close" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.service" ],
- "summary" : "关闭租户开通的isv服务接口",
- "description" : "租户购买的ISV服务到期后,isv通知ccm关闭服务",
- "operationId" : "alipay.iservice.ccm.service.close",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServiceCloseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServiceCloseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServiceCloseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/service/initialize" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.service" ],
- "summary" : "isv服务初始化接口",
- "description" : "ISV调用此接口对接入CCM的服务代码、名称、描述等信息做初始化",
- "operationId" : "alipay.iservice.ccm.service.initialize",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServiceInitializeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServiceInitializeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServiceInitializeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/servicerecord/create" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.servicerecord" ],
- "summary" : "创建服务记录",
- "description" : "提供给云客服租户自主创建服务记录",
- "operationId" : "alipay.iservice.ccm.servicerecord.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/servicerecord/modify" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.servicerecord" ],
- "summary" : "变更服务记录",
- "description" : "提供给云客服租户自主变更服务记录",
- "operationId" : "alipay.iservice.ccm.servicerecord.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmServicerecordModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/article/batchquery" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.sw.article" ],
- "summary" : "知识库-问答-批量查询",
- "description" : "知识库-问答-批量查询",
- "operationId" : "alipay.iservice.ccm.sw.article.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/article/create" : {
- "put" : {
- "tags" : [ "alipay.iservice.ccm.sw.article" ],
- "summary" : "知识库-问答-创建",
- "description" : "知识库-问答-创建",
- "operationId" : "alipay.iservice.ccm.sw.article.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/article/delete" : {
- "delete" : {
- "tags" : [ "alipay.iservice.ccm.sw.article" ],
- "summary" : "知识库-问答-删除",
- "description" : "知识库-问答-删除",
- "operationId" : "alipay.iservice.ccm.sw.article.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/article/get" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.sw.article" ],
- "summary" : "知识库-问答-获取",
- "description" : "知识库-问答-获取",
- "operationId" : "alipay.iservice.ccm.sw.article.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "ccs_instance_id",
- "in" : "query",
- "description" : "子部门ID,不传为默认部门",
- "schema" : {
- "type" : "string",
- "example" : "ZPNASDK"
- }
- }, {
- "name" : "id",
- "in" : "query",
- "description" : "文章ID",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/sw/article/modify" : {
- "patch" : {
- "tags" : [ "alipay.iservice.ccm.sw.article" ],
- "summary" : "知识库-问答-修改",
- "description" : "知识库-问答-修改",
- "operationId" : "alipay.iservice.ccm.sw.article.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwArticleModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/knowledge/modify" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.sw.knowledge" ],
- "summary" : "知识库问答管理",
- "description" : "知识库问答管理",
- "operationId" : "alipay.iservice.ccm.sw.knowledge.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwKnowledgeModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwKnowledgeModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwKnowledgeModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/library/batchquery" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.sw.library" ],
- "summary" : "知识库-库-批量查询",
- "description" : "知识库-库-批量查询",
- "operationId" : "alipay.iservice.ccm.sw.library.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "ccs_instance_id",
- "in" : "query",
- "description" : "子部门ID,不传为默认部门",
- "schema" : {
- "type" : "string",
- "example" : "ZPNASDK"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/sw/library/create" : {
- "put" : {
- "tags" : [ "alipay.iservice.ccm.sw.library" ],
- "summary" : "知识库-库-创建",
- "description" : "知识库-库-创建",
- "operationId" : "alipay.iservice.ccm.sw.library.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/library/delete" : {
- "delete" : {
- "tags" : [ "alipay.iservice.ccm.sw.library" ],
- "summary" : "知识库-库-删除",
- "description" : "知识库-库-删除",
- "operationId" : "alipay.iservice.ccm.sw.library.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/library/modify" : {
- "patch" : {
- "tags" : [ "alipay.iservice.ccm.sw.library" ],
- "summary" : "知识库-库-修改",
- "description" : "知识库-库-修改",
- "operationId" : "alipay.iservice.ccm.sw.library.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwLibraryModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/order/sync" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.sw.order" ],
- "summary" : "商品订单同步",
- "description" : "商品订单同步",
- "operationId" : "alipay.iservice.ccm.sw.order.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwOrderSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwOrderSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwOrderSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/spu/sync" : {
- "post" : {
- "tags" : [ "alipay.iservice.ccm.sw.spu" ],
- "summary" : "商品库-商品信息同步",
- "description" : "商品库-商品信息同步",
- "operationId" : "alipay.iservice.ccm.sw.spu.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwSpuSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwSpuSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwSpuSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/tree/batchquery" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.sw.tree" ],
- "summary" : "知识库-类目-批量查询",
- "description" : "知识库-类目-批量查询",
- "operationId" : "alipay.iservice.ccm.sw.tree.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "ccs_instance_id",
- "in" : "query",
- "description" : "子部门ID,不传为默认部门",
- "schema" : {
- "type" : "string",
- "example" : "ZPNASDK"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/sw/tree/create" : {
- "put" : {
- "tags" : [ "alipay.iservice.ccm.sw.tree" ],
- "summary" : "知识库-类目-创建",
- "description" : "知识库-类目-创建",
- "operationId" : "alipay.iservice.ccm.sw.tree.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/tree/delete" : {
- "delete" : {
- "tags" : [ "alipay.iservice.ccm.sw.tree" ],
- "summary" : "知识库-类目-删除",
- "description" : "知识库-类目-删除",
- "operationId" : "alipay.iservice.ccm.sw.tree.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/tree/get" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.sw.tree" ],
- "summary" : "知识库-类目-获取",
- "description" : "知识库-类目-获取",
- "operationId" : "alipay.iservice.ccm.sw.tree.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "ccs_instance_id",
- "in" : "query",
- "description" : "子部门ID,不传为默认部门",
- "schema" : {
- "type" : "string",
- "example" : "ZPNASDK"
- }
- }, {
- "name" : "id",
- "in" : "query",
- "description" : "类目ID",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/sw/tree/modify" : {
- "patch" : {
- "tags" : [ "alipay.iservice.ccm.sw.tree" ],
- "summary" : "知识库-类目-修改",
- "description" : "知识库-类目-修改",
- "operationId" : "alipay.iservice.ccm.sw.tree.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreeModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/tree/publish" : {
- "put" : {
- "tags" : [ "alipay.iservice.ccm.sw.tree" ],
- "summary" : "知识库-类目-发布",
- "description" : "知识库-类目-发布",
- "operationId" : "alipay.iservice.ccm.sw.tree.publish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreePublishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreePublishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreePublishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/treecategory/batchquery" : {
- "get" : {
- "tags" : [ "alipay.iservice.ccm.sw.treecategory" ],
- "summary" : "知识库-节点-批量查询",
- "description" : "知识库-节点-批量查询",
- "operationId" : "alipay.iservice.ccm.sw.treecategory.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "ccs_instance_id",
- "in" : "query",
- "description" : "子部门ID,不传为默认部门",
- "schema" : {
- "type" : "string",
- "example" : "ZPNASDK"
- }
- }, {
- "name" : "library_id",
- "in" : "query",
- "description" : "知识库ID",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "name",
- "in" : "query",
- "description" : "节点名称",
- "schema" : {
- "type" : "string",
- "example" : "服务群"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页数,page_size不能为空",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "页显示大小,page_num不能为空",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- } ]
- }
- },
- "/v3/alipay/iservice/ccm/sw/treecategory/create" : {
- "put" : {
- "tags" : [ "alipay.iservice.ccm.sw.treecategory" ],
- "summary" : "知识库-节点-创建",
- "description" : "知识库-节点-创建",
- "operationId" : "alipay.iservice.ccm.sw.treecategory.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/treecategory/delete" : {
- "delete" : {
- "tags" : [ "alipay.iservice.ccm.sw.treecategory" ],
- "summary" : "知识库-节点-删除",
- "description" : "知识库-节点-删除",
- "operationId" : "alipay.iservice.ccm.sw.treecategory.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/iservice/ccm/sw/treecategory/modify" : {
- "patch" : {
- "tags" : [ "alipay.iservice.ccm.sw.treecategory" ],
- "summary" : "知识库-节点-修改",
- "description" : "知识库-节点-修改",
- "operationId" : "alipay.iservice.ccm.sw.treecategory.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayIserviceCcmSwTreecategoryModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/batchquery" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity" ],
- "summary" : "条件查询活动列表",
- "description" : "通过此接口可查询多个活动的摘要信息。",
- "operationId" : "alipay.marketing.activity.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/consult" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity" ],
- "summary" : "活动领取咨询接口",
- "description" : "通过此接口可以咨询用户是否可以领取该活动优惠券,决定是否对用户展示该活动信息。",
- "operationId" : "alipay.marketing.activity.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityConsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/deliverychannel/query" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.deliverychannel" ],
- "summary" : "查询可推广渠道",
- "description" : "查询可推广渠道。该接口会返回可以投放的所有渠道的详细信息。\n其中每个渠道的boothCode含义:boothCode表达的是某个渠道可以投放的展位码。例如:支付结果页PAY_RESULT\n其中每个渠道的channel含义:表达的是某个固定的渠道。例如:在boothCode = PAY_RESULT 的情况下, channel = 商户的pid。 该channel就是一个可以投放的渠道,投放后可以在对应的商户的支付结果页看到优惠券。后续创建投放时根据返回的 channel 选择投放渠道",
- "operationId" : "alipay.marketing.activity.deliverychannel.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliverychannelQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliverychannelQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliverychannelQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/ordervoucher/associate" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "关联订单信息",
- "description" : "将已发放的商家券券码与订单信息关联,用于后续参与返佣激励等操作的统计。\n",
- "operationId" : "alipay.marketing.activity.ordervoucher.associate",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAssociateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAssociateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAssociateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/ordervoucher/disassociate" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "取消关联订单信息",
- "description" : "取消商家券与订单信息的关联关系.",
- "operationId" : "alipay.marketing.activity.ordervoucher.disassociate",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherDisassociateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherDisassociateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherDisassociateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/ordervoucher/query" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "查询商家券活动",
- "description" : "商户通过该接口查询商家券活动详情。",
- "operationId" : "alipay.marketing.activity.ordervoucher.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "query",
- "description" : "活动id",
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式",
- "schema" : {
- "type" : "string",
- "example" : "AGENCY_MODE"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/activity/ordervoucher/user/batchqueryvoucher" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.user" ],
- "summary" : "条件查询用户券",
- "description" : "可通过该接口查询用户在某商户可用的全部券,可用于商户的小程序/H5中,用户\"我的优惠券\"或\"提交订单页\"展示优惠信息。只能查询商户配的券,无法查询平台优惠券。",
- "operationId" : "alipay.marketing.activity.user.batchqueryvoucher",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityUserBatchqueryvoucherResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityUserBatchqueryvoucherErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "支付宝用户 id",
- "schema" : {
- "type" : "string",
- "example" : "2088512417841101"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "支付宝用户openId",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "activity_id",
- "in" : "query",
- "description" : "活动 id",
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "belong_merchant_id",
- "in" : "query",
- "description" : "券归属商户",
- "schema" : {
- "type" : "string",
- "example" : "2088202967380463"
- }
- }, {
- "name" : "sender_merchant_id",
- "in" : "query",
- "description" : "券发放商户",
- "schema" : {
- "type" : "string",
- "example" : "2088102161342862"
- }
- }, {
- "name" : "voucher_status",
- "in" : "query",
- "description" : "券状态,其中已过期状态可查询6个月内的数据",
- "schema" : {
- "type" : "string",
- "example" : "SENDED"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "分页查询页码",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式",
- "schema" : {
- "type" : "string",
- "example" : "AGENCY_MODE"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页查询单页数据条数",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/activity/ordervoucher/user/voucher" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.user" ],
- "summary" : "查询用户券详情",
- "description" : "通过此接口可以查询用户券信息,包括用户券的基础信息、状态。",
- "operationId" : "alipay.marketing.activity.user.queryvoucher",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityUserQueryvoucherResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityUserQueryvoucherErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "merchant_id",
- "in" : "query",
- "description" : "商户 PID,默认为当前接口调用商户。",
- "schema" : {
- "type" : "string",
- "example" : "2088202967380463"
- }
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "支付宝用户id",
- "schema" : {
- "type" : "string",
- "example" : "2088512417841101"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "支付宝用户openId",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "activity_id",
- "in" : "query",
- "description" : "活动 id。",
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "voucher_id",
- "in" : "query",
- "description" : "用户券 id。支付宝为用户优惠券唯一分配的 id。",
- "schema" : {
- "type" : "string",
- "example" : "2021072900073002214009F8QHR3"
- }
- }, {
- "name" : "voucher_code",
- "in" : "query",
- "description" : "用户领取的商家券券码。",
- "schema" : {
- "type" : "string",
- "example" : "ABE44"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式。",
- "schema" : {
- "type" : "string",
- "example" : "AGENCY_MODE"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/activity/voucher/append" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.voucher" ],
- "summary" : "追加支付券预算",
- "description" : "支付券激活成功后,调用该接口追加支付券预算。追加支付券预算接口同步返回请求受理结果,后续通过alipay.marketing.activity.message.appended消息接口异步发送追加支付券预算成功事件消息。\n\n如果成功消息长时间未送达,请联系相关技术人员。",
- "operationId" : "alipay.marketing.activity.voucher.append",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherAppendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherAppendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherAppendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/voucher/create" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.voucher" ],
- "summary" : "创建支付券",
- "description" : "商户通过调用此接口创建支付券,包括预充值&免充值支付券,接口同步返回创建处理结果。创建完成后将获得活动id,可用于各个营销场景的活动投放。",
- "operationId" : "alipay.marketing.activity.voucher.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/voucher/modify" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.voucher" ],
- "summary" : "修改支付券基本信息",
- "description" : "商户可以通过该接口修改支付券基本信息。 接口同步返回修改请求受理结果,后续通过alipay.marketing.activity.message.modified消息接口异步发送修改活动成功事件消息。 \n\n特别注意:修改支付券接口返回结果并不代表活动修改成功,必须等待消息回调后才能确保成功。 如果成功消息长时间未送达,请联系相关技术人员。\n",
- "operationId" : "alipay.marketing.activity.voucher.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/voucher/publish" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.voucher" ],
- "summary" : "激活支付券",
- "description" : "支付券创建成功后,通过调用此接口激活支付券。 激活支付券接口同步返回请求受理结果,后续通过alipay.marketing.activity.message.created消息接口异步发送激活支付券成功事件消息。 如果成功消息长时间未送达,请联系相关技术人员。\n",
- "operationId" : "alipay.marketing.activity.voucher.publish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherPublishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherPublishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherPublishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/voucher/query" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.voucher" ],
- "summary" : "查询支付券详情",
- "description" : "通过此接口可查询支付券活动信息,包括活动的配置信息以及活动概况数据。",
- "operationId" : "alipay.marketing.activity.voucher.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "query",
- "description" : "活动 id",
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式。",
- "schema" : {
- "type" : "string",
- "example" : "AGENCY_MODE"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/activity/voucher/send" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.voucher" ],
- "summary" : "发放支付券",
- "description" : "API完成制券后,可使用发放支付券接口发券。通过调用此接口可发放支付券给指定用户,发券场景可以是小程序、H5、APP等。",
- "operationId" : "alipay.marketing.activity.voucher.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/voucher/stop" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.voucher" ],
- "summary" : "停止支付券",
- "description" : "商家调用该接口停止支付券。 停止支付券接口同步返回请求受理结果,后续通过alipay.marketing.activity.message.stopped消息接口异步发送停止活动成功事件。 如果成功消息长时间未送达,请联系相关技术人员。",
- "operationId" : "alipay.marketing.activity.voucher.stop",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherStopResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherStopErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherStopModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/voucherpackage/batchquery" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.voucherpackage" ],
- "summary" : "券包批量查询",
- "description" : "券包批量查询",
- "operationId" : "alipay.marketing.activity.voucherpackage.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/voucherpackage/consult" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.voucherpackage" ],
- "summary" : "券包购买咨询",
- "description" : "券包购买咨询,咨询当前用户是否可以购买指定的券包",
- "operationId" : "alipay.marketing.activity.voucherpackage.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageConsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/activity/voucherpackage/query" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.voucherpackage" ],
- "summary" : "券包详情查询",
- "description" : "查询券包详情,包括券包信息和券包下面券信息",
- "operationId" : "alipay.marketing.activity.voucherpackage.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityVoucherpackageQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "voucher_package_id",
- "in" : "query",
- "description" : "券包id",
- "schema" : {
- "type" : "string",
- "example" : "IP20220628016671405804297103167741"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/activity/{activity_id}" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity" ],
- "summary" : "查询活动详情",
- "description" : "通过此接口可以查询活动详情,包括支付券和商家券活动。",
- "operationId" : "alipay.marketing.activity.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "merchant_id",
- "in" : "query",
- "description" : "商户PID,默认为当前接口调用商户。",
- "schema" : {
- "type" : "string",
- "example" : "2088202967380463"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式。",
- "schema" : {
- "type" : "string",
- "example" : "AGENCY_MODE"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/activity/{activity_id}/app/batchquery" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.app" ],
- "summary" : "查询活动可用小程序",
- "description" : "通过此接口可查询活动的可用小程序,判断活动是否在该小程序可用,来决定是否展示。",
- "operationId" : "alipay.marketing.activity.app.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityAppBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityAppBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "merchant_id",
- "in" : "query",
- "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",
- "schema" : {
- "type" : "string",
- "example" : "2088202967380463"
- }
- }, {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "分页查询页码。 \t限制:\t必须为大于0的整数",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页查询单页数据条数。 \t限制: \t1.必须为大于0的整数 \t2.每页最大值为20",
- "schema" : {
- "type" : "string",
- "example" : "20"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "schema" : {
- "type" : "string",
- "example" : "AGENCY_MODE"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/activity/{activity_id}/goods/batchquery" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.goods" ],
- "summary" : "查询活动适用商品",
- "description" : "通过此接口可查询活动的可用或不可用商品,判断是否在该商品可用,来决定是否展示。",
- "operationId" : "alipay.marketing.activity.goods.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityGoodsBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityGoodsBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "merchant_id",
- "in" : "query",
- "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",
- "schema" : {
- "type" : "string",
- "example" : "2088202967380463"
- }
- }, {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "goods_use_type",
- "in" : "query",
- "description" : "活动单品类型。\t枚举值:\tAVAILABLE 可用商品\tUNAVAILABLE 不可用商品",
- "schema" : {
- "type" : "string",
- "example" : "AVAILABLE"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "分页查询页码。\t限制:\t必须为大于0的整数",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页查询单页数据条数。\t限制:\t1.必须为大于0的整数\t2.每页最大值为20",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- }, {
- "name" : "product_version",
- "in" : "query",
- "description" : "版本号\t\t枚举值:\t2.0.0",
- "schema" : {
- "type" : "string",
- "example" : "2.0.0"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "schema" : {
- "type" : "string",
- "example" : "AGENCY_MODE"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/activity/{activity_id}/merchant/batchquery" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.merchant" ],
- "summary" : "查询活动可用商户",
- "description" : "通过此接口可查询活动的可用商户,判断活动是否在某商户可用,来决定是否展示。",
- "operationId" : "alipay.marketing.activity.merchant.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityMerchantBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityMerchantBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "merchant_id",
- "in" : "query",
- "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",
- "schema" : {
- "type" : "string",
- "example" : "2088202967380463"
- }
- }, {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "分页查询页码。 \t限制: \t必须为大于0的整数",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页查询单页数据条数。 \t限制: \t1.必须为大于0的整数 \t2.每页最大值为20",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "schema" : {
- "type" : "string",
- "example" : "AGENCY_MODE"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/activity/{activity_id}/shop/batchquery" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.shop" ],
- "summary" : "查询活动可用球房",
- "description" : "通过此接口可查询活动的可用球房,判断券是否在某球房可用,来决定是否展示。",
- "operationId" : "alipay.marketing.activity.shop.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityShopBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityShopBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "merchant_id",
- "in" : "query",
- "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",
- "schema" : {
- "type" : "string",
- "example" : "2088202967380463"
- }
- }, {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "分页查询页码。 \t限制: \t必须为大于0的整数",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页查询单页数据条数。 \t限制: \t1.必须为大于0的整数 \t2.每页最大值为20",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- }, {
- "name" : "product_version",
- "in" : "query",
- "description" : "版本号\t\t枚举值:\t2.0.0",
- "schema" : {
- "type" : "string",
- "example" : "2.0.0"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "schema" : {
- "type" : "string",
- "example" : "AGENCY_MODE"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/campaign/cash/create" : {
- "post" : {
- "tags" : [ "alipay.marketing.campaign.cash" ],
- "summary" : "创建现金活动",
- "description" : "商户通过开放平台创建商户活动",
- "operationId" : "alipay.marketing.campaign.cash.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/campaign/cash/detail/query" : {
- "get" : {
- "tags" : [ "alipay.marketing.campaign.cash.detail" ],
- "summary" : "现金活动详情查询",
- "description" : "商户通过开放平台查询自己创建的现金活动详情",
- "operationId" : "alipay.marketing.campaign.cash.detail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashDetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashDetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "crowd_no",
- "in" : "query",
- "description" : "现金活动号,通过<a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.campaign.cash.create\">alipay.marketing.campaign.cash.create</a>(创建现金活动)接口创建现金活动获取。",
- "schema" : {
- "type" : "string",
- "example" : "POYb84lfiKVdIfERAYsqPL_KQRIpfQbl47xfRmmPBlDMnSZ96O-zxUfKlHp5cxmx"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/campaign/cash/list/query" : {
- "get" : {
- "tags" : [ "alipay.marketing.campaign.cash.list" ],
- "summary" : "现金活动列表查询",
- "description" : "商户通过开放平台查询自己创建的现金活动列表",
- "operationId" : "alipay.marketing.campaign.cash.list.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashListQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashListQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "camp_status",
- "in" : "query",
- "description" : "要查询的活动状态,不填默认为 ALL 返回所有类型。枚举支持:\t*ALL:所有类型的活动。\t*CREATED:已创建未打款。\t*PAID:已打款。\t*READY:活动已开始。\t*PAUSE:活动已暂停。\t*CLOSED:活动已结束。\t*SETTLE:活动已清算。",
- "schema" : {
- "type" : "string",
- "example" : "PAID"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页查询时每页返回的列表大小,每页数据最大为 50。",
- "schema" : {
- "type" : "string",
- "example" : "10"
- }
- }, {
- "name" : "page_index",
- "in" : "query",
- "description" : "分页查询时的页码,从1开始",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/campaign/cash/status/modify" : {
- "post" : {
- "tags" : [ "alipay.marketing.campaign.cash.status" ],
- "summary" : "更改现金活动状态",
- "description" : "商户更改现金活动状态,启动/暂停/终止",
- "operationId" : "alipay.marketing.campaign.cash.status.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashStatusModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashStatusModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashStatusModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/campaign/cash/trigger" : {
- "post" : {
- "tags" : [ "alipay.marketing.campaign.cash" ],
- "summary" : "触发现金红包活动",
- "description" : "用户通过开放平台参与现金活动",
- "operationId" : "alipay.marketing.campaign.cash.trigger",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashTriggerResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashTriggerErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignCashTriggerModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/campaign/order/voucher/consult" : {
- "post" : {
- "tags" : [ "alipay.marketing.campaign.order.voucher" ],
- "summary" : "订单优惠前置咨询",
- "description" : "本接口用于前置优惠咨询,包括本订单可享的优惠券列表,注意该列表并不等价于最终核销时使用的券列表,而是包含了咨询的那一刻该订单能用的所有券,且券满足叠加使用下的互斥等规则",
- "operationId" : "alipay.marketing.campaign.order.voucher.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignOrderVoucherConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignOrderVoucherConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCampaignOrderVoucherConsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/activateform/query" : {
- "get" : {
- "tags" : [ "alipay.marketing.card.activateform" ],
- "summary" : "查询用户提交的会员卡表单信息",
- "description" : "会员卡开卡场景下,用户确认领卡后,跳转到商户开卡处理页面,商户通过该接口查询用户表单信息。",
- "operationId" : "alipay.marketing.card.activateform.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardActivateformQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardActivateformQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- }, {
- "name" : "biz_type",
- "in" : "query",
- "description" : "开放表单信息查询业务类型,可选类型如下:\tMEMBER_CARD :商家会员卡开卡",
- "schema" : {
- "type" : "string",
- "example" : "MEMBER_CARD"
- }
- }, {
- "name" : "template_id",
- "in" : "query",
- "description" : "会员卡模板id。使用会员卡模板创建接口(alipay.marketing.card.template.create)返回的结果",
- "schema" : {
- "type" : "string",
- "example" : "2071828288283883"
- }
- }, {
- "name" : "request_id",
- "in" : "query",
- "description" : "查询用户表单提交信息的请求id。\t\t网页移动应用&小程序应用:与auth_code 一起通过alipay.marketing.card.activateurl.apply(获取会员卡领卡投放链接)接口callback地址回传。\t\t注意:auth_code(用户授权码)用于换取用户授权令牌 accessToken,后续调用接口需传入accessToken。",
- "schema" : {
- "type" : "string",
- "example" : "2017021929993993992839493394"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/card/activateurl/apply" : {
- "post" : {
- "tags" : [ "alipay.marketing.card.activateurl" ],
- "summary" : "获取会员卡领卡投放链接",
- "description" : "会员卡开卡业务,开发者通过该接口获取用户开卡链接,用于会员卡投放。",
- "operationId" : "alipay.marketing.card.activateurl.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardActivateurlApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardActivateurlApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardActivateurlApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/benefit/create" : {
- "post" : {
- "tags" : [ "alipay.marketing.card.benefit" ],
- "summary" : "会员卡模板外部权益创建",
- "description" : "会员卡模板外部权益创建,创建的权益内容信息将展示在卡包中卡详情页中部区域。",
- "operationId" : "alipay.marketing.card.benefit.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/benefit/delete" : {
- "delete" : {
- "tags" : [ "alipay.marketing.card.benefit" ],
- "summary" : "会员卡模板外部权益删除",
- "description" : "会员卡模板外部权益删除",
- "operationId" : "alipay.marketing.card.benefit.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "template_id",
- "in" : "query",
- "description" : "会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。",
- "schema" : {
- "type" : "string",
- "example" : "20170322000000000068101000300041"
- }
- }, {
- "name" : "benefit_id",
- "in" : "query",
- "description" : "权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。",
- "schema" : {
- "type" : "string",
- "example" : "20170322000000000068101000300041"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/card/benefit/modify" : {
- "post" : {
- "tags" : [ "alipay.marketing.card.benefit" ],
- "summary" : "会员卡模板外部权益修改",
- "description" : "会员卡模板外部权益修改",
- "operationId" : "alipay.marketing.card.benefit.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/benefit/query" : {
- "get" : {
- "tags" : [ "alipay.marketing.card.benefit" ],
- "summary" : "会员卡模板外部权益查询",
- "description" : "会员卡模板外部权益查询",
- "operationId" : "alipay.marketing.card.benefit.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardBenefitQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "template_id",
- "in" : "query",
- "description" : "会员卡模板ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.template.create\">alipay.marketing.card.template.create</a>(会员卡模板创建)接口创建会员卡模板获取。",
- "schema" : {
- "type" : "string",
- "example" : "20170322000000000068101000300041"
- }
- }, {
- "name" : "benefit_id",
- "in" : "query",
- "description" : "权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。",
- "schema" : {
- "type" : "string",
- "example" : "20170322000000000068101000300041"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/card/consume/sync" : {
- "post" : {
- "tags" : [ "alipay.marketing.card.consume" ],
- "summary" : "会员卡消费记录同步",
- "description" : "会员卡消费记录同步",
- "operationId" : "alipay.marketing.card.consume.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardConsumeSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardConsumeSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardConsumeSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/delete" : {
- "delete" : {
- "tags" : [ "alipay.marketing.card" ],
- "summary" : "会员卡删卡",
- "description" : "通过 API 接口删除商家会员卡。",
- "operationId" : "alipay.marketing.card.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "out_serial_no",
- "in" : "query",
- "description" : "商户端删卡业务流水号,商户自定义且需确保流水号唯一性。",
- "schema" : {
- "type" : "string",
- "example" : "2016062700001"
- }
- }, {
- "name" : "target_card_no",
- "in" : "query",
- "description" : "支付宝业务卡号。即开卡接口返回结果中的card_info.biz_card_no。",
- "schema" : {
- "type" : "string",
- "example" : "0000001"
- }
- }, {
- "name" : "target_card_no_type",
- "in" : "query",
- "description" : "卡号ID类型\r\tBIZ_CARD:支付宝卡号",
- "schema" : {
- "type" : "string",
- "example" : "BIZ_CARD"
- }
- }, {
- "name" : "reason_code",
- "in" : "query",
- "description" : "删卡原因\r\tUSER_UNBUND:用户解绑(可以重新绑定)\r\tCANCEL:销户(完成销户后,就不能再重新绑定)\r\tPRESENT:转赠(可以重新绑定)",
- "schema" : {
- "type" : "string",
- "example" : "USER_UNBUND"
- }
- }, {
- "name" : "ext_info",
- "in" : "query",
- "description" : "删卡扩展参数,json格式。\r\t用于商户的特定业务信息的传递,只有商户与支付宝约定了传递此参数且约定了参数含义,此参数才有效。\r\t目前支持如下key:\r\tnew_card_no:新卡号\r\tdonee_user_id:受赠人userId",
- "schema" : {
- "type" : "string",
- "example" : "{\"new_card_no\":\"12345\",\" donee_user_id\":\"2088102130652460\"}"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/card/formtemplate/set" : {
- "post" : {
- "tags" : [ "alipay.marketing.card.formtemplate" ],
- "summary" : "会员卡开卡表单模板配置",
- "description" : "会员卡开卡、用户授权确认",
- "operationId" : "alipay.marketing.card.formtemplate.set",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardFormtemplateSetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardFormtemplateSetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardFormtemplateSetModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/message/notify" : {
- "post" : {
- "tags" : [ "alipay.marketing.card.message" ],
- "summary" : "会员卡消息通知",
- "description" : "商户触发消息通知用户",
- "operationId" : "alipay.marketing.card.message.notify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardMessageNotifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardMessageNotifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardMessageNotifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/open" : {
- "post" : {
- "tags" : [ "alipay.marketing.card" ],
- "summary" : "会员卡开卡",
- "description" : "商户通过API接口,进行会员卡开卡。",
- "operationId" : "alipay.marketing.card.open",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardOpenResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardOpenErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardOpenModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/query" : {
- "post" : {
- "tags" : [ "alipay.marketing.card" ],
- "summary" : "会员卡查询",
- "description" : "根据卡号或者持卡人信息查询会员卡信息",
- "operationId" : "alipay.marketing.card.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/template/batchquery" : {
- "post" : {
- "tags" : [ "alipay.marketing.card.template" ],
- "summary" : "会员卡模板批量查询",
- "description" : "会员卡模板批量查询",
- "operationId" : "alipay.marketing.card.template.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/template/create" : {
- "post" : {
- "tags" : [ "alipay.marketing.card.template" ],
- "summary" : "会员卡模板创建",
- "description" : "会员卡模板创建",
- "operationId" : "alipay.marketing.card.template.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/template/modify" : {
- "post" : {
- "tags" : [ "alipay.marketing.card.template" ],
- "summary" : "会员卡模板修改",
- "description" : "会员卡模板修改",
- "operationId" : "alipay.marketing.card.template.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/card/template/query" : {
- "get" : {
- "tags" : [ "alipay.marketing.card.template" ],
- "summary" : "会员卡模板查询接口",
- "description" : "会员卡模板查询接口",
- "operationId" : "alipay.marketing.card.template.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardTemplateQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "template_id",
- "in" : "query",
- "description" : "会员卡模板id。调用alipay.marketing.card.template.create(会员卡模板创建接口)创建模板后同步返回。",
- "schema" : {
- "type" : "string",
- "example" : "20160718000000001"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/card/update" : {
- "post" : {
- "tags" : [ "alipay.marketing.card" ],
- "summary" : "会员卡更新",
- "description" : "会员卡更新",
- "operationId" : "alipay.marketing.card.update",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardUpdateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingCardUpdateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingCardUpdateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/delivery" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.delivery" ],
- "summary" : "创建推广计划",
- "description" : "创建推广计划将内容推广到指定展位,用户可在指定展位领取推广内容。 不同展位支持的推广内容、推广规则、推广玩法、推广配置可能存在差异,使用时请仔细阅读接口说明文档。 创建推广成功后,请依据推广变更消息alipay.marketing.activity.delivery.message感知推广变更状态。",
- "operationId" : "alipay.marketing.activity.delivery.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/delivery/{delivery_id}/query" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.delivery" ],
- "summary" : "查询推广计划",
- "description" : "查询推广计划详情信息。",
- "operationId" : "alipay.marketing.activity.delivery.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "delivery_id",
- "in" : "path",
- "description" : "推广计划id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "20121231231242353"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/delivery/{delivery_id}/stop" : {
- "patch" : {
- "tags" : [ "alipay.marketing.activity.delivery" ],
- "summary" : "停止推广计划",
- "description" : "停止推广计划。 \n注意:停止推广操作成功到推广内容停止生效,可能存在几分钟的延迟。",
- "operationId" : "alipay.marketing.activity.delivery.stop",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryStopResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryStopErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "delivery_id",
- "in" : "path",
- "description" : "推广计划id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "20121231231242353"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityDeliveryStopModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/material/create" : {
- "post" : {
- "tags" : [ "alipay.marketing.material" ],
- "summary" : "创建支付宝素材",
- "description" : "用于创建支付宝素材",
- "operationId" : "alipay.marketing.material.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingMaterialCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingMaterialCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingMaterialCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/material/image" : {
- "post" : {
- "tags" : [ "alipay.marketing.material.image" ],
- "summary" : "营销图片资源上传接口",
- "description" : "营销通用上传图片接口",
- "operationId" : "alipay.marketing.material.image.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingMaterialImageUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingMaterialImageUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/AlipayMarketingMaterialImageUploadModel"
- },
- "file_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "file_content" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/ordervoucher/activity" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "创建商家券活动",
- "description" : "商家调用该接口创建商家券活动。\n创建商家券活动接口同步返回创建请求受理结果,后续通过alipay.marketing.activity.message.created消息接口异步发送活动创建成功事件消息。\n\n如果在code_mode=MERCHANT_UPLOAD的模式下,创建商家券活动后,还需要进行券码导入操作,以及预算追加操作,然后商家券才能进行发放。",
- "operationId" : "alipay.marketing.activity.ordervoucher.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/ordervoucher/activity/{activity_id}" : {
- "patch" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "修改商家券活动基本信息",
- "description" : "商家调用该接口修改商家券活动基本信息。\n修改商家券活动基本信息接口同步返回修改请求受理结果,后续通过alipay.marketing.activity.message.modified消息接口异步发送修改活动成功事件消息。",
- "operationId" : "alipay.marketing.activity.ordervoucher.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id1",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/append" : {
- "patch" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "修改商家券活动发券数量上限",
- "description" : "商家调用该接口修改商家券活动预算上限,以此来追加商家券活动预算。\n修改商家券活动预算上限同步返回追加请求受理结果,后续通过alipay.marketing.activity.message.appended消息接口异步发送发券数量上限修改成功事件消息。\ncode_mode=MERCHANT_UPLOAD场景下,必须先导入券码后,方可追加商家券预算。",
- "operationId" : "alipay.marketing.activity.ordervoucher.append",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAppendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAppendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherAppendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/stop" : {
- "patch" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "停止商家券活动",
- "description" : "商家调用该接口停止优惠券。\n停止优惠券接口同步返回停止请求受理结果,后续通过alipay.marketing.activity.message.stopped消息接口异步发送停止活动成功事件。\n如果成功消息长时间未送达,请联系相关技术人员。",
- "operationId" : "alipay.marketing.activity.ordervoucher.stop",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherStopResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherStopErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherStopModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/voucher/codecount" : {
- "get" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "统计商家券券码数量",
- "description" : "商家调用该接口查询活动中的有效券码个数。接口同步返回查询结果。",
- "operationId" : "alipay.marketing.activity.ordervoucher.codecount",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodecountResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodecountErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "merchant_access_mode",
- "in" : "query",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "schema" : {
- "type" : "string",
- "example" : "SELF_MODE"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/voucher/codedeposit" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "同步商家券券码",
- "description" : "商家调用该接口同步导入商家券券码,接口同步返回导入结果。请在接收alipay.marketing.activity.message.created消息后,再进行调用。",
- "operationId" : "alipay.marketing.activity.ordervoucher.codedeposit",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodedepositResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodedepositErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "path",
- "description" : "活动id\t\t限制\t请在接收alipay.marketing.activity.message.created消息后,再进行调用。",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherCodedepositModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/voucher/{voucher_code}/refund" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "取消券核销状态",
- "description" : "商户调用该接口进行优惠券退券处理。接口同步返回结果。\n如果优惠券过期后,发起退券操作,该接口返回成功,优惠券退回后仍不可用。\n如果优惠券在支付宝卡包已删除,发起退券操作,该接口返回成功,优惠券在支付宝卡包仍然是删除状态。",
- "operationId" : "alipay.marketing.activity.ordervoucher.refund",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherRefundResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherRefundErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "path",
- "description" : "优惠券活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "voucher_code",
- "in" : "path",
- "description" : "已核销待退券的券码",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "ABE44"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherRefundModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/ordervoucher/activity/{activity_id}/voucher/{voucher_code}/use" : {
- "post" : {
- "tags" : [ "alipay.marketing.activity.ordervoucher" ],
- "summary" : "同步券核销状态",
- "description" : "商户调用该接口,通过券码进行优惠券核销,接口同步返回核销结果。",
- "operationId" : "alipay.marketing.activity.ordervoucher.use",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherUseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherUseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "path",
- "description" : "优惠券活动id",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2016042700826004508401111111"
- }
- }, {
- "name" : "voucher_code",
- "in" : "path",
- "description" : "待核销的券码。",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "ABE44"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingActivityOrdervoucherUseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/recruit/enroll/close" : {
- "post" : {
- "tags" : [ "alipay.marketing.recruit.enroll" ],
- "summary" : "下线报名",
- "description" : "下线报名",
- "operationId" : "alipay.marketing.recruit.enroll.close",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCloseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCloseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCloseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/recruit/enroll/create" : {
- "post" : {
- "tags" : [ "alipay.marketing.recruit.enroll" ],
- "summary" : "招商报名提交",
- "description" : "创建报名后立即提交,审核通过后会以消息的形式通知调用方(需要接入消息接口alipay.marketing.enroll.status.changed)。在消息通知前可以尝试调用“报名详情查询接口(alipay.marketing.enroll.detail.query)”了解报名状态。",
- "operationId" : "alipay.marketing.recruit.enroll.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/recruit/enroll/query" : {
- "get" : {
- "tags" : [ "alipay.marketing.recruit.enroll" ],
- "summary" : "报名详情查询",
- "description" : "报名详情查询",
- "operationId" : "alipay.marketing.recruit.enroll.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitEnrollQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "out_biz_no",
- "in" : "query",
- "description" : "外部操作流水号。由商家/ISV 自定义,仅支持字母、数字、下划线且需保证每次操作唯一。",
- "schema" : {
- "type" : "string",
- "example" : "21ba1e1c16456985463242192e4d"
- }
- }, {
- "name" : "enroll_id",
- "in" : "query",
- "description" : "报名ID,此参数和out_biz_no至少传一个,优先取enroll_id",
- "schema" : {
- "type" : "string",
- "example" : "2021041301000200000000000000"
- }
- } ]
- }
- },
- "/v3/alipay/marketing/recruit/plan/query" : {
- "post" : {
- "tags" : [ "alipay.marketing.recruit.plan" ],
- "summary" : "招商方案详情查询",
- "description" : "招商方案详情查询",
- "operationId" : "alipay.marketing.recruit.plan.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/recruit/planlist/query" : {
- "post" : {
- "tags" : [ "alipay.marketing.recruit.planlist" ],
- "summary" : "查询可报名的方案列表",
- "description" : "查询可报名的方案列表",
- "operationId" : "alipay.marketing.recruit.planlist.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanlistQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanlistQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingRecruitPlanlistQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/marketing/xuanyitest/transfer" : {
- "post" : {
- "tags" : [ "alipay.marketing.xuanyitest" ],
- "summary" : "资源化测试4.0",
- "description" : "功能测试",
- "operationId" : "alipay.marketing.xuanyitest.transfer",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingXuanyitestTransferResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMarketingXuanyitestTransferErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMarketingXuanyitestTransferModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/anchor/query" : {
- "get" : {
- "tags" : [ "alipay.merchant.anchor.info" ],
- "summary" : "查询主播信息",
- "description" : "查询主播信息",
- "operationId" : "alipay.merchant.anchor.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantAnchorInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantAnchorInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID",
- "schema" : {
- "type" : "string",
- "example" : "2088000011112222"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "public_id",
- "in" : "query",
- "description" : "生活号ID",
- "schema" : {
- "type" : "string",
- "example" : "2021000011112222"
- }
- } ]
- }
- },
- "/v3/alipay/merchant/image/upload" : {
- "post" : {
- "tags" : [ "alipay.merchant.image" ],
- "summary" : "商户上传处理图片",
- "description" : "商户上传投诉处理、服务咨询的图片接口",
- "operationId" : "alipay.merchant.image.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantImageUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantImageUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/AlipayMerchantImageUploadModel"
- },
- "image_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "data" : {
- "contentType" : "application/json"
- },
- "image_content" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/indirect/authorder/close" : {
- "put" : {
- "tags" : [ "alipay.merchant.indirect.authorder" ],
- "summary" : "商家认证申请单撤销",
- "description" : "申请单处于审核中、审核失败、待确认等状态时,申请单可撤销,撤销后可重新调用提交申请单接口上传申请单信息",
- "operationId" : "alipay.merchant.indirect.authorder.close",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCloseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCloseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCloseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/indirect/authorder/create" : {
- "post" : {
- "tags" : [ "alipay.merchant.indirect.authorder" ],
- "summary" : "商家认证申请单提交",
- "description" : "间连商户认证申请单提交,用于支付宝间连商家认证",
- "operationId" : "alipay.merchant.indirect.authorder.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/indirect/authorder/querystatus" : {
- "post" : {
- "tags" : [ "alipay.merchant.indirect.authorder" ],
- "summary" : "查询商家认证申请单状态",
- "description" : "查询商家认证申请单状态,以及失败原因",
- "operationId" : "alipay.merchant.indirect.authorder.querystatus",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderQuerystatusResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderQuerystatusErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectAuthorderQuerystatusModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/indirect/smidbind/query" : {
- "get" : {
- "tags" : [ "alipay.merchant.indirect.smidbind" ],
- "summary" : "获取商家认证状态",
- "description" : "获取商家认证状态,状态枚举:已确认/未确认/已注销",
- "operationId" : "alipay.merchant.indirect.smidbind.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectSmidbindQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantIndirectSmidbindQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "sub_merchant_id",
- "in" : "query",
- "description" : "支付宝商户id",
- "schema" : {
- "type" : "string",
- "example" : "2088000000000001"
- }
- } ]
- }
- },
- "/v3/alipay/merchant/iot/device/bind" : {
- "post" : {
- "tags" : [ "alipay.merchant.iot.device" ],
- "summary" : "IoT设备绑定球房",
- "description" : "同步IoT设备、商户和球房的绑定关系",
- "operationId" : "alipay.merchant.iot.device.bind",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIotDeviceBindResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantIotDeviceBindErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIotDeviceBindModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/iot/device/query" : {
- "get" : {
- "tags" : [ "alipay.merchant.iot.device" ],
- "summary" : "IoT设备绑定关系查询",
- "description" : "通过设备唯一标识查询设备绑定关系",
- "operationId" : "alipay.merchant.iot.device.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIotDeviceQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantIotDeviceQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "device_id_type",
- "in" : "query",
- "description" : "可选方式 [ID,SN]。ID-使用biztid作为设备唯一识别标识;SN-使用supplier_id、device_sn联合作为设备唯一识别标识。由于不同机型的supplier_id不同,推荐使用 ID 。",
- "schema" : {
- "type" : "string",
- "example" : "SN"
- }
- }, {
- "name" : "biz_tid",
- "in" : "query",
- "description" : "设备 ID ,device_id_type 为 ID 时填写。",
- "schema" : {
- "type" : "string",
- "example" : "01017gV1CZ1XxASNbqkTJqchletNyVXtsKy1PAs4FKZ6tjRMqyMG2Zk"
- }
- }, {
- "name" : "supplier_id",
- "in" : "query",
- "description" : "设备供应商ID ,device_id_type 为 SN 时填写。需注意不同机型的供应商ID可能不同。",
- "schema" : {
- "type" : "string",
- "example" : "201812271300540049"
- }
- }, {
- "name" : "device_sn",
- "in" : "query",
- "description" : "设备序列号 ,device_id_type 为 SN 时填写。需配合supplier_id使用。",
- "schema" : {
- "type" : "string",
- "example" : "QCF420190316000107"
- }
- } ]
- }
- },
- "/v3/alipay/merchant/iot/device/verify" : {
- "post" : {
- "tags" : [ "alipay.merchant.iot.device" ],
- "summary" : "IoT设备绑定校验",
- "description" : "校验IoT设备和商户收单账号的对应关系",
- "operationId" : "alipay.merchant.iot.device.verify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIotDeviceVerifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantIotDeviceVerifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantIotDeviceVerifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/item/file/upload" : {
- "post" : {
- "tags" : [ "alipay.merchant.item.file" ],
- "summary" : "商品文件上传接口",
- "description" : "商户把商品对应的图片文件、普通文件信息上传到支付宝,后续通过该接口返回的素材ID来和支付宝交互",
- "operationId" : "alipay.merchant.item.file.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantItemFileUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantItemFileUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/AlipayMerchantItemFileUploadModel"
- },
- "file_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "file_content" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/live/channel/query" : {
- "get" : {
- "tags" : [ "alipay.merchant.live.channel" ],
- "summary" : "渠道信息查询",
- "description" : "根据直播等内容域跳转小程序下单时携带的orderStartId,回查业务主体信息(如操作人、主播、直播、文章等,用于外部业务信息补全、返佣等)。",
- "operationId" : "alipay.merchant.live.channel.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantLiveChannelQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantLiveChannelQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "secret",
- "in" : "query",
- "description" : "渠道下单参数(orderStartId)",
- "schema" : {
- "type" : "string",
- "example" : "b07d6694341b69c406522d3ff28d9807"
- }
- } ]
- }
- },
- "/v3/alipay/merchant/live/itemplan/modify" : {
- "post" : {
- "tags" : [ "alipay.merchant.live.itemplan" ],
- "summary" : "支付宝货品推广计划创建",
- "description" : "支付宝货品推广计划创建",
- "operationId" : "alipay.merchant.live.itemplan.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantLiveItemplanModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantLiveItemplanModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantLiveItemplanModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/order/sync" : {
- "post" : {
- "tags" : [ "alipay.merchant.order" ],
- "summary" : "订单数据同步接口",
- "description" : "商户可以调用此接口同步交易对应的订单数据",
- "operationId" : "alipay.merchant.order.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantOrderSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantOrderSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantOrderSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/tradecomplain/batchquery" : {
- "post" : {
- "tags" : [ "alipay.merchant.tradecomplain" ],
- "summary" : "查询交易投诉列表",
- "description" : "开发者根据其应用id查询用户在其应用(小程序、生活号)的投诉单列表记录。投诉单列表以分页查询方式返回。",
- "operationId" : "alipay.merchant.tradecomplain.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/tradecomplain/feedback" : {
- "post" : {
- "tags" : [ "alipay.merchant.tradecomplain.feedback" ],
- "summary" : "商家处理交易投诉",
- "description" : "商户请求交易投诉处理API,上传处理类型、处理内容描述及图片凭证。其中上传图片凭证需要先通过\"商户上传处理图片\"接口获取图片id,再将图片id设置到接口请求中。",
- "operationId" : "alipay.merchant.tradecomplain.feedback.submit",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainFeedbackSubmitResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainFeedbackSubmitErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainFeedbackSubmitModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/tradecomplain/reply" : {
- "post" : {
- "tags" : [ "alipay.merchant.tradecomplain.reply" ],
- "summary" : "商家留言回复",
- "description" : "投诉单状态在“商家待处理”或“商家已反馈”或“商家处理超时”状态下,若有内容需要补充说明,可使用此接口提交文字或图片",
- "operationId" : "alipay.merchant.tradecomplain.reply.submit",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainReplySubmitResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainReplySubmitErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainReplySubmitModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/tradecomplain/supplement" : {
- "post" : {
- "tags" : [ "alipay.merchant.tradecomplain.supplement" ],
- "summary" : "商家补充凭证",
- "description" : "投诉进入平台处理中状态时,为保证客服能准确判定责任方,可使用此接口补充文字或图片说明问题及处理经过",
- "operationId" : "alipay.merchant.tradecomplain.supplement.submit",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainSupplementSubmitResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainSupplementSubmitErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainSupplementSubmitModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/merchant/tradecomplain/{complain_event_id}" : {
- "get" : {
- "tags" : [ "alipay.merchant.tradecomplain" ],
- "summary" : "查询单条交易投诉详情",
- "description" : "开发者根据支付宝侧投诉单号查询该笔投诉详细记录。",
- "operationId" : "alipay.merchant.tradecomplain.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMerchantTradecomplainQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "complain_event_id",
- "in" : "path",
- "description" : "支付宝侧投诉单号",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2020092300102000000001459758"
- }
- } ]
- }
- },
- "/v3/alipay/mobile/public/follow/list" : {
- "get" : {
- "tags" : [ "alipay.mobile.public.follow" ],
- "summary" : "获取关注者列表",
- "description" : "公众号可通过本接口来获取帐号的关注者列表,关注者列表由一串userId组成。一次拉取调用最多拉取10000个关注者的userId,可以通过多次拉取的方式来满足需求。\r\n公众号可通过本接口来获取帐号的关注者列表,关注者列表由一串userId组成。一次拉取调用最多拉取10000个关注者的userId,可以通过多次拉取的方式来满足需求。",
- "operationId" : "alipay.mobile.public.follow.list",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicFollowListResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicFollowListErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "biz_content",
- "in" : "query",
- "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>",
- "schema" : {
- "type" : "string",
- "example" : "{\"nextUserId\":\"2088102123322367\"}"
- }
- } ]
- }
- },
- "/v3/alipay/mobile/public/info/query" : {
- "get" : {
- "tags" : [ "alipay.mobile.public.info" ],
- "summary" : "服务窗基础信息查询接口",
- "description" : "通过该接口查询服务窗名称、头像、欢迎语基础信息",
- "operationId" : "alipay.mobile.public.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/mobile/public/menu/add" : {
- "post" : {
- "tags" : [ "alipay.mobile.public.menu" ],
- "summary" : "创建菜单",
- "description" : "通过POST一个特定的结构体,实现支付宝钱包客户端的服务窗创建自定义菜单。本接口只可以调用一次,菜单已存在无需再次创建,今后只需要调用更新接口。",
- "operationId" : "alipay.mobile.public.menu.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMenuAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicMenuAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMenuAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/mobile/public/menu/get" : {
- "get" : {
- "tags" : [ "alipay.mobile.public.menu" ],
- "summary" : "查询菜单",
- "description" : "查询当前使用的自定义菜单",
- "operationId" : "alipay.mobile.public.menu.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMenuGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicMenuGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/mobile/public/menu/update" : {
- "post" : {
- "tags" : [ "alipay.mobile.public.menu" ],
- "summary" : "更新菜单",
- "description" : "通过POST一个特定结构体,实现支付宝钱包客户端的公众账号更新自定义菜单。每一次的更新是针对全部自定义菜单的更新。",
- "operationId" : "alipay.mobile.public.menu.update",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMenuUpdateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicMenuUpdateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMenuUpdateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/mobile/public/message/custom/send" : {
- "post" : {
- "tags" : [ "alipay.mobile.public.message.custom" ],
- "summary" : "异步单发消息",
- "description" : "异步单发消息",
- "operationId" : "alipay.mobile.public.message.custom.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMessageCustomSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicMessageCustomSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMessageCustomSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/mobile/public/message/single/send" : {
- "post" : {
- "tags" : [ "alipay.mobile.public.message.single" ],
- "summary" : "单发模板消息",
- "description" : "单发模板消息",
- "operationId" : "alipay.mobile.public.message.single.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMessageSingleSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicMessageSingleSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMessageSingleSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/mobile/public/message/total/send" : {
- "post" : {
- "tags" : [ "alipay.mobile.public.message.total" ],
- "summary" : "群发消息",
- "description" : "群发消息",
- "operationId" : "alipay.mobile.public.message.total.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMessageTotalSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicMessageTotalSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicMessageTotalSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/mobile/public/qrcode/create" : {
- "post" : {
- "tags" : [ "alipay.mobile.public.qrcode" ],
- "summary" : "生成带参数的二维码",
- "description" : "为了满足用户渠道推广分析的需要,公众平台提供了生成带参数二维码的接口。使用该接口可以获得多个带不同场景值的二维码,用户扫描后,公众号可以接收到事件推送。目前有2种类型的二维码,分别是临时二维码、和永久二维码,前者有过期时间,最大为1800秒。\r\n每次创建二维码ticket需要提供一个开发者自行设定的参数(scene_id)。",
- "operationId" : "alipay.mobile.public.qrcode.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicQrcodeCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicQrcodeCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicQrcodeCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/mobile/public/shortlink/create" : {
- "post" : {
- "tags" : [ "alipay.mobile.public.shortlink" ],
- "summary" : "服务窗短链自主生成接口",
- "description" : "商户通过本接口生成带自有场景标识的短链接",
- "operationId" : "alipay.mobile.public.shortlink.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicShortlinkCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicShortlinkCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicShortlinkCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/mobile/public/template/message/delete" : {
- "post" : {
- "tags" : [ "alipay.mobile.public.template.message" ],
- "summary" : "模板消息删除接口",
- "description" : "模板消息删除接口",
- "operationId" : "alipay.mobile.public.template.message.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/mobile/public/template/message/get" : {
- "get" : {
- "tags" : [ "alipay.mobile.public.template.message" ],
- "summary" : "模板消息领取接口",
- "description" : "帮助服务窗从服务窗平台(fuwu.alipay.com)公共模板库里领取一个行业的消息模板--消息模板是一种消息的样式,如消费提醒、账单提醒等",
- "operationId" : "alipay.mobile.public.template.message.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "template_id",
- "in" : "query",
- "description" : "消息母板id",
- "schema" : {
- "type" : "string",
- "example" : "TM000000223"
- }
- } ]
- }
- },
- "/v3/alipay/mobile/public/template/message/query" : {
- "post" : {
- "tags" : [ "alipay.mobile.public.template.message" ],
- "summary" : "模板消息查询接口",
- "description" : "模板消息查询接口",
- "operationId" : "alipay.mobile.public.template.message.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobilePublicTemplateMessageQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/mobile/std/public/message/custom/send" : {
- "post" : {
- "tags" : [ "alipay.mobile.std.public.message.custom" ],
- "summary" : "异步单发消息",
- "description" : "商户给单个用户发送消息",
- "operationId" : "alipay.mobile.std.public.message.custom.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobileStdPublicMessageCustomSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayMobileStdPublicMessageCustomSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayMobileStdPublicMessageCustomSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/offline/market/applyorder/batchquery" : {
- "post" : {
- "tags" : [ "alipay.offline.market.applyorder" ],
- "summary" : "业务流水批量查询接口",
- "description" : "通过该接口分页查询Leads、球房、商品相关操作流水信息",
- "operationId" : "alipay.offline.market.applyorder.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketApplyorderBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOfflineMarketApplyorderBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketApplyorderBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/offline/market/shop/batchquery" : {
- "post" : {
- "tags" : [ "alipay.offline.market.shop" ],
- "summary" : "查询商户的球房编号列表",
- "description" : "系统商通过该接口可以查询对应APPID下所有的球房编号(支付宝口碑球房编号)",
- "operationId" : "alipay.offline.market.shop.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/offline/market/shop/category/query" : {
- "get" : {
- "tags" : [ "alipay.offline.market.shop.category" ],
- "summary" : "球房类目配置查询接口",
- "description" : "用于查询可用于开店的类目,以及类目上的配置约束信息",
- "operationId" : "alipay.offline.market.shop.category.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopCategoryQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopCategoryQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "category_id",
- "in" : "query",
- "description" : "类目ID,如果为空则查询全部类目。",
- "schema" : {
- "type" : "string",
- "example" : "2015050700000000"
- }
- }, {
- "name" : "op_role",
- "in" : "query",
- "description" : "表示接口业务的调用方身份,默认不填标识为ISV。",
- "schema" : {
- "type" : "string",
- "example" : "ISV"
- }
- } ]
- }
- },
- "/v3/alipay/offline/market/shop/create" : {
- "post" : {
- "tags" : [ "alipay.offline.market.shop" ],
- "summary" : "创建球房信息",
- "description" : "系统商需要通过该接口在口碑平台帮助商户创建球房信息。",
- "operationId" : "alipay.offline.market.shop.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/offline/market/shop/modify" : {
- "post" : {
- "tags" : [ "alipay.offline.market.shop" ],
- "summary" : "修改球房信息",
- "description" : "系统商需要通过该接口在口碑平台帮助商户修改球房信息,所有的选项都为非必填项,需要修改什么信息就传入什么参数,不传入的参数,则保持不变。修改球房名、品牌名、品牌logo、首图、球房图片、营业执照、营业执照编号、营业执照名称、经营许可证、经营许可证有效期、球房授权函、是否在其它平台开店、在其它平台开店照片,会重新触发风控审核,修改其他字段不会触发风控审核。",
- "operationId" : "alipay.offline.market.shop.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/offline/market/shop/querydetail" : {
- "get" : {
- "tags" : [ "alipay.offline.market.shop" ],
- "summary" : "查询单个球房信息接口",
- "description" : "系统商通过该接口可以查询单个球房的详细信息,包括球房基础信息,球房状态等信息",
- "operationId" : "alipay.offline.market.shop.querydetail",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopQuerydetailResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopQuerydetailErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "shop_id",
- "in" : "query",
- "description" : "支付宝球房ID",
- "schema" : {
- "type" : "string",
- "example" : "2015052100077000000000120773"
- }
- }, {
- "name" : "op_role",
- "in" : "query",
- "description" : "服务商及商户调用情况下务必传递。操作人角色,默认商户操作:MERCHANT;服务商操作:PROVIDER;ISV: 不需要填写",
- "schema" : {
- "type" : "string",
- "example" : "MERCHANT或PROVIDER"
- }
- } ]
- }
- },
- "/v3/alipay/offline/market/shop/summary/batchquery" : {
- "post" : {
- "tags" : [ "alipay.offline.market.shop.summary" ],
- "summary" : "球房摘要信息批量查询接口",
- "description" : "用于进行球房摘要信息批量查询接口。",
- "operationId" : "alipay.offline.market.shop.summary.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopSummaryBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopSummaryBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMarketShopSummaryBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/offline/material/image/upload" : {
- "post" : {
- "tags" : [ "alipay.offline.material.image" ],
- "summary" : "上传球房照片和视频接口",
- "description" : "系统商需要先将商户需要使用的图片和视频,上传支付宝服务器,生成对应的图片ID后才能够在口碑平台上配置相应图片",
- "operationId" : "alipay.offline.material.image.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOfflineMaterialImageUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOfflineMaterialImageUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/AlipayOfflineMaterialImageUploadModel"
- },
- "image_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "data" : {
- "contentType" : "application/json"
- },
- "image_content" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.agent" ],
- "summary" : "取消代商户签约、创建应用事务",
- "description" : "取消代商户签约、创建应用事务",
- "operationId" : "alipay.open.agent.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/common/sign" : {
- "post" : {
- "tags" : [ "alipay.open.agent.common" ],
- "summary" : "代签约产品通用接口",
- "description" : "三方应用代理签约产品,需要配合开启事务接口使用",
- "operationId" : "alipay.open.agent.common.sign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentCommonSignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentCommonSignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "app_demo" : {
- "type" : "string",
- "format" : "binary"
- },
- "business_license_auth_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "business_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentCommonSignModel"
- },
- "mini_app_screenshot" : {
- "type" : "string",
- "format" : "binary"
- },
- "shop_scene_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "shop_sign_board_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "special_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "web_home_screenshot" : {
- "type" : "string",
- "format" : "binary"
- },
- "web_item_screenshot" : {
- "type" : "string",
- "format" : "binary"
- },
- "web_pay_screenshot" : {
- "type" : "string",
- "format" : "binary"
- },
- "web_sites_loa" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "web_pay_screenshot" : {
- "contentType" : "*/*"
- },
- "shop_sign_board_pic" : {
- "contentType" : "*/*"
- },
- "special_license_pic" : {
- "contentType" : "*/*"
- },
- "web_sites_loa" : {
- "contentType" : "*/*"
- },
- "business_license_pic" : {
- "contentType" : "*/*"
- },
- "mini_app_screenshot" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- },
- "shop_scene_pic" : {
- "contentType" : "*/*"
- },
- "app_demo" : {
- "contentType" : "*/*"
- },
- "business_license_auth_pic" : {
- "contentType" : "*/*"
- },
- "web_home_screenshot" : {
- "contentType" : "*/*"
- },
- "web_item_screenshot" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/commonsign/confirm" : {
- "post" : {
- "tags" : [ "alipay.open.agent.commonsign" ],
- "summary" : "代商户签约,提交信息确认接口",
- "description" : "三方应用代理签约产品,上传商户信息后,确认提交信息。可以配合开启事务接口使用。",
- "operationId" : "alipay.open.agent.commonsign.confirm",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentCommonsignConfirmResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentCommonsignConfirmErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentCommonsignConfirmModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/confirm" : {
- "post" : {
- "tags" : [ "alipay.open.agent" ],
- "summary" : "提交代商户签约、创建应用事务",
- "description" : "提交事务。只允许提交init状态的事务,submit|cancel|timeout 状态的都是终态,不允许提交,且不允许提交空事务,需要先调用代创建小程序、代签约当面付等业务接口,再提交事务。服务市场订购及授权,使用订单授权凭证order_ticket开启的事务,提交后会有应用授权令牌返回。",
- "operationId" : "alipay.open.agent.confirm",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentConfirmResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentConfirmErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentConfirmModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/create" : {
- "post" : {
- "tags" : [ "alipay.open.agent" ],
- "summary" : "开启代商户签约、创建应用事务",
- "description" : "在 ISV 代商户进行应用创建、产品签约时,用于开启一个操作事务,必须是第一个调用的接口。场景1:ISV 代商户进行应用创建、产品签约,最后提交事务后需要商户确认才能完成流程;场景2:服务市场订购及授权,使用订单授权凭证order_ticket开启预授权模式,该模式下提交事务后无需商户确认。",
- "operationId" : "alipay.open.agent.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/facetoface/sign" : {
- "post" : {
- "tags" : [ "alipay.open.agent.facetoface" ],
- "summary" : "代签约当面付产品",
- "description" : "三方应用代理签约当面付产品,需要配合开启事务接口使用",
- "operationId" : "alipay.open.agent.facetoface.sign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentFacetofaceSignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentFacetofaceSignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "business_license_auth_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "business_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentFacetofaceSignModel"
- },
- "shop_scene_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "shop_sign_board_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "special_license_pic" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "shop_sign_board_pic" : {
- "contentType" : "*/*"
- },
- "special_license_pic" : {
- "contentType" : "*/*"
- },
- "business_license_pic" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- },
- "shop_scene_pic" : {
- "contentType" : "*/*"
- },
- "business_license_auth_pic" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/mini/create" : {
- "post" : {
- "tags" : [ "alipay.open.agent.mini" ],
- "summary" : "代商家创建小程序应用",
- "description" : "ISV 代商家创建小程序应用。该接口后续将不再更新迭代,请使用新接口对接开发。新接口介绍文档:https://opendocs.alipay.com/isv/03kqzh ;新接口对接文档:https://opendocs.alipay.com/mini/03l21u 。",
- "operationId" : "alipay.open.agent.mini.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentMiniCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentMiniCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "app_logo" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentMiniCreateModel"
- }
- }
- },
- "encoding" : {
- "app_logo" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/mobilepay/sign" : {
- "post" : {
- "tags" : [ "alipay.open.agent.mobilepay" ],
- "summary" : "代签约APP支付产品",
- "description" : "三方应用代理签约APP支付产品,需要配合开启事务接口使用",
- "operationId" : "alipay.open.agent.mobilepay.sign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentMobilepaySignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentMobilepaySignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "app_auth_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "app_demo" : {
- "type" : "string",
- "format" : "binary"
- },
- "business_license_auth_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "business_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentMobilepaySignModel"
- },
- "home_screenshot" : {
- "type" : "string",
- "format" : "binary"
- },
- "in_app_screenshot" : {
- "type" : "string",
- "format" : "binary"
- },
- "pay_screenshot" : {
- "type" : "string",
- "format" : "binary"
- },
- "special_license_pic" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "special_license_pic" : {
- "contentType" : "*/*"
- },
- "business_license_pic" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- },
- "app_demo" : {
- "contentType" : "*/*"
- },
- "business_license_auth_pic" : {
- "contentType" : "*/*"
- },
- "in_app_screenshot" : {
- "contentType" : "*/*"
- },
- "app_auth_pic" : {
- "contentType" : "*/*"
- },
- "pay_screenshot" : {
- "contentType" : "*/*"
- },
- "home_screenshot" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/offlinepayment/sign" : {
- "post" : {
- "tags" : [ "alipay.open.agent.offlinepayment" ],
- "summary" : "代签约当面付快捷版产品",
- "description" : "三方应用代理签约当面付快捷版产品,需要配合开启事务接口使用",
- "operationId" : "alipay.open.agent.offlinepayment.sign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentOfflinepaymentSignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentOfflinepaymentSignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "business_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentOfflinepaymentSignModel"
- },
- "shop_scene_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "shop_sign_board_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "special_license_pic" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "shop_sign_board_pic" : {
- "contentType" : "*/*"
- },
- "special_license_pic" : {
- "contentType" : "*/*"
- },
- "business_license_pic" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- },
- "shop_scene_pic" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/agent/order/query" : {
- "get" : {
- "tags" : [ "alipay.open.agent.order" ],
- "summary" : "查询申请单状态",
- "description" : "代签约产品提交后,查询对应申请单的情况",
- "operationId" : "alipay.open.agent.order.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentOrderQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentOrderQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "batch_no",
- "in" : "query",
- "description" : "ISV 代商户操作事务编号,通过调用alipay.open.agent.create(开启代商户签约、创建应用事务)接口返回,详见 https://opendocs.alipay.com/apis/api_50/alipay.open.agent.create/ 。",
- "schema" : {
- "type" : "string",
- "example" : "2017110616474516400082883"
- }
- } ]
- }
- },
- "/v3/alipay/open/agent/signstatus/query" : {
- "post" : {
- "tags" : [ "alipay.open.agent.signstatus" ],
- "summary" : "查询商户某个产品的签约状态",
- "description" : "主要用在isv代理商户签约场景,用来查询商户签约某个产品的签约状态,可以配合\"第三方接入核心API\"功能包里的接口使用",
- "operationId" : "alipay.open.agent.signstatus.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentSignstatusQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAgentSignstatusQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAgentSignstatusQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/app/api/field/apply" : {
- "post" : {
- "tags" : [ "alipay.open.app.api.field" ],
- "summary" : "申请获取接口用户敏感信息字段",
- "description" : "申请获取接口出参中用户敏感信息字段,应用使用视频或图片(至少选择一项上传),单个图片或视频不超过10M,最多可上传5张图片示例。",
- "operationId" : "alipay.open.app.api.field.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppApiFieldApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppApiFieldApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenAppApiFieldApplyModel"
- },
- "picture_1" : {
- "type" : "string",
- "format" : "binary"
- },
- "picture_2" : {
- "type" : "string",
- "format" : "binary"
- },
- "picture_3" : {
- "type" : "string",
- "format" : "binary"
- },
- "picture_4" : {
- "type" : "string",
- "format" : "binary"
- },
- "picture_5" : {
- "type" : "string",
- "format" : "binary"
- },
- "video" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "data" : {
- "contentType" : "application/json"
- },
- "picture_5" : {
- "contentType" : "*/*"
- },
- "video" : {
- "contentType" : "*/*"
- },
- "picture_2" : {
- "contentType" : "*/*"
- },
- "picture_1" : {
- "contentType" : "*/*"
- },
- "picture_4" : {
- "contentType" : "*/*"
- },
- "picture_3" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/app/api/field/query" : {
- "get" : {
- "tags" : [ "alipay.open.app.api.field" ],
- "summary" : "用户信息申请记录查询",
- "description" : "查询用户信息申请记录,开发者发起请求时会基于当前发起请求的app_id进行查询,若为isv发起的三方代调用则以授权的商户app_id进行查询。",
- "operationId" : "alipay.open.app.api.field.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppApiFieldQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppApiFieldQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/app/api/query" : {
- "get" : {
- "tags" : [ "alipay.open.app.api" ],
- "summary" : "查询应用可申请的接口出参敏感字段列表",
- "description" : "通过appId查询该应用下可申请的接口敏感字段信息",
- "operationId" : "alipay.open.app.api.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppApiQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppApiQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/app/api/scene/query" : {
- "get" : {
- "tags" : [ "alipay.open.app.api.scene" ],
- "summary" : "查询接口字段使用场景",
- "description" : "在申请接口出参中用户敏感信息字段时,本接口用于获取所申请接口字段的使用场景",
- "operationId" : "alipay.open.app.api.scene.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppApiSceneQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppApiSceneQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "field_name",
- "in" : "query",
- "description" : "接口出参字段英文名。",
- "schema" : {
- "type" : "string",
- "example" : "mobile"
- }
- }, {
- "name" : "api_name",
- "in" : "query",
- "description" : "接口英文名。",
- "schema" : {
- "type" : "string",
- "example" : "alipay.user.info.share"
- }
- } ]
- }
- },
- "/v3/alipay/open/app/members/create" : {
- "post" : {
- "tags" : [ "alipay.open.app.members" ],
- "summary" : "应用添加成员",
- "description" : "应用添加成员,目前只支持小程序类型的应用使用",
- "operationId" : "alipay.open.app.members.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppMembersCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppMembersCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppMembersCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/app/members/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.app.members" ],
- "summary" : "应用删除成员",
- "description" : "删除应用成员,目前只支持小程序类型的应用",
- "operationId" : "alipay.open.app.members.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppMembersDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppMembersDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_id",
- "in" : "query",
- "description" : "被删除成员的支付宝账户唯一标识,以2088开头。",
- "schema" : {
- "type" : "string",
- "example" : "2088222943898172"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "被删除成员的openId。",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "role",
- "in" : "query",
- "description" : "被删除成员的角色类型,枚举支持:\tDEVELOPER:开发者。\tEXPERIENCER:体验者。",
- "schema" : {
- "type" : "string",
- "example" : "DEVELOPER"
- }
- } ]
- }
- },
- "/v3/alipay/open/app/members/query" : {
- "get" : {
- "tags" : [ "alipay.open.app.members" ],
- "summary" : "应用查询成员列表",
- "description" : "应用查询成员列表,目前只支持小程序类型的应用",
- "operationId" : "alipay.open.app.members.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppMembersQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppMembersQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "role",
- "in" : "query",
- "description" : "查询的成员角色类型。\t枚举支持:\tDEVELOPER:开发者;\tEXPERIENCER:体验者。\t请选择其一传入",
- "schema" : {
- "type" : "string",
- "example" : "DEVELOPER"
- }
- } ]
- }
- },
- "/v3/alipay/open/app/messagetemplate/subscribe/query" : {
- "post" : {
- "tags" : [ "alipay.open.app.messagetemplate.subscribe" ],
- "summary" : "模板订阅关系查询",
- "description" : "商户使用该接口可以查询用户对其消息模板的订阅关系,可以根据是否订阅引导用户进行订阅和精准触达消息",
- "operationId" : "alipay.open.app.messagetemplate.subscribe.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppMessagetemplateSubscribeQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppMessagetemplateSubscribeQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppMessagetemplateSubscribeQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/app/mini/templatemessage/send" : {
- "post" : {
- "tags" : [ "alipay.open.app.mini.templatemessage" ],
- "summary" : "小程序发送模板消息",
- "description" : "小程序通过openapi给用户触达消息,主要为支付后的触达(通过消费id)、用户提交表单后的触达(通过formId)、刷脸后的触达(通过ftoken)以及用户订阅消息模板后的触达。",
- "operationId" : "alipay.open.app.mini.templatemessage.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppMiniTemplatemessageSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppMiniTemplatemessageSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppMiniTemplatemessageSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/app/qrcode/create" : {
- "post" : {
- "tags" : [ "alipay.open.app.qrcode" ],
- "summary" : "小程序生成推广二维码接口",
- "description" : "生成小程序推广二维码",
- "operationId" : "alipay.open.app.qrcode.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppQrcodeCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppQrcodeCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppQrcodeCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/app/service/apply" : {
- "post" : {
- "tags" : [ "alipay.open.app.service" ],
- "summary" : "服务提报申请",
- "description" : "服务提报申请",
- "operationId" : "alipay.open.app.service.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/app/service/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.app.service" ],
- "summary" : "服务失效接口",
- "description" : "服务失效",
- "operationId" : "alipay.open.app.service.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "service_code",
- "in" : "query",
- "description" : "服务id",
- "schema" : {
- "type" : "string",
- "example" : "12522641"
- }
- } ]
- }
- },
- "/v3/alipay/open/app/service/list/query" : {
- "get" : {
- "tags" : [ "alipay.open.app.service.list" ],
- "summary" : "服务批量查询",
- "description" : "服务批量分页查询",
- "operationId" : "alipay.open.app.service.list.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceListQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceListQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "service_name",
- "in" : "query",
- "description" : "服务名称",
- "schema" : {
- "type" : "string",
- "example" : "肯德基"
- }
- }, {
- "name" : "category_id",
- "in" : "query",
- "description" : "类目",
- "schema" : {
- "type" : "string",
- "example" : "C15484611"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页记录数",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页码",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/open/app/service/query" : {
- "get" : {
- "tags" : [ "alipay.open.app.service" ],
- "summary" : "服务查询",
- "description" : "服务查询",
- "operationId" : "alipay.open.app.service.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "service_code",
- "in" : "query",
- "description" : "服务id",
- "schema" : {
- "type" : "string",
- "example" : "s1111"
- }
- } ]
- }
- },
- "/v3/alipay/open/app/service/schema/query" : {
- "get" : {
- "tags" : [ "alipay.open.app.service.schema" ],
- "summary" : "服务schema下发",
- "description" : "服务schema查询下发",
- "operationId" : "alipay.open.app.service.schema.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceSchemaQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppServiceSchemaQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "category_id",
- "in" : "query",
- "description" : "类目id",
- "schema" : {
- "type" : "string",
- "example" : "c11111"
- }
- }, {
- "name" : "template_type",
- "in" : "query",
- "description" : "服务模版类型。若当前服务类目只有一个服务模版,可不填。",
- "schema" : {
- "type" : "string",
- "example" : "DEFAULT"
- }
- } ]
- }
- },
- "/v3/alipay/open/app/test/gray/create" : {
- "post" : {
- "tags" : [ "alipay.open.app.test.gray" ],
- "summary" : "openapi-oas3.0灰度",
- "description" : "openapi,oas3.0灰度",
- "operationId" : "alipay.open.app.test.gray.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppTestGrayCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppTestGrayCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "a",
- "in" : "query",
- "description" : "a",
- "schema" : {
- "type" : "string",
- "example" : "a1"
- }
- }, {
- "name" : "oid",
- "in" : "query",
- "description" : "1",
- "schema" : {
- "type" : "string",
- "example" : "111"
- }
- }, {
- "name" : "b",
- "in" : "query",
- "description" : "生",
- "schema" : {
- "type" : "string",
- "example" : "b2"
- }
- }, {
- "name" : "c",
- "in" : "query",
- "description" : "c1",
- "schema" : {
- "type" : "string",
- "example" : "c1"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppTestGrayCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/app/test/gray/query" : {
- "get" : {
- "tags" : [ "alipay.open.app.test.gray" ],
- "summary" : "GET方法测试",
- "description" : "oas get",
- "operationId" : "alipay.open.app.test.gray.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAppTestGrayQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAppTestGrayQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "latitude",
- "in" : "query",
- "description" : "纬度",
- "schema" : {
- "type" : "string",
- "example" : "123"
- }
- }, {
- "name" : "city_id",
- "in" : "query",
- "description" : "1",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "uid",
- "in" : "query",
- "description" : "1",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "buy_open_id",
- "in" : "query",
- "description" : "1",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/open/auth/app/aes/get" : {
- "get" : {
- "tags" : [ "alipay.open.auth.app.aes" ],
- "summary" : "授权应用aes密钥查询",
- "description" : "商家应用授权给ISV服务商代管理应用场景下,ISV开发者使用三方应用appId发起调用,通过该接口获取商户应用的AES密钥。接口返回的商户应用aes密钥内容为加密内容,需要ISV使用三方应用的AES密钥对接口返回进行解密。java sdk内部会自动完成解密返回明文内容。<a href=\"https://docs.open.alipay.com/common/104567\" target=\"_blank\">SDK AES加解密支持</a>",
- "operationId" : "alipay.open.auth.app.aes.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAuthAppAesGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAuthAppAesGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "merchant_app_id",
- "in" : "query",
- "description" : "商家应用appId",
- "schema" : {
- "type" : "string",
- "example" : "20191223601234564"
- }
- } ]
- }
- },
- "/v3/alipay/open/auth/app/aes/set" : {
- "post" : {
- "tags" : [ "alipay.open.auth.app.aes" ],
- "summary" : "授权应用aes密钥设置",
- "description" : "商家应用授权给ISV服务商代管理应用场景下,ISV开发者使用三方应用appId发起调用,通过该接口设置商户应用的AES密钥。接口返回的商户应用aes密钥内容为加密内容,需要ISV使用三方应用的AES密钥对接口返回进行解密。java sdk内部会自动完成解密返回明文内容。<a href=\"https://docs.open.alipay.com/common/104567\" target=\"_blank\">SDK AES加解密支持。</a>",
- "operationId" : "alipay.open.auth.app.aes.set",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAuthAppAesSetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAuthAppAesSetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAuthAppAesSetModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/auth/token/app" : {
- "post" : {
- "tags" : [ "alipay.open.auth.token" ],
- "summary" : "换取应用授权令牌",
- "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)。",
- "operationId" : "alipay.open.auth.token.app",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/auth/token/app/query" : {
- "get" : {
- "tags" : [ "alipay.open.auth.token.app" ],
- "summary" : "查询某个应用授权AppAuthToken的授权信息",
- "description" : "当商户把服务窗、店铺等接口的权限授权给ISV之后,支付宝会给ISV颁发一个app_auth_token。如若授权成功之后,ISV想知道用户的授权信息,如授权者、授权接口列表等信息,可以调用本接口查询某个app_auth_token对应的授权信息",
- "operationId" : "alipay.open.auth.token.app.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAuthTokenAppQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "app_auth_token",
- "in" : "query",
- "description" : "应用授权令牌",
- "schema" : {
- "type" : "string",
- "example" : "201509BBeff9351ad1874306903e96b91d248A36"
- }
- } ]
- }
- },
- "/v3/alipay/open/auth/userauth/relationship/query" : {
- "get" : {
- "tags" : [ "alipay.open.auth.userauth.relationship" ],
- "summary" : "用户授权关系查询",
- "description" : "校验本应用和用户的授权关系有效性",
- "operationId" : "alipay.open.auth.userauth.relationship.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenAuthUserauthRelationshipQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenAuthUserauthRelationshipQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID,如果未开启openid改造,则此值必传",
- "schema" : {
- "type" : "string",
- "example" : "2088123443211234"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID,蚂蚁统一会员ID,如果已完成openid改造,则此值必传",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "scopes",
- "in" : "query",
- "description" : "查询授权关系所关联的scope,半角逗号分隔的列表,且不允许有重复值",
- "schema" : {
- "type" : "string",
- "example" : "auth_user,auth_zhima"
- }
- } ]
- }
- },
- "/v3/alipay/open/biz/create" : {
- "post" : {
- "tags" : [ "alipay.open.biz" ],
- "summary" : "bizcontent测试12",
- "description" : "bizcontent测试12",
- "operationId" : "alipay.open.biz.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenBizCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenBizCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenBizCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/fee/adjust/apply" : {
- "post" : {
- "tags" : [ "alipay.open.fee.adjust" ],
- "summary" : "特殊费率申请",
- "description" : "服务商替代签约或交易传参的商户申请费率",
- "operationId" : "alipay.open.fee.adjust.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenFeeAdjustApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenFeeAdjustApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "attachment" : {
- "type" : "string",
- "format" : "binary"
- },
- "cert_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenFeeAdjustApplyModel"
- },
- "shop_scene_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "shop_sign_pic" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "data" : {
- "contentType" : "application/json"
- },
- "shop_scene_pic" : {
- "contentType" : "*/*"
- },
- "attachment" : {
- "contentType" : "*/*"
- },
- "shop_sign_pic" : {
- "contentType" : "*/*"
- },
- "cert_pic" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/file/upload" : {
- "post" : {
- "tags" : [ "alipay.open.file" ],
- "summary" : "支付宝文件上传接口",
- "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×tamp=xxx' --form 'file=@\"xx.mp4\"'",
- "operationId" : "alipay.open.file.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenFileUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenFileUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenFileUploadModel"
- },
- "file_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "file_content" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/instantdelivery/account/create" : {
- "post" : {
- "tags" : [ "alipay.open.instantdelivery.account" ],
- "summary" : "即时配送商家账户创建",
- "description" : "商家入驻开放平台,接入即时配送服务,调用即时配送公司的接口创建账户",
- "operationId" : "alipay.open.instantdelivery.account.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/instantdelivery/account/query" : {
- "get" : {
- "tags" : [ "alipay.open.instantdelivery.account" ],
- "summary" : "即时配送商家账户查询",
- "description" : "即时配送业务,查询商家账户信息",
- "operationId" : "alipay.open.instantdelivery.account.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryAccountQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/instantdelivery/merchantagreement/query" : {
- "get" : {
- "tags" : [ "alipay.open.instantdelivery.merchantagreement" ],
- "summary" : "协议签署查询api",
- "description" : "协议签署查询api, 提供isv查询商户物流代扣协议签署情况",
- "operationId" : "alipay.open.instantdelivery.merchantagreement.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/instantdelivery/merchantagreement/sign" : {
- "post" : {
- "tags" : [ "alipay.open.instantdelivery.merchantagreement" ],
- "summary" : "即时配送中商家代扣协议签署",
- "description" : "即时配送中商家代扣协议签署",
- "operationId" : "alipay.open.instantdelivery.merchantagreement.sign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementSignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementSignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantagreementSignModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/instantdelivery/merchantshop/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.instantdelivery.merchantshop" ],
- "summary" : "即时配送商家球房分页查询",
- "description" : "即时配送场景,商家球房信息分页查询",
- "operationId" : "alipay.open.instantdelivery.merchantshop.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/instantdelivery/merchantshop/create" : {
- "post" : {
- "tags" : [ "alipay.open.instantdelivery.merchantshop" ],
- "summary" : "即时配送商家球房创建",
- "description" : "帮商家在即时配送公司创建球房。名称+地址必须全局唯一;pid下的shopNo必须唯一。",
- "operationId" : "alipay.open.instantdelivery.merchantshop.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/instantdelivery/merchantshop/modify" : {
- "post" : {
- "tags" : [ "alipay.open.instantdelivery.merchantshop" ],
- "summary" : "即时配送商家球房更新",
- "description" : "帮商家更新在即时配送公司的球房",
- "operationId" : "alipay.open.instantdelivery.merchantshop.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/instantdelivery/merchantshop/query" : {
- "get" : {
- "tags" : [ "alipay.open.instantdelivery.merchantshop" ],
- "summary" : "即时配送商家球房详情查询",
- "description" : "即时配送场景,查询商家球房详情信息。",
- "operationId" : "alipay.open.instantdelivery.merchantshop.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenInstantdeliveryMerchantshopQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "shop_no",
- "in" : "query",
- "description" : "商家球房编码。",
- "schema" : {
- "type" : "string",
- "example" : "1000"
- }
- } ]
- }
- },
- "/v3/alipay/open/invite/order/query" : {
- "get" : {
- "tags" : [ "alipay.open.invite.order" ],
- "summary" : "查询签约申请单状态",
- "description" : "创建签约授权流程后,查询对应产品签约申请单的状态",
- "operationId" : "alipay.open.invite.order.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenInviteOrderQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenInviteOrderQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "isv_biz_id",
- "in" : "query",
- "description" : "isv业务系统单据编号",
- "schema" : {
- "type" : "string",
- "example" : "2017110616474516400082883"
- }
- }, {
- "name" : "alipay_logon_id",
- "in" : "query",
- "description" : "商家的支付宝账号,如果调用alipay.open.invite.order.create接口时有传入支付宝账号,则这里查询签约状态时必须要传",
- "schema" : {
- "type" : "string",
- "example" : "fykevbdz6766@alitest.com"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/appdeploy/byappid/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.appdeploy.byappid" ],
- "summary" : "根据APPID分页查询小程序发布信息",
- "description" : "用于伙伴平台面向开发者提供查询小程序发布能力",
- "operationId" : "alipay.open.mini.appdeploy.byappid.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployByappidQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployByappidQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序应用ID",
- "schema" : {
- "type" : "string",
- "example" : "2018XXXXXX"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "端标识",
- "schema" : {
- "type" : "string",
- "example" : "com.amap.app"
- }
- }, {
- "name" : "inst_code",
- "in" : "query",
- "description" : "租户标识",
- "schema" : {
- "type" : "string",
- "example" : "alipay"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "当前页,从1开始",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页个数",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/appdeploy/byappversion/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.appdeploy.byappversion" ],
- "summary" : "通过版本查询小程序发布",
- "description" : "伙伴平台使用,用于向开发者展示小程序发布信息",
- "operationId" : "alipay.open.mini.appdeploy.byappversion.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployByappversionQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployByappversionQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序ID",
- "schema" : {
- "type" : "string",
- "example" : "2011XXXXXXX"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "端标识",
- "schema" : {
- "type" : "string",
- "example" : "com.amap.app"
- }
- }, {
- "name" : "inst_code",
- "in" : "query",
- "description" : "租户",
- "schema" : {
- "type" : "string",
- "example" : "alipay"
- }
- }, {
- "name" : "app_version",
- "in" : "query",
- "description" : "小程序版本",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/appdeploy/bydeployversion/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.appdeploy.bydeployversion" ],
- "summary" : "根据发布版本查询小程序发布信息",
- "description" : "用于伙伴向开发者展示小程序发布信息",
- "operationId" : "alipay.open.mini.appdeploy.bydeployversion.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployBydeployversionQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniAppdeployBydeployversionQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "客户端标识",
- "schema" : {
- "type" : "string",
- "example" : "com.amap.app"
- }
- }, {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序ID",
- "schema" : {
- "type" : "string",
- "example" : "2021XXXXXX"
- }
- }, {
- "name" : "inst_code",
- "in" : "query",
- "description" : "租户",
- "schema" : {
- "type" : "string",
- "example" : "alipay"
- }
- }, {
- "name" : "deploy_version",
- "in" : "query",
- "description" : "发布标识",
- "schema" : {
- "type" : "string",
- "example" : "0.2.201910101.2"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/baseinfo/modify" : {
- "post" : {
- "tags" : [ "alipay.open.mini.baseinfo" ],
- "summary" : "小程序修改基础信息",
- "description" : "小程序修改基础信息。\n本接口暂不支持已经上过架的小程序调用(只支持小程序首次上架之前修改信息)",
- "operationId" : "alipay.open.mini.baseinfo.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "app_logo" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoModifyModel"
- }
- }
- },
- "encoding" : {
- "app_logo" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/baseinfo/name/check" : {
- "get" : {
- "tags" : [ "alipay.open.mini.baseinfo.name" ],
- "summary" : "小程序名称检测",
- "description" : "小程序名称检测。包含小程序名称基础校验、名称重复、存在敏感信息、存在品牌词、名称宽泛等检测能力。若返回“check_code”:“NONE”,说明小程序名称未检测出异常。",
- "operationId" : "alipay.open.mini.baseinfo.name.check",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoNameCheckResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoNameCheckErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "app_name",
- "in" : "query",
- "description" : "小程序名字,长度限制 3~30 个字符,仅支持包含简体中文、数字、英文、下划线、+、-。",
- "schema" : {
- "type" : "string",
- "example" : "吱声小铺"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/baseinfo/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.baseinfo" ],
- "summary" : "查询小程序基础信息",
- "description" : "查询小程序基础信息",
- "operationId" : "alipay.open.mini.baseinfo.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniBaseinfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/mini/category/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.category" ],
- "summary" : "小程序类目树查询",
- "description" : "小程序类目树查询",
- "operationId" : "alipay.open.mini.category.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniCategoryQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniCategoryQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "is_filter",
- "in" : "query",
- "description" : "是否过滤小程序不可用类目。枚举值如下:\t* true:表示过滤不可用类目。\t* false:表示不过滤不可用类目。",
- "schema" : {
- "type" : "boolean",
- "example" : "true"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/category/require/query" : {
- "post" : {
- "tags" : [ "alipay.open.mini.category.require" ],
- "summary" : "查询类目所需资质信息",
- "description" : "查询类目所需资质信息",
- "operationId" : "alipay.open.mini.category.require.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniCategoryRequireQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniCategoryRequireQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniCategoryRequireQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/experience/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.mini.experience" ],
- "summary" : "小程序取消体验版",
- "description" : "版本号为空",
- "operationId" : "alipay.open.mini.experience.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/experience/create" : {
- "post" : {
- "tags" : [ "alipay.open.mini.experience" ],
- "summary" : "小程序生成体验版",
- "description" : "小程序生成体验版",
- "operationId" : "alipay.open.mini.experience.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniExperienceCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/experience/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.experience" ],
- "summary" : "小程序体验版状态查询接口",
- "description" : "小程序体验版状态查询接口",
- "operationId" : "alipay.open.mini.experience.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniExperienceQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniExperienceQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "app_version",
- "in" : "query",
- "description" : "商家小程序版本号。",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "小程序客户端类型,默认为支付宝端。支持如下入参:\tcom.alipay.alipaywallet:支付宝端;\tcom.alibaba.android.rimet:DINGDING端;\tcom.amap.app:高德端;\tcom.alibaba.ailabs.genie.webapps:天猫精灵端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/individual/business/certify" : {
- "post" : {
- "tags" : [ "alipay.open.mini.individual.business" ],
- "summary" : "个人账户升级为个体工商户",
- "description" : "小程序场景下,个体工商户具有和企业账户相同的能力,通过本接口,可以将符合资质的个人账户升级为个体工商户",
- "operationId" : "alipay.open.mini.individual.business.certify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniIndividualBusinessCertifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniIndividualBusinessCertifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniIndividualBusinessCertifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/inner/experience/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.mini.inner.experience" ],
- "summary" : "内部链路取消体验版",
- "description" : "提供给内部一二方用于取消体验版",
- "operationId" : "alipay.open.mini.inner.experience.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerExperienceCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerExperienceCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerExperienceCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/inner/members/add" : {
- "post" : {
- "tags" : [ "alipay.open.mini.inner.members" ],
- "summary" : "内部链路添加开发成员",
- "description" : "添加开发成员",
- "operationId" : "alipay.open.mini.inner.members.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/inner/members/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.mini.inner.members" ],
- "summary" : "内部链路删除开发成员",
- "description" : "删除开发成员",
- "operationId" : "alipay.open.mini.inner.members.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "业务小程序id",
- "schema" : {
- "type" : "string",
- "example" : "2021154987463214"
- }
- }, {
- "name" : "app_origin",
- "in" : "query",
- "description" : "业务来源",
- "schema" : {
- "type" : "string",
- "example" : "ALIPAY"
- }
- }, {
- "name" : "domain_account",
- "in" : "query",
- "description" : "域账号(如传入则删除联系人)",
- "schema" : {
- "type" : "string",
- "example" : "域账号"
- }
- }, {
- "name" : "login_id",
- "in" : "query",
- "description" : "登陆支付宝账号",
- "schema" : {
- "type" : "string",
- "example" : "登陆支付宝账号"
- }
- }, {
- "name" : "type",
- "in" : "query",
- "description" : "成员类型",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/inner/members/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.inner.members" ],
- "summary" : "内部链路查询开发成员",
- "description" : "内部链路查询开发成员",
- "operationId" : "alipay.open.mini.inner.members.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerMembersQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "业务小程序id",
- "schema" : {
- "type" : "string",
- "example" : "2021125487896547"
- }
- }, {
- "name" : "app_origin",
- "in" : "query",
- "description" : "业务来源",
- "schema" : {
- "type" : "string",
- "example" : "ALIPAY"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/innerapp/create" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerapp" ],
- "summary" : "内部链路小程序创建",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerapp.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerapp/plugin/order" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerapp.plugin" ],
- "summary" : "小程序代商户订购插件",
- "description" : "提供给二方场景下,代商家小程序订购、授权与签约插件",
- "operationId" : "alipay.open.mini.innerapp.plugin.order",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginOrderResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginOrderErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginOrderModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerapp/pluginrelation/query" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerapp.pluginrelation" ],
- "summary" : "查询插件引用关系",
- "description" : "查询插件引用关系",
- "operationId" : "alipay.open.mini.innerapp.pluginrelation.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginrelationQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginrelationQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginrelationQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerapp/pluginservice/publish" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerapp.pluginservice" ],
- "summary" : "插件发布能力中心",
- "description" : "插件发布能力中心",
- "operationId" : "alipay.open.mini.innerapp.pluginservice.publish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginservicePublishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginservicePublishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginservicePublishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerapp/pluginsyncmode/modify" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerapp.pluginsyncmode" ],
- "summary" : "修改插件继承模式",
- "description" : "修改插件继承模式,模板和插件使用关系是否自动继承到宿主小程序上",
- "operationId" : "alipay.open.mini.innerapp.pluginsyncmode.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginsyncmodeModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginsyncmodeModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginsyncmodeModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerapp/pluginuseconfig/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerapp.pluginuseconfig" ],
- "summary" : "撤销插件端版本配置灰度",
- "description" : "结束插件端版本配置灰度",
- "operationId" : "alipay.open.mini.innerapp.pluginuseconfig.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerapp/pluginuseconfig/online" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerapp.pluginuseconfig" ],
- "summary" : "上线插件使用端版本配置",
- "description" : "小程序使用插件版本全量上线",
- "operationId" : "alipay.open.mini.innerapp.pluginuseconfig.online",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigOnlineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigOnlineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigOnlineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerapp/pluginuseconfig/upgrade" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerapp.pluginuseconfig" ],
- "summary" : "灰度端版本配置",
- "description" : "升级/降级 端版本配置",
- "operationId" : "alipay.open.mini.innerapp.pluginuseconfig.upgrade",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigUpgradeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigUpgradeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappPluginuseconfigUpgradeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerapp/service/publish" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerapp.service" ],
- "summary" : "小程序模板发布服务市场",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerapp.service.publish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServicePublishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServicePublishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServicePublishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerapp/service/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.innerapp.service" ],
- "summary" : "小程序服务市场搜索",
- "description" : "小程序服务市场搜索,包括搜索模板和插件",
- "operationId" : "alipay.open.mini.innerapp.service.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServiceQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerappServiceQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "插件id或模板id",
- "schema" : {
- "type" : "string",
- "example" : "2012211102012056"
- }
- }, {
- "name" : "app_sub_type",
- "in" : "query",
- "description" : "小程序应用子类型",
- "schema" : {
- "type" : "string",
- "example" : "TINYAPP_TEMPLATE、TINYAPP_PLUGIN"
- }
- }, {
- "name" : "show_type",
- "in" : "query",
- "description" : "是否在服务市场透出,SHOW展示、HIDE隐藏",
- "schema" : {
- "type" : "string",
- "example" : "SHOW"
- }
- }, {
- "name" : "keyword",
- "in" : "query",
- "description" : "关键词",
- "schema" : {
- "type" : "string",
- "example" : "xxxx插件"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页码,默认第一页",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页数,默认每页10个",
- "schema" : {
- "type" : "string",
- "example" : "10"
- }
- }, {
- "name" : "app_origin",
- "in" : "query",
- "description" : "业务来源,新接入方需要向支付宝申请专用来源,否则不予接入。https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang",
- "schema" : {
- "type" : "string",
- "example" : "https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang"
- }
- }, {
- "name" : "include_offline",
- "in" : "query",
- "description" : "是否需要展示offline状态插件,不传默认为false(不展示)",
- "schema" : {
- "type" : "boolean",
- "example" : "true"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/innerbaseinfo/applogo/upload" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerbaseinfo.applogo" ],
- "summary" : "内部小程序-小程序logo图片上传",
- "description" : "上传小程序logo图片",
- "operationId" : "alipay.open.mini.innerbaseinfo.applogo.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerbaseinfoApplogoUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerbaseinfoApplogoUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "app_logo" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "app_logo" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerbaseinfo/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.innerbaseinfo" ],
- "summary" : "内部小程序-应用信息查询",
- "description" : "查询小程序应用信息",
- "operationId" : "alipay.open.mini.innerbaseinfo.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerbaseinfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerbaseinfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序ID,mini_app_id 和 mini_app_name 两个需要有其中一个必填,当填了mini_app_id时只使用id去进行查询。",
- "schema" : {
- "type" : "string",
- "example" : "2014060600164699"
- }
- }, {
- "name" : "inst_code",
- "in" : "query",
- "description" : "租户code,alipay or taobao",
- "schema" : {
- "type" : "string",
- "example" : "taobao"
- }
- }, {
- "name" : "mini_app_name",
- "in" : "query",
- "description" : "小程序name,mini_app_id 和 mini_app_name 两个需要有其中一个必填,当填了mini_app_id时只使用id去进行查询。",
- "schema" : {
- "type" : "string",
- "example" : "test"
- }
- }, {
- "name" : "app_sub_type",
- "in" : "query",
- "description" : "小程序类型,TINYAPP_TEMPLATE,TINYAPP_NORMAL,TINYAPP_PLUGIN,使用mini_app_name查询的时候,该字段要求必传。",
- "schema" : {
- "type" : "string",
- "example" : "TINYAPP_TEMPLATE"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/innerversion/audit/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.audit" ],
- "summary" : "内部链路撤销审核",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerversion.audit.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/audit/submit" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.audit" ],
- "summary" : "小程序版本提交审核",
- "description" : "小程序版本提交审核,审核申请完结后会通过From蚂蚁消息通知到开发者。",
- "operationId" : "alipay.open.mini.innerversion.audit.submit",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditSubmitResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditSubmitErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionAuditSubmitModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/backdev/publish" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.backdev" ],
- "summary" : "内部链路小程序退回开发",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerversion.backdev.publish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBackdevPublishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBackdevPublishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBackdevPublishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/beta/confirm" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.beta" ],
- "summary" : "确认邀测结果",
- "description" : "小程序确认邀测结果",
- "operationId" : "alipay.open.mini.innerversion.beta.confirm",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetaConfirmResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetaConfirmErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetaConfirmModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/betainfo/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.innerversion.betainfo" ],
- "summary" : "查看可邀测状态接口",
- "description" : "查看插件可邀测版本状态,邀测结果",
- "operationId" : "alipay.open.mini.innerversion.betainfo.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetainfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBetainfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "plugin_id",
- "in" : "query",
- "description" : "插件ID",
- "schema" : {
- "type" : "string",
- "example" : "2021xxxx"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "端信息",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- }, {
- "name" : "plugin_version",
- "in" : "query",
- "description" : "查询版本号",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- }, {
- "name" : "app_origin",
- "in" : "query",
- "description" : "业务来源",
- "schema" : {
- "type" : "string",
- "example" : "ASTORE"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/innerversion/buildaudit/submit" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.buildaudit" ],
- "summary" : "内部链路小程序构建并提审",
- "description" : "内部链路小程序构建并提审",
- "operationId" : "alipay.open.mini.innerversion.buildaudit.submit",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBuildauditSubmitResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBuildauditSubmitErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionBuildauditSubmitModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/condition/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.condition" ],
- "summary" : "根据状态批量查询版本信息",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerversion.condition.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionConditionBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionConditionBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionConditionBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/content/rollback" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.content" ],
- "summary" : "内部链路回滚版本",
- "description" : "针对一二方场景的开发者,小程序提供一套统一的内部能力体系,定向输出赋能,本接口主要用于回滚版本\n",
- "operationId" : "alipay.open.mini.innerversion.content.rollback",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionContentRollbackResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionContentRollbackErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionContentRollbackModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/gray/finish" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.gray" ],
- "summary" : "内部链路结束灰度",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerversion.gray.finish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayFinishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayFinishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayFinishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/gray/publish" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.gray" ],
- "summary" : "内部链路小程序灰度上架",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerversion.gray.publish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayPublishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayPublishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionGrayPublishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/info/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.mini.innerversion.info" ],
- "summary" : "内部链路删除版本",
- "description" : "针对一二方场景的开发者,小程序提供一套统一的内部能力体系,定向输出赋能,本接口主要用于删除版本",
- "operationId" : "alipay.open.mini.innerversion.info.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInfoDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInfoDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序ID",
- "schema" : {
- "type" : "string",
- "example" : "2018********"
- }
- }, {
- "name" : "app_origin",
- "in" : "query",
- "description" : "业务场景来源",
- "schema" : {
- "type" : "string",
- "example" : "ASTORE"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "端信息",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- }, {
- "name" : "app_version",
- "in" : "query",
- "description" : "小程序版本号",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- }, {
- "name" : "pid",
- "in" : "query",
- "description" : "操作者ID,支付宝租户必填",
- "schema" : {
- "type" : "string",
- "example" : "2088*******"
- }
- }, {
- "name" : "inst_code",
- "in" : "query",
- "description" : "租户信息",
- "schema" : {
- "type" : "string",
- "example" : "alipay"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/innerversion/info/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.innerversion.info" ],
- "summary" : "内部链路小程序版本信息查询",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerversion.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "端信息",
- "schema" : {
- "type" : "string",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- }
- }, {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序ID",
- "schema" : {
- "type" : "string",
- "example" : "2019****"
- }
- }, {
- "name" : "app_version",
- "in" : "query",
- "description" : "查询版本号",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- }, {
- "name" : "app_origin",
- "in" : "query",
- "description" : "业务来源,新接入方需要向支付宝申请专用来源,否则不予接入。https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang",
- "schema" : {
- "type" : "string",
- "example" : "https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/innerversion/instantiation/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.innerversion.instantiation" ],
- "summary" : "小程序实例化关系查询",
- "description" : "用于通过模板实例化的小程序版本查询实例化关系",
- "operationId" : "alipay.open.mini.innerversion.instantiation.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInstantiationQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionInstantiationQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "app_origin",
- "in" : "query",
- "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入,申请方式请参见接入手册。",
- "schema" : {
- "type" : "string",
- "example" : "AAA"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "端id",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- }, {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
- "schema" : {
- "type" : "string",
- "example" : "2021000116680014"
- }
- }, {
- "name" : "app_version",
- "in" : "query",
- "description" : "实例化小程序版本号",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/innerversion/last/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.innerversion.last" ],
- "summary" : "内部链路查询最新版本号",
- "description" : "针对一二方场景的开发者,小程序提供一套统一的内部能力体系,定向输出赋能,本接口主要用于查询最新版本号\n",
- "operationId" : "alipay.open.mini.innerversion.last.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionLastQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionLastQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
- "schema" : {
- "type" : "string",
- "example" : "2018********"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "端信息",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- }, {
- "name" : "app_origin",
- "in" : "query",
- "description" : "业务来源场景",
- "schema" : {
- "type" : "string",
- "example" : "AAA"
- }
- }, {
- "name" : "pid",
- "in" : "query",
- "description" : "小程序主体",
- "schema" : {
- "type" : "string",
- "example" : "2088*******"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/innerversion/modelforoffline/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.innerversion.modelforoffline" ],
- "summary" : "小程序线上版本包数据同步线下场景查询",
- "description" : "用于查询线上的版本包数据,同步到线下",
- "operationId" : "alipay.open.mini.innerversion.modelforoffline.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionModelforofflineQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionModelforofflineQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序ID",
- "schema" : {
- "type" : "string",
- "example" : "2018********"
- }
- }, {
- "name" : "app_version",
- "in" : "query",
- "description" : "版本号",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "com.alipay.alipaywallet:支付包",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- }, {
- "name" : "inst_code",
- "in" : "query",
- "description" : "alipay:支付宝",
- "schema" : {
- "type" : "string",
- "example" : "alipay"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/innerversion/nobuild/upload" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.nobuild" ],
- "summary" : "手淘小程序产物包免构建版本上传",
- "description" : "手淘小程序产物包免构建版本上传",
- "operationId" : "alipay.open.mini.innerversion.nobuild.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionNobuildUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionNobuildUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionNobuildUploadModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/offline/publish" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.offline" ],
- "summary" : "内部链路小程序下架",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerversion.offline.publish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOfflinePublishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOfflinePublishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOfflinePublishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/online" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion" ],
- "summary" : "内部小程序-上架",
- "description" : "内部小程序上架接口",
- "operationId" : "alipay.open.mini.innerversion.online",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/online/publish" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.online" ],
- "summary" : "内部链路小程序上架",
- "description" : "小程序提供一套针对一二方场景的开发者提供一套统一的内部能力开放体系,定向输出赋能",
- "operationId" : "alipay.open.mini.innerversion.online.publish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlinePublishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlinePublishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionOnlinePublishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/package/create" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.package" ],
- "summary" : "单独构建包信息",
- "description" : "内部OPENAPI 单独构建包信息。将构建链路中打预发包逻辑抽离出来,成为单独的能力,让伙伴等业务自己来调用",
- "operationId" : "alipay.open.mini.innerversion.package.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionPackageCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionPackageCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionPackageCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/sync" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion" ],
- "summary" : "小程序包信息推送",
- "description" : "小程序上架、回滚,因拉包机制,用户无法及时生效,拉到原版本的用户,过期才会失效,该接口能力可以推送新版本到用户",
- "operationId" : "alipay.open.mini.innerversion.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/templated/upload" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion.templated" ],
- "summary" : "基于模板构建版本",
- "description" : "基于模板构建实例化小程序,同步接口,调用成功表示创建版本成功",
- "operationId" : "alipay.open.mini.innerversion.templated.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionTemplatedUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionTemplatedUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionTemplatedUploadModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/upgrade" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion" ],
- "summary" : "升级模板实例化小程序",
- "description" : "升级基于模板实例化的小程序,升级后不需要重新提交审核;同步接口。",
- "operationId" : "alipay.open.mini.innerversion.upgrade",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUpgradeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUpgradeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUpgradeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/upload" : {
- "post" : {
- "tags" : [ "alipay.open.mini.innerversion" ],
- "summary" : "内部小程序-打包构建",
- "description" : "内部小程序,创建打包构建任务,异步返回,使用查询接口轮询构建结果",
- "operationId" : "alipay.open.mini.innerversion.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/innerversion/uploadstatus/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.innerversion.uploadstatus" ],
- "summary" : "多端小程序-查询构建状态",
- "description" : "查询构建状态",
- "operationId" : "alipay.open.mini.innerversion.uploadstatus.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadstatusQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniInnerversionUploadstatusQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "build_package_id",
- "in" : "query",
- "description" : "包管理ID,用于查询打包状态",
- "schema" : {
- "type" : "string",
- "example" : "34818"
- }
- }, {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "小程序ID",
- "schema" : {
- "type" : "string",
- "example" : "2018012201365222"
- }
- }, {
- "name" : "build_version",
- "in" : "query",
- "description" : "小程序版本",
- "schema" : {
- "type" : "string",
- "example" : "0.0.5"
- }
- }, {
- "name" : "inst_code",
- "in" : "query",
- "description" : "租户id",
- "schema" : {
- "type" : "string",
- "example" : "taobao"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "端信息",
- "schema" : {
- "type" : "string",
- "example" : "com.taobao.app"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/isv/create" : {
- "post" : {
- "tags" : [ "alipay.open.mini.isv" ],
- "summary" : "isv服务商代商户创建小程序",
- "description" : "服务商代商家创建小程序,待商家确认后服务商代创建的小程序才会生效,若商家超过确认时间则服务商创建的小程序会自动作废释放占用的小程序名称。\n将 is_individual 设置为 true,并且同时传入 license_pic。将同时对具备个体工商户营业执照的商家个人账号认证成为个体工商户账号(创建小程序+升级个体工商户账号一体化)。",
- "operationId" : "alipay.open.mini.isv.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/isv/fastregister/create" : {
- "post" : {
- "tags" : [ "alipay.open.mini.isv.fastregister" ],
- "summary" : "ISV代创建试用小程序",
- "description" : "ISV代商户创建试用小程序",
- "operationId" : "alipay.open.mini.isv.fastregister.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/isv/fastregister/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.isv.fastregister" ],
- "summary" : "查询试用小程序",
- "description" : "查询试用小程序",
- "operationId" : "alipay.open.mini.isv.fastregister.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvFastregisterQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "order_no",
- "in" : "query",
- "description" : "代创建试用小程序单号",
- "schema" : {
- "type" : "string",
- "example" : "2202121278786786768"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/isv/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.isv" ],
- "summary" : "isv查询代商家创建小程序记录",
- "description" : "isv查询代商家创建小程序记录",
- "operationId" : "alipay.open.mini.isv.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniIsvQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "order_no",
- "in" : "query",
- "description" : "服务商代商家创建小程序,由支付宝开放平台返回的订单号用于后续查询处理进展。",
- "schema" : {
- "type" : "string",
- "example" : "2394834823942343"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/miniapp/brand/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.mini.miniapp.brand" ],
- "summary" : "小程序品牌提交认证后取消品牌认证",
- "description" : "小程序品牌提交认证后取消品牌认证",
- "operationId" : "alipay.open.mini.miniapp.brand.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/mini/miniapp/brand/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.miniapp.brand" ],
- "summary" : "小程序品牌提交认证后查询品牌审核结果以及商户已有品牌",
- "description" : "小程序品牌提交认证后查询品牌审核结果以及商户已有品牌",
- "operationId" : "alipay.open.mini.miniapp.brand.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/mini/miniapp/brand/submit" : {
- "post" : {
- "tags" : [ "alipay.open.mini.miniapp.brand" ],
- "summary" : "小程序品牌提交认证",
- "description" : "小程序品牌提交认证",
- "operationId" : "alipay.open.mini.miniapp.brand.submit",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandSubmitResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandSubmitErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandSubmitModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/miniapp/brand/upload" : {
- "post" : {
- "tags" : [ "alipay.open.mini.miniapp.brand" ],
- "summary" : "小程序品牌提交认证时上传用户资质以及身份信息",
- "description" : "小程序品牌提交认证时上传用户资质以及身份信息",
- "operationId" : "alipay.open.mini.miniapp.brand.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappBrandUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "file_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "file_content" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/miniapp/serviceconfig/modify" : {
- "post" : {
- "tags" : [ "alipay.open.mini.miniapp.serviceconfig" ],
- "summary" : "小程序设置客服方式",
- "description" : "小程序设置客服方式",
- "operationId" : "alipay.open.mini.miniapp.serviceconfig.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappServiceconfigModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappServiceconfigModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniMiniappServiceconfigModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/qrcode/bind" : {
- "post" : {
- "tags" : [ "alipay.open.mini.qrcode" ],
- "summary" : "关联普通二维码",
- "description" : "商户可不需更换线下二维码,通过该接口完成配置后,用户用支付宝扫描普通二维码时打开小程序并跳转到指定页面,普通二维码关联小程序最多可设置20条规则。",
- "operationId" : "alipay.open.mini.qrcode.bind",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeBindResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeBindErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeBindModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/qrcode/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.qrcode" ],
- "summary" : "查询普通二维码",
- "description" : "通过appId查询商户关联的普通二维码路由信息",
- "operationId" : "alipay.open.mini.qrcode.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "page_no",
- "in" : "query",
- "description" : "页码",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页条数,最大为10",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/qrcode/unbind" : {
- "post" : {
- "tags" : [ "alipay.open.mini.qrcode" ],
- "summary" : "删除已关联普通二维码",
- "description" : "删除已关联普通二维码",
- "operationId" : "alipay.open.mini.qrcode.unbind",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeUnbindResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeUnbindErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniQrcodeUnbindModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/resource/promotionsource/notify" : {
- "post" : {
- "tags" : [ "alipay.open.mini.resource.promotionsource" ],
- "summary" : "提供给淘联盟推广位信息接口",
- "description" : "淘联盟定制回调接口,用户流量插件账号打通场景",
- "operationId" : "alipay.open.mini.resource.promotionsource.notify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniResourcePromotionsourceNotifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniResourcePromotionsourceNotifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniResourcePromotionsourceNotifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/resource/record/notify" : {
- "post" : {
- "tags" : [ "alipay.open.mini.resource.record" ],
- "summary" : "提供给淘联盟备案信息接口",
- "description" : "淘联盟定制回调接口,用户流量插件账号打通场景",
- "operationId" : "alipay.open.mini.resource.record.notify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniResourceRecordNotifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniResourceRecordNotifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniResourceRecordNotifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/safedomain/create" : {
- "post" : {
- "tags" : [ "alipay.open.mini.safedomain" ],
- "summary" : "小程序添加域白名单",
- "description" : "小程序添加域白名单",
- "operationId" : "alipay.open.mini.safedomain.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/safedomain/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.mini.safedomain" ],
- "summary" : "小程序删除域白名单",
- "description" : "小程序删除域白名单",
- "operationId" : "alipay.open.mini.safedomain.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniSafedomainDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "safe_domain",
- "in" : "query",
- "description" : "服务器域名白名单。支付宝小程序在HTTP请求、上传文件等场景只能与域名白名单中的域名进行通讯 。\t删除域白名单后需重新上传应用版本(模板模式下小程序模板及商家应用都需重新上传、实例化版本)才会生效。老版本应用继续使用老版本名单(即删除域名可继续使用)。",
- "schema" : {
- "type" : "string",
- "example" : "example.com"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/template/marketing/create" : {
- "post" : {
- "tags" : [ "alipay.open.mini.template.marketing" ],
- "summary" : "小程序消息运营位创建",
- "description" : "小程序消息运营位创建",
- "operationId" : "alipay.open.mini.template.marketing.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplateMarketingCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplateMarketingCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplateMarketingCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/template/usage/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.template.usage" ],
- "summary" : "查询使用模板的小程序列表",
- "description" : "查询使用模板的小程序列表",
- "operationId" : "alipay.open.mini.template.usage.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplateUsageQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplateUsageQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "template_id",
- "in" : "query",
- "description" : "小程序模板APPID",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "查询的页数,起始为 1(第一页) 。默认第一页。",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页的数量,最多查询50个,默认查询10个",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- }, {
- "name" : "template_version",
- "in" : "query",
- "description" : "模板小程序的版本号",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/templatemessage/usertemplate/apply" : {
- "post" : {
- "tags" : [ "alipay.open.mini.templatemessage.usertemplate" ],
- "summary" : "小程序模板消息申请",
- "description" : "小程序模板消息申请,申请之后可以通过返回的user_template_id来发送模板消息",
- "operationId" : "alipay.open.mini.templatemessage.usertemplate.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemessageUsertemplateApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemessageUsertemplateApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemessageUsertemplateApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/templatemsg/maketing/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.mini.templatemsg.maketing" ],
- "summary" : "小程序模板消息营销投放详情分页批量查询",
- "description" : "小程序模板消息营销投放详情分页批量查询",
- "operationId" : "alipay.open.mini.templatemsg.maketing.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/templatemsg/maketingstatus/modify" : {
- "post" : {
- "tags" : [ "alipay.open.mini.templatemsg.maketingstatus" ],
- "summary" : "小程序模板消息营销投放详情状态修改",
- "description" : "小程序模板消息营销投放详情状态修改",
- "operationId" : "alipay.open.mini.templatemsg.maketingstatus.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingstatusModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingstatusModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgMaketingstatusModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/templatemsg/tinypayswitch/confirm" : {
- "post" : {
- "tags" : [ "alipay.open.mini.templatemsg.tinypayswitch" ],
- "summary" : "小程序支付消息确认接口",
- "description" : "小程序内触发的交易带来的支付消息,可通过确认动作完成小程序入口的添加。",
- "operationId" : "alipay.open.mini.templatemsg.tinypayswitch.confirm",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgTinypayswitchConfirmResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTemplatemsgTinypayswitchConfirmErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/mini/tips/delivery/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.mini.tips.delivery" ],
- "summary" : "小程序收藏引导投放活动配置批量查询",
- "description" : "小程序收藏引导投放活动配置批量查询接口,获取该小程序下所有活动配置及状态信息。",
- "operationId" : "alipay.open.mini.tips.delivery.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/tips/delivery/create" : {
- "post" : {
- "tags" : [ "alipay.open.mini.tips.delivery" ],
- "summary" : "小程序收藏引导投放活动配置创建",
- "description" : "小程序收藏引导投放活动配置创建。通过配置有效的小程序收藏引导(tips)文案,创建小程序收藏引导活动。用户在活动有效期内等于相应页面,将展示配置的个性化文案,帮助用户收藏小程序。请结合您的小程序及页面,配置个性化文案。\n",
- "operationId" : "alipay.open.mini.tips.delivery.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/tips/delivery/modify" : {
- "post" : {
- "tags" : [ "alipay.open.mini.tips.delivery" ],
- "summary" : "小程序收藏引导投放活动修改",
- "description" : "小程序收藏引导投放活动修改接口,目前支持活动状态的修改,包括暂停、恢复、终止单个收藏引导活动。",
- "operationId" : "alipay.open.mini.tips.delivery.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/tips/delivery/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.tips.delivery" ],
- "summary" : "小程序收藏引导投放活动详情查询",
- "description" : "小程序收藏引导投放活动配置详情查询接口,获取当前活动ID对应活动的配置及状态信息。",
- "operationId" : "alipay.open.mini.tips.delivery.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsDeliveryQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "delivery_id",
- "in" : "query",
- "description" : "收藏引导投放活动ID,查询收藏引导活动必填参数",
- "schema" : {
- "type" : "string",
- "example" : "20211114000003057595"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/tips/statistic/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.tips.statistic" ],
- "summary" : "小程序收藏引导汇总数据查询",
- "description" : "小程序收藏引导tips文案投放汇总数据查询接口。可查询小程序维度或活动维度的tips曝光uv,收藏uv,以及收藏转化率。请先配置投放活动,否则查询结果返回参数为空。",
- "operationId" : "alipay.open.mini.tips.statistic.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsStatisticQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniTipsStatisticQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "delivery_id",
- "in" : "query",
- "description" : "收藏引导投放活动ID,供查询收藏引导活动配置接口调用\t,当以小程序维度查询数据(query_type为app)时delivery_id为空",
- "schema" : {
- "type" : "string",
- "example" : "20220308000000934758"
- }
- }, {
- "name" : "query_type",
- "in" : "query",
- "description" : "查询类型,表示以当前维度进行数据聚合。\tapp:小程序维度;activity:活动维度;",
- "schema" : {
- "type" : "string",
- "example" : "app"
- }
- }, {
- "name" : "start_date",
- "in" : "query",
- "description" : "查询开始日期,精度为天",
- "schema" : {
- "type" : "string",
- "example" : "20220322"
- }
- }, {
- "name" : "end_date",
- "in" : "query",
- "description" : "查询截止日期,精度为天",
- "schema" : {
- "type" : "string",
- "example" : "20220328"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/version/audit/apply" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version.audit" ],
- "summary" : "小程序提交审核",
- "description" : "小程序提交审核。\n1、本接口中关于小程序基础信息的一些字段例如小程序名称、小程序logo、客服电话等,这些信息如果你前期已经设置过,平台将会在你本次调用接口的时候,将上一次设置的信息自动填入,所以允许你本次调用时不传入。如果你前期还未设置过这些信息,则本次调用是需要必传的。具体的字段要求详见每个字段的描述。你可以用alipay.open.mini.version.detail.query接口查询小程序信息之前是否已经设置。\n2、小程序版本信息例如小程序版本号、小程序版本描述,这些信息是需要你每次调用接口必传的。\n3、本接口涉及到“审核流程拆分”、“审核加急”、“自动上架”的功能,具体功能详见接口字段audit_rule、speed_up、auto_online描述。",
- "operationId" : "alipay.open.mini.version.audit.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "app_logo" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditApplyModel"
- },
- "fifth_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "fifth_screen_shot" : {
- "type" : "string",
- "format" : "binary"
- },
- "first_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "first_screen_shot" : {
- "type" : "string",
- "format" : "binary"
- },
- "first_special_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "fourth_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "fourth_screen_shot" : {
- "type" : "string",
- "format" : "binary"
- },
- "out_door_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "second_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "second_screen_shot" : {
- "type" : "string",
- "format" : "binary"
- },
- "second_special_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "test_file_name" : {
- "type" : "string",
- "format" : "binary"
- },
- "third_license_pic" : {
- "type" : "string",
- "format" : "binary"
- },
- "third_screen_shot" : {
- "type" : "string",
- "format" : "binary"
- },
- "third_special_license_pic" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "fifth_license_pic" : {
- "contentType" : "*/*"
- },
- "third_special_license_pic" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- },
- "fifth_screen_shot" : {
- "contentType" : "*/*"
- },
- "first_license_pic" : {
- "contentType" : "*/*"
- },
- "test_file_name" : {
- "contentType" : "*/*"
- },
- "first_special_license_pic" : {
- "contentType" : "*/*"
- },
- "first_screen_shot" : {
- "contentType" : "*/*"
- },
- "second_screen_shot" : {
- "contentType" : "*/*"
- },
- "second_license_pic" : {
- "contentType" : "*/*"
- },
- "app_logo" : {
- "contentType" : "*/*"
- },
- "third_screen_shot" : {
- "contentType" : "*/*"
- },
- "fourth_screen_shot" : {
- "contentType" : "*/*"
- },
- "third_license_pic" : {
- "contentType" : "*/*"
- },
- "out_door_pic" : {
- "contentType" : "*/*"
- },
- "second_special_license_pic" : {
- "contentType" : "*/*"
- },
- "fourth_license_pic" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/version/audit/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version.audit" ],
- "summary" : "小程序撤销审核",
- "description" : "三方实例化小程序撤销审核",
- "operationId" : "alipay.open.mini.version.audit.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/version/audited/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version.audited" ],
- "summary" : "小程序退回开发",
- "description" : "小程序退回开发",
- "operationId" : "alipay.open.mini.version.audited.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditedCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditedCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionAuditedCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/version/build/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.version.build" ],
- "summary" : "小程序查询版本构建状态",
- "description" : "小程序查询版本构建状态",
- "operationId" : "alipay.open.mini.version.build.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionBuildQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionBuildQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "app_version",
- "in" : "query",
- "description" : "小程序版本号",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "小程序投放的端参数,默认为支付宝端。支持: \tcom.alipay.alipaywallet:支付宝端。\tcom.alipay.iot.xpaas:IOT端。\t例如:投放到支付宝钱包为支付宝端需传入 com.alipay.alipaywallet。",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/version/delete" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version" ],
- "summary" : "小程序删除版本",
- "description" : "小程序删除版本",
- "operationId" : "alipay.open.mini.version.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/version/detail/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.version.detail" ],
- "summary" : "小程序版本详情查询",
- "description" : "小程序版本详情查询",
- "operationId" : "alipay.open.mini.version.detail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionDetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionDetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "app_version",
- "in" : "query",
- "description" : "小程序版本号",
- "schema" : {
- "type" : "string",
- "example" : "0.0.1"
- }
- }, {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "小程序投放的端参数,支持:\tcom.alipay.iot.xpaas(IoT端)。\tcom.alipay.alipaywallet(支付宝钱包端)。\t例如投放到支付宝钱包是支付宝端。该参数可选,默认支付宝端。",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/version/gray/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version.gray" ],
- "summary" : "小程序结束灰度",
- "description" : "小程序结束灰度",
- "operationId" : "alipay.open.mini.version.gray.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/version/gray/online" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version.gray" ],
- "summary" : "小程序灰度上架",
- "description" : "小程序灰度上架",
- "operationId" : "alipay.open.mini.version.gray.online",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayOnlineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayOnlineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionGrayOnlineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/version/list/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.version.list" ],
- "summary" : "小程序版本列表查询",
- "description" : "根据状态、端分页查询小程序版本基础信息列表,查询结果根据版本号大小降序排列,即0.0.2在前,0.0.1在后。",
- "operationId" : "alipay.open.mini.version.list.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionListQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionListQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "bundle_id",
- "in" : "query",
- "description" : "端参数,用于查询多端版本,不传默认为支付宝端。\t高德端:com.amap.app",
- "schema" : {
- "type" : "string",
- "example" : "com.alipay.alipaywallet"
- }
- }, {
- "name" : "version_status",
- "in" : "query",
- "description" : "版本状态列表,用英文逗号\",\"分割,可选;不填默认不返回,状态可选值以及说明如下-INIT: 开发中, AUDITING: 审核中, AUDIT_REJECT: 审核驳回, WAIT_RELEASE: 待上架, BASE_AUDIT_PASS: 准入不可营销, GRAY: 灰度中, RELEASE: 已上架, OFFLINE: 已下架, AUDIT_OFFLINE: 已下架;",
- "schema" : {
- "type" : "string",
- "example" : "AUDITING"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/version/offline" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version" ],
- "summary" : "小程序下架",
- "description" : "小程序下架",
- "operationId" : "alipay.open.mini.version.offline",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionOfflineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionOfflineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionOfflineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/version/online" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version" ],
- "summary" : "小程序上架",
- "description" : "小程序上架",
- "operationId" : "alipay.open.mini.version.online",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionOnlineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionOnlineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionOnlineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/version/rollback" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version" ],
- "summary" : "小程序回滚",
- "description" : "小程序回滚",
- "operationId" : "alipay.open.mini.version.rollback",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionRollbackResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionRollbackErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionRollbackModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/version/upload" : {
- "post" : {
- "tags" : [ "alipay.open.mini.version" ],
- "summary" : "小程序基于模板上传版本",
- "description" : "小程序基于模板上传版本",
- "operationId" : "alipay.open.mini.version.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniVersionUploadModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/widget/data/sync" : {
- "post" : {
- "tags" : [ "alipay.open.mini.widget.data" ],
- "summary" : "小程序橱窗数据同步",
- "description" : "面向商品售卖类的小程序橱窗,提供的橱窗内展示数据同步能力,同步后会进行文本和图片信息审核,审核完成后通知结果通过openmq消息通知",
- "operationId" : "alipay.open.mini.widget.data.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetDataSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetDataSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetDataSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/widget/goods/modify" : {
- "patch" : {
- "tags" : [ "alipay.open.mini.widget.goods" ],
- "summary" : "小部件商品修改",
- "description" : "面向商品售卖类的小部件,提供的商品信息修改能力,修改后会进行文本和图片信息审核,审核完成后通知结果通过openmq消息通知",
- "operationId" : "alipay.open.mini.widget.goods.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/mini/widget/goods/query" : {
- "get" : {
- "tags" : [ "alipay.open.mini.widget.goods" ],
- "summary" : "小部件商品查询",
- "description" : "面向商品售卖类的小部件,提供商品信息查询能力,返回审核通过的商品信息",
- "operationId" : "alipay.open.mini.widget.goods.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mini_app_id",
- "in" : "query",
- "description" : "根据承接品的商家小程序ID查询",
- "schema" : {
- "type" : "string",
- "example" : "2017072607907880"
- }
- }, {
- "name" : "pid",
- "in" : "query",
- "description" : "根据承接该品的小程序背后的商家查询",
- "schema" : {
- "type" : "string",
- "example" : "2088xxxxxxxxx"
- }
- }, {
- "name" : "goods_id",
- "in" : "query",
- "description" : "根据商品的唯一标识查询",
- "schema" : {
- "type" : "string",
- "example" : "8948968498"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "查询第几页,最小值为1",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "查询页面数量,最大值为50",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- } ]
- }
- },
- "/v3/alipay/open/mini/widget/goods/upload" : {
- "post" : {
- "tags" : [ "alipay.open.mini.widget.goods" ],
- "summary" : "小部件商品上传",
- "description" : "面向商品售卖类的小部件,提供的商品信息上传能力,上传后会进行文本和图片信息审核,审核完成后通知结果通过openmq消息通知",
- "operationId" : "alipay.open.mini.widget.goods.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenMiniWidgetGoodsUploadModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/operation/openbizmock/testpathkey/query/{keykey}/{a}" : {
- "post" : {
- "tags" : [ "alipay.open.operation.openbizmock.testpathkey" ],
- "summary" : "测试网关协议3.0key和path",
- "description" : "测试网关协议3.0key和path",
- "operationId" : "alipay.open.operation.openbizmock.testpathkey.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenOperationOpenbizmockTestpathkeyQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenOperationOpenbizmockTestpathkeyQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "keykey",
- "in" : "path",
- "description" : "ceshi",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "keykey"
- }
- }, {
- "name" : "a",
- "in" : "path",
- "description" : "测试",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "a"
- }
- }, {
- "name" : "b",
- "in" : "query",
- "description" : "ceshi",
- "schema" : {
- "type" : "string",
- "example" : "b"
- }
- }, {
- "name" : "c",
- "in" : "query",
- "description" : "测试",
- "schema" : {
- "type" : "string",
- "example" : "c"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenOperationOpenbizmockTestpathkeyQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/account/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.account" ],
- "summary" : "添加绑定商户会员号",
- "description" : "当用户成为商户的关注用户后,可以在商户的服务窗中点击“添加绑定商户会员号”功能,支付宝系统收到操作请求后将该动作通知给商户(使用用户发送信息到商户接口,其中eventType(事件类型)为click,actionParam(按钮标识)为authentication),商户根据此通知调用商户回复消息接口(其中须包含Url链接地址),支付宝收到商户的回复消息中的链接地址后,自动跳转至商户平台的上商户会员绑定界面中,让用户完成账户绑定。 当用户有效完成账户绑定后,商户调用本接口,把绑定结果数据通知给支付宝。",
- "operationId" : "alipay.open.public.account.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/account/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.public.account" ],
- "summary" : "解除绑定商户会员号",
- "description" : "在支付宝服务窗中目前一共有三种解除绑定商户会员号的场景,具体如下:\r\n用户取消关注服务窗\r\n用户在服务窗内手动执行解除绑定操作\r\n开发者调用解除绑定商户会员号接口解除绑定",
- "operationId" : "alipay.open.public.account.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "agreement_id",
- "in" : "query",
- "description" : "协议号,商户会员在支付宝服务窗账号中的唯一标识,与bind_account_no不能同时为空",
- "schema" : {
- "type" : "string",
- "example" : "29022222"
- }
- }, {
- "name" : "bind_account_no",
- "in" : "query",
- "description" : "绑定帐号,建议在开发者的系统中保持唯一性,与agreement_id不能同时为空",
- "schema" : {
- "type" : "string",
- "example" : "test001"
- }
- }, {
- "name" : "from_user_id",
- "in" : "query",
- "description" : "绑定用户的支付宝userid,2088开头16位长度的字符串,与agreementId不能同时为空",
- "schema" : {
- "type" : "string",
- "example" : "2088656734541243"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "支付宝用户的唯一标识",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/account/query" : {
- "get" : {
- "tags" : [ "alipay.open.public.account" ],
- "summary" : "查询绑定商户会员号",
- "description" : "当用户成为商户的关注用户之后,则商户可以通过本接口查询关注者的绑定账户,以便补全异常情况下的单边账户数据。",
- "operationId" : "alipay.open.public.account.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_id",
- "in" : "query",
- "description" : "用户的支付宝用户号,2088开头。",
- "schema" : {
- "type" : "string",
- "example" : "2088123412341234"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "支付宝用户的唯一标识",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/account/reset" : {
- "post" : {
- "tags" : [ "alipay.open.public.account" ],
- "summary" : "重新设置绑定商家会员号",
- "description" : "如果商户想要重置已经添加的外部账户,可以通过该接口完成。重置后,原有的外部户将删除,新的外部户添加进去。",
- "operationId" : "alipay.open.public.account.reset",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountResetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountResetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAccountResetModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/advert/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.advert" ],
- "summary" : "生活号广告位查询接口",
- "description" : "可以通过此接口查询所有广告位的配置信息",
- "operationId" : "alipay.open.public.advert.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/advert/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.advert" ],
- "summary" : "生活号广告位添加接口",
- "description" : "可通过本接口在生活号主页添加广告位,根据业务需求配置不同的图片和跳转链接",
- "operationId" : "alipay.open.public.advert.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/advert/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.public.advert" ],
- "summary" : "生活号广告位删除接口",
- "description" : "可以通过此接口删除指定广告位的配置信息",
- "operationId" : "alipay.open.public.advert.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "advert_id",
- "in" : "query",
- "description" : "待删除的广告位id",
- "schema" : {
- "type" : "string",
- "example" : "123"
- }
- }, {
- "name" : "advert_group",
- "in" : "query",
- "description" : "待删除的广告位分组标识",
- "schema" : {
- "type" : "string",
- "example" : "CG202008041013200064690"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/advert/modify" : {
- "post" : {
- "tags" : [ "alipay.open.public.advert" ],
- "summary" : "生活号广告位修改接口",
- "description" : "可以通过此接口修改指定广告位的配置信息",
- "operationId" : "alipay.open.public.advert.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicAdvertModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/articlesummary/data/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.articlesummary.data" ],
- "summary" : "图文分析-按时间查询数据接口",
- "description" : "开发者可以通过图文分析接口查询30天内,所有历史发布的图文消息的数据,包括送达人数、曝光人数、图文阅读人数、分享人数等信息。",
- "operationId" : "alipay.open.public.articlesummary.data.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicArticlesummaryDataBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicArticlesummaryDataBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicArticlesummaryDataBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/contact/follow/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.contact.follow" ],
- "summary" : "查询服务窗联系人关注列表",
- "description" : "查询服务窗联系人关注列表",
- "operationId" : "alipay.open.public.contact.follow.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicContactFollowBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicContactFollowBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ]
- }
- },
- "/v3/alipay/open/public/default/extension/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.default.extension" ],
- "summary" : "默认扩展区创建接口",
- "description" : "开发者可使用此接口创建默认扩展区",
- "operationId" : "alipay.open.public.default.extension.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicDefaultExtensionCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicDefaultExtensionCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicDefaultExtensionCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/follow/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.follow" ],
- "summary" : "获取关注者列表",
- "description" : "公众号可通过本接口来获取账号的关注者列表,关注者列表由一串userId组成。一次拉取调用最多拉取10000个关注者的userId,可以通过多次拉取的方式来满足需求。 公众号可通过本接口来获取账号的关注者列表,关注者列表由一串userId组成。一次拉取调用最多拉取10000个关注者的userId,可以通过多次拉取的方式来满足需求。",
- "operationId" : "alipay.open.public.follow.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicFollowBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicFollowBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicFollowBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/group/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.group" ],
- "summary" : "查询用户分组列表",
- "description" : "使用该接口查询分组列表,并配合其它分组管理接口使用,最多显示200条",
- "operationId" : "alipay.open.public.group.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/group/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.group" ],
- "summary" : "用户分组创建接口",
- "description" : "开发者可使用此接口根据指定条件从关注用户中圈定人群生成分组,分组可用于组发消息等场景,分组圈定的人群必须大于50人。",
- "operationId" : "alipay.open.public.group.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/group/crowd/query" : {
- "post" : {
- "tags" : [ "alipay.open.public.group.crowd" ],
- "summary" : "人群数量查询",
- "description" : "用户可以指定自己创建的分组,调用接口查询对应的人群数量,人群必须大于50人才能正常返回,否则报错。",
- "operationId" : "alipay.open.public.group.crowd.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupCrowdQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupCrowdQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupCrowdQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/group/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.public.group" ],
- "summary" : "用户分组删除接口",
- "description" : "调用接口删除用户分组",
- "operationId" : "alipay.open.public.group.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "group_id",
- "in" : "query",
- "description" : "分组ID,通过<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.group.create\">alipay.open.public.group.create</a>(用户分组创建接口)\t创建用户分组获取。",
- "schema" : {
- "type" : "string",
- "example" : "100"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/group/modify" : {
- "post" : {
- "tags" : [ "alipay.open.public.group" ],
- "summary" : "用户分组修改接口",
- "description" : "调用改接口修改用户分组,仅支持修改分组名称。",
- "operationId" : "alipay.open.public.group.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicGroupModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/info/modify" : {
- "post" : {
- "tags" : [ "alipay.open.public.info" ],
- "summary" : "生活号基础信息修改接口",
- "description" : "提供生活号基础信息修改,同时适用于口碑商户签约当面付2.0默认创建的服务窗,需上传相关资质材料。修改名称、头像、简介会触发风控审核,审核通过后修改生效,支持isv调用",
- "operationId" : "alipay.open.public.info.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicInfoModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicInfoModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicInfoModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/info/query" : {
- "get" : {
- "tags" : [ "alipay.open.public.info" ],
- "summary" : "生活号基础信息查询接口",
- "description" : "提供名称、头像、简介、欢迎语、上下架、审核信息查询,支持isv调用",
- "operationId" : "alipay.open.public.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/label/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.label" ],
- "summary" : "公众号标签管理-添加标签",
- "description" : "开发者可以使用该接口创建一个标签,一个服务窗最多同时拥有500个标签,标签名不能重复。",
- "operationId" : "alipay.open.public.label.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLabelCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLabelCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLabelCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/label/query" : {
- "get" : {
- "tags" : [ "alipay.open.public.label" ],
- "summary" : "公众号标签管理-查询标签",
- "description" : "开发者可以查询该服务窗所有标签值及拥有该标签的用户个数",
- "operationId" : "alipay.open.public.label.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLabelQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLabelQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/label/user/query" : {
- "get" : {
- "tags" : [ "alipay.open.public.label.user" ],
- "summary" : "公众号标签管理-查询用户标签",
- "description" : "开发者可以使用该接口查询某个用户的所有标签",
- "operationId" : "alipay.open.public.label.user.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLabelUserQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLabelUserQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_id",
- "in" : "query",
- "description" : "支付宝用户的userid,2088开头长度为16位的字符串",
- "schema" : {
- "type" : "string",
- "example" : "2088283746283746"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "支付宝用户的唯一标识",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/life/aboard/apply" : {
- "post" : {
- "tags" : [ "alipay.open.public.life.aboard" ],
- "summary" : "上架生活号",
- "description" : "上架生活号",
- "operationId" : "alipay.open.public.life.aboard.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeAboardApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeAboardApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/life/agentcreate/query" : {
- "get" : {
- "tags" : [ "alipay.open.public.life.agentcreate" ],
- "summary" : "isv代创建生活号申请状态查询接口",
- "description" : "isv可调用此接口查询代商户创建的生活号审核状态",
- "operationId" : "alipay.open.public.life.agentcreate.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeAgentcreateQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeAgentcreateQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "out_biz_no",
- "in" : "query",
- "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一致。",
- "schema" : {
- "type" : "string",
- "example" : "2016070788301823878"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/life/debark/apply" : {
- "post" : {
- "tags" : [ "alipay.open.public.life.debark" ],
- "summary" : "下架生活号",
- "description" : "下架生活号",
- "operationId" : "alipay.open.public.life.debark.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeDebarkApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeDebarkApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/life/label/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.life.label" ],
- "summary" : "标签批量查询接口",
- "description" : "开发者可调用该接口查询生活号支持的标签列表,其中包括生活号通用标签、生活号自定义标签以及数据实验室标签。",
- "operationId" : "alipay.open.public.life.label.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/life/label/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.life.label" ],
- "summary" : "创建标签接口",
- "description" : "开发者可使用该API创建自定义标签",
- "operationId" : "alipay.open.public.life.label.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/life/label/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.public.life.label" ],
- "summary" : "标签删除接口",
- "description" : "开发者可调用此API删除自定义标签",
- "operationId" : "alipay.open.public.life.label.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "label_id",
- "in" : "query",
- "description" : "标签 id,只支持生活号自定义标签。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)创建自定义标签后获取。",
- "schema" : {
- "type" : "string",
- "example" : "10000"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/life/label/modify" : {
- "post" : {
- "tags" : [ "alipay.open.public.life.label" ],
- "summary" : "标签修改接口",
- "description" : "开发者可调用此API修改自定义标签的名称",
- "operationId" : "alipay.open.public.life.label.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeLabelModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/life/msg/recall" : {
- "post" : {
- "tags" : [ "alipay.open.public.life.msg" ],
- "summary" : "生活号消息撤回接口",
- "description" : "生活号消息撤回接口",
- "operationId" : "alipay.open.public.life.msg.recall",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgRecallResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgRecallErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgRecallModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/life/msg/send" : {
- "post" : {
- "tags" : [ "alipay.open.public.life.msg" ],
- "summary" : "生活号广播消息发送接口",
- "description" : "媒体资讯生活号群发一篇图文或视频类消息,生活号主页以及客户端首页展示消息详情",
- "operationId" : "alipay.open.public.life.msg.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "cover" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicLifeMsgSendModel"
- }
- }
- },
- "encoding" : {
- "cover" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/matchuser/label/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.matchuser.label" ],
- "summary" : "用户打标接口",
- "description" : "开发者可以使用此接口向匹配到的用户添加指定标签值,每个用户每个标签只能有一个标签值,当向同一个用户添加多个标签值时,最新的标签值会覆盖之前的标签值",
- "operationId" : "alipay.open.public.matchuser.label.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/matchuser/label/delete" : {
- "post" : {
- "tags" : [ "alipay.open.public.matchuser.label" ],
- "summary" : "用户取消标签接口",
- "description" : "开发者可以使用此接口删除匹配到的支付宝用户的指定标签值",
- "operationId" : "alipay.open.public.matchuser.label.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMatchuserLabelDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/menu/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.menu" ],
- "summary" : "菜单列表查询接口",
- "description" : "开发者可调用该接口查询自己创建的菜单列表",
- "operationId" : "alipay.open.public.menu.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/menu/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.menu" ],
- "summary" : "默认菜单创建接口",
- "description" : "开发者可调用该接口为生活号创建一套默认菜单,当用户进入生活号主页时,若没有命中任何个性化菜单,则会展示该默认菜单,每个生活号必须有一套默认菜单",
- "operationId" : "alipay.open.public.menu.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/menu/data/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.menu.data" ],
- "summary" : "菜单分析数据查询接口",
- "description" : "开发者可以根据本接口查询30天内菜单的相关数据,包括菜单点击人数和次数",
- "operationId" : "alipay.open.public.menu.data.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuDataBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuDataBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuDataBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/menu/modify" : {
- "post" : {
- "tags" : [ "alipay.open.public.menu" ],
- "summary" : "默认菜单更新接口",
- "description" : "开发者可调用该接口更新默认菜单,菜单更新成功后实时生效",
- "operationId" : "alipay.open.public.menu.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/menu/query" : {
- "get" : {
- "tags" : [ "alipay.open.public.menu" ],
- "summary" : "公众服务平台查询菜单",
- "description" : "开发者通过调用该接口查询菜单。",
- "operationId" : "alipay.open.public.menu.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMenuQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/message/content/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.message.content" ],
- "summary" : "创建图文消息内容接口",
- "description" : "开发者可使用该接口将富文本内容生成生活号图文消息内容链接",
- "operationId" : "alipay.open.public.message.content.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/message/content/modify" : {
- "post" : {
- "tags" : [ "alipay.open.public.message.content" ],
- "summary" : "更新图文消息内容接口",
- "description" : "开发者可使用该接口修改已经创建的生活号图文消息素材里的内容",
- "operationId" : "alipay.open.public.message.content.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageContentModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/message/custom/send" : {
- "post" : {
- "tags" : [ "alipay.open.public.message.custom" ],
- "summary" : "异步单发消息",
- "description" : "开发者可使用该接口向指定关注用户推送客服消息,一般用于开发者使用接口与用户进行实时信息交互,例如自动回答用户包含某些指定关键字的咨询等。注意:用户必须在48小时之内与该生活号有交互行为才能收到消息(交互行为包括进入生活号、点击菜单、向生活号发送消息等),每个生活号每天只能向1个用户推送100条消息,超过这个数目会报错频率超限",
- "operationId" : "alipay.open.public.message.custom.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageCustomSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageCustomSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageCustomSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/message/group/send" : {
- "post" : {
- "tags" : [ "alipay.open.public.message.group" ],
- "summary" : "分组消息发送接口",
- "description" : "开发者可调用此接口向指定分组中的关注用户发送消息,该接口为异步接口,一般请求成功后一段时间用户才能收到消息。",
- "operationId" : "alipay.open.public.message.group.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageGroupSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageGroupSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageGroupSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/message/label/send" : {
- "post" : {
- "tags" : [ "alipay.open.public.message.label" ],
- "summary" : "根据标签组发消息接口",
- "description" : "开发者可以通过标签运算圈定一批用户,并且向这批用户推送消息。关于标签组发有以下注意点:\r\n除了商户自定义标签,还支持支付宝用户标签,我们将陆续开放用户画像标签,目前支持的支付宝标签及说明请查看支付宝开放标签;\r\n用户及标签数据有1天的缓存时间,即昨天开发者给M用户打了a标签,今天给有a标签的用户组发消息,M能够收到消息;但是如果开发者今天给M用户打了a标签,然后向有a标签的用户组发消息,M不能收到消息;\r\n与群发消息接口类似,该接口调用之后,消息发送系统会处理一段时间,调用接口到发送成功存在一定的时延,几分钟到半个小时不等;\r\n对于同一个用户而言,一周只能收到一条群发或者标签组发的消息;\r\n消息组发接口一周最多调用5次。",
- "operationId" : "alipay.open.public.message.label.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageLabelSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageLabelSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageLabelSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/message/single/send" : {
- "post" : {
- "tags" : [ "alipay.open.public.message.single" ],
- "summary" : "单发模板消息",
- "description" : "商户可使用该接口向用户推送制定模板的消息,如动账提醒、停车通知等消息,消息模板可在生活号后台(fuwu.alipay.com)领取,点击“模板消息”菜单,即可在模板库中领取行业对应的模板",
- "operationId" : "alipay.open.public.message.single.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageSingleSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageSingleSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageSingleSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/message/total/send" : {
- "post" : {
- "tags" : [ "alipay.open.public.message.total" ],
- "summary" : "群发消息",
- "description" : "群发消息",
- "operationId" : "alipay.open.public.message.total.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageTotalSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageTotalSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicMessageTotalSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/payee/bind/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.payee.bind" ],
- "summary" : "添加收款账号接口",
- "description" : "允许开发者调用该接口将收款账号与当前生活号绑定,从而支持支付成功页引导推荐关注生活号",
- "operationId" : "alipay.open.public.payee.bind.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/payee/bind/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.public.payee.bind" ],
- "summary" : "解绑收款账号接口",
- "description" : "允许开发者调用该接口将收款账号与当前生活号解绑",
- "operationId" : "alipay.open.public.payee.bind.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicPayeeBindDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "login_id",
- "in" : "query",
- "description" : "收款账号,需要绑定的收款支付宝账号,请勿与 pid 同时传入。",
- "schema" : {
- "type" : "string",
- "example" : "13434232322"
- }
- }, {
- "name" : "pid",
- "in" : "query",
- "description" : "支付宝用户id,2088开头的16位长度字符串,请勿与 login_id 同时传入。",
- "schema" : {
- "type" : "string",
- "example" : "208844738438439"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/personalized/extension/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.personalized.extension" ],
- "summary" : "扩展区批量查询接口",
- "description" : "开发者可使用此接口批量查询扩展区列表,包括默认扩展区和个性化扩展区",
- "operationId" : "alipay.open.public.personalized.extension.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/personalized/extension/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.personalized.extension" ],
- "summary" : "个性化扩展区创建接口",
- "description" : "开发者可使用该接口创建一套个性化扩展区,符合该扩展区规则的用户进入生活号主页后会看到该个性化扩展区",
- "operationId" : "alipay.open.public.personalized.extension.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/personalized/extension/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.public.personalized.extension" ],
- "summary" : "扩展区删除接口",
- "description" : "开发者可调用该接口删除创建的一套扩展区,包括个性化扩展区和默认扩展区",
- "operationId" : "alipay.open.public.personalized.extension.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedExtensionDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "extension_key",
- "in" : "query",
- "description" : "一套扩展区的key,删除默认扩展区时传入default ,查询扩展区列表可以获得每套扩展区的key",
- "schema" : {
- "type" : "string",
- "example" : "10000"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/personalized/menu/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.personalized.menu" ],
- "summary" : "个性化菜单创建",
- "description" : "开发者可使用该接口创建个性化菜单,当生活号用户标签信息命中该菜单的标签规则时,用户将会看到该套菜单。个性化菜单创建完成后立即生效,用户支付宝客户端版本低于10.0.12时,若创建的是icon菜单,也会以文本菜单的形式展示。",
- "operationId" : "alipay.open.public.personalized.menu.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/personalized/menu/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.public.personalized.menu" ],
- "summary" : "个性化菜单删除",
- "description" : "开发者可使用该接口删除个性化菜单",
- "operationId" : "alipay.open.public.personalized.menu.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicPersonalizedMenuDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "menu_key",
- "in" : "query",
- "description" : "要删除的个性化菜单key。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.personalized.menu.create\">alipay.open.public.personalized.menu.create</a>(个性化菜单创建)接口创建个性化菜单后获取。",
- "schema" : {
- "type" : "string",
- "example" : "100000"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/qrcode/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.qrcode" ],
- "summary" : "带参推广二维码接口",
- "description" : "为了满足用户渠道推广分析的需要,公众平台提供了生成带参数二维码的接口。使用该接口可以获得多个带不同场景值的二维码,用户扫描后,公众号可以接收到事件推送。目前有2种类型的二维码,分别是临时二维码、和永久二维码,前者有过期时间,最大为1800秒。 每次创建二维码ticket需要提供一个开发者自行设定的参数(scene_id)。",
- "operationId" : "alipay.open.public.qrcode.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicQrcodeCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicQrcodeCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicQrcodeCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/setting/category/query" : {
- "get" : {
- "tags" : [ "alipay.open.public.setting.category" ],
- "summary" : "生活号查询行业设置接口",
- "description" : "查询生活号已设置的行业类型,支持isv调用",
- "operationId" : "alipay.open.public.setting.category.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicSettingCategoryQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicSettingCategoryQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/shortlink/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.shortlink" ],
- "summary" : "服务窗短链自主生成接口",
- "description" : "商户通过本接口生成带自有场景标识的短链接",
- "operationId" : "alipay.open.public.shortlink.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicShortlinkCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicShortlinkCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicShortlinkCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/singlearticle/data/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.singlearticle.data" ],
- "summary" : "图文分析-按文章查询数据接口",
- "description" : "开发者可以通过本接口查询最近30天内发布的图文消息的数据,数据包括:发布时间、送达人数、阅读人数、分享人数等。",
- "operationId" : "alipay.open.public.singlearticle.data.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicSinglearticleDataBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicSinglearticleDataBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicSinglearticleDataBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/template/message/get" : {
- "get" : {
- "tags" : [ "alipay.open.public.template.message" ],
- "summary" : "消息模板领取接口",
- "description" : "帮助服务窗开发者从服务窗平台(fuwu.alipay.com)公共模板库里领取一个行业的消息模板--消息模板是一种消息的样式,如消费提醒、账单提醒等,主要用于isv帮助商户领取消息模板。",
- "operationId" : "alipay.open.public.template.message.get",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageGetResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageGetErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "template_id",
- "in" : "query",
- "description" : "消息母板id,登陆生活号后台(fuwu.alipay.com),点击菜单“模板消息”,点击“模板库”,即可看到相应模板的消息母板id",
- "schema" : {
- "type" : "string",
- "example" : "TM000000223"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/template/message/industry/modify" : {
- "post" : {
- "tags" : [ "alipay.open.public.template.message.industry" ],
- "summary" : "模板消息行业设置修改接口",
- "description" : "用于修改服务窗消息模板设置的行业信息,如:IT科技/IT软件与服务。",
- "operationId" : "alipay.open.public.template.message.industry.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageIndustryModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageIndustryModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicTemplateMessageIndustryModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/topic/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.topic" ],
- "summary" : "营销位查询接口",
- "description" : "通过此接口,开发者可以查询已经在生活号主页配置的营销位具体信息,包括标题、描述、链接等信息。",
- "operationId" : "alipay.open.public.topic.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/alipay/open/public/topic/create" : {
- "post" : {
- "tags" : [ "alipay.open.public.topic" ],
- "summary" : "营销位添加接口",
- "description" : "开发者可以通过此接口,在生活号主页中配置营销位,支持展示4-8个营销位,满足商家对业务的需求,需要注意的是,当某个营销位需要显示为头图时,必须要配置以下三个参数:营销位描述 (sub_title)、营销位图片(img_url)、营销位链接地址(link_url),如不需要展示头图时,以上三个参数均不要传。",
- "operationId" : "alipay.open.public.topic.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/topic/delete" : {
- "delete" : {
- "tags" : [ "alipay.open.public.topic" ],
- "summary" : "营销位删除接口",
- "description" : "通过此接口,开发者可以根据营销位的id删除指定的营销位。",
- "operationId" : "alipay.open.public.topic.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "topic_id",
- "in" : "query",
- "description" : "营销位id",
- "schema" : {
- "type" : "string",
- "example" : "123"
- }
- } ]
- }
- },
- "/v3/alipay/open/public/topic/modify" : {
- "post" : {
- "tags" : [ "alipay.open.public.topic" ],
- "summary" : "营销位修改接口",
- "description" : "通过此接口,开发者可以修改已经在生活号主页配置的营销位具体信息,包括标题、描述、链接等信息。需要注意的是,当某个营销位需要显示为头图时,必须要配置以下三个参数:营销位描述 (sub_title)、营销位图片(img_url)、营销位链接地址(link_url),如不需要展示头图时,以上三个参数均不要传。请注意修改是针对整套营销位,会覆盖之前的营销位。",
- "operationId" : "alipay.open.public.topic.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicTopicModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/user/data/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.public.user.data" ],
- "summary" : "用户分析数据查询接口",
- "description" : "通过此接口,开发者可以根据时间查询30天内的关注用户人数、取消关注用户人数、净增关注人数、累计关注人数信息",
- "operationId" : "alipay.open.public.user.data.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicUserDataBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicUserDataBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicUserDataBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/public/user/follow/query" : {
- "get" : {
- "tags" : [ "alipay.open.public.user.follow" ],
- "summary" : "查询用户是否已经关注了生活号",
- "description" : "查询用户是否已经关注生活号,支持生活号、内容号、财富号",
- "operationId" : "alipay.open.public.user.follow.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenPublicUserFollowQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenPublicUserFollowQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_id",
- "in" : "query",
- "description" : "支付宝用户id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "schema" : {
- "type" : "string",
- "example" : "2088132324342243"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "支付宝用户唯一的标识",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- } ]
- }
- },
- "/v3/alipay/open/search/ability/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.search.ability" ],
- "summary" : "搜索运营列表分页查询",
- "description" : "搜索运营列表分页查询",
- "operationId" : "alipay.open.search.ability.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchAbilityBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchAbilityBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchAbilityBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/appkeyword/apply" : {
- "post" : {
- "tags" : [ "alipay.open.search.appkeyword" ],
- "summary" : "提报搜索关键词",
- "description" : "提报搜索关键词",
- "operationId" : "alipay.open.search.appkeyword.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/appkeyword/batchquery" : {
- "get" : {
- "tags" : [ "alipay.open.search.appkeyword" ],
- "summary" : "查询小程序已配置关键词",
- "description" : "查询小程序已配置关键词",
- "operationId" : "alipay.open.search.appkeyword.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "target_appid",
- "in" : "query",
- "description" : "小程序id",
- "schema" : {
- "type" : "string",
- "example" : "2021001120654127"
- }
- }, {
- "name" : "status",
- "in" : "query",
- "description" : "关键词的状态,枚举值,不传该字段表示查询所有状态",
- "schema" : {
- "type" : "string",
- "example" : "ONLINE"
- }
- }, {
- "name" : "page_number",
- "in" : "query",
- "description" : "当前页",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页显示条数",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- } ]
- }
- },
- "/v3/alipay/open/search/appkeyword/delete" : {
- "post" : {
- "tags" : [ "alipay.open.search.appkeyword" ],
- "summary" : "删除搜索关键词",
- "description" : "删除搜索关键词",
- "operationId" : "alipay.open.search.appkeyword.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/appkeyword/querystatus" : {
- "get" : {
- "tags" : [ "alipay.open.search.appkeyword" ],
- "summary" : "查询小程序搜索关键词的审核工单的状态",
- "description" : "查询小程序搜索关键词的审核工单的状态",
- "operationId" : "alipay.open.search.appkeyword.querystatus",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordQuerystatusResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordQuerystatusErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "target_appid",
- "in" : "query",
- "description" : "小程序id",
- "schema" : {
- "type" : "string",
- "example" : "2021001120654127"
- }
- }, {
- "name" : "apply_no",
- "in" : "query",
- "description" : "审核工单id,提报接口的返回值",
- "schema" : {
- "type" : "string",
- "example" : "20220519000000108026"
- }
- } ]
- }
- },
- "/v3/alipay/open/search/appkeywordquota/query" : {
- "get" : {
- "tags" : [ "alipay.open.search.appkeywordquota" ],
- "summary" : "查询小程序可配置关键词数",
- "description" : "查询小程序可配置关键词数",
- "operationId" : "alipay.open.search.appkeywordquota.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordquotaQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchAppkeywordquotaQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "target_appid",
- "in" : "query",
- "description" : "小程序id",
- "schema" : {
- "type" : "string",
- "example" : "2021001120654127"
- }
- } ]
- }
- },
- "/v3/alipay/open/search/baseorder/modify" : {
- "post" : {
- "tags" : [ "alipay.open.search.baseorder" ],
- "summary" : "搜索运营提报基础信息工单",
- "description" : "搜索运营提报基础信息工单",
- "operationId" : "alipay.open.search.baseorder.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBaseorderModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBaseorderModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBaseorderModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/box/apply" : {
- "post" : {
- "tags" : [ "alipay.open.search.box" ],
- "summary" : "申请创建搜索直达配置",
- "description" : "申请创建搜索直达配置,相关概念说明及准入条件详见 <a href=\"https://opendocs.alipay.com/mini/03fjba\"> 搜索直达 </a>\n通过该接口创建搜索直达,满足准入门槛时,创建后立马生效。",
- "operationId" : "alipay.open.search.box.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/box/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.search.box" ],
- "summary" : "批量查询搜索直达配置列表",
- "description" : "批量查询商户已开通搜索直达的小程序及直达信息(搜索直达名称和id)",
- "operationId" : "alipay.open.search.box.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/box/consult" : {
- "post" : {
- "tags" : [ "alipay.open.search.box" ],
- "summary" : "搜索直达创建预校验",
- "description" : "用于对搜索直达创建申请的入参和条件进行提前判断校验。\n具体准入条件参考<a href=\"https://opendocs.alipay.com/pre-open/0311q3#%E5%87%86%E5%85%A5%E6%9D%A1%E4%BB%B6\">搜索直达准入条件</a>",
- "operationId" : "alipay.open.search.box.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxConsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/box/modify" : {
- "post" : {
- "tags" : [ "alipay.open.search.box" ],
- "summary" : "修改搜索直达配置",
- "description" : "修改搜索直达配置模块,配置对应的模块参考:<a href=\"https://opendocs.alipay.com/mini/03fjba#%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E\"> 搜索直达模块说明 </a>",
- "operationId" : "alipay.open.search.box.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/box/offline" : {
- "post" : {
- "tags" : [ "alipay.open.search.box" ],
- "summary" : "下架搜索直达",
- "description" : "若不需要运营搜索直达时,可调用次接口下架搜索直达",
- "operationId" : "alipay.open.search.box.offline",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxOfflineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxOfflineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxOfflineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/box/online" : {
- "post" : {
- "tags" : [ "alipay.open.search.box" ],
- "summary" : "上架搜索直达",
- "description" : "若搜索直达处于下架状态时,可通过此接口来重新上架直达,上架须满足搜索直达准入门槛,若不满足,则会上架失败并报错",
- "operationId" : "alipay.open.search.box.online",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxOnlineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxOnlineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxOnlineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/box/query" : {
- "get" : {
- "tags" : [ "alipay.open.search.box" ],
- "summary" : "查询搜索直达配置详情",
- "description" : "查询商户已开通搜索直达的小程序及直达信息(搜索直达名称和id),各模块说明详见 <a href=\"https://opendocs.alipay.com/mini/03fjba\"> 搜索直达 </a>。",
- "operationId" : "alipay.open.search.box.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "box_id",
- "in" : "query",
- "description" : "搜索直达配置id",
- "schema" : {
- "type" : "string",
- "example" : "20220308000000128693"
- }
- }, {
- "name" : "merchant_id",
- "in" : "query",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "schema" : {
- "type" : "string",
- "example" : "2088xxxxxxxxxxxx"
- }
- } ]
- }
- },
- "/v3/alipay/open/search/boxactivity/apply" : {
- "post" : {
- "tags" : [ "alipay.open.search.boxactivity" ],
- "summary" : "申请创建搜索直达活动配置",
- "description" : "当搜索直达处于上架状态时,通过该接口来创建banner活动。相关概念和说明详见 <a href=\"https://opendocs.alipay.com/mini/03fjba\"> 搜索直达 </a>。",
- "operationId" : "alipay.open.search.boxactivity.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/boxactivity/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.search.boxactivity" ],
- "summary" : "批量查询搜索直达活动配置",
- "description" : "批量查询多个搜索直达banner的活动信息",
- "operationId" : "alipay.open.search.boxactivity.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/boxactivity/modify" : {
- "post" : {
- "tags" : [ "alipay.open.search.boxactivity" ],
- "summary" : "修改搜索直达活动配置",
- "description" : "修改搜索直达活动配置",
- "operationId" : "alipay.open.search.boxactivity.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/boxactivity/offline" : {
- "post" : {
- "tags" : [ "alipay.open.search.boxactivity" ],
- "summary" : "下架搜索直达活动",
- "description" : "需要下架某个banner活动时,可通过此接口来进行下架操作",
- "operationId" : "alipay.open.search.boxactivity.offline",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityOfflineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityOfflineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityOfflineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/boxactivity/query" : {
- "get" : {
- "tags" : [ "alipay.open.search.boxactivity" ],
- "summary" : "查询搜索直达活动配置详情",
- "description" : "查询单个搜索直达banner的活动信息",
- "operationId" : "alipay.open.search.boxactivity.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchBoxactivityQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "box_activity_id",
- "in" : "query",
- "description" : "搜索直达活动id",
- "schema" : {
- "type" : "string",
- "example" : "20211223000000100000"
- }
- }, {
- "name" : "merchant_id",
- "in" : "query",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "schema" : {
- "type" : "string",
- "example" : "2088xxxxxxxxxxxx"
- }
- } ]
- }
- },
- "/v3/alipay/open/search/orderdetail/query" : {
- "post" : {
- "tags" : [ "alipay.open.search.orderdetail" ],
- "summary" : "查询搜索服务工单的详细信息",
- "description" : "查询搜索服务工单的详细信息",
- "operationId" : "alipay.open.search.orderdetail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchOrderdetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchOrderdetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchOrderdetailQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/serviceorder/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.search.serviceorder" ],
- "summary" : "搜索运营服务查询接口",
- "description" : "搜索运营服务查询接口",
- "operationId" : "alipay.open.search.serviceorder.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchServiceorderBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchServiceorderBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchServiceorderBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/subservicekeyword/apply" : {
- "post" : {
- "tags" : [ "alipay.open.search.subservicekeyword" ],
- "summary" : "提报服务关键词",
- "description" : "小程序-服务推广-提报服务关键词",
- "operationId" : "alipay.open.search.subservicekeyword.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/subservicekeyword/batchquery" : {
- "get" : {
- "tags" : [ "alipay.open.search.subservicekeyword" ],
- "summary" : "服务关键词批量查询接口",
- "description" : "批量查询小程序的服务关键词",
- "operationId" : "alipay.open.search.subservicekeyword.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "target_appid",
- "in" : "query",
- "description" : "小程序id",
- "schema" : {
- "type" : "string",
- "example" : "2021001112626071"
- }
- }, {
- "name" : "status",
- "in" : "query",
- "description" : "审核状态,服务关键词的审核状态,枚举值,不传该字段表示查询所有状态",
- "schema" : {
- "type" : "string",
- "example" : "ONLINE"
- }
- }, {
- "name" : "page_number",
- "in" : "query",
- "description" : "分页参数,分页查询时使用",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页参数,分页查询时使用",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- } ]
- }
- },
- "/v3/alipay/open/search/subservicekeyword/delete" : {
- "post" : {
- "tags" : [ "alipay.open.search.subservicekeyword" ],
- "summary" : "删除服务关键词",
- "description" : "删除服务关键词",
- "operationId" : "alipay.open.search.subservicekeyword.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/search/subservicekeyword/querystatus" : {
- "get" : {
- "tags" : [ "alipay.open.search.subservicekeyword" ],
- "summary" : "查询小程序服务关键词的审核工单的状态",
- "description" : "查询小程序服务关键词的审核工单的状态",
- "operationId" : "alipay.open.search.subservicekeyword.querystatus",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordQuerystatusResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSearchSubservicekeywordQuerystatusErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "target_appid",
- "in" : "query",
- "description" : "小程序id",
- "schema" : {
- "type" : "string",
- "example" : "2021001112626071"
- }
- }, {
- "name" : "apply_no",
- "in" : "query",
- "description" : "审核工单id,提报接口的返回值",
- "schema" : {
- "type" : "string",
- "example" : "20220519000000108026"
- }
- } ]
- }
- },
- "/v3/alipay/open/servicemarket/commodity/shop/offline" : {
- "post" : {
- "tags" : [ "alipay.open.servicemarket.commodity.shop" ],
- "summary" : "球房插件下架操作",
- "description" : "本接口需要商户授权服务商球房操作权限后,服务商可对商户球房上的插件进行下架操作",
- "operationId" : "alipay.open.servicemarket.commodity.shop.offline",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOfflineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOfflineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOfflineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/servicemarket/commodity/shop/online" : {
- "post" : {
- "tags" : [ "alipay.open.servicemarket.commodity.shop" ],
- "summary" : "球房插件上架操作",
- "description" : "本接口用于上架商户球房订购的服务。",
- "operationId" : "alipay.open.servicemarket.commodity.shop.online",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOnlineResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOnlineErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketCommodityShopOnlineModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/servicemarket/order/accept" : {
- "post" : {
- "tags" : [ "alipay.open.servicemarket.order" ],
- "summary" : "服务商接单操作",
- "description" : "商户订购服务插件之后,需要服务商接单,调用此接口可完成接单操作",
- "operationId" : "alipay.open.servicemarket.order.accept",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderAcceptResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderAcceptErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderAcceptModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/servicemarket/order/create" : {
- "post" : {
- "tags" : [ "alipay.open.servicemarket.order" ],
- "summary" : "服务市场代订购小程序",
- "description" : "第三方服务商可以创建服务市场的订单,并代为创建小程序应用,小程序应用授权给服务商",
- "operationId" : "alipay.open.servicemarket.order.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "app_logo" : {
- "type" : "string",
- "format" : "binary"
- },
- "data" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderCreateModel"
- }
- }
- },
- "encoding" : {
- "app_logo" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/servicemarket/order/item/cancel" : {
- "post" : {
- "tags" : [ "alipay.open.servicemarket.order.item" ],
- "summary" : "服务订单明细实施项单项取消",
- "description" : "服务商可以单个取消订单明细实施项",
- "operationId" : "alipay.open.servicemarket.order.item.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/servicemarket/order/item/complete" : {
- "post" : {
- "tags" : [ "alipay.open.servicemarket.order.item" ],
- "summary" : "服务商完成订单内单个明细实施项",
- "description" : "商户在订购插件后,服务商完成实施操作,此接口会检测当前订单必须所属当前操作服务商",
- "operationId" : "alipay.open.servicemarket.order.item.complete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCompleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCompleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemCompleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/servicemarket/order/item/confirm" : {
- "post" : {
- "tags" : [ "alipay.open.servicemarket.order.item" ],
- "summary" : "服务商代商家确认实施完成",
- "description" : "此接口需商家授权服务商应用权限后,服务商可代商家进行实施确认完成动作",
- "operationId" : "alipay.open.servicemarket.order.item.confirm",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemConfirmResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemConfirmErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderItemConfirmModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/servicemarket/order/notify" : {
- "post" : {
- "tags" : [ "alipay.open.servicemarket.order" ],
- "summary" : "服务市场商户确认订购通知",
- "description" : "服务市场当商户选择服务商提供产品并订购确认时,通知服务商订单消息。服务商可以通过通知的消息内容回查该订单明细。回查接口(alipay.open.servicemarket.order.query)",
- "operationId" : "alipay.open.servicemarket.order.notify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderNotifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderNotifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/CommonNotifyUrlModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/servicemarket/order/query" : {
- "get" : {
- "tags" : [ "alipay.open.servicemarket.order" ],
- "summary" : "订购插件订单明细查询",
- "description" : "第三方服务商提供服务产品被商户订购后,服务市场会推送订单信息给服务商,服务商根据订单号回查该订单明细信息。",
- "operationId" : "alipay.open.servicemarket.order.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "commodity_order_id",
- "in" : "query",
- "description" : "订购服务订单ID,通过支付宝发送的 https://opendocs.alipay.com/apis/api_3/alipay.open.servicemarket.order.notify(服务市场商户确认订购通知) 通知获取。",
- "schema" : {
- "type" : "string",
- "example" : "20160010200000000033400"
- }
- }, {
- "name" : "start_page",
- "in" : "query",
- "description" : "查询开始页码,1 为第一页。",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/open/servicemarket/order/reject" : {
- "post" : {
- "tags" : [ "alipay.open.servicemarket.order" ],
- "summary" : "服务商拒绝接单",
- "description" : "服务商可以拒接商户购买服务插件订单",
- "operationId" : "alipay.open.servicemarket.order.reject",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderRejectResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderRejectErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketOrderRejectModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/servicemarket/promotiontask/relation/query" : {
- "get" : {
- "tags" : [ "alipay.open.servicemarket.promotiontask.relation" ],
- "summary" : "服务商推广关系查询",
- "description" : "用于开发服务商查询已与其达成推广关系的地推服务商信息",
- "operationId" : "alipay.open.servicemarket.promotiontask.relation.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketPromotiontaskRelationQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenServicemarketPromotiontaskRelationQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "commodity_id",
- "in" : "query",
- "description" : "服务商品ID",
- "schema" : {
- "type" : "string",
- "example" : "SS010101000000003954"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页数量,范围(1-100)。默认:10",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "当前页码,从1开始。默认:1",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/open/sp/blueseaactivity/create" : {
- "post" : {
- "tags" : [ "alipay.open.sp.blueseaactivity" ],
- "summary" : "服务商返佣活动报名申请",
- "description" : "服务商返佣活动报名",
- "operationId" : "alipay.open.sp.blueseaactivity.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/blueseaactivity/modify" : {
- "post" : {
- "tags" : [ "alipay.open.sp.blueseaactivity" ],
- "summary" : "服务商返佣活动申请单修改",
- "description" : "服务商返佣活动",
- "operationId" : "alipay.open.sp.blueseaactivity.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/blueseaactivity/query" : {
- "get" : {
- "tags" : [ "alipay.open.sp.blueseaactivity" ],
- "summary" : "服务商返佣活动申请单详情查询",
- "description" : "服务商返佣活动",
- "operationId" : "alipay.open.sp.blueseaactivity.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpBlueseaactivityQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "order_id",
- "in" : "query",
- "description" : "申请单 id。通过 <a href=\"https://opendocs.alipay.com/apis/01ebig\">alipay.open.sp.blueseaactivity.create</a>接口获取",
- "schema" : {
- "type" : "string",
- "example" : "5881"
- }
- } ]
- }
- },
- "/v3/alipay/open/sp/image/upload" : {
- "post" : {
- "tags" : [ "alipay.open.sp.image" ],
- "summary" : "图片上传接口",
- "description" : "图片上传",
- "operationId" : "alipay.open.sp.image.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpImageUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpImageUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "image_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "image_content" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/isv/bill/sync" : {
- "post" : {
- "tags" : [ "alipay.open.sp.isv.bill" ],
- "summary" : "服务商账单数据回传",
- "description" : "针对SSB业务中,S1回传S2推广过程中,获得的分佣账单数据",
- "operationId" : "alipay.open.sp.isv.bill.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvBillSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvBillSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvBillSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/isv/operation/sync" : {
- "post" : {
- "tags" : [ "alipay.open.sp.isv.operation" ],
- "summary" : "服务商作业结果数据回传",
- "description" : "针对SSB业务中,S1回传S2推广过程中,获得的作业结果数据",
- "operationId" : "alipay.open.sp.isv.operation.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvOperationSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvOperationSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvOperationSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/isv/relation/query" : {
- "get" : {
- "tags" : [ "alipay.open.sp.isv.relation" ],
- "summary" : "spcenter服务商推广关系查询",
- "description" : "用于开发服务商查询已与其达成推广关系的地推服务商信息",
- "operationId" : "alipay.open.sp.isv.relation.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvRelationQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvRelationQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "commodity_id",
- "in" : "query",
- "description" : "服务市场商品Code",
- "schema" : {
- "type" : "string",
- "example" : "SS010301000000001908"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页数量,范围(1-100)。默认:10",
- "schema" : {
- "type" : "string",
- "example" : "10"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "当前页码,从1开始。默认:1",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/open/sp/isv/sales/sync" : {
- "post" : {
- "tags" : [ "alipay.open.sp.isv.sales" ],
- "summary" : "商户销售数据回传接口",
- "description" : "针对SSB业务中,S2推广之后,推广的产品的销售数据回传",
- "operationId" : "alipay.open.sp.isv.sales.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvSalesSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvSalesSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvSalesSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/isv/signauth/create" : {
- "post" : {
- "tags" : [ "alipay.open.sp.isv.signauth" ],
- "summary" : "创建签约授权一体化订单",
- "description" : "针对签约授权一体化场景,创建签约授权一体化订单绑定签约单(可选)、绑定代运营授权单、应用授权单,跟踪整个签约授权一体化订单的状态",
- "operationId" : "alipay.open.sp.isv.signauth.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/isv/signauth/query" : {
- "get" : {
- "tags" : [ "alipay.open.sp.isv.signauth" ],
- "summary" : "查询签约授权一体化订单状态详情",
- "description" : "查询签约授权一体化订单状态详情(包含子任务信息)",
- "operationId" : "alipay.open.sp.isv.signauth.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpIsvSignauthQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "order_id",
- "in" : "query",
- "description" : "签约授权一体化订单ID\t可通过alipay.open.sp.isv.signauth.create 接口获取",
- "schema" : {
- "type" : "string",
- "example" : "20211102034000100000047728652040"
- }
- } ]
- }
- },
- "/v3/alipay/open/sp/leads/expand/create" : {
- "post" : {
- "tags" : [ "alipay.open.sp.leads.expand" ],
- "summary" : "在线写入商机库",
- "description" : "在线写入商机库",
- "operationId" : "alipay.open.sp.leads.expand.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpLeadsExpandCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpLeadsExpandCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpLeadsExpandCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/merchant/inconsistent/approve" : {
- "post" : {
- "tags" : [ "alipay.open.sp.merchant.inconsistent" ],
- "summary" : "非同人商家进件资料审批",
- "description" : "针对服务优选扫码点餐小程序,用于收集并审核非同人商家的进件资料。",
- "operationId" : "alipay.open.sp.merchant.inconsistent.approve",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpMerchantInconsistentApproveResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpMerchantInconsistentApproveErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpMerchantInconsistentApproveModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/operation/apply" : {
- "post" : {
- "tags" : [ "alipay.open.sp.operation" ],
- "summary" : "向商户发起代运营操作",
- "description" : "服务商向商户发起代运营操作(账号绑定或者代运营授权)",
- "operationId" : "alipay.open.sp.operation.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpOperationApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpOperationApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpOperationApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/operation/qrcode/query" : {
- "get" : {
- "tags" : [ "alipay.open.sp.operation.qrcode" ],
- "summary" : "查询代运营授权或者账号绑定二维码",
- "description" : "面向服务商,查询发起代运营授权或者账号绑定的二维码。代间联商户代运营时,推荐使用接口同步返回的recommend_accounts字段中的账号扫码确认。",
- "operationId" : "alipay.open.sp.operation.qrcode.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpOperationQrcodeQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpOperationQrcodeQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "out_biz_no",
- "in" : "query",
- "description" : "外部操作流水,由服务商自定义,需确保每次操作唯一。仅支持数字、字母、下划线组合。",
- "schema" : {
- "type" : "string",
- "example" : "2020124234523465636345634"
- }
- }, {
- "name" : "operate_type",
- "in" : "query",
- "description" : "代运营操作类型。取值如下:\t* ACCOUNT_BIND:账号绑定,仅支持间连商户。\t* OPERATION_AUTH:代运营授权,支持间连、直连商户。",
- "schema" : {
- "type" : "string",
- "example" : "OPERATION_AUTH"
- }
- }, {
- "name" : "merchant_no",
- "in" : "query",
- "description" : "支付宝商户号。注意仅支持 2088 开头的间连商户。\t若被代运营者是间连商户,则 merchant_no 必填;\t若为直连商户,则 merchant_no 和 alipay_account 不能同时为空,都有值优先取 merchant_no。",
- "schema" : {
- "type" : "string",
- "example" : "2088XXXX"
- }
- }, {
- "name" : "alipay_account",
- "in" : "query",
- "description" : "支付宝登录账号。通常为手机号或者邮箱。\t若被代运营者是间连商户,该字段无需填写。\t若为直连商户,则 merchant_no 和 alipay_account 不能同时为空,都有值优先取 merchant_no。",
- "schema" : {
- "type" : "string",
- "example" : "xxx@gmail.com"
- }
- }, {
- "name" : "access_product_code",
- "in" : "query",
- "description" : "接入的产品编号。\t操作类型为绑定的,填OPENAPI_BIND_DEFAULT;\t操作类型为授权的,填OPENAPI_AUTH_DEFAULT",
- "schema" : {
- "type" : "string",
- "example" : "OPENAPI_AUTH_DEFAULT"
- }
- }, {
- "name" : "isv_scene_permissions",
- "in" : "query",
- "description" : "场景授权列表结构结构:场景codeA:权限code1,权限code2;场景codeB:权限code1,权限code2;",
- "schema" : {
- "type" : "string",
- "example" : "SHOP_MANAGE:SHOP_MANAGE_BASE;PROMOTION_MANAGE:PROMOTION_MANAGE_BASE"
- }
- } ]
- }
- },
- "/v3/alipay/open/sp/operation/result/query" : {
- "get" : {
- "tags" : [ "alipay.open.sp.operation.result" ],
- "summary" : "查询服务商代运营操作结果",
- "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 参数组合,可以查询代运营操作最终结果,任意一个操作批次成功都会体现在最终结果中(仅支持查询授权结果)。",
- "operationId" : "alipay.open.sp.operation.result.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpOperationResultQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpOperationResultQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "operate_type",
- "in" : "query",
- "description" : "代运营操作类型。取值如下 ACCOUNT_BIND:账号绑定; OPERATION_AUTH:代运营授权。",
- "schema" : {
- "type" : "string",
- "example" : "ACCOUNT_BIND"
- }
- }, {
- "name" : "batch_no",
- "in" : "query",
- "description" : "支付宝操作批次号。\tbatch_no提供基于操作批次的精确查询,只查询本操作批次的代运营操作结果,不反映最终代运营操作结果。\t注意:\t1.access_product_code、merchant_no、alipay_account三个参数组合与传入 batch_no 为两种查询方式,不可同时为空且以 batch_no 优先。\t2.access_product_code、merchant_no、alipay_account三个参数组合可以查询最终代运营操作结果。",
- "schema" : {
- "type" : "string",
- "example" : "2020222342342"
- }
- }, {
- "name" : "access_product_code",
- "in" : "query",
- "description" : "接入的产品编号。未传batch_no时必填,枚举如下:\tOPENAPI_BIND_DEFAULT:操作类型为账号绑定;\tOPENAPI_AUTH_DEFAULT:操作类型为代运营授权。",
- "schema" : {
- "type" : "string",
- "example" : "OPENAPI_BIND_DEFAULT"
- }
- }, {
- "name" : "merchant_no",
- "in" : "query",
- "description" : "支付宝商户号。支持间连、直连商户,值为2088开头。\t未传batch_no时需注意:\t若查询间连商户则 merchant_no 必填; \t若查询直连商户,则merchant_no和alipay_account不能同时为空,都有值优先取merchant_no。",
- "schema" : {
- "type" : "string",
- "example" : "2088912341234123"
- }
- }, {
- "name" : "alipay_account",
- "in" : "query",
- "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。",
- "schema" : {
- "type" : "string",
- "example" : "testaccount@test.com"
- }
- }, {
- "name" : "isv_scene_permissions",
- "in" : "query",
- "description" : "场景授权列表结构结构:场景codeA:权限code1,权限code2;场景codeB:权限code1,权限code2;",
- "schema" : {
- "type" : "string",
- "example" : "SHOP_MANAGE:SHOP_MANAGE_BASE;PROMOTION_MANAGE:PROMOTION_MANAGE_BASE"
- }
- } ]
- }
- },
- "/v3/alipay/open/sp/oppor/detail/query" : {
- "get" : {
- "tags" : [ "alipay.open.sp.oppor.detail" ],
- "summary" : "商机作业详情查询",
- "description" : "商机作业详情查询",
- "operationId" : "alipay.open.sp.oppor.detail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpOpporDetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpOpporDetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "isv_pid",
- "in" : "query",
- "description" : "服务商pid",
- "schema" : {
- "type" : "string",
- "example" : "2088501013445414"
- }
- }, {
- "name" : "oppor_id",
- "in" : "query",
- "description" : "商机作业Id",
- "schema" : {
- "type" : "string",
- "example" : "2022041403518351"
- }
- } ]
- }
- },
- "/v3/alipay/open/sp/oppor/feedback/modify" : {
- "post" : {
- "tags" : [ "alipay.open.sp.oppor.feedback" ],
- "summary" : "商机拓展完成",
- "description" : "商机拓展完成",
- "operationId" : "alipay.open.sp.oppor.feedback.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpOpporFeedbackModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpOpporFeedbackModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpOpporFeedbackModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/open/sp/oppor/page/query" : {
- "get" : {
- "tags" : [ "alipay.open.sp.oppor.page" ],
- "summary" : "商机作业列表查询",
- "description" : "商机作业列表查询",
- "operationId" : "alipay.open.sp.oppor.page.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenSpOpporPageQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenSpOpporPageQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "isv_pid",
- "in" : "query",
- "description" : "服务商pid",
- "schema" : {
- "type" : "string",
- "example" : "2088302213873401"
- }
- }, {
- "name" : "status_list",
- "in" : "query",
- "description" : "作业记录状态列表,以,拼接传入",
- "schema" : {
- "type" : "string",
- "example" : "WAIT_MER_CONFIRM,MER_CONFIRMED,MER_REJECTED,EXPANDING,EXPANDED,EXPAND_FAILED"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "页大小",
- "schema" : {
- "type" : "string",
- "example" : "10"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "页数",
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/alipay/open/violation/violationdetail/query" : {
- "get" : {
- "tags" : [ "alipay.open.violation.violationdetail" ],
- "summary" : "违规记录详情查询",
- "description" : "违规记录详情查询",
- "operationId" : "alipay.open.violation.violationdetail.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenViolationViolationdetailQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenViolationViolationdetailQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "violation_record_id",
- "in" : "query",
- "description" : "支付宝侧生成的违规记录唯一标识",
- "schema" : {
- "type" : "string",
- "example" : "202205240010200000000000000"
- }
- } ]
- }
- },
- "/v3/alipay/open/violation/violationevent/batchquery" : {
- "post" : {
- "tags" : [ "alipay.open.violation.violationevent" ],
- "summary" : "违规记录列表查询",
- "description" : "违规记录列表查询",
- "operationId" : "alipay.open.violation.violationevent.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenViolationViolationeventBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayOpenViolationViolationeventBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayOpenViolationViolationeventBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/pcredit/huabei/auth/accumulation/query" : {
- "get" : {
- "tags" : [ "alipay.pcredit.huabei.auth.accumulation" ],
- "summary" : "花芝轻会员周期累计数据查询",
- "description" : "根据协议与对应的周期查询支付宝累计数据。",
- "operationId" : "alipay.pcredit.huabei.auth.accumulation.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAccumulationQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAccumulationQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
- "schema" : {
- "type" : "string",
- "example" : "20170502000610755993"
- }
- }, {
- "name" : "period",
- "in" : "query",
- "description" : "协议结算周期,使用支付宝端回传的周期信息。",
- "schema" : {
- "type" : "string",
- "example" : "20181223235059-20181230235010"
- }
- }, {
- "name" : "alipay_user_id",
- "in" : "query",
- "description" : "买家在支付宝的用户id",
- "schema" : {
- "type" : "string",
- "example" : "2088101117955611"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "买家在支付宝的用户id",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- } ]
- }
- },
- "/v3/alipay/pcredit/huabei/auth/agreement/close" : {
- "put" : {
- "tags" : [ "alipay.pcredit.huabei.auth.agreement" ],
- "summary" : "花芝协议关闭接口",
- "description" : "用户已经开通花芝先享后,商户可通过此接口提前关闭协议。",
- "operationId" : "alipay.pcredit.huabei.auth.agreement.close",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementCloseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementCloseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementCloseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/pcredit/huabei/auth/agreement/query" : {
- "get" : {
- "tags" : [ "alipay.pcredit.huabei.auth.agreement" ],
- "summary" : "花芝轻会员协议查询接口",
- "description" : "花芝轻会员协议查询,返回协议的状态。如果协议处于签约状态,同时返回最新的资金池余额。\n有两种方式查询。优先使用agreement_no查询;其次是使用(out_sign_no, auth_scene)查询。\n如果商户不能保证out_sign_no的唯一性,慎用(out_sign_no, auth_scene)的查询方式,它优先返回仍处于签约状态的协议。",
- "operationId" : "alipay.pcredit.huabei.auth.agreement.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthAgreementQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花芝轻会员。传入该参数,会忽略其它所有参数。",
- "schema" : {
- "type" : "string",
- "example" : "20185513447859192007"
- }
- }, {
- "name" : "alipay_user_id",
- "in" : "query",
- "description" : "买家在支付宝的用户id",
- "schema" : {
- "type" : "string",
- "example" : "2088101117955611"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "买家在支付宝的用户id",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "out_sign_no",
- "in" : "query",
- "description" : "外部签约号,由商户提供,花芝轻会员协议中标识用户的唯一签约号(确保在商户系统中唯一)。",
- "schema" : {
- "type" : "string",
- "example" : "2018053100073208416400000002"
- }
- }, {
- "name" : "auth_scene",
- "in" : "query",
- "description" : "花芝轻会员签约场景,商户和支付宝签约时确定。该值需要与系统/页面签约接口调用时传入的值保持一致。",
- "schema" : {
- "type" : "string",
- "example" : "EXTERNAL_PCARD"
- }
- } ]
- }
- },
- "/v3/alipay/pcredit/huabei/auth/order/query" : {
- "get" : {
- "tags" : [ "alipay.pcredit.huabei.auth.order" ],
- "summary" : "花呗先享订单查询接口",
- "description" : "查询花呗先享冻结、解冻订单内容及状态。有3种查询方式。推荐商户优先使用auth_opt_id查询;其次是按照(alipay_user_id,out_request_no)组合方式查询;最后是单独通过out_request_no方式查询。\r\n注意:最后一种方式,仅支持2019年2月15日开始的订单。",
- "operationId" : "alipay.pcredit.huabei.auth.order.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "auth_opt_id",
- "in" : "query",
- "description" : "支付宝侧花呗冻结、解冻操作单据id。在原先的冻结或者解冻接口调用中同步返回给商户,或者通过商户通知返回给商户。按订单号查询时,此字段不可为空。",
- "schema" : {
- "type" : "string",
- "example" : "2018081010020817070009689955"
- }
- }, {
- "name" : "alipay_user_id",
- "in" : "query",
- "description" : "买家在支付宝的用户id。通过userid+请求流水号组合查询时,此字段不可为空。",
- "schema" : {
- "type" : "string",
- "example" : "2088101117955611"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "买家在支付宝的用户id",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "out_request_no",
- "in" : "query",
- "description" : "商户原先调用冻结、解冻接口传入的请求流水号。按照流水号查询订单时,此字段不能为空。",
- "schema" : {
- "type" : "string",
- "example" : "8077735255938032"
- }
- } ]
- }
- },
- "/v3/alipay/pcredit/huabei/auth/order/unfreeze" : {
- "put" : {
- "tags" : [ "alipay.pcredit.huabei.auth.order" ],
- "summary" : "花呗先享解冻或解约接口",
- "description" : "用户已经开通花呗先享协议后,商户通过此接口解冻用户资金池金额,也可以解冻并解约。\r\n如果是解约操作,则要求传入的解冻金额必须等于用户资金池余额。\r\n注意:商户在发起解约前,请务必保证已经结算过用户会员费,一旦解约后,无法发起结算用户会员费操作。",
- "operationId" : "alipay.pcredit.huabei.auth.order.unfreeze",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderUnfreezeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderUnfreezeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthOrderUnfreezeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/pcredit/huabei/auth/refund/apply" : {
- "put" : {
- "tags" : [ "alipay.pcredit.huabei.auth.refund" ],
- "summary" : "花芝结算扣款费用逆向退款申请",
- "description" : "用于1)芝麻GO会员费扣款逆向退款操作2)周期扣款每期扣款逆向退款操作",
- "operationId" : "alipay.pcredit.huabei.auth.refund.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthRefundApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthRefundApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthRefundApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/pcredit/huabei/auth/settle/apply" : {
- "put" : {
- "tags" : [ "alipay.pcredit.huabei.auth.settle" ],
- "summary" : "花芝轻会员结算申请",
- "description" : "用户已经开通花芝轻会员协议后,商户通过此接口解冻转支付用户冻结金额。传入金额必须小于等于冻结金额",
- "operationId" : "alipay.pcredit.huabei.auth.settle.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthSettleApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthSettleApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayPcreditHuabeiAuthSettleApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/security/data/sss/create/{a}" : {
- "post" : {
- "tags" : [ "alipay.security.data.sss" ],
- "summary" : "文档回归测试勿动openapi_openid_post多场景",
- "description" : "文档回归测试勿动openapi_openid_post多场景",
- "operationId" : "alipay.security.data.sss.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityDataSssCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipaySecurityDataSssCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "b",
- "in" : "query",
- "description" : "有枚举,必须,有openid,有注意事项",
- "schema" : {
- "type" : "string",
- "example" : "12"
- }
- }, {
- "name" : "b_open_id",
- "in" : "query",
- "description" : "有枚举,必须,有openid,有注意事项",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "a",
- "in" : "path",
- "description" : "path.数字,无枚举,有注意事项",
- "required" : true,
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityDataSssCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/security/prod/sss/query/{bbb}" : {
- "post" : {
- "tags" : [ "alipay.security.prod.sss" ],
- "summary" : "金柚测试3.0接口",
- "description" : "金柚测试3.0接口",
- "operationId" : "alipay.security.prod.sss.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityProdSssQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipaySecurityProdSssQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "aaa",
- "in" : "query",
- "description" : "1",
- "schema" : {
- "type" : "string",
- "example" : "3333"
- }
- }, {
- "name" : "aaa_open_id",
- "in" : "query",
- "description" : "1",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "bbb",
- "in" : "path",
- "description" : "activity_id 词条描述",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "1"
- }
- } ],
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityProdSssQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/security/prod/tianwutest/modify" : {
- "post" : {
- "tags" : [ "alipay.security.prod.tianwutest" ],
- "summary" : "tianwutest",
- "description" : "tianwutest",
- "operationId" : "alipay.security.prod.tianwutest.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityProdTianwutestModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipaySecurityProdTianwutestModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityProdTianwutestModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/security/risk/customerrisk/send" : {
- "post" : {
- "tags" : [ "alipay.security.risk.customerrisk" ],
- "summary" : "商户数据同步",
- "description" : "判断商户有问题时,服务商将商户信息同步到支付宝",
- "operationId" : "alipay.security.risk.customerrisk.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityRiskCustomerriskSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipaySecurityRiskCustomerriskSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityRiskCustomerriskSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/security/risk/verifyidentity/miniapp/confirm" : {
- "post" : {
- "tags" : [ "alipay.security.risk.verifyidentity.miniapp" ],
- "summary" : "小程序核验服务结果确认接口",
- "description" : "确认身份核验结果接口",
- "operationId" : "alipay.security.risk.verifyidentity.miniapp.confirm",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityRiskVerifyidentityMiniappConfirmResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipaySecurityRiskVerifyidentityMiniappConfirmErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySecurityRiskVerifyidentityMiniappConfirmModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/social/base/contentlib/standardcontent/batchquery" : {
- "post" : {
- "tags" : [ "alipay.social.base.contentlib.standardcontent" ],
- "summary" : "内容批量查询接口",
- "description" : "支付宝生活号+查询当前账号下发布过的内容及对应详情信息",
- "operationId" : "alipay.social.base.contentlib.standardcontent.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySocialBaseContentlibStandardcontentBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipaySocialBaseContentlibStandardcontentBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySocialBaseContentlibStandardcontentBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/system/oauth/token" : {
- "post" : {
- "tags" : [ "alipay.system.oauth" ],
- "summary" : "换取授权访问令牌",
- "description" : "换取授权访问令牌",
- "operationId" : "alipay.system.oauth.token",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySystemOauthTokenResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipaySystemOauthTokenErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipaySystemOauthTokenModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/advance/consult" : {
- "get" : {
- "tags" : [ "alipay.trade.advance" ],
- "summary" : "订单咨询服务",
- "description" : "商户通过此接口咨询,当前用户是否满足垫资服务条件 或者 针对单笔订单的风险评估进行预咨询服务。",
- "operationId" : "alipay.trade.advance.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeAdvanceConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeAdvanceConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "alipay_user_id",
- "in" : "query",
- "description" : "支付宝用户 id,2088开头的16为数字。\t除单笔订单风险预评估场景(即consult_scene指定ORDER_RISK_EVALUATION)外,其他场景必选。",
- "schema" : {
- "type" : "string",
- "example" : "2088302483540171"
- }
- }, {
- "name" : "consult_scene",
- "in" : "query",
- "description" : "订单咨询类型,用以选择咨询的服务。不传时默认为垫资咨询,其他的场景需要按照对接的服务传入指定的值。\tORDER_RISK_EVALUATION:表示单笔订单风险预评估。",
- "schema" : {
- "type" : "string",
- "example" : "ORDER_RISK_EVALUATION"
- }
- }, {
- "name" : "industry_product_code",
- "in" : "query",
- "description" : "行业产品信息,咨询时会从该产品对应的销售方案中获取相关垫资规则配置。",
- "schema" : {
- "type" : "string",
- "example" : "CAR_OWNERS_PARKINGPAY"
- }
- }, {
- "name" : "sub_merchant_id",
- "in" : "query",
- "description" : "子商户id",
- "schema" : {
- "type" : "string",
- "example" : "2088102122458832"
- }
- }, {
- "name" : "sub_merchant_type",
- "in" : "query",
- "description" : "子商户类型",
- "schema" : {
- "type" : "string",
- "example" : "PARTNER"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ) ,在进行单笔订单风险评估预咨询时必传。",
- "schema" : {
- "type" : "string",
- "example" : "20170322450983769228"
- }
- }, {
- "name" : "estimated_order_amount",
- "in" : "query",
- "description" : "预估订单总金额,单位为元,精确到小数点后两位,单笔订单风险预评估时使用,取值范围[0.01,100000000]。",
- "schema" : {
- "type" : "string",
- "example" : "9.00"
- }
- }, {
- "name" : "out_trade_no",
- "in" : "query",
- "description" : "商户请求时的外部订单号,在花芝场景下非空。",
- "schema" : {
- "type" : "string",
- "example" : "test20191100000001"
- }
- }, {
- "name" : "need_user_risk_prediction",
- "in" : "query",
- "description" : "是否需要进行用户风险预测",
- "schema" : {
- "type" : "string",
- "example" : "true"
- }
- }, {
- "name" : "trade_digest",
- "in" : "query",
- "description" : "交易信息摘要,需要进行用户风险预测时可传,用于结合场景的更加精细的预测。具体信息结构服务接入前咨询约定。",
- "schema" : {
- "type" : "string",
- "example" : "{{\"parking_city\":\"太原市\",\"vehicle_number\":\"辽7666666\"}}"
- }
- }, {
- "name" : "user_out_binding_phone",
- "in" : "query",
- "description" : "用户在外部域账号系统绑定的手机号,需要进行用户风险预测时必传,用于预测用户是否面临被二次放号的场景。使用时需要对请求加密,加密后请求在公网传输时为加密文本。详见:https://opendocs.alipay.com/open/common/104567;https://opendocs.alipay.com/isv/grefvl/getaes",
- "schema" : {
- "type" : "string",
- "example" : "1868888888888"
- }
- } ]
- }
- },
- "/v3/alipay/trade/applepay/authentication/submit" : {
- "post" : {
- "tags" : [ "alipay.trade.applepay.authentication" ],
- "summary" : "ApplePay支付鉴权提交",
- "description" : "ApplePay定义的接口,支付宝进行适配。ApplePay端支付核身完毕后,提交到支付宝进行核身验证+支付推进。",
- "operationId" : "alipay.trade.applepay.authentication.submit",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeApplepayAuthenticationSubmitResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeApplepayAuthenticationSubmitErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeApplepayAuthenticationSubmitModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/batch/settle" : {
- "post" : {
- "tags" : [ "alipay.trade.batch" ],
- "summary" : "批量结算",
- "description" : "买家付款成功之后,资金进入二级商户待结算户,支付宝等待平台的结算指令进行结算。平台可根据平台规则,发起批量结算请求,将资金结算到二级商户的结算账号。请款金额只要不超过待结算的总余额即可。",
- "operationId" : "alipay.trade.batch.settle",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeBatchSettleResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeBatchSettleErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeBatchSettleModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/batch/settle/query" : {
- "post" : {
- "tags" : [ "alipay.trade.batch.settle" ],
- "summary" : "批量结算查询",
- "description" : "商户请求批量结算结果查询",
- "operationId" : "alipay.trade.batch.settle.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeBatchSettleQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeBatchSettleQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeBatchSettleQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/batch/transfer" : {
- "post" : {
- "tags" : [ "alipay.trade.batch" ],
- "summary" : "请款分账",
- "description" : "在红星美凯龙场景下,请款到不同主体的银行卡/账户中",
- "operationId" : "alipay.trade.batch.transfer",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeBatchTransferResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeBatchTransferErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeBatchTransferModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/batch/transfer/query" : {
- "get" : {
- "tags" : [ "alipay.trade.batch.transfer" ],
- "summary" : "请款分账查询接口",
- "description" : "针对请款分账接口的查询功能",
- "operationId" : "alipay.trade.batch.transfer.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeBatchTransferQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeBatchTransferQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "out_request_no",
- "in" : "query",
- "description" : "批量结算时传入的外部流水号,与settle_no二者必填其一。 out_request_no和settle_no如果同时存在,优先取settle_no",
- "schema" : {
- "type" : "string",
- "example" : "20180101"
- }
- }, {
- "name" : "settle_no",
- "in" : "query",
- "description" : "结算单据号,与out_request_no二者必填其一",
- "schema" : {
- "type" : "string",
- "example" : "2019050510032002040000053220"
- }
- }, {
- "name" : "extend_params",
- "in" : "query",
- "description" : "扩展字段",
- "schema" : {
- "type" : "string",
- "example" : "{\"key\":\"value\"}"
- }
- } ]
- }
- },
- "/v3/alipay/trade/cancel" : {
- "post" : {
- "tags" : [ "alipay.trade" ],
- "summary" : "统一收单交易撤销接口",
- "description" : "支付交易返回失败或支付系统超时,调用该接口撤销交易。如果此订单用户支付失败,支付宝系统会将此订单关闭;如果用户支付成功,支付宝系统会将此订单资金退还给用户。\r\n注意:只有发生支付系统超时或者支付结果未知时可调用撤销,其他正常支付的单如需实现相同功能请调用申请退款API。提交支付交易后调用【查询订单API】,没有明确的支付结果再调用【撤销订单API】。",
- "operationId" : "alipay.trade.cancel",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeCancelResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeCancelErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeCancelModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/close" : {
- "post" : {
- "tags" : [ "alipay.trade" ],
- "summary" : "统一收单交易关闭接口",
- "description" : "用于交易创建后,用户在一定时间内未进行支付,可调用该接口直接将未付款的交易进行关闭。",
- "operationId" : "alipay.trade.close",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeCloseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeCloseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeCloseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/create" : {
- "post" : {
- "tags" : [ "alipay.trade" ],
- "summary" : "统一收单交易创建接口",
- "description" : "商户通过该接口进行交易的创建下单",
- "operationId" : "alipay.trade.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/customs/declare" : {
- "post" : {
- "tags" : [ "alipay.trade.customs" ],
- "summary" : "统一收单报关接口",
- "description" : "境外商户的商品进口到国内时需要向海关中心报送支付、物流等信息,由海关审核,如果交易是由支付宝支付的话,需要商户可以调用此报关接口来请求支付宝将其指定交易报送支付单给海关。",
- "operationId" : "alipay.trade.customs.declare",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeCustomsDeclareResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeCustomsDeclareErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeCustomsDeclareModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/customs/query" : {
- "get" : {
- "tags" : [ "alipay.trade.customs" ],
- "summary" : "查询报关详细信息",
- "description" : "境外商户的商品进口到国内时需要向海关中心报送支付、物流等信息,由海关审核,如果交易是由支付宝支付的话,需要商户调用支付宝报关接口来请求支付宝将其指定交易报送支付单给海关。商户可以通过该接口主动查询报关状态,了解报关详情以及进度。",
- "operationId" : "alipay.trade.customs.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeCustomsQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeCustomsQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "out_request_nos",
- "in" : "query",
- "description" : "报关请求号。需要查询的商户端报关请求号,支持批量查询,\r\t多个值用英文半角逗号分隔,单次请求最多10个;",
- "schema" : {
- "type" : "string",
- "example" : "201506010001,201506010002,201506010003"
- }
- } ]
- }
- },
- "/v3/alipay/trade/fastpay/refund/query" : {
- "post" : {
- "tags" : [ "alipay.trade.fastpay.refund" ],
- "summary" : "统一收单交易退款查询",
- "description" : "商户可使用该接口查询自已通过alipay.trade.refund提交的退款请求是否执行成功。",
- "operationId" : "alipay.trade.fastpay.refund.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeFastpayRefundQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeFastpayRefundQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeFastpayRefundQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/order/pay" : {
- "post" : {
- "tags" : [ "alipay.trade.order" ],
- "summary" : "统一收单交易订单支付接口",
- "description" : "商户用已创建的交易进行支付(需要使用该接口请联系接口owner)",
- "operationId" : "alipay.trade.order.pay",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeOrderPayResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeOrderPayErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeOrderPayModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/order/settle" : {
- "post" : {
- "tags" : [ "alipay.trade.order" ],
- "summary" : "统一收单交易结算接口",
- "description" : "用于在卖家交易成功之后,基于交易订单,进行卖家与第三方(如供应商或平台商)的资金再分配。一般用于第三方从卖家抽佣场景。",
- "operationId" : "alipay.trade.order.settle",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeOrderSettleResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeOrderSettleErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeOrderSettleModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/order/settle/query" : {
- "get" : {
- "tags" : [ "alipay.trade.order.settle" ],
- "summary" : "交易分账查询接口",
- "description" : "根据分账请求号查询交易分账结果",
- "operationId" : "alipay.trade.order.settle.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeOrderSettleQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeOrderSettleQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "settle_no",
- "in" : "query",
- "description" : "支付宝分账请求单号,传入该字段,无需再传外部请求号和支付宝交易号",
- "schema" : {
- "type" : "string",
- "example" : "20210706002530020036530021395831"
- }
- }, {
- "name" : "out_request_no",
- "in" : "query",
- "description" : "外部请求号,需要和支付宝交易号一起传入",
- "schema" : {
- "type" : "string",
- "example" : "20210727001"
- }
- }, {
- "name" : "trade_no",
- "in" : "query",
- "description" : "支付宝交易号,传入该字段,需要和外部请求号一起传入",
- "schema" : {
- "type" : "string",
- "example" : "2021112611001004680 073956707"
- }
- } ]
- }
- },
- "/v3/alipay/trade/orderinfo/sync" : {
- "post" : {
- "tags" : [ "alipay.trade.orderinfo" ],
- "summary" : "支付宝订单信息同步接口",
- "description" : "该接口用于商户向支付宝同步该笔订单相关业务信息",
- "operationId" : "alipay.trade.orderinfo.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeOrderinfoSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeOrderinfoSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeOrderinfoSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/overseas/settle" : {
- "post" : {
- "tags" : [ "alipay.trade.overseas" ],
- "summary" : "统一境内收单跨境结算接口",
- "description" : "境内收单跨境结算",
- "operationId" : "alipay.trade.overseas.settle",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeOverseasSettleResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeOverseasSettleErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeOverseasSettleModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/pay" : {
- "post" : {
- "tags" : [ "alipay.trade" ],
- "summary" : "统一收单交易支付接口",
- "description" : "收银员使用扫码设备读取用户手机支付宝“付款码”获取设备(如扫码枪)读取用户手机支付宝的付款码信息后,将二维码或条码信息通过本接口上送至支付宝发起支付。",
- "operationId" : "alipay.trade.pay",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradePayResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradePayErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradePayModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/precreate" : {
- "post" : {
- "tags" : [ "alipay.trade" ],
- "summary" : "统一收单线下交易预创建",
- "description" : "收银员通过收银台或商户后台调用支付宝接口,生成二维码后,展示给用户,由用户扫描二维码完成订单支付。",
- "operationId" : "alipay.trade.precreate",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradePrecreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradePrecreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradePrecreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/query" : {
- "post" : {
- "tags" : [ "alipay.trade" ],
- "summary" : "统一收单交易查询",
- "description" : "该接口提供所有支付宝支付订单的查询,商户可以通过该接口主动查询订单状态,完成下一步的业务逻辑。\r\n需要调用查询接口的情况:\r\n当商户后台、网络、服务器等出现异常,商户系统最终未接收到支付通知;\r\n调用支付接口后,返回系统错误或未知交易状态情况;\r\n调用alipay.trade.pay,返回INPROCESS的状态;\r\n调用alipay.trade.cancel之前,需确认支付状态;",
- "operationId" : "alipay.trade.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/refund" : {
- "post" : {
- "tags" : [ "alipay.trade" ],
- "summary" : "统一收单交易退款接口",
- "description" : "当交易发生之后一段时间内,由于买家或者卖家的原因需要退款时,卖家可以通过退款接口将支付款退还给买家,支付宝将在收到退款请求并且验证成功之后,按照退款规则将支付款按原路退到买家帐号上。\n交易超过约定时间(签约时设置的可退款时间)的订单无法进行退款。 \n支付宝退款支持单笔交易分多次退款,多次退款需要提交原支付订单的订单号和设置不同的退款请求号。一笔退款失败后重新提交,要保证重试时退款请求号不能变更,防止该笔交易重复退款。 \n同一笔交易累计提交的退款金额不能超过原始交易总金额。",
- "operationId" : "alipay.trade.refund",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRefundResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeRefundErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRefundModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/refund/apply" : {
- "post" : {
- "tags" : [ "alipay.trade.refund" ],
- "summary" : "异步退款受理接口",
- "description" : "商户通过此接口提交异步退款请求,支付宝受理后,将会异步进行退款处理。退款完成后异步通知商户退款结果,商户可以通过alipay.trade.fastpay.refund.query接口查询退款状态。",
- "operationId" : "alipay.trade.refund.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRefundApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeRefundApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRefundApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/royalty/rate/query" : {
- "get" : {
- "tags" : [ "alipay.trade.royalty.rate" ],
- "summary" : "分账比例查询",
- "description" : "商户签约分账产品后,商户或其授权ISV可对分账比例进行查询。",
- "operationId" : "alipay.trade.royalty.rate.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRateQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRateQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "out_request_no",
- "in" : "query",
- "description" : "外部请求号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
- "schema" : {
- "type" : "string",
- "example" : "20220823165400001"
- }
- } ]
- }
- },
- "/v3/alipay/trade/royalty/relation/batchquery" : {
- "post" : {
- "tags" : [ "alipay.trade.royalty.relation" ],
- "summary" : "分账关系查询",
- "description" : "当商户签约分账产品后,授权ISV帮其进行分账关系的维护。本接口用于商户与分账方的关系查询。",
- "operationId" : "alipay.trade.royalty.relation.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/royalty/relation/bind" : {
- "post" : {
- "tags" : [ "alipay.trade.royalty.relation" ],
- "summary" : "分账关系绑定",
- "description" : "当商户签约分账产品后,授权ISV帮其进行分账关系的维护。本接口用于商户与分账方的关系绑定。",
- "operationId" : "alipay.trade.royalty.relation.bind",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBindResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBindErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationBindModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/royalty/relation/unbind" : {
- "post" : {
- "tags" : [ "alipay.trade.royalty.relation" ],
- "summary" : "分账关系解绑",
- "description" : "当商户签约分账产品后,授权ISV帮其进行分账关系的维护。本接口用于商户与分账方的关系解绑。",
- "operationId" : "alipay.trade.royalty.relation.unbind",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationUnbindResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationUnbindErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeRoyaltyRelationUnbindModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/settle/confirm" : {
- "post" : {
- "tags" : [ "alipay.trade.settle" ],
- "summary" : "统一收单确认结算接口",
- "description" : "用户付款后,平台上的卖家发货,用户收到商品确认收货后,平台通过确认结算接口,将交易款结算给指定的卖家账户。\n单笔结算到卖家余额的场景支持分账冻结。在确认结算时,传入冻结标识 royalty_freeze=true,资金结算到卖家支付宝余额后,会先冻结在不可用余额中,后续分账将自动从冻结余额划出,平台商可调用分账完结释放冻结资金,系统默认在冻结30天后自动解冻。解冻后,仍可以发起分账。为保证分账成功率,请尽可能在分账冻结期内分账。",
- "operationId" : "alipay.trade.settle.confirm",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeSettleConfirmResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeSettleConfirmErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeSettleConfirmModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/trade/settle/receivables/query" : {
- "post" : {
- "tags" : [ "alipay.trade.settle.receivables" ],
- "summary" : "待结算查询",
- "description" : "对外提供待结算资金查询的能力。",
- "operationId" : "alipay.trade.settle.receivables.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeSettleReceivablesQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayTradeSettleReceivablesQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayTradeSettleReceivablesQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/agreement/executionplan/modify" : {
- "post" : {
- "tags" : [ "alipay.user.agreement.executionplan" ],
- "summary" : "周期性扣款协议执行计划修改接口",
- "description" : "周期性扣款产品,商户延期扣款接口",
- "operationId" : "alipay.user.agreement.executionplan.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementExecutionplanModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAgreementExecutionplanModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementExecutionplanModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/agreement/migrate" : {
- "post" : {
- "tags" : [ "alipay.user.agreement" ],
- "summary" : "代扣协议迁移",
- "description" : "由商户调用,将商户与用户签署的代扣协议内容进行迁移,包括协议主体迁移等",
- "operationId" : "alipay.user.agreement.migrate",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementMigrateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAgreementMigrateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementMigrateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/agreement/permission/create" : {
- "post" : {
- "tags" : [ "alipay.user.agreement.permission" ],
- "summary" : "支付宝协议支付许可创建、服务变更接口",
- "description" : "支付宝协议支付许可创建接口、服务变更发送消息提醒接口",
- "operationId" : "alipay.user.agreement.permission.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementPermissionCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAgreementPermissionCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementPermissionCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/agreement/query" : {
- "get" : {
- "tags" : [ "alipay.user.agreement" ],
- "summary" : "支付宝个人代扣协议查询接口",
- "description" : "支付宝个人代扣协议查询接口",
- "operationId" : "alipay.user.agreement.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAgreementQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "personal_product_code",
- "in" : "query",
- "description" : "协议产品码,商户和支付宝签约时确定,商户可咨询技术支持。",
- "schema" : {
- "type" : "string",
- "example" : "GENERAL_WITHHOLDING_P"
- }
- }, {
- "name" : "alipay_user_id",
- "in" : "query",
- "description" : "用户的支付宝账号对应 的支付宝唯一用户号,以 2088 开头的 16 位纯数字 组成。\t本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。",
- "schema" : {
- "type" : "string",
- "example" : "2088101122675263"
- }
- }, {
- "name" : "alipay_open_id",
- "in" : "query",
- "description" : "用户的支付宝账号对应 的支付宝唯一用户号,\t本参数与alipay_logon_id若都填写,则以本参数为准,优先级高于 alipay_logon_id。",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "alipay_logon_id",
- "in" : "query",
- "description" : "用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_open_id 或 alipay_user_id 同时填写,优先按照 alipay_open_id 或 alipay_user_id 处理。 ",
- "schema" : {
- "type" : "string",
- "example" : "abx@alitest.com"
- }
- }, {
- "name" : "sign_scene",
- "in" : "query",
- "description" : "签约场景码,该值需要与系统/页面签约接口调用时传入的值保持一 致。如:周期扣款场景与调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时的 sign_scene 相同。 \t注意:当传入商户签约号 external_agreement_no 时,该值不能为空或默认值 DEFAULT|DEFAULT。\t",
- "schema" : {
- "type" : "string",
- "example" : "INDUSTRY|MEDICAL"
- }
- }, {
- "name" : "external_agreement_no",
- "in" : "query",
- "description" : "代扣协议中标示用户的唯一签约号(确保在商户系统中\t唯一)。\t格式规则:支持大写小写字母和数字,最长 32 位。",
- "schema" : {
- "type" : "string",
- "example" : "test"
- }
- }, {
- "name" : "third_party_type",
- "in" : "query",
- "description" : "签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。\r\t取值范围:\r\t取值范围:\r\t1. PARTNER(平台商户);\r\t2. MERCHANT(集团商户),集团下子商户可共享用户签约内容;\r\t默认为PARTNER。",
- "schema" : {
- "type" : "string",
- "example" : "PARTNER"
- }
- }, {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ) ,如果传了该参数,其他参数会被忽略",
- "schema" : {
- "type" : "string",
- "example" : "20170322450983769228"
- }
- } ]
- }
- },
- "/v3/alipay/user/agreement/transfer" : {
- "post" : {
- "tags" : [ "alipay.user.agreement" ],
- "summary" : "协议由普通通用代扣协议产品转移到周期扣协议产品",
- "description" : "由商户调用,将商户之前通用代扣产品转移到周期扣的协议产品",
- "operationId" : "alipay.user.agreement.transfer",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementTransferResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAgreementTransferErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementTransferModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/agreement/unsign" : {
- "post" : {
- "tags" : [ "alipay.user.agreement" ],
- "summary" : "支付宝个人代扣协议解约接口",
- "description" : "支付宝个人代扣协议解约接口",
- "operationId" : "alipay.user.agreement.unsign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementUnsignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAgreementUnsignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementUnsignModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/agreement/userverify/apply" : {
- "post" : {
- "tags" : [ "alipay.user.agreement.userverify" ],
- "summary" : "协议用户一致性验证",
- "description" : "验证协议对应的用户信息",
- "operationId" : "alipay.user.agreement.userverify.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/agreement/userverify/query" : {
- "get" : {
- "tags" : [ "alipay.user.agreement.userverify" ],
- "summary" : "用户协议鉴权查询结果",
- "description" : "商户使用用户验证申请接口时,获取token,然后通过次接口回去验证状态",
- "operationId" : "alipay.user.agreement.userverify.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAgreementUserverifyQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "agreement_no",
- "in" : "query",
- "description" : "协议号",
- "schema" : {
- "type" : "string",
- "example" : "20170502000610755993"
- }
- }, {
- "name" : "apply_token",
- "in" : "query",
- "description" : "申请时获取的token",
- "schema" : {
- "type" : "string",
- "example" : "MDEDUCT0068292ca377d1d44b65fa24ec9cd89132f"
- }
- } ]
- }
- },
- "/v3/alipay/user/alipaypoint/budgetlib/query" : {
- "get" : {
- "tags" : [ "alipay.user.alipaypoint.budgetlib" ],
- "summary" : "查询集分宝预算库详情",
- "description" : "用于查询集分宝预算库详情",
- "operationId" : "alipay.user.alipaypoint.budgetlib.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAlipaypointBudgetlibQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAlipaypointBudgetlibQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "budget_code",
- "in" : "query",
- "description" : "集分宝预算库编码",
- "schema" : {
- "type" : "string",
- "example" : "20201107050844"
- }
- } ]
- }
- },
- "/v3/alipay/user/alipaypoint/send" : {
- "post" : {
- "tags" : [ "alipay.user.alipaypoint" ],
- "summary" : "集分宝发放接口",
- "description" : "用于发放商户采购的集分宝给到支付宝用户",
- "operationId" : "alipay.user.alipaypoint.send",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAlipaypointSendResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserAlipaypointSendErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserAlipaypointSendModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/certdoc/certverify/consult" : {
- "get" : {
- "tags" : [ "alipay.user.certdoc.certverify" ],
- "summary" : "实名证件信息比对验证咨询",
- "description" : "商户在预咨询接口(接口1)预先录入某用户的实名证件信息(例如姓名、身份证号等),获得用户授权后调用本咨询接口(接口2),将对比该用户的支付宝实名信息与(接口1)传入的信息是否一致。",
- "operationId" : "alipay.user.certdoc.certverify.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- }, {
- "name" : "verify_id",
- "in" : "query",
- "description" : "信息校验验证ID。通过<a href=\"https://opendocs.alipay.com/apis/api_2/alipay.user.certdoc.certverify.preconsult\">alipay.user.certdoc.certverify.preconsult</a>(实名证件信息比对验证预咨询)接口获取。",
- "schema" : {
- "type" : "string",
- "example" : "671ffcda5447bc87e9ed2f669eb143d4"
- }
- } ]
- }
- },
- "/v3/alipay/user/certdoc/certverify/preconsult" : {
- "post" : {
- "tags" : [ "alipay.user.certdoc.certverify" ],
- "summary" : "实名证件信息比对验证预咨询",
- "description" : "商户在该接口(接口1)预先录入某用户的实名证件信息(例如姓名、身份证号等),获得用户授权后调用咨询接口(接口2),将对比该用户的支付宝实名信息与该(接口1)传入的信息是否一致。",
- "operationId" : "alipay.user.certdoc.certverify.preconsult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyPreconsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyPreconsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserCertdocCertverifyPreconsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/certify/open/initialize" : {
- "post" : {
- "tags" : [ "alipay.user.certify.open" ],
- "summary" : "身份认证初始化服务",
- "description" : "支付宝开放认证初始化服务,用于创建开放认证流程。注意:港澳台同胞身份验证服务仅支持在支付宝客户端内使用,外部 APP 使用该项服务需唤起支付宝客户端。",
- "operationId" : "alipay.user.certify.open.initialize",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserCertifyOpenInitializeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserCertifyOpenInitializeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserCertifyOpenInitializeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/certify/open/query" : {
- "get" : {
- "tags" : [ "alipay.user.certify.open" ],
- "summary" : "身份认证记录查询",
- "description" : "商户在开放认证完成后,调用本接口查询认证状态和相关数据",
- "operationId" : "alipay.user.certify.open.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserCertifyOpenQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserCertifyOpenQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "certify_id",
- "in" : "query",
- "description" : "本次申请操作的唯一标识,通过alipay.user.certify.open.initialize(身份认证初始化服务)接口同步响应获取。",
- "schema" : {
- "type" : "string",
- "example" : "OC201809253000000393900404029253"
- }
- } ]
- }
- },
- "/v3/alipay/user/info/share" : {
- "post" : {
- "tags" : [ "alipay.user.info" ],
- "summary" : "支付宝会员授权信息查询接口",
- "description" : "配合支付宝会员授权接口,查询授权信息。",
- "operationId" : "alipay.user.info.share",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserInfoShareResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserInfoShareErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "$ref" : "#/components/parameters/AuthToken"
- } ]
- }
- },
- "/v3/alipay/user/twostage/common/use" : {
- "post" : {
- "tags" : [ "alipay.user.twostage.common" ],
- "summary" : "通用当面付二阶段接口",
- "description" : "商家通过小程序/卡券开放权益(优惠券),用户在小程序/卡券授权后,打开付款码时通过该接口获取用户信息。",
- "operationId" : "alipay.user.twostage.common.use",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserTwostageCommonUseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserTwostageCommonUseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserTwostageCommonUseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/twostage/indirect/use" : {
- "post" : {
- "tags" : [ "alipay.user.twostage.indirect" ],
- "summary" : "双联二阶段",
- "description" : "间连模式通过双联向银行输出付款码查UID接口.\n双联二阶段里,授权之后调用该接口,进行解码并校验双联pid、银行orgId、isv sourceId及学校smid之间的级联关系;检查授权关系;解码并返回用户uid",
- "operationId" : "alipay.user.twostage.indirect.use",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserTwostageIndirectUseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserTwostageIndirectUseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserTwostageIndirectUseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/alipay/user/userinfo/share" : {
- "post" : {
- "tags" : [ "alipay.user.userinfo" ],
- "summary" : "支付宝钱包用户信息共享",
- "description" : "外部应用上架到支付宝钱包,当支付宝用户从钱包访问外部应用时,会跳转到外部应用并带上用户的授权码。\r\n外部应用用授权码调用授权令牌交换API(alipay.system.oauth.token)可得到授权令牌。\r\n用授权令牌调用此接口得到支付宝会员相关信息。\r\n特别说明:此接口的不需要授权是指不需外部应用主动引导用户授权,支付宝钱包会在引导用户授权后,\r\n带上授权码再跳转到外部应用。",
- "operationId" : "alipay.user.userinfo.share",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AlipayUserUserinfoShareResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AlipayUserUserinfoShareErrorResponseModel"
- } ]
- }
- }
- }
- }
- }
- }
- },
- "/v3/ant/merchant/expand/apprecommend/account/create" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.apprecommend.account" ],
- "summary" : "关联账号和小程序",
- "description" : "将账号与小程序进行绑定,用于支付推荐场景",
- "operationId" : "ant.merchant.expand.apprecommend.account.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/expand/apprecommend/account/delete" : {
- "delete" : {
- "tags" : [ "ant.merchant.expand.apprecommend.account" ],
- "summary" : "取消关联账号和小程序",
- "description" : "取消账号与小程序的绑定,用于支付推荐场景",
- "operationId" : "ant.merchant.expand.apprecommend.account.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "app_no",
- "in" : "query",
- "description" : "待解绑小程序的app_id",
- "schema" : {
- "type" : "string",
- "example" : "2021000155639069"
- }
- }, {
- "name" : "acc_no",
- "in" : "query",
- "description" : "待解绑账号PID",
- "schema" : {
- "type" : "string",
- "example" : "2088001969784501"
- }
- } ]
- }
- },
- "/v3/ant/merchant/expand/apprecommend/account/query" : {
- "get" : {
- "tags" : [ "ant.merchant.expand.apprecommend.account" ],
- "summary" : "查询已关联指定APP的账号列表",
- "description" : "查询已关联指定APP的账号列表,用于支付推荐场景",
- "operationId" : "ant.merchant.expand.apprecommend.account.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAccountQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "app_no",
- "in" : "query",
- "description" : "已关联小程序的app_id",
- "schema" : {
- "type" : "string",
- "example" : "2021000155639069"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "单页行数,不能超过100行",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- }, {
- "name" : "page_number",
- "in" : "query",
- "description" : "页码",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/ant/merchant/expand/apprecommend/available/query" : {
- "get" : {
- "tags" : [ "ant.merchant.expand.apprecommend.available" ],
- "summary" : "查询可关联APP的账号列表",
- "description" : "查询可关联APP的账号列表,用于支付推荐场景",
- "operationId" : "ant.merchant.expand.apprecommend.available.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAvailableQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandApprecommendAvailableQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "page_size",
- "in" : "query",
- "description" : "单页行数,不能超过100行",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- }, {
- "name" : "page_number",
- "in" : "query",
- "description" : "页码",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- } ]
- }
- },
- "/v3/ant/merchant/expand/info/query" : {
- "get" : {
- "tags" : [ "ant.merchant.expand.info" ],
- "summary" : "蚂蚁商户信息查询接口",
- "description" : "提供商户号查询商户基础信息",
- "operationId" : "ant.merchant.expand.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "merchant_no",
- "in" : "query",
- "description" : "商户号,目前是商户pid",
- "schema" : {
- "type" : "string",
- "example" : "2088123456788765"
- }
- } ]
- }
- },
- "/v3/ant/merchant/expand/item/create" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.item" ],
- "summary" : "商品创建接口",
- "description" : "用于服务商或商户创建商品",
- "operationId" : "ant.merchant.expand.item.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/expand/item/delete" : {
- "delete" : {
- "tags" : [ "ant.merchant.expand.item" ],
- "summary" : "商品删除接口",
- "description" : "用于服务商或商户删除商品",
- "operationId" : "ant.merchant.expand.item.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "item_id",
- "in" : "query",
- "description" : "商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空)",
- "schema" : {
- "type" : "string",
- "example" : "2018091300502200002600104169"
- }
- }, {
- "name" : "external_item_id",
- "in" : "query",
- "description" : "外部商品ID(item_id不为空则以item_id作为删除KEY,item_id为空则以external_item_id作为删除KEY,两者不能同时为空)",
- "schema" : {
- "type" : "string",
- "example" : "20190916123124123123123"
- }
- } ]
- }
- },
- "/v3/ant/merchant/expand/item/modify" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.item" ],
- "summary" : "商品修改接口",
- "description" : "用于服务商或商户修改商品",
- "operationId" : "ant.merchant.expand.item.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/expand/item/open/batchquery" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.item.open" ],
- "summary" : "批量查询商品接口",
- "description" : "用于ISV或商户批量查询商品",
- "operationId" : "ant.merchant.expand.item.open.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/expand/item/open/create" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.item.open" ],
- "summary" : "创建商品接口",
- "description" : "用于ISV或商户创建商品",
- "operationId" : "ant.merchant.expand.item.open.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/expand/item/open/delete" : {
- "delete" : {
- "tags" : [ "ant.merchant.expand.item.open" ],
- "summary" : "删除商品接口",
- "description" : "用于ISV或商户删除商品",
- "operationId" : "ant.merchant.expand.item.open.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "item_id",
- "in" : "query",
- "description" : "商品ID,通过创建商品接口 https://opendocs.alipay.com/apis/api_4/ant.merchant.expand.item.open.create 获取。",
- "schema" : {
- "type" : "string",
- "example" : "2019073100812219000000100000"
- }
- } ]
- }
- },
- "/v3/ant/merchant/expand/item/open/modify" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.item.open" ],
- "summary" : "修改商品接口",
- "description" : "用于ISV或商户修改商品",
- "operationId" : "ant.merchant.expand.item.open.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/expand/item/open/query" : {
- "get" : {
- "tags" : [ "ant.merchant.expand.item.open" ],
- "summary" : "查询商品接口",
- "description" : "用于ISV或商户查询商品",
- "operationId" : "ant.merchant.expand.item.open.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemOpenQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "target_id",
- "in" : "query",
- "description" : "商品归属主体ID\t例:商品归属主体类型target_type为店铺,则商品归属主体ID为店铺ID(支付宝侧店铺ID);归属主体类型target_type为小程序,则归属主体ID为小程序ID",
- "schema" : {
- "type" : "string",
- "example" : "2018090600502000000022501261"
- }
- }, {
- "name" : "scene",
- "in" : "query",
- "description" : "场景码(具体值请参见产品文档)。\t小程序订单中心场景固定为 APP_ORDER。",
- "schema" : {
- "type" : "string",
- "example" : "APP_ORDER"
- }
- }, {
- "name" : "target_type",
- "in" : "query",
- "description" : "商品归属主体类型。枚举如下:\t5:店铺。\t8:小程序。",
- "schema" : {
- "type" : "string",
- "example" : "8"
- }
- }, {
- "name" : "status",
- "in" : "query",
- "description" : "商品状态:EFFECT(有效)、INVALID(无效)",
- "schema" : {
- "type" : "string",
- "example" : "EFFECT"
- }
- } ]
- }
- },
- "/v3/ant/merchant/expand/item/query" : {
- "get" : {
- "tags" : [ "ant.merchant.expand.item" ],
- "summary" : "商品查询接口",
- "description" : "用于服务商或商户查询其商品信息",
- "operationId" : "ant.merchant.expand.item.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "target_type",
- "in" : "query",
- "description" : "商品归属主体类型:\r\t5: 店铺\r\t4: 主站MID\r\t3: 参与者\r\t2: 角色\r\t1: 联系人",
- "schema" : {
- "type" : "string",
- "example" : "5"
- }
- }, {
- "name" : "target_id",
- "in" : "query",
- "description" : "商品归属主体id",
- "schema" : {
- "type" : "string",
- "example" : "2018090600502000000022501261"
- }
- }, {
- "name" : "undefined_category",
- "in" : "query",
- "description" : "未分类类目: true 的时候 front_category_id 必须不填(null)",
- "schema" : {
- "type" : "boolean",
- "example" : "false"
- }
- }, {
- "name" : "front_category_id",
- "in" : "query",
- "description" : "商品前台类目id: null 表示所有分类",
- "schema" : {
- "type" : "string",
- "example" : "2018091300502200002600105884"
- }
- }, {
- "name" : "status",
- "in" : "query",
- "description" : "商品状态:EFFECT、INVALID、PAUSE;不填返回所有状态商品",
- "schema" : {
- "type" : "string",
- "example" : "EFFECT"
- }
- } ]
- }
- },
- "/v3/ant/merchant/expand/item/status/modify" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.item.status" ],
- "summary" : "商品状态修改接口",
- "description" : "用于服务商或商户修改商品状态",
- "operationId" : "ant.merchant.expand.item.status.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemStatusModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandItemStatusModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandItemStatusModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/expand/shop/consult" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.shop" ],
- "summary" : "蚂蚁店铺创建咨询",
- "description" : "蚂蚁店铺创建咨询",
- "operationId" : "ant.merchant.expand.shop.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandShopConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopConsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/expand/shop/receiptaccount/save" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.shop.receiptaccount" ],
- "summary" : "店铺增加收单账号",
- "description" : "店铺增加收单账号",
- "operationId" : "ant.merchant.expand.shop.receiptaccount.save",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopReceiptaccountSaveResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandShopReceiptaccountSaveErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopReceiptaccountSaveModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/indirect/image" : {
- "post" : {
- "tags" : [ "ant.merchant.expand.indirect.image" ],
- "summary" : "图片上传",
- "description" : "图片上传",
- "operationId" : "ant.merchant.expand.indirect.image.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandIndirectImageUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandIndirectImageUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/AntMerchantExpandIndirectImageUploadModel"
- },
- "image_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "data" : {
- "contentType" : "application/json"
- },
- "image_content" : {
- "contentType" : "*/*"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/mcc/query" : {
- "get" : {
- "tags" : [ "ant.merchant.expand.mcc" ],
- "summary" : "商户mcc信息查询",
- "description" : "用于查询商户的新版本mcc行业信息",
- "operationId" : "ant.merchant.expand.mcc.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandMccQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandMccQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "mcc_code_list",
- "in" : "query",
- "description" : "传入需要查询的code列表,以分号分隔;注:如果需要查询完整类目树,可以传入ROOT",
- "schema" : {
- "type" : "string",
- "example" : "B0001,B0002"
- }
- } ]
- }
- },
- "/v3/ant/merchant/order/{order_id}" : {
- "get" : {
- "tags" : [ "ant.merchant.expand.order" ],
- "summary" : "商户申请单查询",
- "description" : "服务商根据申请单id,查询自己提交的商户进件、管理等申请单",
- "operationId" : "ant.merchant.expand.order.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandOrderQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandOrderQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "order_id",
- "in" : "path",
- "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。",
- "required" : true,
- "schema" : {
- "type" : "string",
- "example" : "2017112200502000000004754299"
- }
- } ]
- }
- },
- "/v3/ant/merchant/shop" : {
- "get" : {
- "tags" : [ "ant.merchant.expand.shop" ],
- "summary" : "店铺查询接口",
- "description" : "用于服务商或商户查询其自己的店铺信息",
- "operationId" : "ant.merchant.expand.shop.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandShopQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "shop_id",
- "in" : "query",
- "description" : "蚂蚁店铺id。填写本参数的话,store_id和ip_role_id可以不填",
- "schema" : {
- "type" : "string",
- "example" : "2018011900502000000005124744"
- }
- }, {
- "name" : "store_id",
- "in" : "query",
- "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号。关店接口中,如果没传shop_id,则本字段与ip_role_id均必填",
- "schema" : {
- "type" : "string",
- "example" : "NO0001"
- }
- }, {
- "name" : "ip_role_id",
- "in" : "query",
- "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。本接口中,如果没传shop_id,则本字段与store_id均必填",
- "schema" : {
- "type" : "string",
- "example" : "2088301155943087"
- }
- }, {
- "name" : "address_version",
- "in" : "query",
- "description" : "行政区划版本,当前可传空值(取默认版本)、2022Q2、UPTODATE(取最新版本),其中空值默认为:2020Q1版本( address_version=''或null),想要查看版本是2022年2季度版本则传入:(address_version='2022Q2'),想要获取最新版本则传入:(address_version ='UPTODATE')",
- "schema" : {
- "type" : "string",
- "example" : "2022Q2"
- }
- }, {
- "name" : "need_recommend",
- "in" : "query",
- "description" : "球房不置信时,是否需要返回shop_recommend_info",
- "schema" : {
- "type" : "string",
- "example" : "1-需要,0-不需要"
- }
- } ]
- },
- "post" : {
- "tags" : [ "ant.merchant.expand.shop" ],
- "summary" : "蚂蚁店铺创建",
- "description" : "创建蚂蚁店铺",
- "operationId" : "ant.merchant.expand.shop.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandShopCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopCreateModel"
- }
- }
- },
- "required" : false
- }
- },
- "patch" : {
- "tags" : [ "ant.merchant.expand.shop" ],
- "summary" : "修改蚂蚁店铺",
- "description" : "修改蚂蚁店铺,按信息项修改。若无特殊说明,如果某项存在但是没填写,则不会覆盖掉原来的值",
- "operationId" : "ant.merchant.expand.shop.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandShopModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/shop/close" : {
- "patch" : {
- "tags" : [ "ant.merchant.expand.shop" ],
- "summary" : "蚂蚁店铺关闭",
- "description" : "通过shop_id,关闭蚂蚁店铺。",
- "operationId" : "ant.merchant.expand.shop.close",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopCloseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandShopCloseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopCloseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/ant/merchant/shop/pagequery" : {
- "get" : {
- "tags" : [ "ant.merchant.expand.shop.page" ],
- "summary" : "店铺分页查询接口",
- "description" : "用于服务商或商户查询其自己的店铺信息",
- "operationId" : "ant.merchant.expand.shop.page.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AntMerchantExpandShopPageQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AntMerchantExpandShopPageQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "ip_role_id",
- "in" : "query",
- "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid",
- "schema" : {
- "type" : "string",
- "example" : "2088301155943087"
- }
- }, {
- "name" : "page_num",
- "in" : "query",
- "description" : "查询页数",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "每页查询大小,限制100以内",
- "schema" : {
- "type" : "integer",
- "example" : "10"
- }
- }, {
- "name" : "address_version",
- "in" : "query",
- "description" : "行政区划版本,当前可传空值(取默认版本)、2022Q2、UPTODATE(取最新版本),其中空值默认为:2020Q1版本(address_version=''或null),想要查看版本是2022年2季度版本则传入:(address_version='2022Q2'),想要获取最新版本则传入:(address_version ='UPTODATE')",
- "schema" : {
- "type" : "string",
- "example" : "2022Q2"
- }
- } ]
- }
- },
- "/v3/anttech/oceanbase/testplatform/task/query" : {
- "post" : {
- "tags" : [ "anttech.oceanbase.testplatform.task" ],
- "summary" : "获取ob开源官网提测平台待执行任务接口",
- "description" : "获取ob开源官网提测平台待执行任务接口,用于测试任务",
- "operationId" : "anttech.oceanbase.testplatform.task.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AnttechOceanbaseTestplatformTaskQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/AnttechOceanbaseTestplatformTaskQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/AnttechOceanbaseTestplatformTaskQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/datadigital/fincloud/generalsaas/face/certify/initialize" : {
- "post" : {
- "tags" : [ "datadigital.fincloud.generalsaas.face.certify" ],
- "summary" : "H5人脸核身初始化",
- "description" : "人脸核身初始化服务,用于创建认证流程。供外部客户使用该项服务。",
- "operationId" : "datadigital.fincloud.generalsaas.face.certify.initialize",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyInitializeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyInitializeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyInitializeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/datadigital/fincloud/generalsaas/face/certify/query" : {
- "get" : {
- "tags" : [ "datadigital.fincloud.generalsaas.face.certify" ],
- "summary" : "H5人脸核身查询记录",
- "description" : "商户在用户使用支付宝完成刷脸之后,调用本接口查询核身结果状态及相关数据",
- "operationId" : "datadigital.fincloud.generalsaas.face.certify.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "certify_id",
- "in" : "query",
- "description" : "本次申请操作的唯一标识,通过datadigital.fincloud.generalsaas.face.certify.initialize\t接口同步响应获取。",
- "schema" : {
- "type" : "string",
- "example" : "03cdsfsss20048373"
- }
- } ]
- }
- },
- "/v3/datadigital/fincloud/generalsaas/face/certify/verify" : {
- "post" : {
- "tags" : [ "datadigital.fincloud.generalsaas.face.certify" ],
- "summary" : "H5人脸核身开始认证",
- "description" : "H5人脸核身服务开始认证。请根据返回结果渲染页面。",
- "operationId" : "datadigital.fincloud.generalsaas.face.certify.verify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyVerifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyVerifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCertifyVerifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/datadigital/fincloud/generalsaas/face/check/initialize" : {
- "post" : {
- "tags" : [ "datadigital.fincloud.generalsaas.face.check" ],
- "summary" : "人脸检测初始化",
- "description" : "人脸检测业务单据初始化",
- "operationId" : "datadigital.fincloud.generalsaas.face.check.initialize",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckInitializeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckInitializeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckInitializeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/datadigital/fincloud/generalsaas/face/check/query" : {
- "get" : {
- "tags" : [ "datadigital.fincloud.generalsaas.face.check" ],
- "summary" : "人脸检测结果数据查询",
- "description" : "用于查询人脸检测结果的数据。",
- "operationId" : "datadigital.fincloud.generalsaas.face.check.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceCheckQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "certify_id",
- "in" : "query",
- "description" : "传入初始化接口datadigital.fincloud.generalsaas.face.check.initialize 得到的certify_id",
- "schema" : {
- "type" : "string",
- "example" : "dddddfsss88833ssf"
- }
- }, {
- "name" : "need_alive_photo",
- "in" : "query",
- "description" : "是否需要返回活体结果图片,needAlivePhoto:Y_O (原始图片)、Y_M(虚化,背景马赛克)、N(不返图)。非必填,默认为N",
- "schema" : {
- "type" : "string",
- "example" : "Y_M"
- }
- }, {
- "name" : "need_score",
- "in" : "query",
- "description" : "该入参已经废弃。",
- "schema" : {
- "type" : "string",
- "example" : "Y"
- }
- }, {
- "name" : "need_quality_score",
- "in" : "query",
- "description" : "是否需要返回图片质量分,非必填,默认值为N。 N表示不需要,Y表示需要",
- "schema" : {
- "type" : "string",
- "example" : "N"
- }
- }, {
- "name" : "need_attack_result",
- "in" : "query",
- "description" : "该参数已废弃",
- "schema" : {
- "type" : "string",
- "example" : "N"
- }
- } ]
- }
- },
- "/v3/datadigital/fincloud/generalsaas/face/source/certify" : {
- "post" : {
- "tags" : [ "datadigital.fincloud.generalsaas.face.source" ],
- "summary" : "权威核验源的核验接口",
- "description" : "上传人脸照片,调用权威核验源进行验证",
- "operationId" : "datadigital.fincloud.generalsaas.face.source.certify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceSourceCertifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceSourceCertifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceSourceCertifyModel"
- },
- "file_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "file_content" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/datadigital/fincloud/generalsaas/face/verification/initialize" : {
- "post" : {
- "tags" : [ "datadigital.fincloud.generalsaas.face.verification" ],
- "summary" : "人脸核身初始化",
- "description" : "人脸核身初始化接口",
- "operationId" : "datadigital.fincloud.generalsaas.face.verification.initialize",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationInitializeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationInitializeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationInitializeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/datadigital/fincloud/generalsaas/face/verification/query" : {
- "get" : {
- "tags" : [ "datadigital.fincloud.generalsaas.face.verification" ],
- "summary" : "人脸核身结果查询",
- "description" : "查询核身结果",
- "operationId" : "datadigital.fincloud.generalsaas.face.verification.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasFaceVerificationQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "certify_id",
- "in" : "query",
- "description" : "填入人脸核身初始化阶段获取到的certify_id",
- "schema" : {
- "type" : "string",
- "example" : "adsfasdfasdf"
- }
- }, {
- "name" : "need_alive_photo",
- "in" : "query",
- "description" : "是否需要返回活体结果图片,needAlivePhoto:Y_O (原始图片)、Y_M(虚化,背景马赛克)、N(不返图),默认为N",
- "schema" : {
- "type" : "string",
- "example" : "N"
- }
- } ]
- }
- },
- "/v3/datadigital/fincloud/generalsaas/ocr/mobile/initialize" : {
- "post" : {
- "tags" : [ "datadigital.fincloud.generalsaas.ocr.mobile" ],
- "summary" : "OCR端云一体化识别初始化",
- "description" : "OCR端云一体化识别",
- "operationId" : "datadigital.fincloud.generalsaas.ocr.mobile.initialize",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrMobileInitializeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrMobileInitializeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrMobileInitializeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/datadigital/fincloud/generalsaas/ocr/server/detect" : {
- "post" : {
- "tags" : [ "datadigital.fincloud.generalsaas.ocr.server" ],
- "summary" : "服务端OCR",
- "description" : "纯服务端OCR对接",
- "operationId" : "datadigital.fincloud.generalsaas.ocr.server.detect",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrServerDetectResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrServerDetectErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "multipart/form-data" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/DatadigitalFincloudGeneralsaasOcrServerDetectModel"
- },
- "file_content" : {
- "type" : "string",
- "format" : "binary"
- }
- }
- },
- "encoding" : {
- "file_content" : {
- "contentType" : "*/*"
- },
- "data" : {
- "contentType" : "application/json"
- }
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/koubei/marketing/campaign/intelligent/promo/batchquery" : {
- "post" : {
- "tags" : [ "koubei.marketing.campaign.intelligent.promo" ],
- "summary" : "智能营销活动批量查询",
- "description" : "智能营销活动批量查询",
- "operationId" : "koubei.marketing.campaign.intelligent.promo.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentPromoBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentPromoBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentPromoBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/koubei/marketing/campaign/intelligent/shop/consult" : {
- "post" : {
- "tags" : [ "koubei.marketing.campaign.intelligent.shop" ],
- "summary" : "智能营销球房咨询",
- "description" : "咨询完智能营销活动模型后,可以查询商户的符合智能营销活动标准的球房",
- "operationId" : "koubei.marketing.campaign.intelligent.shop.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentShopConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentShopConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentShopConsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/koubei/marketing/campaign/intelligent/template/consult" : {
- "post" : {
- "tags" : [ "koubei.marketing.campaign.intelligent.template" ],
- "summary" : "智能营销模板咨询",
- "description" : "咨询可使用的智能营销模板",
- "operationId" : "koubei.marketing.campaign.intelligent.template.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentTemplateConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentTemplateConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignIntelligentTemplateConsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/koubei/marketing/campaign/item/merchantactivity/batchquery" : {
- "post" : {
- "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
- "summary" : "商户查询商品代金券列表",
- "description" : "商户查询商品代金券列表",
- "operationId" : "koubei.marketing.campaign.item.merchantactivity.batchquery",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityBatchqueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityBatchqueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityBatchqueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/koubei/marketing/campaign/item/merchantactivity/close" : {
- "post" : {
- "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
- "summary" : "商户下架代金券",
- "description" : "商户下架代金券",
- "operationId" : "koubei.marketing.campaign.item.merchantactivity.close",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCloseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCloseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCloseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/koubei/marketing/campaign/item/merchantactivity/create" : {
- "post" : {
- "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
- "summary" : "商户创建商品代金券",
- "description" : "商户创建商品代金券",
- "operationId" : "koubei.marketing.campaign.item.merchantactivity.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/koubei/marketing/campaign/item/merchantactivity/modify" : {
- "post" : {
- "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
- "summary" : "商户修改商品代金券",
- "description" : "商户修改商品代金券",
- "operationId" : "koubei.marketing.campaign.item.merchantactivity.modify",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityModifyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityModifyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityModifyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/koubei/marketing/campaign/item/merchantactivity/query" : {
- "get" : {
- "tags" : [ "koubei.marketing.campaign.item.merchantactivity" ],
- "summary" : "商户查询商品代金券详情",
- "description" : "商户查询商品代金券详情",
- "operationId" : "koubei.marketing.campaign.item.merchantactivity.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiMarketingCampaignItemMerchantactivityQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "activity_id",
- "in" : "query",
- "description" : "运营活动id",
- "schema" : {
- "type" : "string",
- "example" : "2018xxxx"
- }
- }, {
- "name" : "external_unique_id",
- "in" : "query",
- "description" : "外部id",
- "schema" : {
- "type" : "string",
- "example" : "2018xxxx"
- }
- } ]
- }
- },
- "/v3/koubei/member/data/isv/create" : {
- "post" : {
- "tags" : [ "koubei.member.data.isv" ],
- "summary" : "isv 会员CRM数据回流",
- "description" : "isv 会员CRM数据回流:isv对接商户,回流会员信息",
- "operationId" : "koubei.member.data.isv.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMemberDataIsvCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiMemberDataIsvCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiMemberDataIsvCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/koubei/trade/order/consult" : {
- "post" : {
- "tags" : [ "koubei.trade.order" ],
- "summary" : "口碑订单预咨询",
- "description" : "ISV下单前,可以通过此接口咨询用户优惠信息",
- "operationId" : "koubei.trade.order.consult",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiTradeOrderConsultResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/KoubeiTradeOrderConsultErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/KoubeiTradeOrderConsultModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/monitor/heartbeat/syn" : {
- "post" : {
- "tags" : [ "monitor.heartbeat" ],
- "summary" : "验签接口",
- "description" : "本质上是金融云验签接口",
- "operationId" : "monitor.heartbeat.syn",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/MonitorHeartbeatSynResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/MonitorHeartbeatSynErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/MonitorHeartbeatSynModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/payafteruse/creditagreement/query" : {
- "get" : {
- "tags" : [ "zhima.credit.payafteruse.creditagreement" ],
- "summary" : "查询服务开通/授权信息",
- "description" : "使用商户外部协议号或开通/授权协议号,查询服务开通/授权信息。",
- "operationId" : "zhima.credit.payafteruse.creditagreement.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "out_agreement_no",
- "in" : "query",
- "description" : "商户外部协议号",
- "schema" : {
- "type" : "string",
- "example" : "2014070700166653"
- }
- }, {
- "name" : "credit_agreement_id",
- "in" : "query",
- "description" : "芝麻开通/授权协议号,out_agreement_no与credit_agreement_id必填一个,推荐使用credit_agreement_id。",
- "schema" : {
- "type" : "string",
- "example" : "ZMOP2020050722001440"
- }
- } ]
- }
- },
- "/v3/zhima/credit/payafteruse/creditagreement/transfer" : {
- "post" : {
- "tags" : [ "zhima.credit.payafteruse.creditagreement" ],
- "summary" : "转换为芝麻先享",
- "description" : "其他产品功能(例如信用代扣),通过该接口,可以转换为芝麻先享",
- "operationId" : "zhima.credit.payafteruse.creditagreement.transfer",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementTransferResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementTransferErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditagreementTransferModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/payafteruse/creditbizorder/finish" : {
- "post" : {
- "tags" : [ "zhima.credit.payafteruse.creditbizorder" ],
- "summary" : "结束信用服务订单",
- "description" : "结束信用服务订单",
- "operationId" : "zhima.credit.payafteruse.creditbizorder.finish",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderFinishResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderFinishErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderFinishModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/payafteruse/creditbizorder/order" : {
- "post" : {
- "tags" : [ "zhima.credit.payafteruse.creditbizorder" ],
- "summary" : "芝麻先享信用服务下单(免用户确认场景)",
- "description" : "芝麻先享免密下单,不需要唤起支付宝APP,通过服务端调用完成下单",
- "operationId" : "zhima.credit.payafteruse.creditbizorder.order",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderOrderResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderOrderErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderOrderModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/payafteruse/creditbizorder/query" : {
- "get" : {
- "tags" : [ "zhima.credit.payafteruse.creditbizorder" ],
- "summary" : "信用服务订单查询",
- "description" : "信用服务订单查询",
- "operationId" : "zhima.credit.payafteruse.creditbizorder.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPayafteruseCreditbizorderQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "credit_biz_order_id",
- "in" : "query",
- "description" : "信用服务订单号,out_order_no与credit_biz_order_id至少传一个",
- "schema" : {
- "type" : "string",
- "example" : "ZMCB20201021200102012"
- }
- }, {
- "name" : "out_order_no",
- "in" : "query",
- "description" : "商户外部单号,out_order_no与credit_biz_order_id至少传一个",
- "schema" : {
- "type" : "string",
- "example" : "20202010212001384"
- }
- } ]
- }
- },
- "/v3/zhima/credit/pe/zmgo/agreement/query" : {
- "get" : {
- "tags" : [ "zhima.credit.pe.zmgo.agreement" ],
- "summary" : "芝麻Go协议查询接口",
- "description" : "用户已经开通芝麻GO后,通过此接口查询协议。",
- "operationId" : "zhima.credit.pe.zmgo.agreement.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "agreement_id",
- "in" : "query",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花芝轻会员。传入该参数,会忽略其它所有参数。",
- "schema" : {
- "type" : "string",
- "example" : "20185513447859192007"
- }
- }, {
- "name" : "alipay_user_id",
- "in" : "query",
- "description" : "买家在支付宝的用户id",
- "schema" : {
- "type" : "string",
- "example" : "2088101117955611"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "买家在支付宝的用户id",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- } ]
- }
- },
- "/v3/zhima/credit/pe/zmgo/agreement/unsign" : {
- "post" : {
- "tags" : [ "zhima.credit.pe.zmgo.agreement" ],
- "summary" : "芝麻GO协议解约",
- "description" : "芝麻GO协议解约",
- "operationId" : "zhima.credit.pe.zmgo.agreement.unsign",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementUnsignResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementUnsignErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoAgreementUnsignModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/pe/zmgo/bizopt/close" : {
- "post" : {
- "tags" : [ "zhima.credit.pe.zmgo.bizopt" ],
- "summary" : "芝麻GO签约关单",
- "description" : "签约芝麻GO时,在签约申请时会生初始状态的签约单,如果后续不进行签约确认,可通过此接口关闭签约单",
- "operationId" : "zhima.credit.pe.zmgo.bizopt.close",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoBizoptCloseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoBizoptCloseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoBizoptCloseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/pe/zmgo/cumulation/sync" : {
- "post" : {
- "tags" : [ "zhima.credit.pe.zmgo.cumulation" ],
- "summary" : "芝麻go用户数据回传",
- "description" : "芝麻go商户通过此api接口,将用户行为数据回传到芝麻侧,数据包括:交易型数据(订单信息、优惠信息)和非交易型数据(用户完成任务次数)。芝麻侧将回传的数据在C端向用户展示,并且在结算时对结算金额进行校验(可选)。",
- "operationId" : "zhima.credit.pe.zmgo.cumulation.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoCumulationSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoCumulationSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoCumulationSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/pe/zmgo/preorder/create" : {
- "put" : {
- "tags" : [ "zhima.credit.pe.zmgo.preorder" ],
- "summary" : "芝麻GO签约预创单",
- "description" : "芝麻GO签约三件套前预创建单据,预传入签约基本参数和自定义配置,并支持动态模板配置能力。",
- "operationId" : "zhima.credit.pe.zmgo.preorder.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoPreorderCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoPreorderCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoPreorderCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/pe/zmgo/settle/apply" : {
- "post" : {
- "tags" : [ "zhima.credit.pe.zmgo.settle" ],
- "summary" : "芝麻GO结算申请",
- "description" : "用户已经开通芝麻GO后,商户通过此接口解冻转支付用户冻结金额。传入金额必须小于等于冻结金额",
- "operationId" : "zhima.credit.pe.zmgo.settle.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/pe/zmgo/settle/refund" : {
- "post" : {
- "tags" : [ "zhima.credit.pe.zmgo.settle" ],
- "summary" : "芝麻GO结算退款接口",
- "description" : "芝麻GO结算金额逆向退款接口: 对zhima.credit.pe.zmgo.settle.apply(芝麻GO结算申请接口) 产生的结算交易发起退款操作",
- "operationId" : "zhima.credit.pe.zmgo.settle.refund",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleRefundResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleRefundErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleRefundModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/credit/pe/zmgo/settle/unfreeze" : {
- "put" : {
- "tags" : [ "zhima.credit.pe.zmgo.settle" ],
- "summary" : "芝麻GO解冻接口",
- "description" : "用户已经开通芝麻GO后,商户通过此接口解冻转支付用户冻结金额。传入金额必须小于等于冻结金额",
- "operationId" : "zhima.credit.pe.zmgo.settle.unfreeze",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleUnfreezeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleUnfreezeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCreditPeZmgoSettleUnfreezeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/customer/jobworth/authentication" : {
- "get" : {
- "tags" : [ "zhima.customer.jobworth.authentication" ],
- "summary" : "职得身份认证查询接口",
- "description" : "根据一次性token查询用户身份认证结果",
- "operationId" : "zhima.customer.jobworth.authentication.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthAuthenticationQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthAuthenticationQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "conn_key",
- "in" : "query",
- "description" : "调用第一步创建接口的out_agreement_no,由外部传入",
- "schema" : {
- "type" : "string",
- "example" : "uuid"
- }
- }, {
- "name" : "once_token",
- "in" : "query",
- "description" : "查询身份认证结果的凭证,在认证结果到达终态后只允许查询成功一次,若需要再次查询,则需要调用第一个接口再拉起受理台",
- "schema" : {
- "type" : "string",
- "example" : "uuid"
- }
- }, {
- "name" : "query_type",
- "in" : "query",
- "description" : "exact:精确查询,dim:模糊查询",
- "schema" : {
- "type" : "string",
- "example" : "exact\\dim"
- }
- }, {
- "name" : "identity_type",
- "in" : "query",
- "description" : "01:医生,02:教师,具体参考文档",
- "schema" : {
- "type" : "string",
- "example" : "01,02,03"
- }
- }, {
- "name" : "service_id",
- "in" : "query",
- "description" : "信用服务id,商家接入产品功能包时有运营同学分配",
- "schema" : {
- "type" : "string",
- "example" : "2019120400000000000004450100"
- }
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID\t和身份证任选一个传入",
- "schema" : {
- "type" : "string",
- "example" : "20881029102921"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID\t和身份证任选一个传入",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "cert_no",
- "in" : "query",
- "description" : "证件号",
- "schema" : {
- "type" : "string",
- "example" : "420192931233123123"
- }
- }, {
- "name" : "cert_type",
- "in" : "query",
- "description" : "\"身份证 : 0\",\"护照: 1\",\"台湾往来通行证:4\",\"港澳往来通行证:3\", \"回乡证: 2\";\"港澳证件:5\"",
- "schema" : {
- "type" : "string",
- "example" : "0"
- }
- } ]
- }
- },
- "/v3/zhima/customer/jobworth/cloudresume/query" : {
- "get" : {
- "tags" : [ "zhima.customer.jobworth.cloudresume" ],
- "summary" : "智能简历基本数据查询",
- "description" : "用于查询工作证基本信息",
- "operationId" : "zhima.customer.jobworth.cloudresume.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthCloudresumeQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthCloudresumeQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "conn_key",
- "in" : "query",
- "description" : "长效的认证令牌",
- "schema" : {
- "type" : "string",
- "example" : "uuid"
- }
- }, {
- "name" : "once_token",
- "in" : "query",
- "description" : "交换云简历的单次token",
- "schema" : {
- "type" : "string",
- "example" : "uuid"
- }
- } ]
- }
- },
- "/v3/zhima/customer/jobworth/info/query" : {
- "get" : {
- "tags" : [ "zhima.customer.jobworth.info" ],
- "summary" : "职得工作证信息查询",
- "description" : "查询用户职得工作证信息\n查询方式3选1,都设置时uid优先\n1、支付宝uid查询:user_id\n2、身份证+姓名查询:cert_type+cert_no\n3、智能简历场景:conn_key",
- "operationId" : "zhima.customer.jobworth.info.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthInfoQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthInfoQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "user_name",
- "in" : "query",
- "description" : "姓名",
- "schema" : {
- "type" : "string",
- "example" : "张三"
- }
- }, {
- "name" : "conn_key",
- "in" : "query",
- "description" : "外部订单号,zhima.credit.payafteruse.creditagreement.sign的入参 out_agreement_no智能简历场景支持只传该值",
- "schema" : {
- "type" : "string",
- "example" : "ttest11234"
- }
- }, {
- "name" : "cert_no",
- "in" : "query",
- "description" : "证件号 ,根据cert_type类型设置对应证件号码,选择身份证校验时必传",
- "schema" : {
- "type" : "string",
- "example" : "42011719880304XXXX"
- }
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID ,为2088开头的唯一标识\t选择支付宝uid检验时必传,支付宝uid或身份证+身份证类型 查询2选1,都设置时uid优先",
- "schema" : {
- "type" : "string",
- "example" : "2088XXXXXXXX"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "蚂蚁统一会员ID ,为2088开头的唯一标识\t选择支付宝uid检验时必传,支付宝uid或身份证+身份证类型 查询2选1,都设置时uid优先",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "back_url",
- "in" : "query",
- "description" : "若用户没有开通工作证或者芝麻,成功开通后回跳的链接 ,支持http或schema地址",
- "schema" : {
- "type" : "string",
- "example" : "www.123.com"
- }
- }, {
- "name" : "cert_type",
- "in" : "query",
- "description" : "证件类型 ,枚举值:\t0:身份证1:护照2:台湾同胞回乡证3:港澳居民往来内地通行证4:台湾居民通行证5:港澳居民通行证\t选择身份证校验时必传,支付宝uid或身份证+身份证类型 查询2选1,都设置时uid优先",
- "schema" : {
- "type" : "string",
- "example" : "0:身份证1:护照2:台湾同胞回乡证3:港澳居民往来内地通行证4:台湾居民通行证5:港澳居民通行证"
- }
- }, {
- "name" : "ka_visitor_id",
- "in" : "query",
- "description" : "商户内部的唯一id如果是需要返回h5页面必填",
- "schema" : {
- "type" : "string",
- "example" : "xxx"
- }
- }, {
- "name" : "visitor_type",
- "in" : "query",
- "description" : "访问类型\tC = company or P = person\t如果是需要返回h5页面必填",
- "schema" : {
- "type" : "string",
- "example" : "P"
- }
- }, {
- "name" : "visitor_name",
- "in" : "query",
- "description" : "商户侧配置访客名称\t如果是需要返回h5页面必填",
- "schema" : {
- "type" : "string",
- "example" : "访客名称"
- }
- }, {
- "name" : "company_certificate",
- "in" : "query",
- "description" : "公司社会统一代码h5页面访客展示使用",
- "schema" : {
- "type" : "string",
- "example" : "xxxx"
- }
- }, {
- "name" : "visitor_url",
- "in" : "query",
- "description" : "上传图片接口返回的id",
- "schema" : {
- "type" : "string",
- "example" : "xxxx"
- }
- }, {
- "name" : "has_button",
- "in" : "query",
- "description" : "在h5页面是否展示底部跳转按钮",
- "schema" : {
- "type" : "boolean",
- "example" : "true"
- }
- }, {
- "name" : "has_number",
- "in" : "query",
- "description" : "true or false\t是否展示",
- "schema" : {
- "type" : "boolean",
- "example" : "true"
- }
- }, {
- "name" : "has_qr_code",
- "in" : "query",
- "description" : "是否展示二维码",
- "schema" : {
- "type" : "boolean",
- "example" : "true"
- }
- }, {
- "name" : "has_html",
- "in" : "query",
- "description" : "是否需要返回h5页面",
- "schema" : {
- "type" : "boolean",
- "example" : "true"
- }
- }, {
- "name" : "job_id",
- "in" : "query",
- "description" : "对外使用的jobid",
- "schema" : {
- "type" : "string",
- "example" : "05A00"
- }
- }, {
- "name" : "industry_id",
- "in" : "query",
- "description" : "行业描述ID",
- "schema" : {
- "type" : "string",
- "example" : "05A21"
- }
- }, {
- "name" : "cloud_resume_scene",
- "in" : "query",
- "description" : "子场景",
- "schema" : {
- "type" : "string",
- "example" : "GREEN_HIRE"
- }
- } ]
- }
- },
- "/v3/zhima/customer/jobworth/jobdata/add" : {
- "post" : {
- "tags" : [ "zhima.customer.jobworth.jobdata" ],
- "summary" : "工作证职业数据回流接口",
- "description" : "合作的三方伙伴通过该接口,将数据回传到工作证",
- "operationId" : "zhima.customer.jobworth.jobdata.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthJobdataAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthJobdataAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthJobdataAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/customer/jobworth/picture/upload" : {
- "post" : {
- "tags" : [ "zhima.customer.jobworth.picture" ],
- "summary" : "职得工作证图片上传",
- "description" : "工作证图片上传通用接口",
- "operationId" : "zhima.customer.jobworth.picture.upload",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthPictureUploadResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthPictureUploadErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthPictureUploadModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/customer/jobworth/position/add" : {
- "post" : {
- "tags" : [ "zhima.customer.jobworth.position" ],
- "summary" : "职得工作证岗位收集",
- "description" : "保存商户传入岗位信息,当接口调用成功,业务问题时返回subcode",
- "operationId" : "zhima.customer.jobworth.position.add",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthPositionAddResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthPositionAddErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaCustomerJobworthPositionAddModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/merchant/subsidiaries/apply" : {
- "post" : {
- "tags" : [ "zhima.merchant.subsidiaries" ],
- "summary" : "子商户信息添加",
- "description" : "子商户信息添加",
- "operationId" : "zhima.merchant.subsidiaries.apply",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesApplyResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesApplyErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesApplyModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/merchant/subsidiaries/close" : {
- "post" : {
- "tags" : [ "zhima.merchant.subsidiaries" ],
- "summary" : "关闭子商户信息工单",
- "description" : "关闭子商户信息工单",
- "operationId" : "zhima.merchant.subsidiaries.close",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesCloseResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesCloseErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantSubsidiariesCloseModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/merchant/zmgo/cumulate/query" : {
- "get" : {
- "tags" : [ "zhima.merchant.zmgo.cumulate" ],
- "summary" : "商家芝麻GO累计数据查询接口",
- "description" : "芝麻GO数据累计查询接口,包含汇总和明细信息",
- "operationId" : "zhima.merchant.zmgo.cumulate.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "agreement_id",
- "in" : "query",
- "description" : "芝麻go协议号,唯一标识一个芝麻go协议。",
- "schema" : {
- "type" : "string",
- "example" : "20195108518085620000"
- }
- }, {
- "name" : "user_id",
- "in" : "query",
- "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "schema" : {
- "type" : "string",
- "example" : "2088602002015001"
- }
- }, {
- "name" : "open_id",
- "in" : "query",
- "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "schema" : {
- "type" : "string",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }, {
- "name" : "provider_pid",
- "in" : "query",
- "description" : "数据回传的商户 ID,即和用户发生业务来往的 PID 主体。商户账号在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "schema" : {
- "type" : "string",
- "example" : "2088621805983504"
- }
- }, {
- "name" : "need_detail",
- "in" : "query",
- "description" : "是否需要回传明细。枚举支持:\t* true:需要回传明细。\t* false:不需要回传明细。",
- "schema" : {
- "type" : "boolean",
- "example" : "false"
- }
- }, {
- "name" : "page_no",
- "in" : "query",
- "description" : "分页参数,当need_detail=true时需要,代表当前页数,从1开始。",
- "schema" : {
- "type" : "integer",
- "example" : "1"
- }
- }, {
- "name" : "page_size",
- "in" : "query",
- "description" : "分页参数,当need_detail=true时需要,代表每页大小,不能大于20。",
- "schema" : {
- "type" : "integer",
- "example" : "20"
- }
- } ]
- }
- },
- "/v3/zhima/merchant/zmgo/cumulate/sync" : {
- "post" : {
- "tags" : [ "zhima.merchant.zmgo.cumulate" ],
- "summary" : "商家芝麻GO累计数据回传接口",
- "description" : "外部商家接入芝麻GO场景下,回传用户行为履约数据给芝麻。",
- "operationId" : "zhima.merchant.zmgo.cumulate.sync",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateSyncResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateSyncErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoCumulateSyncModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/merchant/zmgo/template/create" : {
- "post" : {
- "tags" : [ "zhima.merchant.zmgo.template" ],
- "summary" : "商户创建芝麻GO模板接口",
- "description" : "外部商家接入芝麻GO场景下,为商户提供自助创建芝麻GO模板的能力。\n",
- "operationId" : "zhima.merchant.zmgo.template.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zhima/merchant/zmgo/template/query" : {
- "get" : {
- "tags" : [ "zhima.merchant.zmgo.template" ],
- "summary" : "芝麻GO模板查询",
- "description" : "芝麻GO模板查询",
- "operationId" : "zhima.merchant.zmgo.template.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZhimaMerchantZmgoTemplateQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "parameters" : [ {
- "name" : "template_no",
- "in" : "query",
- "description" : "模板ID,由创建模板接口返回结果提供",
- "schema" : {
- "type" : "string",
- "example" : "ZMGO_TPL2021061601004538"
- }
- }, {
- "name" : "partner_id",
- "in" : "query",
- "description" : "商户ID",
- "schema" : {
- "type" : "string",
- "example" : "208830****697946"
- }
- } ]
- }
- },
- "/v3/zoloz/authentication/customer/facemanage/create" : {
- "post" : {
- "tags" : [ "zoloz.authentication.customer.facemanage" ],
- "summary" : "热脸入库",
- "description" : "热脸入库",
- "operationId" : "zoloz.authentication.customer.facemanage.create",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageCreateResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageCreateErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageCreateModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zoloz/authentication/customer/facemanage/delete" : {
- "post" : {
- "tags" : [ "zoloz.authentication.customer.facemanage" ],
- "summary" : "热脸出库",
- "description" : "出库逻辑",
- "operationId" : "zoloz.authentication.customer.facemanage.delete",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageDeleteResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageDeleteErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFacemanageDeleteModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zoloz/authentication/customer/ftoken/query" : {
- "post" : {
- "tags" : [ "zoloz.authentication.customer.ftoken" ],
- "summary" : "人脸ftoken查询消费接口",
- "description" : "人脸ftoken查询消费接口",
- "operationId" : "zoloz.authentication.customer.ftoken.query",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFtokenQueryResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFtokenQueryErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerFtokenQueryModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zoloz/authentication/customer/smilepay/initialize" : {
- "post" : {
- "tags" : [ "zoloz.authentication.customer.smilepay" ],
- "summary" : "人脸刷脸付初始化",
- "description" : "人脸刷脸付初始化",
- "operationId" : "zoloz.authentication.customer.smilepay.initialize",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerSmilepayInitializeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerSmilepayInitializeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationCustomerSmilepayInitializeModel"
- }
- }
- },
- "required" : false
- }
- }
- },
- "/v3/zoloz/authentication/smilepay/initialize" : {
- "post" : {
- "tags" : [ "zoloz.authentication.smilepay" ],
- "summary" : "刷脸支付初始化",
- "description" : "通过该接口获取刷脸支付服务的初始化信息,详细字段描述请参考产品说明文档",
- "operationId" : "zoloz.authentication.smilepay.initialize",
- "responses" : {
- "200" : {
- "description" : "common response",
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationSmilepayInitializeResponseModel"
- }
- }
- }
- },
- "default" : {
- "description" : "请求失败",
- "content" : {
- "application/json" : {
- "schema" : {
- "anyOf" : [ {
- "$ref" : "#/components/schemas/CommonErrorType"
- }, {
- "$ref" : "#/components/schemas/ZolozAuthenticationSmilepayInitializeErrorResponseModel"
- } ]
- }
- }
- }
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "$ref" : "#/components/schemas/ZolozAuthenticationSmilepayInitializeModel"
- }
- }
- },
- "required" : false
- }
- }
- }
- },
- "components" : {
- "schemas" : {
- "AbilityPageQueryDTO" : {
- "type" : "object",
- "properties" : {
- "page_data" : {
- "type" : "array",
- "description" : "搜索运营列表的分页数据",
- "items" : {
- "$ref" : "#/components/schemas/SearchAbilityOrderData"
- }
- },
- "page_num" : {
- "type" : "string",
- "description" : "当前页码,默认第一页",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "每页记录数,默认10",
- "example" : "10"
- },
- "total_number" : {
- "type" : "integer",
- "description" : "记录总数",
- "example" : "10"
- }
- }
- },
- "AccountLogItemResult" : {
- "type" : "object",
- "properties" : {
- "account_log_id" : {
- "type" : "string",
- "description" : "支付宝账务流水号。对账使用,不脱敏",
- "example" : "1***"
- },
- "alipay_order_no" : {
- "type" : "string",
- "description" : "支付宝订单号。对账使用,不脱敏",
- "example" : "20190101***"
- },
- "balance" : {
- "type" : "string",
- "description" : "余额,仅供参考。由于架构原因,余额变动并不保证连续。也就是余额不一定等于上一笔余额减去当笔金额。但是会保证最终一致。",
- "example" : "10000.00"
- },
- "bill_source" : {
- "type" : "string",
- "description" : "业务账单来源,资金收支对应的上游业务订单数据来源,确认业务订单出处。此字段供商户对账使用,不脱敏。",
- "example" : "商家中心"
- },
- "biz_desc" : {
- "type" : "string",
- "description" : "业务描述,资金收支对应的详细业务场景信息。此字段供商户对账使用,不脱敏。",
- "example" : "002***|交易退款"
- },
- "biz_nos" : {
- "type" : "string",
- "description" : "业务订单号,资金收支相关的业务场景订单号明细,字母大写;M:平台交易主单号,S:平台交易子单号,O:业务系统单据号(如退款订单号)。此字段供商户对账使用,不脱敏。",
- "example" : "M{330***}|S{330***}|O{192***}"
- },
- "biz_orig_no" : {
- "type" : "string",
- "description" : "业务基础订单号,资金收支对应的原始业务订单唯一识别编号。此字段供商户对账使用,不脱敏。",
- "example" : "330***"
- },
- "complement_info" : {
- "type" : "string",
- "description" : "账单的补全信息,用于特殊场景,普通商户不需要传值,对账时可忽略。",
- "example" : "商家中心"
- },
- "direction" : {
- "type" : "string",
- "description" : "收入/支出。表示收支。amount是正数,返回“收入”。amount是负数,返回“支出”",
- "example" : "收入"
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "商户订单号,创建支付宝交易时传入的信息。对账使用,不脱敏",
- "example" : "TX***"
- },
- "merchant_out_refund_no" : {
- "type" : "string",
- "description" : "支付宝交易商户退款请求号。对应商户在调用收单退款接口openApi请求传入的outRequestNo参数值",
- "example" : "20211119***"
- },
- "other_account" : {
- "type" : "string",
- "description" : "对方账户",
- "example" : "张*(a*@alipay.com)"
- },
- "store_name" : {
- "type" : "string",
- "description" : "球房信息",
- "example" : "杭州一店"
- },
- "trans_amount" : {
- "type" : "string",
- "description" : "金额",
- "example" : "1000.00"
- },
- "trans_dt" : {
- "type" : "string",
- "description" : "入账时间",
- "example" : "2019-01-01 00:00:00"
- },
- "trans_memo" : {
- "type" : "string",
- "description" : "账务备注。由上游业务决定,不可依赖此字段进行对账",
- "example" : "备注1"
- },
- "type" : {
- "type" : "string",
- "description" : "账务记录的类型,仅供参考",
- "example" : "交易"
- }
- }
- },
- "AccountQuotaDetail" : {
- "type" : "object",
- "properties" : {
- "quota_amount" : {
- "type" : "integer",
- "description" : "周期内的额度上限",
- "example" : "50000"
- },
- "quota_dimension" : {
- "type" : "string",
- "description" : "额度周期,有限枚举",
- "example" : "DAY"
- },
- "role" : {
- "type" : "string",
- "description" : "角色",
- "example" : "PAYER"
- }
- }
- },
- "ActivityAppInfo" : {
- "type" : "object",
- "properties" : {
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2021238412323412"
- }
- }
- },
- "ActivityBaseInfo" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id"
- },
- "activity_name" : {
- "type" : "string",
- "description" : "活动名称。 不对用户进行展示,仅供商家在后台管理活动使用。"
- },
- "activity_operation_status" : {
- "type" : "string",
- "description" : "活动操作状态。"
- },
- "activity_product_type" : {
- "type" : "string",
- "description" : "券活动产品类型"
- },
- "activity_status" : {
- "type" : "string",
- "description" : "活动状态。 已激活状态表示活动正常运行。已终止状态表示商家终止活动,不可再发放。"
- },
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/BelongMerchantInfo"
- },
- "code_mode" : {
- "type" : "string",
- "description" : "码模式。 MERCHANT_UPLOAD:商户上传自定义code,发券时系统随机选取上传的券code发放 MERCHANT_API:发奖时指定券码发奖,此模式无须提前上传券码。"
- },
- "out_activity_id" : {
- "type" : "string",
- "description" : "外部活动ID"
- }
- }
- },
- "ActivityDiscountVoucher" : {
- "type" : "object",
- "properties" : {
- "ceiling_amount" : {
- "type" : "string",
- "description" : "封顶金额。"
- },
- "discount" : {
- "type" : "string",
- "description" : "折扣率。"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称。说明:该字段可不填,填入 origin_amount 则必填。"
- },
- "origin_amount" : {
- "type" : "string",
- "description" : "原价。"
- }
- }
- },
- "ActivityExchangeVoucher" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "券的价值。"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "优惠门槛金额,表示只有当订单金额大于等于门槛金额时券才能使用。该字段为空时表示无门槛。 门槛金额的校验由服务商(商户)核销时自行校验,支付宝侧只做展示使用。 币种为人民币,单位为元。小数点以后最多保留两位。 设置门槛:取值范围:0.1<=x<= 50000。如果设置了门槛金额,则必须大于等于0.1,不可以等于0。"
- },
- "overdue_refundable" : {
- "type" : "boolean",
- "description" : "是否支持优惠券过期后,自动退款给用户。 不填默认否,枚举值: true:是 false:否 自动退款功能需要服务商在优惠券过期时,主动调用alipay.marketing.activity.order.refund接口进行退款。 如果配置优惠券时选择了过期自动退款,但是实际券过期后,服务商没有进行退款,那么用户投诉后,需要服务商进行解决。"
- },
- "refundable" : {
- "type" : "boolean",
- "description" : "购买的优惠券是否允许退款。 不填默认否,枚举值: true:是 false:否"
- },
- "sale_amount" : {
- "type" : "string",
- "description" : "用户购买优惠券需要支付的金额。"
- }
- }
- },
- "ActivityFixVoucher" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "面额,每张代金券可以抵扣的金额。"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。该字段不填写,认为无门槛。"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称。"
- }
- }
- },
- "ActivityGoodsInfo" : {
- "type" : "object",
- "properties" : {
- "goods_id" : {
- "type" : "string",
- "description" : "商品编码",
- "example" : "111"
- },
- "goods_use_type" : {
- "type" : "string",
- "description" : "活动单品类型。 枚举值: AVAILABLE可用单品 UNAVAILABLE不可用单品",
- "example" : "AVAILABLE"
- }
- }
- },
- "ActivityLiteInfo" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_id" : {
- "type" : "string",
- "description" : "活动 id。",
- "example" : "2016042700826004508401111111"
- },
- "activity_name" : {
- "type" : "string",
- "description" : "活动名称。 不对支付宝用户进行展示,仅供商家在后台管理活动使用。",
- "example" : "满10减1活动"
- },
- "activity_status" : {
- "type" : "string",
- "description" : "活动状态。",
- "example" : "ACTIVE"
- },
- "belong_merchant_id" : {
- "type" : "string",
- "description" : "归属商户 PID。",
- "example" : "2088202967380463"
- },
- "create_time" : {
- "type" : "string",
- "description" : "活动创建时间。",
- "example" : "2017-01-01 00:00:01"
- },
- "publish_end_time" : {
- "type" : "string",
- "description" : "券发放结束时间。格式为:yyyy-MM-dd HH:mm:ss。",
- "example" : "2017-01-29 23:59:59"
- },
- "publish_start_time" : {
- "type" : "string",
- "description" : "券发放开始时间。格式为:yyyy-MM-dd HH:mm:ss。",
- "example" : "2017-01-01 00:00:01"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_customer_guide_info" : {
- "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
- },
- "voucher_deduct_info" : {
- "$ref" : "#/components/schemas/VoucherDeductInfo"
- },
- "voucher_display_lite_info" : {
- "$ref" : "#/components/schemas/CommonVoucherDisplayLiteInfo"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "券类型。",
- "example" : "FIX_VOUCHER"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- },
- "voucher_use_rule_lite_info" : {
- "$ref" : "#/components/schemas/CommonVoucherUseRuleLiteInfo"
- }
- }
- },
- "ActivityMerchantInfo" : {
- "type" : "object",
- "properties" : {
- "merchant_id" : {
- "type" : "string",
- "description" : "商户支付宝id",
- "example" : "2088xx"
- },
- "merchant_id_type" : {
- "type" : "string",
- "description" : "商户支付宝id类型。\t枚举值\tPID 直连pid\tSMID 间连SMID",
- "example" : "PID"
- }
- }
- },
- "ActivityShopInfo" : {
- "type" : "object",
- "properties" : {
- "latitude" : {
- "type" : "string",
- "description" : "纬度,浮点型,小数点后最多保留6位",
- "example" : "60.270001"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度,浮点型, 小数点后最多保留6位。",
- "example" : "120.760001"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "支付宝侧蚂蚁店铺 id。",
- "example" : "2018011900502000000005124744"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "店铺名称。",
- "example" : "肯德基中关村店"
- },
- "shop_type" : {
- "type" : "string",
- "description" : "球房类型\tPAYMENT_SHOP 支付球房\tREAL_SHOP 代运营商业关系球房",
- "example" : "PAYMENT_SHOP"
- }
- }
- },
- "ActivitySpecialVoucher" : {
- "type" : "object",
- "properties" : {
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称。说明:该字段可不填,填入 origin_amount 则必填。"
- },
- "origin_amount" : {
- "type" : "string",
- "description" : "原价。"
- },
- "special_amount" : {
- "type" : "string",
- "description" : "特价,即:原价-特价=优惠金额。"
- }
- }
- },
- "AddressInfo" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "地址。商户详细经营地址或人员所在地点"
- },
- "city_code" : {
- "type" : "string",
- "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> 表格中内容填写。"
- },
- "district_code" : {
- "type" : "string",
- "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> 表格中内容填写。"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度,浮点型,小数点后最多保留6位\r\t如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度,浮点型, 小数点后最多保留6位。\r\t如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker"
- },
- "poiid" : {
- "type" : "string",
- "description" : "高德poiid"
- },
- "province_code" : {
- "type" : "string",
- "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> 表格中内容填写。"
- },
- "type" : {
- "type" : "string",
- "description" : "地址类型。取值范围:BUSINESS_ADDRESS:经营地址(默认)"
- }
- }
- },
- "AddressInfoDTO" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id,当入参传入共同账户id时返回该值",
- "example" : "2088501312695783"
- },
- "address" : {
- "type" : "string",
- "description" : "详细地址",
- "example" : "西溪路569号蚂蚁A空间6楼601"
- },
- "address_id" : {
- "type" : "string",
- "description" : "地址id",
- "example" : "190303094020"
- },
- "city_code" : {
- "type" : "string",
- "description" : "市(国家统一行政规划编码)",
- "example" : "330100"
- },
- "city_name" : {
- "type" : "string",
- "description" : "城市",
- "example" : "杭州市"
- },
- "community" : {
- "type" : "string",
- "description" : "小区/楼宇",
- "example" : "蚂蚁A空间"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id,当入参传入企业id时返回该值",
- "example" : "2088501312695783"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度",
- "example" : "30.261121"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度",
- "example" : "120.104735"
- },
- "mark" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "poi_id" : {
- "type" : "string",
- "description" : "地图poi",
- "example" : "B0GKN4522Z"
- }
- }
- },
- "Advert" : {
- "type" : "object",
- "properties" : {
- "advert_group" : {
- "type" : "string",
- "description" : "广告组标识",
- "example" : "CG202008041013200064690"
- },
- "advert_id" : {
- "type" : "string",
- "description" : "广告位id",
- "example" : "123"
- },
- "advert_items" : {
- "type" : "array",
- "description" : "广告位轮播内容列表",
- "items" : {
- "$ref" : "#/components/schemas/AdvertItem"
- }
- },
- "group_id" : {
- "type" : "string",
- "description" : "投放人群分组id",
- "example" : "RQ20191025100100595279"
- },
- "mobile_client_type" : {
- "type" : "string",
- "description" : "手机客户端类型,iphone、android、wp,空为不区分机型",
- "example" : "android"
- }
- }
- },
- "AdvertItem" : {
- "type" : "object",
- "properties" : {
- "img_url" : {
- "type" : "string",
- "description" : "广告图片url, 尺寸为996*240,最大不超过5M,支持格式:.jpg、.png ,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
- },
- "link_type" : {
- "type" : "string",
- "description" : "跳转类型,网页:HTTP、小程序:APP,不传默认HTTP"
- },
- "link_url" : {
- "type" : "string",
- "description" : "跳转链接,点击广告图片跳到的链接url"
- },
- "name" : {
- "type" : "string",
- "description" : "广告帧名称,可选"
- }
- }
- },
- "AgentChatInfo" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "数据权限id(租户实例id)"
- },
- "extended_group_ids" : {
- "type" : "array",
- "description" : "在线扩展技能组id列表",
- "items" : {
- "type" : "string"
- }
- },
- "group_id" : {
- "type" : "string",
- "description" : "在线技能组id"
- },
- "level_id" : {
- "type" : "string",
- "description" : "在线服务等级"
- }
- }
- },
- "AgentHotlineInfo" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "数据权限id(租户实例id)"
- },
- "group_ids" : {
- "type" : "array",
- "description" : "热线技能组id",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "AgentScheduleLog" : {
- "type" : "object",
- "properties" : {
- "agent_id" : {
- "type" : "string",
- "description" : "客服id",
- "example" : "2018101801902073"
- },
- "agent_name" : {
- "type" : "string",
- "description" : "客服名称",
- "example" : "张三"
- },
- "create_time" : {
- "type" : "string",
- "description" : "状态变更发生时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
- "example" : "2020-10-23 09:10:23"
- },
- "duration" : {
- "type" : "integer",
- "description" : "状态持续时长,单位秒",
- "example" : "120"
- },
- "end_time" : {
- "type" : "string",
- "description" : "状态变更结束时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
- "example" : "2020-10-23 09:20:53"
- },
- "external_user_no" : {
- "type" : "string",
- "description" : "isv或商户系统中对应的客服工号",
- "example" : "0012"
- },
- "id" : {
- "type" : "string",
- "description" : "客服状态变更流水id",
- "example" : "10223"
- },
- "last_status" : {
- "type" : "string",
- "description" : "变更前状态",
- "example" : "离线"
- },
- "start_time" : {
- "type" : "string",
- "description" : "状态变更开始时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
- "example" : "2020-10-23 09:10:23"
- },
- "status" : {
- "type" : "string",
- "description" : "变更后状态",
- "example" : "上线"
- }
- }
- },
- "AgentVO" : {
- "type" : "object",
- "properties" : {
- "answering_mode" : {
- "type" : "string",
- "description" : "热线接入方式",
- "example" : "0"
- },
- "avatar" : {
- "type" : "string",
- "description" : "头像的oss file key",
- "example" : "testfile"
- },
- "ccs_instance_ids" : {
- "type" : "array",
- "description" : "客服归属的部门id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"XAHSNRBS\"]"
- },
- "chat_config" : {
- "type" : "array",
- "description" : "在线技能组信息",
- "items" : {
- "$ref" : "#/components/schemas/AgentChatInfo"
- }
- },
- "create_time" : {
- "type" : "string",
- "description" : "创建时间, 标准时间格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2020-10-01 11:11:11"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建人id",
- "example" : "2019032101896769"
- },
- "dingtalk_user_id" : {
- "type" : "string",
- "description" : "钉钉user_id(绑定钉钉的用户该字段非空)",
- "example" : "1293894912"
- },
- "email" : {
- "type" : "string",
- "description" : "客服邮箱",
- "example" : "test@163.com"
- },
- "external_id" : {
- "type" : "string",
- "description" : "外部系统用户,比如金融云的用户id、支付宝账号id",
- "example" : "2088xxx"
- },
- "hotline_config" : {
- "type" : "array",
- "description" : "热线技能组信息",
- "items" : {
- "$ref" : "#/components/schemas/AgentHotlineInfo"
- }
- },
- "id" : {
- "type" : "string",
- "description" : "客服唯一标识id",
- "example" : "2019032101896769"
- },
- "job_number" : {
- "type" : "string",
- "description" : "客服工号",
- "example" : "0002"
- },
- "last_login_time" : {
- "type" : "string",
- "description" : "最后登录时间,标准时间格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2020-10-20 07:40:31"
- },
- "mobile" : {
- "type" : "string",
- "description" : "客服手机号",
- "example" : "13812345678"
- },
- "nick_name" : {
- "type" : "string",
- "description" : "客服昵称",
- "example" : "风清扬"
- },
- "profile" : {
- "type" : "string",
- "description" : "个人简介",
- "example" : "我是玉树临风一表人才的张三"
- },
- "real_name" : {
- "type" : "string",
- "description" : "客服姓名",
- "example" : "张三"
- },
- "role_ids" : {
- "type" : "array",
- "description" : "客服角色id列表",
- "items" : {
- "$ref" : "#/components/schemas/RoleId"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "状态:NORMAL,DELETE",
- "example" : "NORMAL"
- },
- "type" : {
- "type" : "string",
- "description" : "用户类型:NORMAL(普通客服),ADMIN(超级管理员,不能被删除)",
- "example" : "NORMAL"
- },
- "update_time" : {
- "type" : "string",
- "description" : "最后修改时间, 标准时间格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2020-10-01 11:11:11"
- },
- "updater_id" : {
- "type" : "string",
- "description" : "最后修改人id",
- "example" : "2019032101896769"
- }
- }
- },
- "AgreementDetail" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "协议号",
- "example" : "20120000000000000000"
- },
- "status" : {
- "type" : "string",
- "description" : "协议状态",
- "example" : "NORMAL"
- }
- }
- },
- "AgreementParams" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 )",
- "example" : "20170322450983769228"
- },
- "apply_token" : {
- "type" : "string",
- "description" : "鉴权申请token,其格式和内容,由支付宝定义。在需要做支付鉴权校验时,该参数不能为空。",
- "example" : "MDEDUCT0068292ca377d1d44b65fa24ec9cd89132f"
- },
- "auth_confirm_no" : {
- "type" : "string",
- "description" : "鉴权确认码,在需要做支付鉴权校验时,该参数不能为空",
- "example" : "423979"
- },
- "deduct_permission" : {
- "type" : "string",
- "description" : "商户代扣扣款许可",
- "example" : "2021571176714791277815457854545"
- }
- }
- },
- "AgreementQuotaModifyList" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "授权协议号",
- "example" : "20205321001042231004"
- },
- "quota_details" : {
- "type" : "array",
- "description" : "设置额度明细",
- "items" : {
- "$ref" : "#/components/schemas/ModifyQuotaDetails"
- }
- }
- }
- },
- "AliosOpenAutoInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ISV_VERIFICATION_FAILED", "NOT_FOUND", "BIZ_ERROR", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AliosOpenAutoInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "engine_no" : {
- "type" : "string",
- "description" : "发动机号",
- "example" : "234534634523"
- },
- "license_no" : {
- "type" : "string",
- "description" : "车牌号",
- "example" : "京FW12A7"
- },
- "user_activation_time" : {
- "type" : "string",
- "description" : "用户激活时间",
- "example" : "2020-04-29 15:53:11"
- },
- "vehicle_type" : {
- "type" : "string",
- "description" : "车辆类型",
- "example" : "02"
- },
- "vin" : {
- "type" : "string",
- "description" : "车辆识别号码",
- "example" : "T1D234E567A890H"
- }
- }
- },
- "AlipayBossFncInvoiceApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayBossFncInvoiceApplyModel" : {
- "type" : "object",
- "properties" : {
- "biz_id" : {
- "type" : "string",
- "description" : "调用方身份识别标记(应用名称) 与业务单据号联合唯一",
- "example" : "SETTLE_MIDDLE_GROUND"
- },
- "biz_no" : {
- "type" : "string",
- "description" : "业务单据号,业务流水号",
- "example" : "47674d29cadd425a7eeb3ae4b51af7d5_765915"
- },
- "invoice_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "invoice_type" : {
- "type" : "string",
- "description" : "申请开票类型,01:专票;02:普票",
- "example" : "01"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "mthtly_bill_nos" : {
- "type" : "array",
- "description" : "需开票的应收月账单号",
- "items" : {
- "type" : "string"
- },
- "example" : "2018060510122000040400841100996001"
- },
- "operator" : {
- "type" : "string",
- "description" : "申请人的uid号",
- "example" : "208812345677"
- },
- "out_biz_type" : {
- "type" : "string",
- "description" : "01主站,02芝麻,03金融云",
- "example" : "03"
- }
- }
- },
- "AlipayBossFncInvoiceApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result_set" : {
- "type" : "string",
- "description" : "开票申请ID,唯一性ID",
- "example" : "2017090710122000473800320000049574"
- }
- }
- },
- "AlipayBossFncInvoiceBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayBossFncInvoiceBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "apply_order_id" : {
- "type" : "string",
- "description" : "开票申请ID,唯一标识开票申请表的ID",
- "example" : "2017090710122000473800320000049574"
- },
- "buyer_invoice_title" : {
- "type" : "string",
- "description" : "买方发票抬头,用于打印在发票上",
- "example" : "联想 ( 上海 ) 电子科技有限公司"
- },
- "buyer_ipid" : {
- "type" : "string",
- "description" : "对应发票商户的ipId,在主站标示mid,在其他环境标示ip_id。",
- "example" : "10000004"
- },
- "buyer_ipids" : {
- "type" : "array",
- "description" : "购方商户ID集合",
- "items" : {
- "type" : "string"
- },
- "example" : "2345643"
- },
- "buyer_iprole_id" : {
- "type" : "string",
- "description" : "商户结算的ipRoleId,表示商户的结算对象,在主站表示pid。",
- "example" : "2088621524618252"
- },
- "buyer_iprole_ids" : {
- "type" : "array",
- "description" : "购方PID集合",
- "items" : {
- "type" : "string"
- },
- "example" : "2088621524618252"
- },
- "inst_id" : {
- "type" : "string",
- "description" : "对应发票所在OU的id,用于标示该发票所述的OU。",
- "example" : "Z50"
- },
- "invoice_channel" : {
- "type" : "string",
- "description" : "开票渠道 01 线上;02 线下",
- "example" : "01"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码,税务部门给予发票的编码",
- "example" : "031001600211"
- },
- "invoice_create_date_begin" : {
- "type" : "string",
- "description" : "发票创建日期【起始日期,格式yyyyMMdd】",
- "example" : "20180723"
- },
- "invoice_create_date_end" : {
- "type" : "string",
- "description" : "发票创建日期【结束日期,格式yyyyMMdd】",
- "example" : "20180723"
- },
- "invoice_ids" : {
- "type" : "array",
- "description" : "发票ID集合,发票ID,唯一标示一张发票的ID",
- "items" : {
- "type" : "string"
- },
- "example" : "2017011210122000494000670000000001"
- },
- "invoice_material" : {
- "type" : "string",
- "description" : "开票介质 01电子 02纸质",
- "example" : "01"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码,税务部门给予发票的编码",
- "example" : "86230814"
- },
- "invoice_open_date_begin" : {
- "type" : "string",
- "description" : "发票开票日期【起始日期,格式yyyyMMdd】",
- "example" : "20180723"
- },
- "invoice_open_date_end" : {
- "type" : "string",
- "description" : "发票开票日期【结束日期,格式yyyyMMdd】",
- "example" : "20180723"
- },
- "invoice_status" : {
- "type" : "array",
- "description" : "发票状态:用于标示发票当前的状态,状态类型以及相关含义:01 待开票;02 开票中;03 已开票;04 作废中;05 已作废;06 红冲中;07 已红冲;08 部分红冲;09 无效",
- "items" : {
- "type" : "string"
- },
- "example" : "01"
- },
- "invoice_types" : {
- "type" : "array",
- "description" : "发票类型,01专票 02普票 03营业税发票 04国际形式发票 05其它发票",
- "items" : {
- "type" : "string"
- },
- "example" : "01"
- },
- "is_online" : {
- "type" : "string",
- "description" : "是否能在线开票 Y能 N不能",
- "example" : "Y"
- },
- "is_red" : {
- "type" : "string",
- "description" : "是否红字 Y红字 N蓝字",
- "example" : "N"
- },
- "mail_status" : {
- "type" : "array",
- "description" : "邮寄状态 01 待邮寄;02 已邮寄;03 退回中;04 已退回",
- "items" : {
- "type" : "string"
- },
- "example" : "01"
- },
- "monthly_bill_no" : {
- "type" : "string",
- "description" : "月账单号",
- "example" : "2017090510122000040400320000017749"
- },
- "page_no" : {
- "type" : "integer",
- "description" : "起始页,分页时必须提供",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页显示数,分页时必须提供",
- "example" : "20"
- },
- "tracking_no" : {
- "type" : "string",
- "description" : "快递单号",
- "example" : "20170112101"
- }
- }
- },
- "AlipayBossFncInvoiceBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "current_page" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "123456"
- },
- "items_page" : {
- "type" : "integer",
- "description" : "每页条数",
- "example" : "123456"
- },
- "result_set" : {
- "type" : "array",
- "description" : "结果对象,发票对象的集合",
- "items" : {
- "$ref" : "#/components/schemas/ArInvoiceOpenApiResponse"
- }
- },
- "total_items" : {
- "type" : "integer",
- "description" : "查询到的结果总数",
- "example" : "123456"
- },
- "total_pages" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "123456"
- }
- }
- },
- "AlipayBossFncInvoiceQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayBossFncInvoiceQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "result_set" : {
- "$ref" : "#/components/schemas/ArInvoiceOpenApiResponse"
- }
- }
- },
- "AlipayBossFncInvoicereceiptBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayBossFncInvoicereceiptBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "bill_nos" : {
- "type" : "array",
- "description" : "月账单号集合,唯一性ID集合,月账单表唯一主键ID集合",
- "items" : {
- "type" : "string"
- },
- "example" : "2015050910120900000001120000000001"
- },
- "out_biz_type" : {
- "type" : "string",
- "description" : "来源类型,01:主站;02:芝麻;03:金融云;04:微贷",
- "example" : "03"
- }
- }
- },
- "AlipayBossFncInvoicereceiptBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "result_set" : {
- "type" : "array",
- "description" : "返回结果对象:可开票单据",
- "items" : {
- "$ref" : "#/components/schemas/ArInvoiceReceiptOpenApiResponse"
- }
- },
- "total_inv_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "total_inved_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "total_link_invoice_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- }
- }
- },
- "AlipayBossFncInvoicereceiptCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayBossFncInvoicereceiptCreateModel" : {
- "type" : "object",
- "properties" : {
- "event_code" : {
- "type" : "string",
- "description" : "账单金额变更消息事件码\r\tAR_MTHLY_BILL_CREATE:应收账单创建,\r\tAR_MTHLY_BILL_CHANGE:应收金额更新",
- "example" : "AR_MTHLY_BILL_CREATE"
- },
- "event_type" : {
- "type" : "string",
- "description" : "账单金额变更消息事件类型\r\tCREATE:创建事件,UPDATE:更新事件",
- "example" : "CREATE"
- },
- "monthly_bill" : {
- "$ref" : "#/components/schemas/ArMonthlyBillDTO"
- },
- "msg_id" : {
- "type" : "string",
- "description" : "事件全局id,可以使用uuid",
- "example" : "12345678996434444"
- },
- "out_biz_type" : {
- "type" : "string",
- "description" : "消息来源 01:主站,02:芝麻,03:金融云,04:微贷",
- "example" : "03"
- }
- }
- },
- "AlipayBossFncInvoicereceiptCreateResponseModel" : {
- "type" : "object"
- },
- "AlipayBossFncUserinvoiceinfoCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayBossFncUserinvoiceinfoCreateModel" : {
- "type" : "object",
- "properties" : {
- "accept_electronic" : {
- "type" : "boolean",
- "description" : "是否接受电子票 true:是,false:否",
- "example" : "false"
- },
- "address" : {
- "type" : "string",
- "description" : "公司注册地址,公司营业执照上登记的住址,一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "武汉市武昌区中北路7号"
- },
- "addressing" : {
- "type" : "boolean",
- "description" : "开票资料pid寻址方式 true:pid寻址mid,优先以mid维度保存开票资料,若无mid则以pid维度保存开票资料 false:不寻址mid,以pid维度保存开票资料;非主站商户体系都是以pid(ipRoleId)维度保存开票资料,该值直接填为false",
- "example" : "false"
- },
- "auto" : {
- "type" : "boolean",
- "description" : "是否自动申请开票 true:是,false:否",
- "example" : "false"
- },
- "bank_account" : {
- "type" : "string",
- "description" : "银行账户,公司银行账号\r\t一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "3602201309100137669"
- },
- "bank_name" : {
- "type" : "string",
- "description" : "开户行,办理银行开户手续的营业网点\r\t一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "中国工商银行广州市第二支行"
- },
- "business_licence_url" : {
- "type" : "string",
- "description" : "营业执照地址,营业执照上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "hold" : {
- "type" : "boolean",
- "description" : "是否暂停开票,商户添加的开票资料就是不暂停开票,如果后续要暂停开票,只能去结算中台处理。",
- "example" : "false"
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "商户的pid(ipRoleId)",
- "example" : "2088001007243670"
- },
- "open_account_permit_url" : {
- "type" : "string",
- "description" : "银行开户许可证附件,银行开户许可证上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "operator" : {
- "type" : "string",
- "description" : "当前操作人",
- "example" : "李某某"
- },
- "operator_type" : {
- "type" : "string",
- "description" : "当前操作人类型,01:商户 02:管理员(小二)",
- "example" : "02"
- },
- "other_qualification_url" : {
- "type" : "string",
- "description" : "其它资质证明地址,其他资质证明附件上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "ou" : {
- "type" : "boolean",
- "description" : "外部只允许添加商户开票资料,该值填写为false",
- "example" : "false"
- },
- "tax_no" : {
- "type" : "string",
- "description" : "纳税人识别号,税务登记证上的号码。一般纳税人必须填写,小规模纳税人如果是商户也必须填写,个人无需填写",
- "example" : "310113000782689"
- },
- "tax_payer_quali_valid" : {
- "type" : "string",
- "description" : "纳税人资格开始时间 (格式:时间戳)\r\t一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "1533039333744"
- },
- "tax_payer_qualification" : {
- "type" : "string",
- "description" : "纳税人资格种类,01:一般纳税人;02:小规模纳税人;03:国际商户",
- "example" : "01"
- },
- "tax_qualification_url" : {
- "type" : "string",
- "description" : "一般纳税人资格证书地址,一般纳税人资格证书上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "tax_reg_cert_url" : {
- "type" : "string",
- "description" : "税务登记证地址,税务登记证上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "telephone" : {
- "type" : "string",
- "description" : "公司注册电话(手机号和座机均可)\r\t一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "021-56518888"
- },
- "title" : {
- "type" : "string",
- "description" : "发票抬头,票面信息上的抬头信息",
- "example" : "上海大众汽车有限公司"
- },
- "user_mail_info_order_list" : {
- "type" : "array",
- "description" : "收件人列表,若不修改此项可以不填\r\t选择非电子票时,邮寄信息必填,且保证邮寄信息的ipRoleId和开票资料的ipRoleId相等",
- "items" : {
- "$ref" : "#/components/schemas/UserMailInfoOrder"
- }
- }
- }
- },
- "AlipayBossFncUserinvoiceinfoCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "result_set" : {
- "type" : "string",
- "description" : "开票资料id,唯一性ID",
- "example" : "2018060810122000544800670000008977"
- }
- }
- },
- "AlipayBossFncUserinvoiceinfoModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayBossFncUserinvoiceinfoModifyModel" : {
- "type" : "object",
- "properties" : {
- "accept_electronic" : {
- "type" : "boolean",
- "description" : "是否接受电子票 true:是,false:否",
- "example" : "true"
- },
- "address" : {
- "type" : "string",
- "description" : "公司注册地址,公司营业执照上登记的住址,一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "武汉市武昌区中北路7号"
- },
- "auto" : {
- "type" : "boolean",
- "description" : "是否自动申请开票 true:是;false:否",
- "example" : "true"
- },
- "bank_account" : {
- "type" : "string",
- "description" : "银行账户,公司银行账号\r\t一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "3602201309100137789"
- },
- "bank_name" : {
- "type" : "string",
- "description" : "开户行,办理银行开户手续的营业网点\r\t一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "中国工商银行广州市第二支行"
- },
- "business_licence_url" : {
- "type" : "string",
- "description" : "营业执照地址,营业执照上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088421504368153_15138457060231013.jpg"
- },
- "hold" : {
- "type" : "boolean",
- "description" : "是否暂停开票,商户修改无效,如果要暂停开票,只能去结算中台处理。",
- "example" : "true"
- },
- "id" : {
- "type" : "string",
- "description" : "开票资料ID",
- "example" : "10000004"
- },
- "open_account_permit_url" : {
- "type" : "string",
- "description" : "银行开户许可证附件,银行开户许可证上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088421504368153_151384570602313.jpg"
- },
- "operator" : {
- "type" : "string",
- "description" : "当前操作人",
- "example" : "2088123456789776"
- },
- "operator_type" : {
- "type" : "string",
- "description" : "当前操作人类型,01:商户;02:管理员(小二)",
- "example" : "01"
- },
- "other_qualification_url" : {
- "type" : "string",
- "description" : "其它资质证明地址,其他资质证明附件上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088421504368153_151384570602333.jpg"
- },
- "tax_no" : {
- "type" : "string",
- "description" : "纳税人识别号,税务登记证上的号码。一般纳税人必须填写,小规模纳税人如果是商户也必须填写,个人无需填写",
- "example" : "310113000782689"
- },
- "tax_payer_quali_valid" : {
- "type" : "string",
- "description" : "纳税人资格开始时间 (格式:时间戳)\r\t一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "1533039333744"
- },
- "tax_payer_qualification" : {
- "type" : "string",
- "description" : "纳税人资格种类,01:一般纳税人;02:小规模纳税人;03:国际商户",
- "example" : "01"
- },
- "tax_qualification_url" : {
- "type" : "string",
- "description" : "一般纳税人资格证书地址,一般纳税人资格证书上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "tax_reg_cert_url" : {
- "type" : "string",
- "description" : "税务登记证地址,税务登记证上传oss上的地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088421504368153_15138457060231013.jpg"
- },
- "telephone" : {
- "type" : "string",
- "description" : "公司注册电话\r\t一般纳税人必须填写,小规模纳税人无需填写",
- "example" : "021-56518888"
- },
- "title" : {
- "type" : "string",
- "description" : "发票抬头,票面信息上的抬头信息",
- "example" : "上海大众汽车有限公司"
- },
- "user_mail_info_order_list" : {
- "type" : "array",
- "description" : "收件人列表,若不修改此项可以不填\r\t选择非电子票时,邮寄信息必填,且保证邮寄信息的ipRoleId和开票资料的ipRoleId相等",
- "items" : {
- "$ref" : "#/components/schemas/UserMailInfoOrder"
- }
- }
- }
- },
- "AlipayBossFncUserinvoiceinfoModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayBossFncUserinvoiceinfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayBossFncUserinvoiceinfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "result_set" : {
- "$ref" : "#/components/schemas/UserInvoiceInfoOpenApiResponse"
- }
- }
- },
- "AlipayBossProdMyTestQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayBossProdMyTestQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "longitude" : {
- "type" : "string",
- "description" : "经度",
- "example" : "dshuids"
- }
- }
- },
- "AlipayCommerceCityfacilitatorStationQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_BIZ_PARAMS", "NO_RIGHT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceCityfacilitatorStationQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "support_starts" : {
- "type" : "array",
- "description" : "支持设为起点的站点列表",
- "items" : {
- "$ref" : "#/components/schemas/StationDetailInfo"
- }
- }
- }
- },
- "AlipayCommerceCityfacilitatorVoucherBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_BIZ_PARAMS", "NO_RIGHT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceCityfacilitatorVoucherBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "city_code" : {
- "type" : "string",
- "description" : "城市编码请参考查询 <a href=\"http://www.mca.gov.cn/article/sj/xzqh/\">中华人民共和国行政区划代码</a>。\t已支持城市:广州 440100,深圳 440300,杭州330100。",
- "example" : "440300"
- },
- "trade_nos" : {
- "type" : "array",
- "description" : "支付宝交易号列表",
- "items" : {
- "type" : "string"
- },
- "example" : "0123456789"
- }
- }
- },
- "AlipayCommerceCityfacilitatorVoucherBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "tickets" : {
- "type" : "array",
- "description" : "查询到的订单信息列表",
- "items" : {
- "$ref" : "#/components/schemas/TicketDetailInfo"
- }
- }
- }
- },
- "AlipayCommerceCityfacilitatorVoucherGenerateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SUCCESS", "SYSTEM_ERROR", "ILLEGAL_BIZ_PARAMS", "NO_RIGHT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceCityfacilitatorVoucherGenerateModel" : {
- "type" : "object",
- "properties" : {
- "city_code" : {
- "type" : "string",
- "description" : "城市编码请参考查询 <a href=\"http://www.mca.gov.cn/article/sj/xzqh/\">中华人民共和国行政区划代码</a>。\t已支持城市:广州 440100,深圳 440300,杭州330100。",
- "example" : "440300"
- },
- "site_begin" : {
- "type" : "string",
- "description" : "起点站站点编码",
- "example" : "02490301"
- },
- "site_end" : {
- "type" : "string",
- "description" : "终点站站点编码",
- "example" : "02490305"
- },
- "ticket_num" : {
- "type" : "string",
- "description" : "地铁票购票数量",
- "example" : "5"
- },
- "ticket_price" : {
- "type" : "string",
- "description" : "单张票价,元为单价",
- "example" : "5.00"
- },
- "ticket_type" : {
- "type" : "string",
- "description" : "地铁票种类,枚举支持:\t*oneway。",
- "example" : "oneway"
- },
- "total_fee" : {
- "type" : "string",
- "description" : "订单总金额,元为单位",
- "example" : "10.00"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号(交易支付时,必须通过指定sellerId:2088121612215201,将钱支付到指定的中间户中)",
- "example" : "2016031521001004390263523925"
- }
- }
- },
- "AlipayCommerceCityfacilitatorVoucherGenerateResponseModel" : {
- "type" : "object",
- "properties" : {
- "expired_date" : {
- "type" : "string",
- "description" : "核销码过期时间",
- "example" : "2016-03-18 00:00:00"
- },
- "qr_code_no" : {
- "type" : "string",
- "description" : "地铁购票二维码编码,可自定义",
- "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"
- },
- "ticket_no" : {
- "type" : "string",
- "description" : "地铁购票的核销码",
- "example" : "0243567832"
- }
- }
- },
- "AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_BIZ_PARAMS", "NO_RIGHT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceCityfacilitatorVoucherRefundModel" : {
- "type" : "object",
- "properties" : {
- "city_code" : {
- "type" : "string",
- "description" : "城市编码请参考查询 <a href=\"http://www.mca.gov.cn/article/sj/xzqh/\">中华人民共和国行政区划代码</a>。\t已支持城市:广州 440100,深圳 440300,杭州330100。",
- "example" : "440300"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2016031521001004390263523925"
- }
- }
- },
- "AlipayCommerceCityfacilitatorVoucherRefundResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceEcBalanceDownloadurlQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "PARAMETER_ILLEGAL", "MONTH_BALANCE_RECORD_NOT_EXIST", "BALANCE_HAS_NO_CONSUME", "DAILY_BALANCE_RECORD_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcBalanceDownloadurlQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "bill_download_url" : {
- "type" : "string",
- "description" : "对账单下载地址链接",
- "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"
- }
- }
- },
- "AlipayCommerceEcBalancePeriodModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "PARAMETER_ILLEGAL", "BALANCE_PERIOD_INVALID", "LOCK_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcBalancePeriodModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id - 适用于在企业码小程序创建的共同账户,和agreement_no搭配使用",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "bill_day" : {
- "type" : "integer",
- "description" : "月账单账期",
- "example" : "31"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID - 适用于在企业码PC端创建的企业账号",
- "example" : "2088000194958956"
- }
- }
- },
- "AlipayCommerceEcBalancePeriodModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "修改结果",
- "example" : "true"
- }
- }
- },
- "AlipayCommerceEcConsumeDetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "CONSUME_NOT_EXIST", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcConsumeDetailQueryModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088123456789000"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20205820659822371223"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088123456789000"
- },
- "pay_no" : {
- "type" : "string",
- "description" : "支付宝账单号",
- "example" : "2020123100152601930000003650"
- },
- "query_options" : {
- "type" : "array",
- "description" : "查询选项",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"Refund\"]"
- }
- }
- },
- "AlipayCommerceEcConsumeDetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "consume_info" : {
- "$ref" : "#/components/schemas/EcConsumeInfo"
- },
- "related_order_info" : {
- "$ref" : "#/components/schemas/EcOrderInfo"
- },
- "related_refund_list" : {
- "type" : "array",
- "description" : "关联账单列表",
- "items" : {
- "$ref" : "#/components/schemas/EcConsumeInfo"
- }
- },
- "related_voucher_list" : {
- "type" : "array",
- "description" : "关联凭证详情列表",
- "items" : {
- "$ref" : "#/components/schemas/EcVoucherInfo"
- }
- }
- }
- },
- "AlipayCommerceEcDepartmentCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAMETER_ERROR", "NO_AGREEMENT", "ENTERPRISE_NOT_EXIST", "DEPARTMENT_CODE_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcDepartmentCreateModel" : {
- "type" : "object",
- "properties" : {
- "department_code" : {
- "type" : "string",
- "description" : "部门编码,不同部门的编码不可重复,如果为空则生成默认部门编码",
- "example" : "D00001"
- },
- "department_name" : {
- "type" : "string",
- "description" : "部门名称",
- "example" : "财务部"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088501412314698"
- },
- "parent_department_id" : {
- "type" : "string",
- "description" : "上级部门id,如果为空则默认设置上级部门为根部门",
- "example" : "1001169000136660"
- }
- }
- },
- "AlipayCommerceEcDepartmentCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "department_id" : {
- "type" : "string",
- "description" : "新创建的部门id",
- "example" : "1001169000136660"
- }
- }
- },
- "AlipayCommerceEcDepartmentDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAMETER_ERROR", "NO_AGREEMENT", "ENTERPRISE_NOT_EXIST", "ROOT_DEPARTMENT_CANNOT_DELETE", "DEPARTMENT_EMPLOYEE_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcDepartmentDeleteModel" : {
- "type" : "object",
- "properties" : {
- "department_id" : {
- "type" : "string",
- "description" : "部门id",
- "example" : "1001169000136660"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088501412314698"
- }
- }
- },
- "AlipayCommerceEcDepartmentDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceEcDepartmentInfoModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcDepartmentInfoModifyModel" : {
- "type" : "object",
- "properties" : {
- "department_code" : {
- "type" : "string",
- "description" : "部门编码,不同部门的编码不能相同,为空则代表不修改",
- "example" : "D00001"
- },
- "department_id" : {
- "type" : "string",
- "description" : "待修改部门的部门id",
- "example" : "1001169000136660"
- },
- "department_name" : {
- "type" : "string",
- "description" : "部门名称,为空则代表不修改",
- "example" : "财务部"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088501412314698"
- },
- "parent_department_id" : {
- "type" : "string",
- "description" : "上级部门id,为空则代表不修改",
- "example" : "1001169000136660"
- }
- }
- },
- "AlipayCommerceEcDepartmentInfoModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceEcDepartmentInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_AGREEMENT", "DEPT_NOT_EXIST", "ENTERPRISE_NOT_EXIST", "PARAM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcDepartmentInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "department_info" : {
- "$ref" : "#/components/schemas/DepartmentInfoDTO"
- }
- }
- },
- "AlipayCommerceEcDepartmentSublistQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_AGREEMENT", "DEPT_NOT_EXIST", "ENTERPRISE_STATUS_ERROR", "ENTERPRISE_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcDepartmentSublistQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "department_id_list" : {
- "type" : "array",
- "description" : "部门id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"1001094000052875\",\"1001094000052876\"]"
- }
- }
- },
- "AlipayCommerceEcEmployeeAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEmployeeAddModel" : {
- "type" : "object",
- "properties" : {
- "department_ids" : {
- "type" : "array",
- "description" : "员工所属部门",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"1001069000162569\"]"
- },
- "employee_cert_no" : {
- "type" : "string",
- "description" : "证件号码,根据employee_cert_type指定的证件类型,传入对应的证件号码,用于企业人脸库员工刷脸开通时的核验。",
- "example" : "260104197909275964"
- },
- "employee_cert_type" : {
- "type" : "string",
- "description" : "证件类型,用于企业人脸库员工刷脸开通时的核验,\t枚举支持:IDENTITY_CARD身份证,PASS_PORT护照,STU_NUM学生学号,COMPANY_NUM工号,TAIWAN_CARD台胞证,HK_MC_CARD港澳证件",
- "example" : "IDENTITY_CARD"
- },
- "employee_email" : {
- "type" : "string",
- "description" : "员工邮箱",
- "example" : "19929@email.com"
- },
- "employee_mobile" : {
- "type" : "string",
- "description" : "员工手机号\t1.和identity二选一",
- "example" : "15757172245"
- },
- "employee_name" : {
- "type" : "string",
- "description" : "员工姓名",
- "example" : "张三"
- },
- "employee_no" : {
- "type" : "string",
- "description" : "员工编号",
- "example" : "D28339"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "20887448493929"
- },
- "identity" : {
- "type" : "string",
- "description" : "身份\t1.和employee_mobile二选一\t2.对应身份类型进行传参,企业支付宝登录账号(支持手机号或者邮箱)或企业支付宝会员id(对应2088开头的支付宝会员id)",
- "example" : "20889939994000"
- },
- "identity_open_id" : {
- "type" : "string",
- "description" : "当identity_type为ALIPAY_USER_ID时,此字段传入open_id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "身份类型\tALIPAY_LOGON_ID(企业支付宝登录账号)\tALIPAY_USER_ID(企业支付宝会员id)",
- "example" : "ALIPAY_USER_ID"
- },
- "iot_check_type" : {
- "type" : "string",
- "description" : "员工刷脸加入企业人脸库时的核验方式,如果设置为business_facepay_checkall,则employee_name、employee_cert_type、employee_cert_no必传,如果不传则默认不核验。",
- "example" : "business_facepay_checkall"
- },
- "iot_vid" : {
- "type" : "string",
- "description" : "员工在企业人脸库的人脸唯一标识(该字段已作废,不支持自定义传入)",
- "example" : "2109b5e671aa3ff2eb4851816c65828f"
- },
- "role_list" : {
- "type" : "array",
- "description" : "角色列表,目前只支持填一种角色,默认为USER\tUSER:普通员工\tADMIN:管理员",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"USER\"]"
- }
- }
- },
- "AlipayCommerceEcEmployeeAddResponseModel" : {
- "type" : "object",
- "properties" : {
- "employee_id" : {
- "type" : "string",
- "description" : "员工id",
- "example" : "2288033000090876"
- },
- "sign_url" : {
- "type" : "string",
- "description" : "资金代付签约链接 1.员工未绑支付宝,拉起员工绑定页面 2.员工已绑支付宝,拉起资金签约页面",
- "example" : "https://ur.alipay.com/3I2tPbLkAiktIoqe2dseZUzT"
- }
- }
- },
- "AlipayCommerceEcEmployeeDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "NO_AGREEMENT", "ENTERPRISE_NOT_EXIST", "EMPLOYEE_NOT_EXIST", "MSG_SEND_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEmployeeDeleteModel" : {
- "type" : "object",
- "properties" : {
- "employee_id" : {
- "type" : "string",
- "description" : "员工id",
- "example" : "2288839494040404"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088993848994994"
- }
- }
- },
- "AlipayCommerceEcEmployeeDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceEcEmployeeIdlistQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_AGREEMENT", "DEPT_NOT_EXIST", "ENTERPRISE_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEmployeeIdlistQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "current_page" : {
- "type" : "integer",
- "description" : "当前页数",
- "example" : "1"
- },
- "employee_id_list" : {
- "type" : "array",
- "description" : "员工id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"228420000000057942506\",\"228420000000057942507\"]"
- },
- "total_num" : {
- "type" : "integer",
- "description" : "员工总数",
- "example" : "566"
- },
- "total_pages" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "1"
- }
- }
- },
- "AlipayCommerceEcEmployeeInfoModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "EMPLOYEE_NOT_EXIST", "DEPT_NOT_EXIST", "OPEN_EMPLOYEE_ROLE_MODIFY_FAIL", "NO_AGREEMENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEmployeeInfoModifyModel" : {
- "type" : "object",
- "properties" : {
- "department_ids" : {
- "type" : "array",
- "description" : "员工所属部门",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"1023993000\"]"
- },
- "employee_email" : {
- "type" : "string",
- "description" : "员工邮箱",
- "example" : "aajka@email.com"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "员工id",
- "example" : "22887387848484"
- },
- "employee_name" : {
- "type" : "string",
- "description" : "员工姓名",
- "example" : "张三"
- },
- "employee_no" : {
- "type" : "string",
- "description" : "员工工号",
- "example" : "D83030"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088474883838"
- },
- "role_list" : {
- "type" : "array",
- "description" : "角色列表,目前只支持填一种角色\tUSER 普通员工\tADMIN 管理员",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"USER\"]"
- }
- }
- },
- "AlipayCommerceEcEmployeeInfoModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "employee_id" : {
- "type" : "string",
- "description" : "员工id",
- "example" : "2288738383939"
- }
- }
- },
- "AlipayCommerceEcEmployeeInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_AGREEMENT", "EMPLOYEE_NOT_EXIST", "ENTERPRISE_NOT_EXIST", "PARAM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEmployeeInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "employee_info" : {
- "$ref" : "#/components/schemas/EmployeeInfoDTO"
- }
- }
- },
- "AlipayCommerceEcEmployeeInviteQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "ENTERPRISE_NOT_EXIST", "NO_AGREEMENT", "SYSTEM_ERROR", "GET_UNSIGN_URL_ERROR", "ENTERPRISE_NOT_SIGNED", "EMPLOYEE_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEmployeeInviteQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "208847489339"
- },
- "mini_app_sign_url" : {
- "type" : "string",
- "description" : "支付宝服务商小程序跳入企业码小程序签约链接",
- "example" : "pages/open/authorize/individual-auth/index?token=xxxxea2ac30656af68522fa596335a3642364d9994270ba&scene=PCC_STANDARD"
- },
- "sign_url" : {
- "type" : "string",
- "description" : "邀请链接",
- "example" : "http://sjddkk.com"
- }
- }
- },
- "AlipayCommerceEcEmployeeTitleCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "OVER_MAXIMUM_CAPACITY", "ECEIF_ENTERPRISE_NOT_EXIST", "ENTERPRISE_ID_IS_BLANK", "TITLE_ENTERPRISE_NOT_MATCH", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEmployeeTitleCreateModel" : {
- "type" : "object",
- "properties" : {
- "employee_title_list" : {
- "type" : "array",
- "description" : "员工与抬头关系列表",
- "items" : {
- "$ref" : "#/components/schemas/EmployeeTitleDTO"
- }
- }
- }
- },
- "AlipayCommerceEcEmployeeTitleCreateResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceEcEmployeeTitleDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "OVER_MAXIMUM_CAPACITY", "ENTERPRISE_NOT_EXIST", "TITLE_ENTERPRISE_NOT_MATCH", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEmployeeTitleDeleteModel" : {
- "type" : "object",
- "properties" : {
- "employee_title_list" : {
- "type" : "array",
- "description" : "员工抬头列表",
- "items" : {
- "$ref" : "#/components/schemas/EmployeeTitleDTO"
- }
- }
- }
- },
- "AlipayCommerceEcEmployeeTitleDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceEcEmployeeTitleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "TITLE_ENTERPRISE_NOT_MATCH", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEmployeeTitleModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账号id,与enterprise_id两者必填其一",
- "example" : "2088000397722031"
- },
- "create_by" : {
- "type" : "string",
- "description" : "创建人",
- "example" : "昭运"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "企业域定义的员工id,与user_id两者必填其一",
- "example" : "228800000000002000002"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业域定义下的企业id,与accountId两者必填其一",
- "example" : "2088000230921202"
- },
- "modify_by" : {
- "type" : "string",
- "description" : "修改人",
- "example" : "昭运"
- },
- "new_title_id" : {
- "type" : "string",
- "description" : "修改后的抬头id",
- "example" : "2022060900801711450000073478"
- },
- "old_title_id" : {
- "type" : "string",
- "description" : "修改前的抬头id",
- "example" : "2022060900801711450000073478"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝open_id,与employee_id两者必填其一",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "title_tag" : {
- "type" : "string",
- "description" : "员工抬头关系标",
- "example" : "au"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝id2088,与employee_id两者必填其一",
- "example" : "2088502255168118"
- }
- }
- },
- "AlipayCommerceEcEmployeeTitleModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceEcEnterpriseAddressAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "SENSITIVE_WORDS_EXIST", "NO_AGREEMENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEnterpriseAddressAddModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id和enterprise_id二选一",
- "example" : "208893930030"
- },
- "address" : {
- "type" : "string",
- "description" : "详细地址最长50个字符",
- "example" : "西溪路569号蚂蚁A空间6楼601"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "协议号,如果填共同账户id,则该字段必填",
- "example" : "182932939903"
- },
- "city_code" : {
- "type" : "string",
- "description" : "市(国家统一行政规划编码)",
- "example" : "330100"
- },
- "city_name" : {
- "type" : "string",
- "description" : "市",
- "example" : "杭州市"
- },
- "community" : {
- "type" : "string",
- "description" : "小区/楼宇",
- "example" : "蚂蚁A空间"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id和account_id二选一",
- "example" : "208898734567"
- },
- "latitude" : {
- "type" : "string",
- "description" : "维度",
- "example" : "30.261121"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度",
- "example" : "120.104735"
- },
- "mark" : {
- "type" : "string",
- "description" : "备注最长50个字符",
- "example" : "备注"
- },
- "poi_id" : {
- "type" : "string",
- "description" : "高德地图poi",
- "example" : "B0GKN4522Z"
- }
- }
- },
- "AlipayCommerceEcEnterpriseAddressAddResponseModel" : {
- "type" : "object",
- "properties" : {
- "address_id" : {
- "type" : "string",
- "description" : "地址id",
- "example" : "19200289393"
- }
- }
- },
- "AlipayCommerceEcEnterpriseAddressModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "SENSITIVE_WORDS_EXIST", "NO_AGREEMENT", "ADDRESS_NOT_EXIST", "ADDRESS_HAS_USED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEnterpriseAddressModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id和enterprise_id二选一",
- "example" : "20884949030030"
- },
- "address" : {
- "type" : "string",
- "description" : "详细地址最长50个字符",
- "example" : "西溪路569号蚂蚁A空间6楼601"
- },
- "address_id" : {
- "type" : "string",
- "description" : "地址id",
- "example" : "19393030303"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "协议号,如果填共同账户id,则该字段必填",
- "example" : "182930033030"
- },
- "city_code" : {
- "type" : "string",
- "description" : "市(国家统一行政规划编码)",
- "example" : "330100"
- },
- "city_name" : {
- "type" : "string",
- "description" : "城市名称",
- "example" : "杭州市"
- },
- "community" : {
- "type" : "string",
- "description" : "小区/楼宇",
- "example" : "蚂蚁A空间"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id和account_id二选一",
- "example" : "208839393939"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度",
- "example" : "30.261121"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度",
- "example" : "120.104735"
- },
- "mark" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "poi_id" : {
- "type" : "string",
- "description" : "高德地图poi",
- "example" : "B0GKN4522Z"
- },
- "status" : {
- "type" : "string",
- "description" : "状态(生效/失效)\tNORMAL\tINVALID",
- "example" : "NORMAL"
- }
- }
- },
- "AlipayCommerceEcEnterpriseAddressModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "address_id" : {
- "type" : "string",
- "description" : "地址id",
- "example" : "19300392390"
- }
- }
- },
- "AlipayCommerceEcEnterpriseAddressQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "NO_AGREEMENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEnterpriseAddressQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "current_page" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "1"
- },
- "enterprise_address_info_list" : {
- "type" : "array",
- "description" : "地址列表",
- "items" : {
- "$ref" : "#/components/schemas/AddressInfoDTO"
- }
- },
- "total_num" : {
- "type" : "integer",
- "description" : "总数量",
- "example" : "10"
- },
- "total_pages" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "2"
- }
- }
- },
- "AlipayCommerceEcEnterpriseAgreementQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ENTERPRISE_NOT_EXIST", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEnterpriseAgreementQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "enterprise_agreement_dto" : {
- "$ref" : "#/components/schemas/EnterpriseAgreementDTO"
- }
- }
- },
- "AlipayCommerceEcEnterpriseCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEnterpriseCreateModel" : {
- "type" : "object",
- "properties" : {
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码,联系支付宝分配",
- "example" : "ISV_QYM"
- },
- "create_iot_group" : {
- "type" : "boolean",
- "description" : "是否创建企业人脸库,适用于对接团餐刷脸付、门禁刷脸通行等场景;不传默认创建,创建失败不会阻塞企业的创建;如果传true且创建失败,则会阻塞企业的创建。",
- "example" : "false"
- },
- "enterprise_alias" : {
- "type" : "string",
- "description" : "企业简称",
- "example" : "企业码测试"
- },
- "enterprise_name" : {
- "type" : "string",
- "description" : "企业名称",
- "example" : "企业码测试有限公司"
- },
- "identity" : {
- "type" : "string",
- "description" : "身份,对应身份类型进行传参,例如:\t企业支付宝登录账号(支持手机号或者邮箱)或企业支付宝会员id(对应2088开头的支付宝会员id)",
- "example" : "2088501412314698"
- },
- "identity_open_id" : {
- "type" : "string",
- "description" : "当identity_type为ALIPAY_USER_ID时,此字段传入open_id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "身份类型,目前支持传参如下:\tALIPAY_LOGON_ID(企业支付宝登录账号)\tALIPAY_USER_ID(企业支付宝会员id)",
- "example" : "ALIPAY_USER_ID"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号\t1.作为创建该企业的唯一幂等标识,不传默认使用identity幂等\t2.传入out_biz_no创建返回结果成功后,如需再新建其他企业,则out_biz_no传不同的参数,否则会被幂等\t3.如果调用失败或者超时,可以使用相同的outBizNo进行重试处理\t4.并发使用相同outBizNo调用,会返回企业创建中,不要重复操作的错误信息",
- "example" : "28839390030030"
- }
- }
- },
- "AlipayCommerceEcEnterpriseCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088501412314698"
- },
- "iot_group_id" : {
- "type" : "string",
- "description" : "封闭场景(如班车)的人脸库id,如果入参create_iot_group传false,则不会创建企业人脸库,该字段为空。",
- "example" : "BUSINESS_898263530536960"
- },
- "iot_logic_group_id" : {
- "type" : "string",
- "description" : "开放场景(如团餐)的人脸库id,如果入参create_iot_group传false,则不会创建企业人脸库,该字段为空。",
- "example" : "BUSINESS_898263530536960"
- },
- "sign_url" : {
- "type" : "string",
- "description" : "资金代付签约链接",
- "example" : "http://business-site-default.dev.alipay.net/page/EnterprisePay/Account?signToken=12324"
- }
- }
- },
- "AlipayCommerceEcEnterpriseDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "ENTERPRISE_HAS_DELETE", "NO_AGREEMENT", "ACCOUNT_NORMAL_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEnterpriseDeleteModel" : {
- "type" : "object",
- "properties" : {
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "208839030030"
- }
- }
- },
- "AlipayCommerceEcEnterpriseDeleteResponseModel" : {
- "type" : "object",
- "properties" : {
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088738399393"
- }
- }
- },
- "AlipayCommerceEcEnterpriseInfoModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAMETER_ERROR", "NO_AGREEMENT", "ENTERPRISE_NOT_EXIST", "ONLY_NOAUTH_CAN_MODIFY_NAME" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEnterpriseInfoModifyModel" : {
- "type" : "object",
- "properties" : {
- "enterprise_alias" : {
- "type" : "string",
- "description" : "企业简称",
- "example" : "企业码测试"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088501412314698"
- },
- "enterprise_name" : {
- "type" : "string",
- "description" : "企业名称",
- "example" : "企业码测试有限公司"
- }
- }
- },
- "AlipayCommerceEcEnterpriseInfoModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceEcEnterpriseInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "ENTERPRISE_NOT_EXIST", "NO_AGREEMENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEnterpriseInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "enterprise_info" : {
- "$ref" : "#/components/schemas/EnterpriseInfoDTO"
- }
- }
- },
- "AlipayCommerceEcEnterpriseUnsignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR", "NO_AGREEMENT", "GET_UNSIGN_URL_ERROR", "ENTERPRISE_NOT_EXIST", "ENTERPRISE_HAS_UNSIGN" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcEnterpriseUnsignResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "入参传的共同账户id,出参也会返回共同账户id",
- "example" : "2088390300034"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "208893993930"
- },
- "unsign_url" : {
- "type" : "string",
- "description" : "解约链接",
- "example" : "http://business-site-default.dev.alipay.net/page/EnterprisePay/Account?signToken=12324"
- }
- }
- },
- "AlipayCommerceEcJointaccountbillDetailBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "INVALID_PARAMETER", "EMPLOYEE_INFO_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcJointaccountbillDetailBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "bill_list" : {
- "type" : "array",
- "description" : "返回账单列表",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountBillDetail"
- }
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "业务场景",
- "example" : "ISV_DEFAULT"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID,和接口入参一致",
- "example" : "2088123456789000"
- },
- "has_next_page" : {
- "type" : "boolean",
- "description" : "是否有下一页",
- "example" : "true"
- },
- "page_num" : {
- "type" : "string",
- "description" : "当期页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "当期页记录数",
- "example" : "20"
- }
- }
- },
- "AlipayCommerceEcUserEnterpriseQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ERROR", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEcUserEnterpriseQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "enterprise_info_list" : {
- "type" : "array",
- "description" : "用户所属企业列表",
- "items" : {
- "$ref" : "#/components/schemas/EnterpriseInfoDTO"
- }
- }
- }
- },
- "AlipayCommerceEducateCampusInstitutionsAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEducateCampusInstitutionsAddModel" : {
- "type" : "object",
- "properties" : {
- "card_pict_url" : {
- "type" : "string",
- "description" : "事业单位法人证书或办学许可证的图片。入驻学校时,如果流入人工审核,会根据此图片进行辅助验证。",
- "example" : "A*HZ9NTamTmx4AAAAAAAAAAAAAAQAAAQ"
- },
- "city_code" : {
- "type" : "string",
- "description" : "市",
- "example" : "370800"
- },
- "inst_name" : {
- "type" : "string",
- "description" : "入驻的学校名称,必须是完整的学校全称",
- "example" : "复旦大学"
- },
- "inst_std_code" : {
- "type" : "string",
- "description" : "学校外标,使用统一社会信用编码",
- "example" : "3451000031"
- },
- "learning_stage" : {
- "type" : "string",
- "description" : "办学阶段。\t枚举值如下:\tKINDERGARTEN(幼儿园)\tPRIMARY_SCHOOL(小学) \tMIDDLE_SCHOOL(初中) \tHIGH_SCHOOL(高中)\tSECONDARY_VOCATIONAL_SCHOOL(中职中专) \t注意:如果学校兼有多种属性,可以连写用英文逗号拆分,如:MIDDLE_SCHOOL,HIGH_SCHOOL 代表兼有初中部和高中部;",
- "example" : "MIDDLE_SCHOOL,HIGH_SCHOOL"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份",
- "example" : "370000"
- },
- "school_property" : {
- "type" : "string",
- "description" : "学校性质.枚举值如下:\t 1:公立 \t2:民办",
- "example" : "1"
- }
- }
- },
- "AlipayCommerceEducateCampusInstitutionsAddResponseModel" : {
- "type" : "object",
- "properties" : {
- "inst_id" : {
- "type" : "string",
- "description" : "学校内标。如果入驻成功,返回学校内标;入驻失败则不返回学校内标。",
- "example" : "2088000305455592"
- },
- "inst_std_code" : {
- "type" : "string",
- "description" : "学校外标。如果入驻成功,返回学校外标;入驻失败则不返回学校外标。",
- "example" : "3451000031"
- },
- "reason" : {
- "type" : "string",
- "description" : "入驻失败原因",
- "example" : "学校已存在或检测到类似学校,请联系支付宝业务人员处理"
- }
- }
- },
- "AlipayCommerceEducateCampusInstitutionsQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "QUERY_TOO_FREQUENCY", "ILLEGAL_PARAM", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEducateCampusInstitutionsQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "school_info" : {
- "$ref" : "#/components/schemas/SchoolSimpleInfo"
- },
- "school_info_list" : {
- "type" : "array",
- "description" : "学校基础信息列表",
- "items" : {
- "$ref" : "#/components/schemas/SchoolBaseInfo"
- }
- }
- }
- },
- "AlipayCommerceEducateSchoolcardOrderSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_PARAM", "SCHOOL_NOT_EXIST", "CHECK_SCHOOL_SIGN_FAIL", "TRADE_SYNC_TEMPLATE_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceEducateSchoolcardOrderSyncModel" : {
- "type" : "object",
- "properties" : {
- "actual_amount" : {
- "type" : "string",
- "description" : "实际金额(总支付金额)",
- "example" : "0.60"
- },
- "applet_app_id" : {
- "type" : "string",
- "description" : "小程序appid",
- "example" : "2022xxxx"
- },
- "card_balance" : {
- "type" : "string",
- "description" : "校园卡余额",
- "example" : "20.32"
- },
- "card_no" : {
- "type" : "string",
- "description" : "卡号",
- "example" : "2022xxxx"
- },
- "card_type" : {
- "type" : "string",
- "description" : "卡类型",
- "example" : "学生:1;教职工:2"
- },
- "create_time" : {
- "type" : "string",
- "description" : "该笔订单真实的创建时间,需精确到毫秒。时间格式为 yyyy-MM-dd HH:mm:ss.SSS。同一笔订单保持不变",
- "example" : "2022-09-16 10:12:12.910"
- },
- "discount_amount" : {
- "type" : "string",
- "description" : "优惠金额",
- "example" : "0.70"
- },
- "goods_orders" : {
- "$ref" : "#/components/schemas/GoodsOrder"
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "商家名称,不传默认展示学校名称",
- "example" : "温州医科大食堂"
- },
- "modified_time" : {
- "type" : "string",
- "description" : "订单修改时间,时间格式为 yyyy-MM-dd HH:mm:ss.SSS。用于订单状态或数据变化较快的顺序控制,防止乱序。order_modified_time较晚的同步会被最终存储,order_modified_time相同的两次同步会被幂等处理。",
- "example" : "2022-09-16 10:12:12.910"
- },
- "open_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "order_amount" : {
- "type" : "string",
- "description" : "订单金额",
- "example" : "1.30"
- },
- "order_detail_url" : {
- "type" : "string",
- "description" : "订单详情链接",
- "example" : "传完整链接page=后面需做encode\talipays://platformapi/startapp?appId=2021002126602599&page=%2fpages%2forder-details%2forder-details%3fticketOrderId%3d20210376854"
- },
- "order_status" : {
- "type" : "string",
- "description" : "订单状态\t消费成功 CONSUME_S ;已退款:REFUNDED;\t开卡成功 CARD_ACTIVED;消费失败:UN_CHARGE\t充值成功 RECHARGE_S",
- "example" : "CONSUME_S 消费成功"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号",
- "example" : "2022xxxx"
- },
- "pay_address" : {
- "type" : "string",
- "description" : "支付地点",
- "example" : "1餐厅-3楼1号机"
- },
- "pay_mode" : {
- "type" : "string",
- "description" : "付款方式,不传默认展示学校名称+校园卡+(卡号后四位)",
- "example" : "电子校园卡(卡号后四位)"
- },
- "rake_back_pid" : {
- "type" : "string",
- "description" : "返佣pid",
- "example" : "2088xxxx"
- },
- "school_id" : {
- "type" : "string",
- "description" : "学校内标",
- "example" : "2088xxxxx"
- },
- "school_pid" : {
- "type" : "string",
- "description" : "学校pid",
- "example" : "2088xxx"
- },
- "service_provider_name" : {
- "type" : "string",
- "description" : "服务提供者名称",
- "example" : "完美校园"
- },
- "type" : {
- "type" : "string",
- "description" : "业务类型",
- "example" : "SCHOOL_PAY 校园团餐"
- },
- "user_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID",
- "example" : "2088xxxx"
- }
- }
- },
- "AlipayCommerceEducateSchoolcardOrderSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "订单号",
- "example" : "2022xxxx"
- }
- }
- },
- "AlipayCommerceIotDeviceReportUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "DEVICE_REPORT_UPLOAD_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceIotDeviceReportUploadModel" : {
- "type" : "object",
- "properties" : {
- "report_content" : {
- "type" : "string",
- "description" : "设备检测报告详情",
- "example" : "设备检测报告详情JSON字符串"
- },
- "sn" : {
- "type" : "string",
- "description" : "设备唯一标识",
- "example" : "SMIT1D2020108003872"
- }
- }
- },
- "AlipayCommerceIotDeviceReportUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "boolean",
- "description" : "是否上传成功",
- "example" : "true"
- }
- }
- },
- "AlipayCommerceIotSdarttoolMessageQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAM_INVALID", "NOT_FOUND_DATA" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceIotSdarttoolMessageQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "consume_err_code" : {
- "type" : "string",
- "description" : "消息消费返回码,不用的消息类型返回码不一样",
- "example" : "PRINT_FAIL"
- },
- "consume_err_msg" : {
- "type" : "string",
- "description" : "消息消费错误原因",
- "example" : "消息消费错误原因"
- },
- "consume_state" : {
- "type" : "integer",
- "description" : "消息消费状态1-未消费; 2-消费成功;3-消费失败",
- "example" : "1"
- },
- "deliver_cnt" : {
- "type" : "integer",
- "description" : "消息投递次数",
- "example" : "1"
- },
- "deliver_status" : {
- "type" : "string",
- "description" : "消息投递状态\t1: 未投递 2: 投递中 3: 投递成功 4: 投递失败 5: 消息失效不再发送",
- "example" : "1"
- },
- "last_deliver_at" : {
- "type" : "integer",
- "description" : "消息最后一次发送时间",
- "example" : "1574752505481"
- },
- "msg_ack_time" : {
- "type" : "integer",
- "description" : "消息确认消费时间(ms)",
- "example" : "1574752506609"
- },
- "msg_bida" : {
- "type" : "integer",
- "description" : "消息必达类型 1-非必达; 2-必达.",
- "example" : "1"
- },
- "msg_expire_time" : {
- "type" : "integer",
- "description" : "消息过期时间(ms)",
- "example" : "1575011705405"
- },
- "msg_gmt_create" : {
- "type" : "integer",
- "description" : "消息创建时间(ms)",
- "example" : "1575028811454"
- },
- "msg_priority" : {
- "type" : "integer",
- "description" : "消息投递优先级",
- "example" : "0"
- }
- }
- },
- "AlipayCommerceIotSdarttoolMessageSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceIotSdarttoolMessageSendModel" : {
- "type" : "object",
- "properties" : {
- "bi_da" : {
- "type" : "boolean",
- "description" : "消息是否必达(immediate_msg为false时此字段设置有效),消息过期时间顺延3*24h. 建议使用expire_time设置消息过期时间",
- "example" : "false"
- },
- "device_query_type" : {
- "type" : "string",
- "description" : "设备查询条件类型 ;SUPPLIERID_SN:supplierid+sn ;\t ITEMID_SN:itemid + sn;\tSN:sn",
- "example" : "ITEMID_SN"
- },
- "immediate_msg" : {
- "type" : "boolean",
- "description" : "是否即时消息; true-校验设备是否在线,false-不校验设备是否在线",
- "example" : "true"
- },
- "item_id" : {
- "type" : "string",
- "description" : "产品ID",
- "example" : "2019111304877238"
- },
- "msg_content" : {
- "type" : "string",
- "description" : "消息内容",
- "example" : "{\"contentParams\":[\"消息内容\"]}"
- },
- "msg_content_type" : {
- "type" : "string",
- "description" : "消息内容格式",
- "example" : "text"
- },
- "msg_expire" : {
- "type" : "integer",
- "description" : "消息过期时间戳(ms), 默认为当前时间顺延24h有效。当设备在线时消息服务过期之前尝试推送。最大过期时间顺延3*24h",
- "example" : "1573107942000"
- },
- "msg_priority" : {
- "type" : "integer",
- "description" : "消息优先级(immediate_msg为false此字段设置有效)数字越大优先发送。",
- "example" : "0"
- },
- "msg_type" : {
- "type" : "string",
- "description" : "消息类型:\txpaas_common-小程序消息;\truyi_ordermsg-如意订单消息",
- "example" : "xpaas_common"
- },
- "service_id" : {
- "type" : "string",
- "description" : "服务ID,当小程序消费消息时必传(传入的是小程序ID)",
- "example" : "201808903221"
- },
- "sn" : {
- "type" : "string",
- "description" : "设备sn号",
- "example" : "10000000001"
- },
- "supplier_id" : {
- "type" : "string",
- "description" : "厂商ID",
- "example" : "20000000001"
- }
- }
- },
- "AlipayCommerceIotSdarttoolMessageSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "message_no" : {
- "type" : "string",
- "description" : "消息ID",
- "example" : "201911010000001"
- }
- }
- },
- "AlipayCommerceLogisticsInvoiceIstdwaybillCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceLogisticsInvoiceIstdwaybillCreateModel" : {
- "type" : "object",
- "properties" : {
- "invoice" : {
- "$ref" : "#/components/schemas/Invoice"
- },
- "logistics_code" : {
- "type" : "string",
- "description" : "即时配送公司编码",
- "example" : "FENGNIAO"
- },
- "out_invoice_request_no" : {
- "type" : "string",
- "description" : "开票请求流水号",
- "example" : "out_invoice_no_00001"
- },
- "waybill_invoices" : {
- "type" : "array",
- "description" : "即时配送运单列表",
- "items" : {
- "$ref" : "#/components/schemas/WaybillInvoice"
- }
- }
- }
- },
- "AlipayCommerceLogisticsInvoiceIstdwaybillCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "invoice_fee" : {
- "type" : "string",
- "description" : "开票金额",
- "example" : "100.00"
- },
- "status" : {
- "type" : "integer",
- "description" : "整体的运单开票状态,0:处理中 1:开票成功 2:开票失败",
- "example" : "0"
- },
- "waybill_invoices" : {
- "type" : "array",
- "description" : "即时配送运单列表",
- "items" : {
- "$ref" : "#/components/schemas/WaybillInvoiceIstd"
- }
- }
- }
- },
- "AlipayCommerceLogisticsInvoiceIstdwaybillQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceLogisticsInvoiceIstdwaybillQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "integer",
- "description" : "整体的运单开票状态,0:处理中 1:开票成功 2:开票失败",
- "example" : "0"
- },
- "waybill_invoices" : {
- "type" : "array",
- "description" : "即时配送运单列表",
- "items" : {
- "$ref" : "#/components/schemas/WaybillInvoiceQueryIstd"
- }
- }
- }
- },
- "AlipayCommerceLogisticsLogisticscompanyInstantdeliveryQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceLogisticsLogisticscompanyInstantdeliveryQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "logistics_companies" : {
- "type" : "array",
- "description" : "即时配送公司列表",
- "items" : {
- "$ref" : "#/components/schemas/LogisticsCompanyResult"
- }
- }
- }
- },
- "AlipayCommerceLogisticsOrderInstantdeliveryCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceLogisticsOrderInstantdeliveryCancelModel" : {
- "type" : "object",
- "properties" : {
- "cancel_reason" : {
- "type" : "string",
- "description" : "取消原因,取消原因id为i_6时必填",
- "example" : "其他原因取消运单"
- },
- "cancel_reason_id" : {
- "type" : "string",
- "description" : "取消原因id",
- "example" : "i_6"
- },
- "logistics_code" : {
- "type" : "string",
- "description" : "即时配送公司编码",
- "example" : "FENGNIAO"
- },
- "order_no" : {
- "type" : "string",
- "description" : "支付宝订单流水号",
- "example" : "2020090411130000000000772400280352"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商家订单号,与order_no不能同时为空",
- "example" : "2020090411140000000000777000216122"
- },
- "waybill_no" : {
- "type" : "string",
- "description" : "即时配送运单编号",
- "example" : "waybillno001"
- }
- }
- },
- "AlipayCommerceLogisticsOrderInstantdeliveryCancelResponseModel" : {
- "type" : "object",
- "properties" : {
- "cancel_fee" : {
- "type" : "string",
- "description" : "取消金额",
- "example" : "100.00"
- }
- }
- },
- "AlipayCommerceLogisticsOrderInstantdeliveryCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceLogisticsOrderInstantdeliveryCreateModel" : {
- "type" : "object",
- "properties" : {
- "consumer_id" : {
- "type" : "string",
- "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户uid;如果consumer_source是wx,则consumer_id可以为空",
- "example" : "2088xxx"
- },
- "consumer_notify" : {
- "$ref" : "#/components/schemas/ConsumerNotifyIstd"
- },
- "consumer_source" : {
- "type" : "string",
- "description" : "消费者来源,支付宝:alipay; 微信:wx",
- "example" : "alipay"
- },
- "goods_details" : {
- "type" : "array",
- "description" : "商品明细",
- "items" : {
- "$ref" : "#/components/schemas/GoodsDetailIstd"
- }
- },
- "goods_info" : {
- "$ref" : "#/components/schemas/GoodsInfoIstd"
- },
- "logistics_code" : {
- "type" : "string",
- "description" : "即时配送公司编码",
- "example" : "FENGNIAO"
- },
- "logistics_token" : {
- "type" : "string",
- "description" : "下即时配送订单token, 配送公司可以返回此字段,当商家下单时候带上这个字段,保证在一段时间内运费不变",
- "example" : "token001"
- },
- "open_id" : {
- "type" : "string",
- "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户openId;如果consumer_source是wx,则consumer_id可以为空",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "order_ext_istd" : {
- "$ref" : "#/components/schemas/OrderExtIstd"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商家订单号",
- "example" : "2020090411140000000000777000216122"
- },
- "receiver" : {
- "$ref" : "#/components/schemas/ReceiverIstd"
- },
- "sender" : {
- "$ref" : "#/components/schemas/SenderIstd"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "商家球房编号",
- "example" : "shopno001"
- }
- }
- },
- "AlipayCommerceLogisticsOrderInstantdeliveryCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "coupon_fee" : {
- "type" : "string",
- "description" : "优惠券费用",
- "example" : "1.00"
- },
- "deliver_fee" : {
- "type" : "string",
- "description" : "运费",
- "example" : "10.00"
- },
- "dispatch_duration" : {
- "type" : "integer",
- "description" : "预计骑手还剩多久接单,单位:秒",
- "example" : "60"
- },
- "distance" : {
- "type" : "integer",
- "description" : "配送距离",
- "example" : "300"
- },
- "fee" : {
- "type" : "string",
- "description" : "实际运费",
- "example" : "9.00"
- },
- "finish_code" : {
- "type" : "string",
- "description" : "收货码,骑手必须输入收货码才能完成订单妥投",
- "example" : "xxx"
- },
- "insurance_fee" : {
- "type" : "string",
- "description" : "保价费用",
- "example" : "0.00"
- },
- "order_no" : {
- "type" : "string",
- "description" : "支付宝订单流水号",
- "example" : "2020090411130000000000772400280352"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "支付金额, 实际扣减的费用以此字段为准",
- "example" : "9.00"
- },
- "pickup_code" : {
- "type" : "string",
- "description" : "取货码, 骑手必须输入取货码才能从商家取货",
- "example" : "xxx"
- },
- "status" : {
- "type" : "string",
- "description" : "即时配送运单状态",
- "example" : "i_101"
- },
- "waybill_no" : {
- "type" : "string",
- "description" : "即时配送运单编号",
- "example" : "waybillno001"
- }
- }
- },
- "AlipayCommerceLogisticsOrderInstantdeliveryPrecreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceLogisticsOrderInstantdeliveryPrecreateModel" : {
- "type" : "object",
- "properties" : {
- "consumer_id" : {
- "type" : "string",
- "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户uid;如果consumer_source是wx,则consumer_id可以为空",
- "example" : "2088xxx"
- },
- "consumer_notify" : {
- "$ref" : "#/components/schemas/ConsumerNotifyIstd"
- },
- "consumer_source" : {
- "type" : "string",
- "description" : "消费者来源, 支付宝:alipay, 微信:wx",
- "example" : "alipay"
- },
- "goods_details" : {
- "type" : "array",
- "description" : "商品明细",
- "items" : {
- "$ref" : "#/components/schemas/GoodsDetailIstd"
- }
- },
- "goods_info" : {
- "$ref" : "#/components/schemas/GoodsInfoIstd"
- },
- "logistics_companies" : {
- "type" : "array",
- "description" : "即时配送公司配置列表",
- "items" : {
- "$ref" : "#/components/schemas/LogisticsCompanyIstd"
- }
- },
- "open_id" : {
- "type" : "string",
- "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝的openId;如果consumer_source是wx,则consumer_id可以为空",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "order_ext_istd" : {
- "$ref" : "#/components/schemas/OrderExtIstdForPreOrder"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商家订单号",
- "example" : "2020090411140000000000777000216122"
- },
- "receiver" : {
- "$ref" : "#/components/schemas/ReceiverIstd"
- },
- "sender" : {
- "$ref" : "#/components/schemas/SenderIstd"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "商家球房编号",
- "example" : "shopno001"
- }
- }
- },
- "AlipayCommerceLogisticsOrderInstantdeliveryPrecreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "waybills" : {
- "type" : "array",
- "description" : "即时配送运单列表",
- "items" : {
- "$ref" : "#/components/schemas/PreCreateWaybillIstd"
- }
- }
- }
- },
- "AlipayCommerceLogisticsOrderIstdcancelPreconsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceLogisticsOrderIstdcancelPreconsultModel" : {
- "type" : "object",
- "properties" : {
- "cancel_reason" : {
- "type" : "string",
- "description" : "取消原因,取消原因id为i_6时必填",
- "example" : "其他原因取消运单"
- },
- "cancel_reason_id" : {
- "type" : "string",
- "description" : "取消原因id",
- "example" : "i_6"
- },
- "logistics_code" : {
- "type" : "string",
- "description" : "即时配送公司编码",
- "example" : "FENGNIAO"
- },
- "order_no" : {
- "type" : "string",
- "description" : "支付宝订单流水号",
- "example" : "2020090411130000000000772400280352"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商家订单号,与order_no不能同时为空",
- "example" : "2020090411140000000000777000216122"
- },
- "waybill_no" : {
- "type" : "string",
- "description" : "即时配送运单编号",
- "example" : "waybillno001"
- }
- }
- },
- "AlipayCommerceLogisticsOrderIstdcancelPreconsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "allow_cancel" : {
- "type" : "boolean",
- "description" : "是否允许取消",
- "example" : "true"
- },
- "cancel_fee" : {
- "type" : "string",
- "description" : "取消金额",
- "example" : "100.00"
- }
- }
- },
- "AlipayCommerceLogisticsOrderIstdretryCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceLogisticsOrderIstdretryCreateModel" : {
- "type" : "object",
- "properties" : {
- "consumer_id" : {
- "type" : "string",
- "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户uid;如果consumer_source是wx,则consumer_id可以为空",
- "example" : "2088xxx"
- },
- "consumer_notify" : {
- "$ref" : "#/components/schemas/ConsumerNotifyIstd"
- },
- "consumer_source" : {
- "type" : "string",
- "description" : "消费者来源, 支付宝:alipay, 微信:wx",
- "example" : "alipay"
- },
- "goods_details" : {
- "type" : "array",
- "description" : "商品明细",
- "items" : {
- "$ref" : "#/components/schemas/GoodsDetailIstd"
- }
- },
- "goods_info" : {
- "$ref" : "#/components/schemas/GoodsInfoIstd"
- },
- "logistics_code" : {
- "type" : "string",
- "description" : "即时配送公司编码",
- "example" : "FENGNIAO"
- },
- "logistics_token" : {
- "type" : "string",
- "description" : "下即时配送订单token, 配送公司可以返回此字段,当商家下单时候带上这个字段,保证在一段时间内运费不变",
- "example" : "token001"
- },
- "open_id" : {
- "type" : "string",
- "description" : "消费者id, 如果consumer_source是alipay,则consumer_id必须是支付宝用户openId;如果consumer_source是wx,则consumer_id可以为空",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "order_ext_istd" : {
- "$ref" : "#/components/schemas/OrderExtIstd"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商家订单号",
- "example" : "2020090411140000000000777000216122"
- },
- "receiver" : {
- "$ref" : "#/components/schemas/ReceiverIstd"
- },
- "sender" : {
- "$ref" : "#/components/schemas/SenderIstd"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "商家球房编号",
- "example" : "shopno001"
- }
- }
- },
- "AlipayCommerceLogisticsOrderIstdretryCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "coupon_fee" : {
- "type" : "string",
- "description" : "优惠券费用",
- "example" : "1.00"
- },
- "deliver_fee" : {
- "type" : "string",
- "description" : "运费",
- "example" : "10.00"
- },
- "dispatch_duration" : {
- "type" : "integer",
- "description" : "预计骑手还剩多久接单,单位:秒",
- "example" : "60"
- },
- "distance" : {
- "type" : "integer",
- "description" : "配送距离(单位:米)",
- "example" : "300"
- },
- "fee" : {
- "type" : "string",
- "description" : "实际运费",
- "example" : "9.00"
- },
- "finish_code" : {
- "type" : "string",
- "description" : "收货码,骑手必须输入收货码才能完成订单妥投",
- "example" : "xxx"
- },
- "insurance_fee" : {
- "type" : "string",
- "description" : "保价费用",
- "example" : "0.00"
- },
- "order_no" : {
- "type" : "string",
- "description" : "支付宝订单流水号",
- "example" : "2020090411130000000000772400280352"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "支付金额, 实际扣减的费用以此字段为准",
- "example" : "9.00"
- },
- "pickup_code" : {
- "type" : "string",
- "description" : "取货码, 骑手必须输入取货码才能从商家取货",
- "example" : "xxx"
- },
- "status" : {
- "type" : "string",
- "description" : "即时配送运单状态",
- "example" : "i_101"
- },
- "waybill_no" : {
- "type" : "string",
- "description" : "即时配送运单编号",
- "example" : "waybillno001"
- }
- }
- },
- "AlipayCommerceLogisticsWaybillIstddetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceLogisticsWaybillIstddetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "reach_duration" : {
- "type" : "integer",
- "description" : "预计还剩多久送达 单位:秒",
- "example" : "600"
- },
- "rider_lat" : {
- "type" : "string",
- "description" : "骑手位置纬度",
- "example" : "30.246984"
- },
- "rider_lng" : {
- "type" : "string",
- "description" : "骑手位置经度",
- "example" : "120.210568"
- },
- "rider_mobile_no" : {
- "type" : "string",
- "description" : "骑手电话",
- "example" : "18962866666"
- },
- "rider_name" : {
- "type" : "string",
- "description" : "骑手姓名",
- "example" : "小明"
- },
- "status" : {
- "type" : "string",
- "description" : "即时配送运单状态",
- "example" : "i_102"
- }
- }
- },
- "AlipayCommerceOperationActivityMerchantModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceOperationActivityMerchantModifyModel" : {
- "type" : "object",
- "properties" : {
- "consumption_threshold" : {
- "type" : "integer",
- "description" : "消费门槛,单位分",
- "example" : "500"
- },
- "discount_amount" : {
- "type" : "integer",
- "description" : "优惠金额,单位分",
- "example" : "500"
- },
- "type" : {
- "type" : "string",
- "description" : "NORMAL 常规类型,不限制, RESTRICTED 限制报名条件",
- "example" : "NORMAL"
- }
- }
- },
- "AlipayCommerceOperationActivityMerchantModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceOperationActivityMerchantSignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceOperationActivityMerchantSignModel" : {
- "type" : "object",
- "properties" : {
- "consumption_threshold" : {
- "type" : "integer",
- "description" : "消费门槛(单位分)",
- "example" : "5000"
- },
- "discount_amount" : {
- "type" : "integer",
- "description" : "优惠金额,单位分",
- "example" : "500"
- },
- "type" : {
- "type" : "string",
- "description" : "报名类型,NORMAL 常规类型,不限制, RESTRICTED 限制报名条件",
- "example" : "NORMAL"
- }
- }
- },
- "AlipayCommerceOperationActivityMerchantSignResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceOperationActivityMerchantUnsignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceOperationActivityMerchantUnsignResponseModel" : {
- "type" : "object"
- },
- "AlipayCommerceOperationBankActivityQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceOperationBankActivityQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_info_list" : {
- "type" : "array",
- "description" : "活动信息列表",
- "items" : {
- "$ref" : "#/components/schemas/BankActivityInfo"
- }
- },
- "merchant_tag" : {
- "type" : "string",
- "description" : "商户标签",
- "example" : "28949219098127398"
- }
- }
- },
- "AlipayCommerceTransportChargerChargerbindinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ISV_INVALID_ARGUMENTS", "BUSINESS_FAILED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceTransportChargerChargerbindinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "bind_qrcode" : {
- "type" : "string",
- "description" : "绑定充电桩二维码值,用户扫码绑桩扫描的二维码",
- "example" : "https://qrcode.starcharge.com/#/10050638"
- },
- "bind_status" : {
- "type" : "string",
- "description" : "绑定状态 1:绑定; 2:解绑; 0:未知",
- "example" : "1"
- },
- "bind_time" : {
- "type" : "string",
- "description" : "绑定时间,绑定成功必传",
- "example" : "2022-11-17 17:39:27"
- },
- "connector_type" : {
- "type" : "string",
- "description" : "1:家用插座\t2、交流接口插座\t3:交流接口插头\t4、直流接口枪头\t5、无线充电座\t6、其他",
- "example" : "2"
- },
- "current_output_type" : {
- "type" : "string",
- "description" : "1:国标\t2:欧标\t3:美标\t4:日标\t5:其他",
- "example" : "1"
- },
- "equip_id" : {
- "type" : "string",
- "description" : "设备编号",
- "example" : "65469765489754837868"
- },
- "equip_imei" : {
- "type" : "string",
- "description" : "设备IMEI号",
- "example" : "2432479035808"
- },
- "equip_name" : {
- "type" : "string",
- "description" : "设备名称,对用户展示,可以是设备名称,也可以是设备SN号,设备编号",
- "example" : "守护者XX1"
- },
- "equip_sn" : {
- "type" : "string",
- "description" : "设备SN号",
- "example" : "24789990209409"
- },
- "equip_status" : {
- "type" : "string",
- "description" : "设备状态,遵循中电联协议的设备状态。0:离网;1:空闲;2:占用未充电;3:占用充电中;4:占用(预约锁定);255:故障",
- "example" : "1"
- },
- "equip_type_no" : {
- "type" : "string",
- "description" : "设备型号",
- "example" : "2325436576768"
- },
- "operator_id" : {
- "type" : "string",
- "description" : "运营商编码,一般为企业组织机构代码",
- "example" : "325616137"
- },
- "operator_uid" : {
- "type" : "string",
- "description" : "商户内部唯一标识用户的用户标识",
- "example" : "13588139138"
- },
- "rated_current" : {
- "type" : "string",
- "description" : "额定电流,单位:A",
- "example" : "20"
- },
- "rated_power" : {
- "type" : "string",
- "description" : "额定功率,单位:kW",
- "example" : "1000"
- },
- "rated_voltage" : {
- "type" : "string",
- "description" : "额定电压,单位:V",
- "example" : "220"
- },
- "unbind_time" : {
- "type" : "string",
- "description" : "解绑时间,解绑必传",
- "example" : "2022-11-17 17:39:27"
- }
- }
- },
- "AlipayCommerceTransportChargerChargerbindinfoSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "equip_id" : {
- "type" : "string",
- "description" : "商户同步的充电桩设备编码",
- "example" : "234h78890900000"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "绑定关系结果接收失败原因",
- "example" : "设备状态不存在"
- },
- "result_status" : {
- "type" : "string",
- "description" : "0:成功\t1:拒绝",
- "example" : "0"
- }
- }
- },
- "AlipayCommerceTransportParkingEnterinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_FAIL", "BIZ_UNKNOWN" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceTransportParkingEnterinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "agreement_query" : {
- "type" : "boolean",
- "description" : "是否启用车牌代扣状态查询功能,true为启用,false为停用",
- "example" : "true"
- },
- "free_enter_minutes" : {
- "type" : "string",
- "description" : "当前停车场的入场免费时长分钟数",
- "example" : "15"
- },
- "in_time" : {
- "type" : "string",
- "description" : "车辆入场的时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,入场时间不应晚于当前网络时间",
- "example" : "2016-07-24 03:07:50"
- },
- "is_encrypt_plate_no" : {
- "type" : "boolean",
- "description" : "车牌是否加密,true为加密,false为不加密,默认为false",
- "example" : "false"
- },
- "need_charge" : {
- "type" : "boolean",
- "description" : "当前行程是否需要计费。true:需要,false:不需要。不传默认为true。",
- "example" : "true"
- },
- "open_appid" : {
- "type" : "string",
- "description" : "蚂蚁会员统一ID对应的归属应用appid",
- "example" : "2023xxxxxxxxxxxx"
- },
- "open_id" : {
- "type" : "string",
- "description" : "蚂蚁会员统一ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_serial_no" : {
- "type" : "string",
- "description" : "外部停车流水号(用于串通进场与出场信息)",
- "example" : "2020090711003017233600000001"
- },
- "parking_id" : {
- "type" : "string",
- "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 alipay.eco.mycar.parking.parkinglotinfo.create\t(录入停车场信息)接口获取。",
- "example" : "2015042321001004720200028594"
- },
- "plate_color" : {
- "type" : "string",
- "description" : "车牌颜色,车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
- "example" : "BLUE"
- },
- "plate_no" : {
- "type" : "string",
- "description" : "车牌号(支持加密格式)",
- "example" : "豫C33333"
- },
- "service_url" : {
- "type" : "string",
- "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",
- "example" : "alipays://xxxxx"
- }
- }
- },
- "AlipayCommerceTransportParkingEnterinfoSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_scene" : {
- "type" : "string",
- "description" : "用户签约的代扣场景字符集,多个英文逗号分割,当车场为ORC识别车牌的场景,返回值包含PLATE_PAY时,表示代扣协议可用。 当车场为ETC设备识别车牌,返回值包含ETC_PAY时表示协议可用。当用户未签约任何代扣场景时返回NO_AGREEMENT_SCENE",
- "example" : "PLATE_PAY"
- },
- "biz_code" : {
- "type" : "string",
- "description" : "具体错误code",
- "example" : "INVALID_PARAMETER"
- },
- "biz_msg" : {
- "type" : "string",
- "description" : "具体错误描述",
- "example" : "车牌不合法"
- }
- }
- },
- "AlipayCommerceTransportParkingExitinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_FAIL", "BIZ_UNKNOWN", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceTransportParkingExitinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "is_encrypt_plate_no" : {
- "type" : "boolean",
- "description" : "车牌是否加密,true为加密,false为不加密,默认为false",
- "example" : "true"
- },
- "open_appid" : {
- "type" : "string",
- "description" : "蚂蚁会员统一ID对应的归属应用appid",
- "example" : "2023xxxxxxxxxxxx"
- },
- "open_id" : {
- "type" : "string",
- "description" : "蚂蚁会员统一ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_serial_no" : {
- "type" : "string",
- "description" : "外部停车流水号(用于串通进场与出场信息)",
- "example" : "2020090711003017233600000001"
- },
- "out_time" : {
- "type" : "string",
- "description" : "车辆出场的时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,出场时间不应晚于当前网络时间,也不当早于入场时间。",
- "example" : "2016-07-24 03:07:50"
- },
- "plate_color" : {
- "type" : "string",
- "description" : "车牌颜色,车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
- "example" : "BLUE"
- },
- "plate_no" : {
- "type" : "string",
- "description" : "车牌号(支持加密格式)",
- "example" : "豫C33333"
- },
- "service_url" : {
- "type" : "string",
- "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",
- "example" : "alipays://xxxxx"
- }
- }
- },
- "AlipayCommerceTransportParkingExitinfoSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "具体错误码",
- "example" : "INVALID_PARAMETER"
- },
- "biz_msg" : {
- "type" : "string",
- "description" : "具体错误原因",
- "example" : "车牌不合法"
- }
- }
- },
- "AlipayCommerceTransportParkingPaymentinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_FAIL", "BIZ_UNKNOWN", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayCommerceTransportParkingPaymentinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "free_exit_minutes" : {
- "type" : "string",
- "description" : "停车场内缴费后,允许出场的免费时长分钟数",
- "example" : "15"
- },
- "is_encrypt_plate_no" : {
- "type" : "boolean",
- "description" : "车牌是否加密,true为加密,false为不加密,默认为false",
- "example" : "true"
- },
- "open_appid" : {
- "type" : "string",
- "description" : "蚂蚁会员统一ID对应的归属应用appid",
- "example" : "2023xxxxxxxxxxxx"
- },
- "open_id" : {
- "type" : "string",
- "description" : "蚂蚁会员统一ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_serial_no" : {
- "type" : "string",
- "description" : "外部停车流水号(用于串通进场与出场信息)",
- "example" : "2020090711003017233600000001"
- },
- "payment_time" : {
- "type" : "string",
- "description" : "场内缴费时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,场内缴费不应晚于当前网络时间",
- "example" : "2021-06-12 15:29:55"
- },
- "payment_type" : {
- "type" : "string",
- "description" : "支付方式\tALIPAY:支付宝支付\tCASH:现金\tOTHER:其他渠道\tFREE:免费",
- "example" : "ALIPAY"
- },
- "plate_color" : {
- "type" : "string",
- "description" : "车牌颜色,车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
- "example" : "BLUE"
- },
- "plate_no" : {
- "type" : "string",
- "description" : "车牌号(支持加密格式)",
- "example" : "豫C33333"
- },
- "service_url" : {
- "type" : "string",
- "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",
- "example" : "alipays://xxxxx"
- }
- }
- },
- "AlipayCommerceTransportParkingPaymentinfoSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "具体错误码",
- "example" : "INVALID_PARAMETER"
- },
- "biz_msg" : {
- "type" : "string",
- "description" : "具体错误原因",
- "example" : "车牌不合法"
- }
- }
- },
- "AlipayDataBillAccountbookereceiptApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillAccountbookereceiptApplyModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "协议号",
- "example" : "20205215001418078112"
- },
- "key" : {
- "type" : "string",
- "description" : "明细凭证,传入流水号(转账接口查询结果)。汇总凭证,传入起止时间,格式yyyy-MM-dd_yyyy-MM-dd。",
- "example" : "2020-01-01_2020-01-10"
- },
- "store_no" : {
- "type" : "string",
- "description" : "子账本号,或者子账本名称。模糊查询",
- "example" : "2088000117463004"
- },
- "type" : {
- "type" : "string",
- "description" : "申请的类型。可传入:FUND_PLATFORM_DETAIL - 资金明细证明,FUND_PLATFORM_SUM - 资金汇总证明",
- "example" : "FUND_PLATFORM_DETAIL"
- }
- }
- },
- "AlipayDataBillAccountbookereceiptApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "file_id" : {
- "type" : "string",
- "description" : "文件申请号file_id信息。使用file_id可以查询处理状态",
- "example" : "12345"
- }
- }
- },
- "AlipayDataBillAccountbookereceiptQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillAccountbookereceiptQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "download_url" : {
- "type" : "string",
- "description" : "下载链接。status为SUCCESS时返回。用户可以使用此http链接下载文件内容。有效时间20s。\t生成的文件是zip格式。需要解压后获取电子回单pdf内容",
- "example" : "https://dwbillcenter.alipay.com/xxx"
- },
- "error_message" : {
- "type" : "string",
- "description" : "如果生成失败,则会返回失败原因",
- "example" : "key不存在"
- },
- "status" : {
- "type" : "string",
- "description" : "处理状态\t * INIT - 初始化\t * PROCESS - 处理中\t * SUCCESS - 成功\t * FAIL - 失败",
- "example" : "SUCCESS"
- }
- }
- },
- "AlipayDataBillAccountlogQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "AGREEMENT_CHECK_FAIL", "USER_AGREEMENT_CHECK_FAIL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillAccountlogQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "detail_list" : {
- "type" : "array",
- "description" : "账务明细返回结果。\t当查询为空的时候,不返回,有结果的时候才会返回。",
- "items" : {
- "$ref" : "#/components/schemas/AccountLogItemResult"
- }
- },
- "page_no" : {
- "type" : "string",
- "description" : "分页号,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "分页大小1000-2000",
- "example" : "2000"
- },
- "total_size" : {
- "type" : "string",
- "description" : "账务明细总数。返回满足查询条件的明细的数量",
- "example" : "10000"
- }
- }
- },
- "AlipayDataBillBailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillBailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "detail_list" : {
- "type" : "array",
- "description" : "保证金明细列表,最多返回5000条",
- "items" : {
- "$ref" : "#/components/schemas/BailDetailResult"
- }
- }
- }
- },
- "AlipayDataBillBalanceQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "SYSTEM_BUSY", "USER_AGREEMENT_CHECK_FAIL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillBalanceQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "available_amount" : {
- "type" : "string",
- "description" : "账户可用余额",
- "example" : "9000.00"
- },
- "freeze_amount" : {
- "type" : "string",
- "description" : "冻结金额",
- "example" : "1000.00"
- },
- "settle_amount" : {
- "type" : "string",
- "description" : "待结算金额",
- "example" : "500.00"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "支付宝账户余额",
- "example" : "10000.00"
- }
- }
- },
- "AlipayDataBillBalancehisQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PROCESSING", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillBalancehisQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "beginning_balance" : {
- "type" : "string",
- "description" : "期初余额",
- "example" : "10000.00"
- },
- "ending_balance" : {
- "type" : "string",
- "description" : "期末余额",
- "example" : "11000.00"
- }
- }
- },
- "AlipayDataBillBizfundagentQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillBizfundagentQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "detail_list" : {
- "type" : "array",
- "description" : "资金明细记录",
- "items" : {
- "$ref" : "#/components/schemas/BizFundReportResult"
- }
- },
- "page_no" : {
- "type" : "string",
- "description" : "分页号,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "页面大小,最大2000",
- "example" : "2000"
- },
- "total_size" : {
- "type" : "string",
- "description" : "数据分页总页数",
- "example" : "100"
- }
- }
- },
- "AlipayDataBillBuyQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillBuyQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "detail_list" : {
- "type" : "array",
- "description" : "交易流水详情",
- "items" : {
- "$ref" : "#/components/schemas/TradeItemResult"
- }
- },
- "page_no" : {
- "type" : "string",
- "description" : "分页号,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "分页大小1000-2000",
- "example" : "2000"
- },
- "total_size" : {
- "type" : "string",
- "description" : "账务明细总数。返回满足查询条件的明细的数量",
- "example" : "10000"
- }
- }
- },
- "AlipayDataBillEreceiptApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillEreceiptApplyModel" : {
- "type" : "object",
- "properties" : {
- "bill_user_id" : {
- "type" : "string",
- "description" : "授权商户pid。需调用方获取商户授权,才可使用。",
- "example" : "2088********9999"
- },
- "key" : {
- "type" : "string",
- "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",
- "example" : "2020xxx"
- },
- "type" : {
- "type" : "string",
- "description" : "申请的类型。可传入:\t* ACCOUNT_LOG_DETAIL - 余额收支证明\t* ACCOUNT_FLOW_DETAIL - 余额收支流水证明\t* FUND_DETAIL - 转入转出收支证明\t* ACCOUNT_LOG_SUM_DAILY - 收支汇总证明(日汇总)\t* ACCOUNT_LOG_SUM_MONTHLY - 收支汇总证明(月汇总)",
- "example" : "FUND_DETAIL"
- }
- }
- },
- "AlipayDataBillEreceiptApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "file_id" : {
- "type" : "string",
- "description" : "文件申请号file_id信息。\t使用file_id可以查询处理状态,有效期:2天",
- "example" : "12345"
- }
- }
- },
- "AlipayDataBillEreceiptQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillEreceiptQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "download_url" : {
- "type" : "string",
- "description" : "下载链接,status 为 SUCCESS 时返回。用户可以使用此http链接下载文件内容。有效时间为 30s。 \t生成文件为PDF格式,下载即可获取电子回单 PDF 内容。",
- "example" : "https://dwbillcenter.alipay.com/xxx"
- },
- "error_message" : {
- "type" : "string",
- "description" : "如果生成失败,则会返回失败原因",
- "example" : "key不存在"
- },
- "status" : {
- "type" : "string",
- "description" : "处理状态。枚举值如下:\tINIT:初始化。\tPROCESS:处理中。\tSUCCESS:成功。\tFAIL:失败。",
- "example" : "SUCCESS"
- }
- }
- },
- "AlipayDataBillEreceiptagentApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillEreceiptagentApplyModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "ISV与商户签约授权协议号",
- "example" : "20200826170801"
- },
- "key" : {
- "type" : "string",
- "description" : "根据不同业务类型,传入不同参数。格式如下: * FUND_DETAIL - 资金业务回单。传入资金单号(fundOrderId,可通过充值、转账、提现接口获取)",
- "example" : "2020xxx"
- },
- "type" : {
- "type" : "string",
- "description" : "申请的类型(目前仅支持资金业务回单)。可传入: * FUND_DETAIL - 资金业务回单。",
- "example" : "FUND_DETAIL"
- }
- }
- },
- "AlipayDataBillEreceiptagentApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "file_id" : {
- "type" : "string",
- "description" : "文件申请号file_id信息。使用file_id可以查询处理状态",
- "example" : "12321"
- }
- }
- },
- "AlipayDataBillSellQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillSellQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "detail_list" : {
- "type" : "array",
- "description" : "交易流水详情",
- "items" : {
- "$ref" : "#/components/schemas/TradeItemResult"
- }
- },
- "page_no" : {
- "type" : "string",
- "description" : "分页号,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "分页大小1000-2000",
- "example" : "2000"
- },
- "total_size" : {
- "type" : "string",
- "description" : "账务明细总数。返回满足查询条件的明细的数量",
- "example" : "10000"
- }
- }
- },
- "AlipayDataBillTransferQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillTransferQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "detail_list" : {
- "type" : "array",
- "description" : "充值、提现、转账明细记录",
- "items" : {
- "$ref" : "#/components/schemas/TransferDetailResult"
- }
- },
- "page_no" : {
- "type" : "string",
- "description" : "分页号,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "分页大小1000-2000",
- "example" : "2000"
- },
- "total_size" : {
- "type" : "string",
- "description" : "充值、提现、转账明细总数。返回满足查询条件的明细的数量",
- "example" : "10000"
- }
- }
- },
- "AlipayDataBillTransferaccountbookQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataBillTransferaccountbookQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "detail_list" : {
- "type" : "array",
- "description" : "充值、提现、转账明细记录",
- "items" : {
- "$ref" : "#/components/schemas/TransferAccountBookDetailResult"
- }
- },
- "page_no" : {
- "type" : "string",
- "description" : "分页号,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "分页大小1000-2000",
- "example" : "2000"
- },
- "total_size" : {
- "type" : "string",
- "description" : "充值、提现、转账明细总数。返回满足查询条件的明细的数量",
- "example" : "10000"
- }
- }
- },
- "AlipayDataDataserviceAdConversionUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "NO_SERVICE_PURVIEW", "BIZ_TOKEN_ERROR", "NO_DATA_PURVIEW", "NULL_ARGUMENT", "PRINCIPAL_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataDataserviceAdConversionUploadModel" : {
- "type" : "object",
- "properties" : {
- "biz_token" : {
- "type" : "string",
- "description" : "代理商访问灯火平台的token",
- "example" : "HYjofejnnlp89730202bcklHH"
- },
- "conversion_data_list" : {
- "type" : "array",
- "description" : "转化数据列表, 最多1000条",
- "items" : {
- "$ref" : "#/components/schemas/ConversionData"
- }
- }
- }
- },
- "AlipayDataDataserviceAdConversionUploadResponseModel" : {
- "type" : "object"
- },
- "AlipayDataDataserviceAdPromotepageBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "NO_SERVICE_PURVIEW", "BIZ_TOKEN_ERROR", "NO_DATA_PURVIEW", "NULL_ARGUMENT", "PRINCIPAL_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataDataserviceAdPromotepageBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "list" : {
- "type" : "array",
- "description" : "自建推广页详情列表",
- "items" : {
- "$ref" : "#/components/schemas/PromotePageDetail"
- }
- },
- "page_no" : {
- "type" : "integer",
- "description" : "分页参数之页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页参数之每页大小",
- "example" : "100"
- },
- "total" : {
- "type" : "integer",
- "description" : "分页参数之总数据量",
- "example" : "1000"
- }
- }
- },
- "AlipayDataDataserviceAdPromotepageDownloadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "NO_SERVICE_PURVIEW", "BIZ_TOKEN_ERROR", "NO_DATA_PURVIEW", "NULL_ARGUMENT", "PRINCIPAL_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataDataserviceAdPromotepageDownloadResponseModel" : {
- "type" : "object",
- "properties" : {
- "conversion_id" : {
- "type" : "string",
- "description" : "转化事件ID",
- "example" : "167390987332"
- },
- "list" : {
- "type" : "array",
- "description" : "留资属性实例数据列表",
- "items" : {
- "$ref" : "#/components/schemas/PromotePageData"
- }
- },
- "page_no" : {
- "type" : "integer",
- "description" : "分页参数之页数,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页参数之每页大小,最大1000",
- "example" : "100"
- },
- "total" : {
- "type" : "integer",
- "description" : "分页参数之总数据量",
- "example" : "1000"
- }
- }
- },
- "AlipayDataDataserviceBillDownloadurlQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVAILID_ARGUMENTS", "BILL_NOT_EXIST", "UNKNOWN_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayDataDataserviceBillDownloadurlQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "bill_download_url" : {
- "type" : "string",
- "description" : "账单下载地址链接,获取连接后30秒后未下载,链接地址失效。",
- "example" : "http://dwbillcenter.alipay.com/downloadBillFile.resource?bizType=X&userId=X&fileType=X&bizDates=X&downloadFileName=X&fileId=X"
- }
- }
- },
- "AlipayEbppBillAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppBillAddModel" : {
- "type" : "object",
- "properties" : {
- "bank_bill_no" : {
- "type" : "string",
- "description" : "外部订单号",
- "example" : "20130916"
- },
- "bill_date" : {
- "type" : "string",
- "description" : "账单的账期,格式为 yyyyMMdd。例如:202012表示2020年12月的账单。",
- "example" : "201203"
- },
- "bill_key" : {
- "type" : "string",
- "description" : "账单单据号,例如水费单号,手机号,电费号,信用卡卡号。没有唯一性要求。",
- "example" : "3388102012376451"
- },
- "charge_inst" : {
- "type" : "string",
- "description" : "支付宝给每个出账机构指定了一个对应的英文短名称来唯一表示该收费单位。",
- "example" : "BJCEB"
- },
- "extend_field" : {
- "type" : "string",
- "description" : "扩展属性",
- "example" : "{\"key1\":\"value1\",\"key2\":\"value2\",\"key3\":\"value3\",\"key4\":\"value4\"}"
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "输出机构的业务流水号,需要保证唯一性",
- "example" : "201203031234567"
- },
- "mobile" : {
- "type" : "string",
- "description" : "用户的手机号",
- "example" : "15987838584"
- },
- "order_type" : {
- "type" : "string",
- "description" : "支付宝订单类型。枚举支持:\t*JF:公共事业缴纳。\t*WUYE:物业缴费。\t*HK:信用卡还款。\t*TX:通讯缴费。",
- "example" : "JF"
- },
- "owner_name" : {
- "type" : "string",
- "description" : "拥有该账单的用户姓名",
- "example" : "织绫"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "缴费金额。用户支付的总金额。单位为 元(人民币)。取值范围为[0.01,100000000.00],精确到小数点后两位。",
- "example" : "23.45"
- },
- "service_amount" : {
- "type" : "string",
- "description" : "账单的服务费。",
- "example" : "8"
- },
- "sub_order_type" : {
- "type" : "string",
- "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下面的水费。",
- "example" : "WATER"
- },
- "traffic_location" : {
- "type" : "string",
- "description" : "交通违章地点,sub_order_type=TRAFFIC时填写。",
- "example" : "浙江,杭徽高速"
- },
- "traffic_regulations" : {
- "type" : "string",
- "description" : "违章行为,sub_order_type=TRAFFIC时填写。",
- "example" : "闯红灯"
- }
- }
- },
- "AlipayEbppBillAddResponseModel" : {
- "type" : "object",
- "properties" : {
- "alipay_order_no" : {
- "type" : "string",
- "description" : "支付宝的业务订单号,具有唯一性。",
- "example" : "201203088888888"
- },
- "bank_bill_no" : {
- "type" : "string",
- "description" : "外部订单号,由于对账时回传给外部商户",
- "example" : "20130705"
- },
- "bill_date" : {
- "type" : "string",
- "description" : "账单的账期,格式为 yyyyMMdd。例如:202012表示2020年12月的账单。",
- "example" : "201203"
- },
- "bill_key" : {
- "type" : "string",
- "description" : "账单单据号,例如水费单号,手机号,电费号,信用卡卡号。没有唯一性要求。",
- "example" : "3388102012376451"
- },
- "charge_inst" : {
- "type" : "string",
- "description" : "支付宝给每个出账机构指定了一个对应的英文短名称来唯一表示该收费单位。",
- "example" : "BJCEB"
- },
- "charge_inst_name" : {
- "type" : "string",
- "description" : "出账机构中文名称。",
- "example" : "北京光大"
- },
- "extend_field" : {
- "type" : "string",
- "description" : "扩展属性,该属性值现在用于确保只有一个人可以支付成功\r\t用法:多个人对同一笔外部欠费单创建多个账单时,确保该值不变",
- "example" : "20140504"
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "输出机构的业务流水号,需要保证唯一性。",
- "example" : "201203031234567"
- },
- "order_type" : {
- "type" : "string",
- "description" : "支付宝订单类型。枚举支持:\t*JF:公共事业缴纳。\t*WUYE:物业缴费。\t*HK:信用卡还款。\t*TX:通讯缴费。",
- "example" : "JF"
- },
- "owner_name" : {
- "type" : "string",
- "description" : "拥有该账单的用户姓名",
- "example" : "织绫"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "缴费金额。用户支付的总金额。单位为 元(人民币)。取值范围为[0.01,100000000.00],精确到小数点后两位。",
- "example" : "23.45"
- },
- "service_amount" : {
- "type" : "string",
- "description" : "账单的服务费",
- "example" : "8"
- },
- "sub_order_type" : {
- "type" : "string",
- "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下面的水费。",
- "example" : "WATER"
- }
- }
- },
- "AlipayEbppBillGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppBillGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "alipay_order_no" : {
- "type" : "string",
- "description" : "支付宝的业务订单号,具有唯一性。",
- "example" : "201203088888888"
- },
- "bill_date" : {
- "type" : "string",
- "description" : "账单的账期,例如201203表示2012年3月的账单。",
- "example" : "201203"
- },
- "bill_key" : {
- "type" : "string",
- "description" : "账单单据号,例如水费单号,手机号,电费号,信用卡卡号。没有唯一性要求。",
- "example" : "3388102012376451"
- },
- "charge_inst" : {
- "type" : "string",
- "description" : "支付宝给每个出账机构指定了一个对应的英文短名称来唯一表示该收费单位。",
- "example" : "BJCEB"
- },
- "charge_inst_name" : {
- "type" : "string",
- "description" : "出账机构中文名称。",
- "example" : "北京光大"
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "输出机构的业务流水号,需要保证唯一性。",
- "example" : "201203031234567"
- },
- "order_status" : {
- "type" : "string",
- "description" : "账单的状态。 INIT:等待付款,SUCCESS:成功,FAILED:失败。",
- "example" : "S"
- },
- "order_type" : {
- "type" : "string",
- "description" : "支付宝订单类型。公共事业缴纳JF,信用卡还款HK",
- "example" : "JF"
- },
- "owner_name" : {
- "type" : "string",
- "description" : "拥有该账单的用户姓名",
- "example" : "织绫"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "缴费金额。用户支付的总金额。单位为:RMB Yuan。取值范围为[0.01,100000000.00],精确到小数点后两位。",
- "example" : "23.45"
- },
- "pay_time" : {
- "type" : "string",
- "description" : "付款时间",
- "example" : "2012-01-01 00:22:11"
- },
- "service_amount" : {
- "type" : "string",
- "description" : "账单的服务费",
- "example" : "8"
- },
- "sub_order_type" : {
- "type" : "string",
- "description" : "子业务类型是业务类型的下一级概念,例如:WATER表示JF下面的水费,ELECTRIC表示JF下面的电费,GAS表示JF下面的燃气费。",
- "example" : "WATER"
- },
- "traffic_location" : {
- "type" : "string",
- "description" : "交通违章地点,sub_order_type=TRAFFIC时有值",
- "example" : "浙江,杭徽高速"
- },
- "traffic_regulations" : {
- "type" : "string",
- "description" : "违章行为,sub_order_type=TRAFFIC时有值。",
- "example" : "违章停车"
- }
- }
- },
- "AlipayEbppInvoiceApplyInvUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceApplyInvUploadModel" : {
- "type" : "object",
- "properties" : {
- "anti_fake_code" : {
- "type" : "string",
- "description" : "发票防伪码/密码",
- "example" : "acbgjjk13jsadjkfdajkadf123"
- },
- "apply_id" : {
- "type" : "string",
- "description" : "发票申请ID, 由阿里发票平台生成。 拆单开票后一笔申请可能对应多张发票。 source=apply时必填,其他source可为空",
- "example" : "12345678"
- },
- "biz_error_code" : {
- "type" : "string",
- "description" : "开票失败错误码, 开票失败(create_result=fail)时必填",
- "example" : "sys"
- },
- "biz_error_msg" : {
- "type" : "string",
- "description" : "开票失败错误信息, 开票失败(create_result=fail)时必填",
- "example" : "系统异常"
- },
- "business_type" : {
- "type" : "integer",
- "description" : "抬头类型。可选值: 0:个人 1:企业",
- "example" : "0"
- },
- "check_code" : {
- "type" : "string",
- "description" : "校验码",
- "example" : "acbgjjk13"
- },
- "create_result" : {
- "type" : "string",
- "description" : "开票结果,枚举值: success: 发票开具成功; fail: 开票失败; source=async时必填,传实际的开票结果。其他source可不传,默认为success",
- "example" : "success"
- },
- "device_no" : {
- "type" : "string",
- "description" : "开票分机号/机器编号",
- "example" : "12345678"
- },
- "invoice_amount" : {
- "type" : "string",
- "description" : "合计含税金额(开票金额),格式为2位小数。 当开红票时,该字段为负数。 开票成功时(create_result=success)必填",
- "example" : "1170.00"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码。 开票成功时(create_result=success)必填",
- "example" : "123123123412"
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "开票日期,格式 yyyy-MM-dd. 开票成功时(create_result=success)必填",
- "example" : "2020-09-10"
- },
- "invoice_file_content" : {
- "type" : "string",
- "description" : "发票版式文件数据,base64化的字符串; 电子发票必填",
- "example" : "sfsdfhgsgs"
- },
- "invoice_file_type" : {
- "type" : "string",
- "description" : "发票板式文件类型。可选值: PDF, OFD。 开电票且开票成功时(create_result=success)必填",
- "example" : "PDF"
- },
- "invoice_items" : {
- "$ref" : "#/components/schemas/InvoiceItem"
- },
- "invoice_kind" : {
- "type" : "integer",
- "description" : "开票发票类型 可选值: 0: 电票; 1:纸质普票; 2:纸质专票; 开票成功时(create_result=success)必填",
- "example" : "0"
- },
- "invoice_memo" : {
- "type" : "string",
- "description" : "发票备注,会显示在票面",
- "example" : "电子发票测试"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码。 开票成功时(create_result=success)必填",
- "example" : "12345678"
- },
- "invoice_type" : {
- "type" : "string",
- "description" : "发票(开票)类型,可选值: blue: 蓝票; red: 红票; 开票成功时(create_result=success)必填",
- "example" : "blue"
- },
- "levy_type" : {
- "type" : "string",
- "description" : "征税方式,0普通征收,1减按征收,2差额征收",
- "example" : "0"
- },
- "normal_invoice_code" : {
- "type" : "string",
- "description" : "原发票代码。 冲红且开票成功时(create_result=success)必填",
- "example" : "111100000000"
- },
- "normal_invoice_no" : {
- "type" : "string",
- "description" : "原发票号码。 冲红且开票成功时(create_result=success)必填",
- "example" : "00004349"
- },
- "payee_address" : {
- "type" : "string",
- "description" : "销方地址。 开票成功时(create_result=success)必填",
- "example" : "杭州市西湖区"
- },
- "payee_bank_account_id" : {
- "type" : "string",
- "description" : "销方银行账号",
- "example" : "8888888888888888"
- },
- "payee_bank_name" : {
- "type" : "string",
- "description" : "销方开户行名称",
- "example" : "92523123213412341234"
- },
- "payee_checker" : {
- "type" : "string",
- "description" : "复核人",
- "example" : "王五"
- },
- "payee_name" : {
- "type" : "string",
- "description" : "销方名称。 开票成功时(create_result=success)必填",
- "example" : "测试企业"
- },
- "payee_operator" : {
- "type" : "string",
- "description" : "开票人。 开票成功时(create_result=success)必填",
- "example" : "张三"
- },
- "payee_phone" : {
- "type" : "string",
- "description" : "销方联系电话。 开票成功时(create_result=success)必填",
- "example" : "18234561212"
- },
- "payee_receiver" : {
- "type" : "string",
- "description" : "收款人",
- "example" : "李四"
- },
- "payee_register_no" : {
- "type" : "string",
- "description" : "销方税务登记证号。由大写字母或数字组成,长度要求15~20位。 开票成功时(create_result=success)必填",
- "example" : "20150201321123"
- },
- "payer_address" : {
- "type" : "string",
- "description" : "购方地址, 专票且开票成功时(create_result=success)必填",
- "example" : "浙江省杭州市余杭区文一西路xxx号"
- },
- "payer_bank_account_id" : {
- "type" : "string",
- "description" : "购方银行账号, 专票且开票成功时(create_result=success)必填",
- "example" : "123412341234"
- },
- "payer_bank_name" : {
- "type" : "string",
- "description" : "购方开户行名称, 专票且开票成功时(create_result=success)必填",
- "example" : "招商银行"
- },
- "payer_email" : {
- "type" : "string",
- "description" : "购方电子邮箱,需满足邮箱格式。 格式要求:\\\\w+([-+.]\\\\w+)*@\\\\w+([-.]\\\\w+)*\\\\.\\\\w+([-.]\\\\w+)*",
- "example" : "mytest@xxx.com"
- },
- "payer_name" : {
- "type" : "string",
- "description" : "购方抬头。 开票成功时(create_result=success)必填",
- "example" : "张三"
- },
- "payer_phone" : {
- "type" : "string",
- "description" : "购方联系电话, 专票且开票成功时(create_result=success)必填",
- "example" : "18234561212"
- },
- "payer_register_no" : {
- "type" : "string",
- "description" : "购方税务登记证号,由大写字母或数字组成,长度要求15~20位。 开企业抬头时必填, 专票且开票成功时(create_result=success)必填",
- "example" : "2015020123123"
- },
- "platform_code" : {
- "type" : "string",
- "description" : "业务平台Code, 由发票中台分配。 用于标识需交付发票的业务平台,source=upload时必填,其他source可为空",
- "example" : "TB"
- },
- "platform_tid" : {
- "type" : "string",
- "description" : "业务平台发票申请对应的订单号。 用于区分业务平台订单号,source=upload时必填,其他source可为空",
- "example" : "100011101"
- },
- "platform_user_id" : {
- "type" : "string",
- "description" : "业务平台发票申请对应的订单号。 用于区分业务平台订单号,source=upload时必填,其他source可为空",
- "example" : "12345678"
- },
- "qr_code" : {
- "type" : "string",
- "description" : "二维码",
- "example" : "adsf123"
- },
- "receive_mobile" : {
- "type" : "string",
- "description" : "购方手机号码,用于收票",
- "example" : "13388889999"
- },
- "red_notice_no" : {
- "type" : "string",
- "description" : "红字通知单号; 专票冲红且开票成功时(create_result=success)必填",
- "example" : "123"
- },
- "serial_no" : {
- "type" : "string",
- "description" : "开票流水号/序列号,唯一标志一笔开票请求,由于阿里发票中台生成。 source=async时必填,其他source可为空",
- "example" : "TB1001_1331"
- },
- "source" : {
- "type" : "string",
- "description" : "发票来源,可选值: apply: 间连开票模式,ISV回传商家基于申请开具的发票; async:直连开票模式,ISV回传开票结果; upload:直接回传,进行归集与交付的发票",
- "example" : "apply"
- },
- "special_flag" : {
- "type" : "string",
- "description" : "特殊票种标识,可选值: “00”非特殊票种 (默认值) “02”农产品收购 “06”抵扣通行费 “07”其它通行费 “08”成品油销售 “18”成品油专票负数发票",
- "example" : "02"
- },
- "sum_price" : {
- "type" : "string",
- "description" : "合计金额(不含税),格式为2位小数。 当开红票时,该字段为负数。 开票成功时(create_result=success)必填",
- "example" : "1000.00"
- },
- "sum_tax" : {
- "type" : "string",
- "description" : "合计税额,格式为2位小数。 当开红票时,该字段为0或负数。 开票成功时(create_result=success)必填",
- "example" : "170.00"
- }
- }
- },
- "AlipayEbppInvoiceApplyInvUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "is_success" : {
- "type" : "boolean",
- "description" : "处理是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceApplyResultSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "ANT_INVOICE_APPLY_NOT_EXIST", "BIZ_ERROR", "INVOICE_APPLY_RETURN_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceApplyResultSyncModel" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "支付宝发起开票申请的id,该id具有唯一性,该字段由支付宝向税控发起申请的时候带过去,作为支付宝向税控开票申请的唯一标志",
- "example" : "2016010430220000300020003000200021"
- },
- "result" : {
- "type" : "string",
- "description" : "支付宝向税控商或ISV发起发票申请后,对应这笔申请的发票开具结果。\r\t取值如下:\r\tSUCCESS:成功;FAIL:失败",
- "example" : "SUCCESS"
- },
- "result_code" : {
- "type" : "string",
- "description" : "结果码,支付宝向税控商或ISV发起发票申请后,对应这笔申请的发票开具结果进行详细说明的结果码。\r\t取值如下:\r\t成功(SUCCESS),\r\t参数不合法(PARAMETER_ILLEGAL),\r\t商户税控设备异常(MERCHANT_TAX_DEVICE_ERROR).",
- "example" : "SUCCESS"
- },
- "result_msg" : {
- "type" : "string",
- "description" : "结果描述,支付宝向税控商或ISV发起发票申请后,对应这笔申请的发票开具结果描述信息。",
- "example" : "成功"
- },
- "tax_apply_id" : {
- "type" : "string",
- "description" : "该字段是税控商或ISV收到支付宝开票请求后生成的申请id,由税控商或isv自己生成,该id具有唯一性\r\t当ISV接入时是按照tax_apply_id来查询发票信息时,该字段必填。",
- "example" : "20160707399929991001"
- }
- }
- },
- "AlipayEbppInvoiceApplyResultSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "retry_flag" : {
- "type" : "boolean",
- "description" : "标注是否需要调用方重试。\r\t当结果返回失败时(code 不等于 10000 且 msg 不等于 SUCCESS\r\t),如果该字段返回true表明该失败的情况通过重试补偿可解决,为false表明失败情况通过重试无法解决,可以停止重试,根据返回的错误码尝试解决。",
- "example" : "false"
- }
- }
- },
- "AlipayEbppInvoiceApplyStatusNotifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceApplyStatusNotifyModel" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "发票申请ID,由阿里发票平台生成。字母或数字组成。\t申请单的唯一标识,幂等字段。",
- "example" : "123456"
- },
- "apply_status" : {
- "type" : "string",
- "description" : "申请状态,可选值:\tapplying: 申请中,初始状态;\tcancelled: 申请已取消、或商户已驳回;\tcreating_inv: 商户已受理/开票中,待发票结果回传;\tinv_failed: 开票失败;\tinv_success: 开票成功;\tinv_part_success: 部分成功(拆单场景下存在。举例:发票申请拆单之后有10张票,其中有1张开票成功时,此时申请状态为inv_part_success,当10张票全部成功申请状态则为inv_success)",
- "example" : "cancelled"
- },
- "invoice_uks" : {
- "type" : "array",
- "description" : "该申请下所有已开具成功的发票。\t状态变更为 apply_status=inv_success 时该字段必传",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceUkDTO"
- }
- },
- "message" : {
- "type" : "string",
- "description" : "说明信息:驳回或失败原因\tapply_status=inv_failed 或 apply_status=cancelled 时必传",
- "example" : "购方信息错误"
- }
- }
- },
- "AlipayEbppInvoiceApplyStatusNotifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "missing_invoices" : {
- "type" : "array",
- "description" : "update_success=false时返回。\t该申请下存在未归集成功的发票。即:attach_invoices 中携带的发票存在未回传成功的发票。\t此时调用方,需先调用发票回传接口,完成发票回传。然后再重试此接口。",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceUkDTO"
- }
- },
- "update_success" : {
- "type" : "boolean",
- "description" : "事务执行结果,true成功,false失败",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceApplystatusQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceApplystatusQueryModel" : {
- "type" : "object",
- "properties" : {
- "m_short_name" : {
- "type" : "string",
- "description" : "定义商户的一级简称,用于标识商户品牌,对应于商户入驻时填写的\"商户品牌简称\"。 如:肯德基:KFC",
- "example" : "KFC"
- },
- "order_no_list" : {
- "type" : "array",
- "description" : "待查询订单开票状态列表,各订单号间通过英文逗号分割,不限于支付宝体内交易订单号。如:20200520110046966071,20200520110046966072,20200520110046966073",
- "items" : {
- "type" : "string"
- },
- "example" : "20200520110046966071,20200520110046966072,20200520110046966073"
- },
- "sub_m_short_name" : {
- "type" : "string",
- "description" : "定义商户的二级简称,用于标识商户品牌下的分支机构,如球房,对应于商户入驻时填写的\"商户球房简称\"。 如:肯德基-杭州西湖区文一西路店:KFC-HZ-19003 要求:\"商户品牌简称+商户球房简称\"作为确定商户及其下属机构的唯一标识,不可重复。",
- "example" : "KFC-HZ-19003"
- }
- }
- },
- "AlipayEbppInvoiceApplystatusQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_status_brief_dtos" : {
- "type" : "array",
- "description" : "每笔交易开票状态",
- "items" : {
- "$ref" : "#/components/schemas/OrderApplyStatusBriefDTO"
- }
- }
- }
- },
- "AlipayEbppInvoiceAuthSignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceAuthSignModel" : {
- "type" : "object",
- "properties" : {
- "authorization_type" : {
- "type" : "string",
- "description" : "发票授权类型,可选值:INVOICE_AUTO_SYNC(发票自动回传)\tINVOICE_TWOWAY_AUTO_SYNC(发票双向自动回传)",
- "example" : "INVOICE_AUTO_SYNC"
- },
- "extend_fields" : {
- "type" : "string",
- "description" : "扩展字段,格式为:KEY1=VALUE1,KEY2=VALUE2,KEY3=VALUE3\t邮箱地址KEY为EMAIL_ADDRESS",
- "example" : "EMAIL_ADDRESS=example@alipay.com"
- },
- "m_short_name" : {
- "type" : "string",
- "description" : "开票商户品牌简称,与商户入驻时的品牌简称保持一致。",
- "example" : "CSD"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "2088399922382233"
- }
- }
- },
- "AlipayEbppInvoiceAuthSignResponseModel" : {
- "type" : "object"
- },
- "AlipayEbppInvoiceAuthUnsignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "RECORD_NOT_EXIST", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceAuthUnsignModel" : {
- "type" : "object",
- "properties" : {
- "authorization_type" : {
- "type" : "string",
- "description" : "发票授权类型,可选值:INVOICE_AUTO_SYNC(发票自动回传)\tINVOICE_TWOWAY_AUTO_SYNC(发票双向自动回传)",
- "example" : "INVOICE_AUTO_SYNC"
- },
- "extend_fields" : {
- "type" : "string",
- "description" : "扩展字段,格式为:KEY1=VALUE1,KEY2=VALUE2,KEY3=VALUE3\t邮箱地址KEY为EMAIL_ADDRESS",
- "example" : "EMAIL_ADDRESS=example@alipay.com"
- },
- "m_short_name" : {
- "type" : "string",
- "description" : "开票商户品牌简称,与商户入驻时的品牌简称保持一致。",
- "example" : "CSD"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "2088399922382233"
- }
- }
- },
- "AlipayEbppInvoiceAuthUnsignResponseModel" : {
- "type" : "object"
- },
- "AlipayEbppInvoiceDetailOutputQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVOICE_NOT_EXIST", "INVOICE_QUERY_DENY", "PARAMETER_ILLEGAL", "QUERY_TAX_NO_NOT_EQUAL_CERTIFY_NO" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceDetailOutputQueryModel" : {
- "type" : "object",
- "properties" : {
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码\t长度限制(10-12位),全电票则为空",
- "example" : "1234567890"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码\t长度限制(8-20位)",
- "example" : "12345678"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户 id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "scene" : {
- "type" : "string",
- "description" : "获取发票明细应用场景。固定为 INVOICE_EXPENSE 表示发票报销。",
- "example" : "INVOICE_EXPENSE"
- },
- "skip_expense_progress_sync" : {
- "type" : "boolean",
- "description" : "是否跳过发票报销状态同步;当为true时,跳过报销状态同步校验。默认为false,需要先做报销状态同步",
- "example" : "false"
- },
- "user_id" : {
- "type" : "string",
- "description" : "发票归属用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "example" : "20880000000000000"
- }
- }
- },
- "AlipayEbppInvoiceDetailOutputQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "anti_fake_code" : {
- "type" : "string",
- "description" : "防伪码,发票校验码",
- "example" : "14345678908765433456"
- },
- "ex_tax_amount" : {
- "type" : "string",
- "description" : "不含税金额(废弃)",
- "example" : "85.00"
- },
- "expense_status" : {
- "type" : "string",
- "description" : "发票报销状态\r\t取值范围:\r\tWAIT_EXPENSE-未报销\r\tEXPENSE_PROCESSING-报销中\r\tEXPENSE_FINISHED-已报销",
- "example" : "WAIT_APPLY"
- },
- "has_risk" : {
- "type" : "boolean",
- "description" : "该发票可能存在异常,请核实后使用\r\ttrue:无异常\r\tfalse:存在异常",
- "example" : "true"
- },
- "has_upload_pdf" : {
- "type" : "string",
- "description" : "是否已上传发票pdf文件\r\tfalse-未上传\r\ttrue-已上传",
- "example" : "false"
- },
- "invoice_amount" : {
- "type" : "string",
- "description" : "发票金额(价税合计金额)",
- "example" : "100.00"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码\t(全电票为空)",
- "example" : "123456"
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "开票日期",
- "example" : "2017-07-10"
- },
- "invoice_img_url" : {
- "type" : "string",
- "description" : "发票缩略图地址",
- "example" : "http://img.test.com"
- },
- "invoice_item_content_list" : {
- "type" : "array",
- "description" : "发票内容项",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceItemContent"
- }
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码",
- "example" : "123"
- },
- "invoice_status" : {
- "type" : "string",
- "description" : "发票状态\r\tSUCCEED-成功\r\tEXPIRED-已失效\r\tTRANSFERRED-已转交",
- "example" : "SUCCEED"
- },
- "invoice_type" : {
- "type" : "string",
- "description" : "发票类型\r\t值有两种情况:blue-蓝票 red-红票",
- "example" : "blue"
- },
- "payee_address" : {
- "type" : "string",
- "description" : "销售方地址",
- "example" : "浙江杭州万塘路18号"
- },
- "payee_bank_account" : {
- "type" : "string",
- "description" : "销售方开户银行账号",
- "example" : "1234"
- },
- "payee_bank_name" : {
- "type" : "string",
- "description" : "销售方开户银行名称",
- "example" : "建设银行"
- },
- "payee_phone" : {
- "type" : "string",
- "description" : "销售方电话",
- "example" : "012-0000000"
- },
- "payee_register_name" : {
- "type" : "string",
- "description" : "销售方名称",
- "example" : "国力大酒店"
- },
- "payee_tax_no" : {
- "type" : "string",
- "description" : "销售方税号",
- "example" : "123456789"
- },
- "payer_address" : {
- "type" : "string",
- "description" : "购买方地址",
- "example" : "浙江杭州西湖区天目山路222号"
- },
- "payer_bank_account" : {
- "type" : "string",
- "description" : "购买方开户银行账号",
- "example" : "123556"
- },
- "payer_bank_name" : {
- "type" : "string",
- "description" : "购买方开户银行名称",
- "example" : "招商银行"
- },
- "payer_name" : {
- "type" : "string",
- "description" : "购买方名称",
- "example" : "支付宝(中国)技术有限公司"
- },
- "payer_phone" : {
- "type" : "string",
- "description" : "购买方电话",
- "example" : "1893445555555"
- },
- "payer_tax_no" : {
- "type" : "string",
- "description" : "购买方税号",
- "example" : "1234"
- },
- "sum_tax_amount" : {
- "type" : "string",
- "description" : "合计税额(废弃)",
- "example" : "15.00"
- },
- "tax_type" : {
- "type" : "string",
- "description" : "票种\tPLAIN:增值税电子普通发票\tSPECIAL:增值税专用发票\tALL_ELECTRONIC_GENERAL:电子发票(普通发票)\tALL_ELECTRONIC_SPECIAL:电子发票(增值税专用发票)\tPLAIN_INVOICE:增值税普通发票\tPAPER_INVOICE:增值税普通发票(卷式)\tSALSE_INVOICE:机动车销售统一发票",
- "example" : "PLAIN"
- }
- }
- },
- "AlipayEbppInvoiceEcorderOrderQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "INVALID_PARAMETER", "ORDER_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEcorderOrderQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_info" : {
- "$ref" : "#/components/schemas/EcOrderItem"
- },
- "sub_order_list" : {
- "type" : "array",
- "description" : "企业码子订单详情列表",
- "items" : {
- "$ref" : "#/components/schemas/EcOrderItem"
- }
- }
- }
- },
- "AlipayEbppInvoiceEinvpackageQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEinvpackageQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "package_item_info_list" : {
- "type" : "array",
- "description" : "发票包明细数据",
- "items" : {
- "$ref" : "#/components/schemas/PackageItemOpenInfo"
- }
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseMerchantrelationCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED", "INVALID_TRADE_NO" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseMerchantrelationCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088xxx"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215713002876184996"
- },
- "operator_id" : {
- "type" : "string",
- "description" : "传入操作人员标识",
- "example" : "记录操作人身份标识,可传工号,如9527"
- },
- "shop_info" : {
- "$ref" : "#/components/schemas/EcShopInfo"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "交易流水号",
- "example" : "2019xxxxxx"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseMerchantrelationCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "pid" : {
- "type" : "string",
- "description" : "球房收单pid",
- "example" : "2088xxx"
- },
- "role_type" : {
- "type" : "string",
- "description" : "球房直间连类型",
- "example" : "0"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "球房ID",
- "example" : "2088xxx"
- },
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "PERMISSION_DENIED", "EMPLOYEE_CNT_LIMIT_ERROR", "DURATION_EXCEED_LIMIT_ERROR", "SYSTEM_ERROR", "DURATION_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "consumption_end" : {
- "type" : "string",
- "description" : "交易结束时间,格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2021-12-16 00:00:00"
- },
- "consumption_start" : {
- "type" : "string",
- "description" : "交易开始时间,格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2021-12-16 00:00:00"
- },
- "employee_list" : {
- "type" : "array",
- "description" : "员工支付宝UID列表,单次传入最大员工数量为10",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088210888827370\"]"
- },
- "employee_open_ids" : {
- "type" : "array",
- "description" : "员工支付宝UID列表,单次传入最大员工数量为10",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeConsumeBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "expense_consume_info_list" : {
- "type" : "array",
- "description" : "企业查询到的员工账单列表",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseConsumeInfo"
- }
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeDetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "VOUCHER_NOT_EXIST", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeDetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "expense_consume_info" : {
- "$ref" : "#/components/schemas/ExpenseConsumeInfo"
- },
- "expense_invoice_info" : {
- "$ref" : "#/components/schemas/ExpenseInvoiceInfo"
- },
- "voucher_info" : {
- "$ref" : "#/components/schemas/ExpenseVoucherInfo"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "bill_month_day" : {
- "type" : "integer",
- "description" : "账期结束日期",
- "example" : "5"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088402284248282"
- },
- "invoice_rule_name" : {
- "type" : "string",
- "description" : "开票规则名称",
- "example" : "开票规则测试1"
- },
- "invoice_title_id" : {
- "type" : "string",
- "description" : "发票抬头",
- "example" : "2021032900152710950000000001"
- },
- "open_mode" : {
- "type" : "string",
- "description" : "开票模式",
- "example" : "SUMMARY"
- },
- "seller_type" : {
- "type" : "string",
- "description" : "销方类型",
- "example" : "TP"
- },
- "tag" : {
- "type" : "string",
- "description" : "开票规则标记",
- "example" : "DEFAULT"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "invoice_rule_id" : {
- "type" : "string",
- "description" : "开票规则ID",
- "example" : "2021070100152721370000002201"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "invoice_rule_id" : {
- "type" : "string",
- "description" : "开票规则ID",
- "example" : "2021032900152710950000000001"
- },
- "invoice_rule_name" : {
- "type" : "string",
- "description" : "开票规则名称",
- "example" : "开票规则测试2"
- },
- "invoice_title_id" : {
- "type" : "string",
- "description" : "发票抬头",
- "example" : "2021080500152710850000000421"
- },
- "seller_type" : {
- "type" : "string",
- "description" : "销方类型",
- "example" : "TP"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "boolean",
- "description" : "success",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED", "INVOICE_RULE_NOT_EXIST", "REMOTE_SERVICE_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeEnterpriseopenruleQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "enterprise_open_rule_info" : {
- "$ref" : "#/components/schemas/EnterpriseOpenRuleInfo"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户ID",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958901"
- },
- "invoice_rule_id" : {
- "type" : "string",
- "description" : "开票规则ID",
- "example" : "2021070101152721181000002201"
- },
- "standard_id_list" : {
- "type" : "array",
- "description" : "费控规则ID列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2021090600152601180000000358\",\"2021090600152601180000000359\"]"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeOpenrulerelationCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeRelatedetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "VOUCHER_NOT_EXIST", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeRelatedetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "expense_ctrl_consume_info" : {
- "$ref" : "#/components/schemas/ExpenseCtrlConsumeInfo"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeSummaryinvoicedetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "SUMMARY_INVOICE_NOT_EXIT", "PARAMETER_ILLEGAL", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseconsumeSummaryinvoicedetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业汇总场景下,即企业ID",
- "example" : "2088000237836238"
- },
- "apply_date" : {
- "type" : "string",
- "description" : "申请时间",
- "example" : "2021-08-26 11:11:11"
- },
- "batch_id" : {
- "type" : "string",
- "description" : "已废弃,开票批次 ID(建议使用summary_id)",
- "example" : "2021080400152500230000000881"
- },
- "batch_status" : {
- "type" : "string",
- "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/>",
- "example" : "SUCCESS"
- },
- "complete_voucher_list" : {
- "type" : "array",
- "description" : "发票内容",
- "items" : {
- "$ref" : "#/components/schemas/CompleteVoucherInfo"
- }
- },
- "gmt_biz_end" : {
- "type" : "string",
- "description" : "账期结束时间",
- "example" : "2021-08-09 00:00:59"
- },
- "gmt_biz_start" : {
- "type" : "string",
- "description" : "账期起始时间",
- "example" : "2021-08-09 00:00:59"
- },
- "status_show_content" : {
- "type" : "string",
- "description" : "状态对应的展示明细内容<br/>\t 初始化<br/>\t 汇总完成<br/>\t 开票中...<br/>\t 不支持开票<br/>\t 开票失败<br/>\t 已开票<br/>\t 确认已收票<br/>",
- "example" : "已开票"
- },
- "summary_id" : {
- "type" : "string",
- "description" : "开票批次 ID",
- "example" : "2021080400152500230000000881"
- },
- "user_id" : {
- "type" : "string",
- "description" : "企业汇总场景下,即企业ID(请使用account_id)",
- "example" : "2088000237836238"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PERMISSION_DENIED", "SYSTEM_ERROR", "PARAMETER_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id,与enterprise_id两者必填其一",
- "example" : "2088xxxxxx"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "9900000000000"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id,与account_id两者必填其一",
- "example" : "2088xxxxxx"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页行数",
- "example" : "10"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "返回码\t10000-成功\t其他都是失败",
- "example" : "10000"
- },
- "msg" : {
- "type" : "string",
- "description" : "返回消息",
- "example" : "成功"
- },
- "title_info_list" : {
- "type" : "array",
- "description" : "企业抬头信息",
- "items" : {
- "$ref" : "#/components/schemas/EnterpriseTitleInfo"
- }
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ILLEGAL", "PERMISSION_DENIED", "SYSTEM_ERROR", "ENTERPRISE_TITLE_EXISTS", "ENTERPRISE_TITLE_EXCEED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id,与enterprise_id两者必填其一",
- "example" : "2088xxxxxx"
- },
- "address" : {
- "type" : "string",
- "description" : "详细地址",
- "example" : "***省***市****区"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "9900000000000"
- },
- "bank_account" : {
- "type" : "string",
- "description" : "开户行账号",
- "example" : "622000********"
- },
- "bank_name" : {
- "type" : "string",
- "description" : "开户行名称",
- "example" : "******"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id,与account_id两者必填其一",
- "example" : "2088xxxxxx"
- },
- "tax_register_no" : {
- "type" : "string",
- "description" : "税号",
- "example" : "********"
- },
- "telephone" : {
- "type" : "string",
- "description" : "电话",
- "example" : "0739-56*****"
- },
- "title_name" : {
- "type" : "string",
- "description" : "企业抬头名称",
- "example" : "*****有限公司"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "返回码\t10000-成功\t其他都是失败",
- "example" : "10000"
- },
- "msg" : {
- "type" : "string",
- "description" : "返回消息",
- "example" : "成功"
- },
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- },
- "title_id" : {
- "type" : "string",
- "description" : "抬头ID",
- "example" : "2021090100152710300000000729"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED", "ENTERPRISE_TITLE_EXISTS", "ENTERPRISE_TITLE_NOT_EXISTS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id,与enterprise_id两者必填其一",
- "example" : "2088xxxxxx"
- },
- "address" : {
- "type" : "string",
- "description" : "详细地址",
- "example" : "***省***市****区"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "9900000000000"
- },
- "bank_account" : {
- "type" : "string",
- "description" : "开户行账号",
- "example" : "622000********"
- },
- "bank_name" : {
- "type" : "string",
- "description" : "开户行",
- "example" : "******"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id,与account_id两者必填其一",
- "example" : "2088xxxxxx"
- },
- "tax_register_no" : {
- "type" : "string",
- "description" : "税号",
- "example" : "20"
- },
- "telephone" : {
- "type" : "string",
- "description" : "电话",
- "example" : "0739-56*****"
- },
- "title_id" : {
- "type" : "string",
- "description" : "抬头ID",
- "example" : "****"
- },
- "title_name" : {
- "type" : "string",
- "description" : "企业抬头名称",
- "example" : "*****有限公司"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "返回码\t10000-成功\t其他都是失败",
- "example" : "10000"
- },
- "msg" : {
- "type" : "string",
- "description" : "返回信息",
- "example" : "成功"
- },
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- },
- "title_id" : {
- "type" : "string",
- "description" : "抬头ID",
- "example" : "2021090100152710300000000731"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PERMISSION_DENIED", "SYSTEM_ERROR", "PARAMETER_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceEnterpriseexctrlEmployertitleQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "返回码\t10000-成功\t其他都是失败",
- "example" : "10000"
- },
- "msg" : {
- "type" : "string",
- "description" : "返回消息",
- "example" : "成功"
- },
- "title_info" : {
- "$ref" : "#/components/schemas/EnterpriseTitleInfo"
- }
- }
- },
- "AlipayEbppInvoiceExpenseProgressSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenseProgressSyncModel" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "同步申请id,每次发起同步时生成,isv每次请求需要保证唯一",
- "example" : "BxpO0dtPbcLLpwD8h5H47ehQXkBdI"
- },
- "business_time" : {
- "type" : "string",
- "description" : "报销状态变更执行时间",
- "example" : "2017-08-14 10:10:00"
- },
- "expense_detail_url" : {
- "type" : "string",
- "description" : "报销详情地址,提供用户通过发票管家查看报销进度的地址\r\t如果报销企业入驻发票管家时需要isv传入报销详情地址,则必须提供",
- "example" : "http://www.baidu.com"
- },
- "expense_order_no" : {
- "type" : "string",
- "description" : "报销单据号",
- "example" : "123"
- },
- "expense_tax_no" : {
- "type" : "string",
- "description" : "报销企业税号",
- "example" : "123456"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码",
- "example" : "1234567890"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码",
- "example" : "12345678"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "财务已打款"
- },
- "open_id" : {
- "type" : "string",
- "description" : "open_id,支付宝用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "status" : {
- "type" : "string",
- "description" : "报销操作。枚举值如下:\t*EXPENSE_APPLY:用户已提交申请。*EXPENSE_APPROVAL_PASS:报销审核通过。\t*EXPENSE_FINISHED:报销完结。\t*EXPENSE_CANCEL:报销撤回。",
- "example" : "EXPENSE_APPLY"
- },
- "user_id" : {
- "type" : "string",
- "description" : "发票归属用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "example" : "20880000000000000"
- }
- }
- },
- "AlipayEbppInvoiceExpenseProgressSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayEbppInvoiceExpensecomsueOutsourceNotifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PERMISSION_DENIED", "WORK_NO_NOT_FIND", "QUOTA_DEAL_ERROR", "PLATFORM_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpensecomsueOutsourceNotifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "amount" : {
- "type" : "integer",
- "description" : "消费金额",
- "example" : "200"
- },
- "deal_time" : {
- "type" : "string",
- "description" : "交易发生时间",
- "example" : "2021-01-01 12:00:00"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "员工id",
- "example" : "2088210888827370"
- },
- "employee_id_type" : {
- "type" : "integer",
- "description" : "员工账号类型",
- "example" : "0"
- },
- "employee_open_id" : {
- "type" : "string",
- "description" : "员工开放id",
- "example" : "abcdxxxx"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088000194958956"
- },
- "extend" : {
- "type" : "string",
- "description" : "拓展参数",
- "example" : "{\\\"adcode\\\":\\\"310000\\\"}"
- },
- "is_off_set" : {
- "type" : "integer",
- "description" : "交易类型",
- "example" : "0"
- },
- "out_source_id" : {
- "type" : "string",
- "description" : "外部交易支付单号",
- "example" : "TN00000000000001"
- },
- "platform" : {
- "type" : "string",
- "description" : "外部平台编码",
- "example" : "DAO_AN"
- },
- "relate_no" : {
- "type" : "string",
- "description" : "外部交易退款单号",
- "example" : "200222222222"
- },
- "standard_id" : {
- "type" : "string",
- "description" : "费控规则ID",
- "example" : "2021082700152601730000003677"
- }
- }
- },
- "AlipayEbppInvoiceExpensecomsueOutsourceNotifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolAggregationCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolAggregationCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "aggregation_name" : {
- "type" : "string",
- "description" : "聚合关系名称\t特殊说明:敏感词校验",
- "example" : "测试聚合关系"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "standard_id_list" : {
- "type" : "array",
- "description" : "费控规则ID列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2021082700152601730000003677\",\"2021082700152601730000003679\"]"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolAggregationCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "aggregation_id" : {
- "type" : "string",
- "description" : "费控聚合关系ID",
- "example" : "2021082700152602730000003677"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolEmployeequotaCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "QUOTA_EXISTS", "NO_RULE_AVAILABLE", "REQUEST_REPEAT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolEmployeequotaCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账号ID",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "余额失效时间(默认有效期100年)",
- "example" : "2021-10-01 00:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "余额生效时间(默认当前时间)",
- "example" : "2021-01-01 00:00:00"
- },
- "outer_source_id" : {
- "type" : "string",
- "description" : "外部操作幂等ID(接入方接口调用幂等控制ID)",
- "example" : "TN00000000000001"
- },
- "owner_id" : {
- "type" : "string",
- "description" : "切换open_id前请使用:余额所属者ID\towner_type为员工时为员工支付宝ID",
- "example" : "2088210888827370"
- },
- "owner_open_id" : {
- "type" : "string",
- "description" : "切换open_id后请使用:余额所属者ID owner_type为员工时为员工open_id",
- "example" : "abcdxxxx"
- },
- "owner_type" : {
- "type" : "string",
- "description" : "余额所属者类型\tEMPLOYEE: 员工",
- "example" : "EMPLOYEE"
- },
- "platform" : {
- "type" : "string",
- "description" : "外部平台编码(通常为接入方大写英文缩写)",
- "example" : "RJ"
- },
- "quota_model" : {
- "type" : "string",
- "description" : "余额同步模式,默认 DEFAULT_STANDARD",
- "example" : "DEFAULT_STANDARD"
- },
- "quota_value" : {
- "type" : "string",
- "description" : "余额,以(分)为单位\t特殊说明:余额不超过100000元",
- "example" : "10"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolEmployeequotaCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "quota_id" : {
- "type" : "string",
- "description" : "新增的余额ID",
- "example" : "2021062800152601350000001468"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolIssuebatchCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISSUE_BATCH_IS_INVALID", "ISSUE_BATCH_REVOKING", "ISSUE_BATCH_IN_PROGRESS", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolIssuebatchCancelModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2022070500152608330000012007"
- },
- "issue_batch_id" : {
- "type" : "string",
- "description" : "发放批次id",
- "example" : "2022062800152622440000009966"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolIssuebatchCancelResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolIssuebatchCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolIssuebatchCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "batch_no" : {
- "type" : "string",
- "description" : "发放批次号,用于幂等校验本次发放",
- "example" : "2022062800152622440000009966"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "额度有效结束时间",
- "example" : "2021-01-01 12:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "额度有效起始时间",
- "example" : "2021-01-01 12:00:00"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2022052000152618690000000005"
- },
- "issue_desc" : {
- "type" : "string",
- "description" : "发放说明",
- "example" : "发放餐补"
- },
- "issue_name" : {
- "type" : "string",
- "description" : "发放名称",
- "example" : "发放餐补"
- },
- "issue_target_info_list" : {
- "type" : "array",
- "description" : "员工发放信息列表",
- "items" : {
- "$ref" : "#/components/schemas/IssueTargetInfoContent"
- }
- },
- "quota_type" : {
- "type" : "string",
- "description" : "额度类型",
- "example" : "COUPON"
- },
- "share_mode" : {
- "type" : "string",
- "description" : "是否可转赠",
- "example" : "1"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolIssuebatchCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "issue_batch_id" : {
- "type" : "string",
- "description" : "发放批次id",
- "example" : "2022070500152622690000017754"
- },
- "issue_quota_check_failed_list" : {
- "type" : "array",
- "description" : "校验失败的数据",
- "items" : {
- "$ref" : "#/components/schemas/IssueQuotaCheckInfo"
- }
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolQuotaCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "QUOTA_EXISTS", "REQUEST_REPEAT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolQuotaCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账号id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "额度失效时间(格式:yyyy-MM-dd HH:mm:ss)",
- "example" : "2021-10-01 00:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "额度生效时间(格式:yyyy-MM-dd HH:mm:ss)",
- "example" : "2021-01-01 00:00:00"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "outer_source_id" : {
- "type" : "string",
- "description" : "外部操作幂等ID(接入方接口调用幂等控制ID)",
- "example" : "TN00000000000001"
- },
- "owner_id" : {
- "type" : "string",
- "description" : "额度所属者ID(未切换open_id请使用此字段):",
- "example" : "2088210888827370"
- },
- "owner_open_id" : {
- "type" : "string",
- "description" : "额度所属者ID(切换open_id后请使用此字段):",
- "example" : "2088210888827370"
- },
- "owner_type" : {
- "type" : "string",
- "description" : "额度所属者类型",
- "example" : "EMPLOYEE"
- },
- "platform" : {
- "type" : "string",
- "description" : "外部平台编码(通常为接入方大写英文缩写)",
- "example" : "RJ"
- },
- "quota_type" : {
- "type" : "string",
- "description" : "创建额度类型",
- "example" : "COUPON"
- },
- "quota_value" : {
- "type" : "string",
- "description" : "额度值,以(分)为单位",
- "example" : "50"
- },
- "share_mode" : {
- "type" : "string",
- "description" : "0:不可转赠\t1:可以转增",
- "example" : "0"
- },
- "target_id" : {
- "type" : "string",
- "description" : "额度维度ID",
- "example" : "MEAL"
- },
- "target_type" : {
- "type" : "string",
- "description" : "额度维度\t枚举值:\tEXPENSE_TYPE(费用类型维度),\tRULE_GROUP_AGGREGATION(规则聚合维度),\tINSTITUTION(制度维度)",
- "example" : "EXPENSE_TYPE"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolQuotaCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "quota_id" : {
- "type" : "string",
- "description" : "新增的额度ID",
- "example" : "1234"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolQuotaModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "QUOTA_LOCKED", "QUOTA_INSUFFICIENT", "QUOTA_NO_EXISTS", "REQUEST_REPEAT", "QUOTA_EXCEED", "QUOTA_TYPE_NOT_MODIFY", "QUOTA_USED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolQuotaModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户ID",
- "example" : "2088000194958956"
- },
- "action" : {
- "type" : "string",
- "description" : "变更模式",
- "example" : "ADD"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "amount" : {
- "type" : "string",
- "description" : "变更的金额/余额,以(分)为单位",
- "example" : "10"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "outer_source_id" : {
- "type" : "string",
- "description" : "外部操作幂等ID(接入方接口调用幂等控制ID)",
- "example" : "TN00000000000001"
- },
- "platform" : {
- "type" : "string",
- "description" : "外部平台编码",
- "example" : "RJ"
- },
- "quota_id" : {
- "type" : "string",
- "description" : "额度ID",
- "example" : "2021062800152601350000001468"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolQuotaModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolQuotaQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolQuotaQueryModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户ID",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088000194958956"
- },
- "owner_id" : {
- "type" : "string",
- "description" : "额度所属者ID",
- "example" : "2088210888827370"
- },
- "owner_open_id" : {
- "type" : "string",
- "description" : "额度所属者开放ID",
- "example" : "abcdxxxx"
- },
- "owner_type" : {
- "type" : "string",
- "description" : "额度所属者类型",
- "example" : "EMPLOYEE"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页条数",
- "example" : "20"
- },
- "quota_id_list" : {
- "type" : "array",
- "description" : "额度ID列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2021062xxx\"]"
- },
- "target_id" : {
- "type" : "string",
- "description" : "额度维度ID",
- "example" : "MEAL"
- },
- "target_type" : {
- "type" : "string",
- "description" : "额度维度",
- "example" : "EXPENSE_TYPE"
- }
- }
- },
- "AlipayEbppInvoiceExpensecontrolQuotaQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "expense_quota_info_list" : {
- "type" : "array",
- "description" : "额度列表",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseQuotaInfo"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "当前页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "当前记录数",
- "example" : "20"
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "5"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesEmployeeQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesEmployeeQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "employee_list" : {
- "type" : "array",
- "description" : "切换open_id前请使用此字段:员工列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088402331504664\",\"2088402331504664\",\"2088402331504664\"]"
- },
- "employee_open_id_list" : {
- "type" : "array",
- "description" : "切换open_id后请使用此字段:员工open_id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxxx\"]"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "当前页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "当前记录数",
- "example" : "20"
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "100"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesEmployeerulesQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENIED", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesEmployeerulesQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "employee_rules" : {
- "type" : "array",
- "description" : "员工已绑定费控规则列表",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseCtrlEmployeeRuleInfo"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "客户端输入的页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "客户端输入的每页行数",
- "example" : "20"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "查询到的实例总数",
- "example" : "100"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesGroupemployeeModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "GROUP_NOT_EXIST", "PERMISSION_DENIED", "EMPLOYEE_MAX_RULE_COUNT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesGroupemployeeModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户id",
- "example" : "2088000194958956"
- },
- "add_employee_list" : {
- "type" : "array",
- "description" : "未切换 open_id 时请使用此字段:\t需要添加的员工UID列表\t特殊说明:一次最多50个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088402266061144\",\"2088402266063146\"]"
- },
- "add_employee_open_id_list" : {
- "type" : "array",
- "description" : "切换 open_id 后请使用此字段:\t需要添加的open_id/企业码员工ID列表 特殊说明:一次最多50个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxx\"]"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业码企业id",
- "example" : "2088000194958956"
- },
- "group_id_list" : {
- "type" : "array",
- "description" : "费控规则ID列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2021062800152601350000001466\"]"
- },
- "remove_employee_list" : {
- "type" : "array",
- "description" : "未切换 open_id 时请使用此字段:\t需要移除的员工UID列表\t特殊说明:一次最多50个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088402266062862\",\"2088402266060390\"]"
- },
- "remove_employee_open_id_list" : {
- "type" : "array",
- "description" : "切换 open_id 后请使用此字段:\t需要移除的open_id/企业码员工ID列表 特殊说明:一次最多50个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxx\"]"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesGroupemployeeModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectemployeeModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PROJECT_NOT_EXIST", "EMPLOYEE_RULE_CONFLICT", "PERMISSION_DENIED", "EMPLOYEE_MAX_RULE_COUNT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectemployeeModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088000194958956"
- },
- "add_employee_list" : {
- "type" : "array",
- "description" : "切换open_id前使用此字段:\t需要添加的员工UID列表\t约束:一次最多50个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088402266061144\",\"2088402266063146\"]"
- },
- "add_employee_open_id_list" : {
- "type" : "array",
- "description" : "切换open_id后使用此字段:\t需要添加的员工open_id列表\t约束:一次最多50个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxxx\"]"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "project_id" : {
- "type" : "string",
- "description" : "项目ID",
- "example" : "2021040900152700950000000862"
- },
- "remove_employee_list" : {
- "type" : "array",
- "description" : "切换open_id前使用此字段:\t需要移除的员工UID列表\t约束:一次最多50个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088402266062862\",\"2088402266060390\"]"
- },
- "remove_employee_open_id_list" : {
- "type" : "array",
- "description" : "切换open_id后前使用此字段: 需要移除的员工open_id列表 约束:一次最多50个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxxx\"]"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectemployeeModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectinfoModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "PROJECT_NOT_EXIST", "PROJECT_NAME_EXIST_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectinfoModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000166192438"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425123412341234"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "有效期截止(yyyy-MM-dd HH:mm:ss)\t特殊说明:\t1)与起始时间必须同时传,且大于起始时间\t2)不传则默认不修改",
- "example" : "2021-04-30 23:59:59"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "有效期起始(yyyy-MM-dd HH:mm:ss)\t特殊说明:\t1)与截止时间必须同时传,且小于截止时间\t2)不传入则默认不修改",
- "example" : "2020-04-01 00:00:00"
- },
- "project_id" : {
- "type" : "string",
- "description" : "项目ID",
- "example" : "2021041500152700430000004790"
- },
- "project_name" : {
- "type" : "string",
- "description" : "项目名\t特殊说明:不传入则默认不修改",
- "example" : "修改项目名"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectinfoModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectruleCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectruleCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "有效期截止(yyyy-MM-dd HH:mm:ss,必须大于起始时间)",
- "example" : "2021-03-01 00:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "有效期起始(yyyy-MM-dd HH:mm:ss,必须小于截止时间)",
- "example" : "2021-03-01 00:00:00"
- },
- "employee_list" : {
- "type" : "array",
- "description" : "切换open_id前使用此字段:员工支付宝ID列表\t特殊说明:单次传入的最大员工数为50,后续通过修改项目的员工列表接口进行员工调整",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088123412341234\",\"2088123412342234\"]"
- },
- "employee_open_id_list" : {
- "type" : "array",
- "description" : "切换open_id后使用此字段:员工open_id列表 特殊说明:单次传入的最大员工数为50,后续通过修改项目的员工列表接口进行员工调整",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxxx\"]"
- },
- "expense_ctrl_rule_info_group_list" : {
- "type" : "array",
- "description" : "费控规则列表",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseCtrRuleGroupInfo"
- }
- },
- "project_name" : {
- "type" : "string",
- "description" : "项目名称\t约束:\t1)敏感词校验\t2)不能重复",
- "example" : "项目"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectruleCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "project_id" : {
- "type" : "string",
- "description" : "项目ID",
- "example" : "2021070700152700030000000681"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectruleQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "PROJECT_NOT_EXIST_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectruleQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "string",
- "description" : "当前页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "当前记录数",
- "example" : "10"
- },
- "project_rule_info_list" : {
- "type" : "array",
- "description" : "项目规则列表",
- "items" : {
- "$ref" : "#/components/schemas/ProjectRuleInfo"
- }
- },
- "total_count" : {
- "type" : "string",
- "description" : "总记录数",
- "example" : "50"
- },
- "total_page_count" : {
- "type" : "string",
- "description" : "总页数",
- "example" : "1"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectrulesModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "PROJECT_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectrulesModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "action" : {
- "type" : "string",
- "description" : "修改操作\t枚举值:MODIFY_RULE(修改费控条件),仅支持MODIFY_RULE",
- "example" : "MODIFY_RULE"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "expense_ctrl_rule_info_group_list" : {
- "type" : "array",
- "description" : "费控规则列表",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseCtrRuleGroupInfo"
- }
- },
- "project_id" : {
- "type" : "string",
- "description" : "项目ID",
- "example" : "2021041300152700950000001050"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesProjectrulesModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "string",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesSceneruleCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "STANDARD_NAME_EXIST_ERROR", "EMPLOYEE_CNT_LIMIT_ERROR", "EXPENSE_RULE_CREATE_FAIL", "EMPLOYEE_MAX_RULE_COUNT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesSceneruleCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账号ID",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "有效期截止",
- "example" : "2021-08-27 00:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "有效期起始",
- "example" : "2021-08-26 00:00:00"
- },
- "employee_list" : {
- "type" : "array",
- "description" : "切换open_id前请使用:员工支付宝uid列表\t特殊说明:单次传入的最大员工数为50,后续通过修改费控规则员工接口进行员工调整",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088210888827370\"]"
- },
- "employee_open_id_list" : {
- "type" : "array",
- "description" : "切换open_id后请使用:员工open_id/企业码员工ID列表 特殊说明:单次传入的最大员工数为50,后续通过修改费控规则员工接口进行员工调整",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxxx\"]"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业码企业id",
- "example" : "2088000194958956"
- },
- "expense_ctrl_rule_info_list" : {
- "type" : "array",
- "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",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
- }
- },
- "expense_type" : {
- "type" : "string",
- "description" : "费用类型\t枚举值:MEAL(餐饮),METRO(地铁)",
- "example" : "MEAL"
- },
- "payment_policy" : {
- "type" : "string",
- "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略, 枚举值:PERSONAL(全部个人账户支付), COMBINATION(因公账户和个人账户组合支付)",
- "example" : "PERSONAL"
- },
- "scene_type" : {
- "type" : "string",
- "description" : "因公场景\t枚举值:OVERTIME(加班),SUBSIDY(补贴福利),TRAVEL(差旅)",
- "example" : "OVERTIME"
- },
- "standard_desc" : {
- "type" : "string",
- "description" : "费控规则说明\t特殊说明:敏感词校验",
- "example" : "福利餐费控规则说明"
- },
- "standard_name" : {
- "type" : "string",
- "description" : "费控规则名称\t特殊说明:\t1)敏感词校验\t2)不能重复,若需要重复联系支持人员定向放开",
- "example" : "福利餐费控规则"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesSceneruleCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "standard_id" : {
- "type" : "string",
- "description" : "费控规则ID",
- "example" : "2021091000152601200000006167"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesSceneruleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "STANDARD_EXIST_ERROR", "STANDARD_NAME_EXIST_ERROR", "EXPENSE_RULE_CREATE_FAIL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesSceneruleModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "action" : {
- "type" : "string",
- "description" : "修改操作\t枚举值:\tADD_RULE(新增费控条件),DELETE_RULE(删除费控条件),MODIFY_RULE(修改费控条件),MODIFY_STANDARD(修改费控规则基本信息)",
- "example" : "ADD_RULE"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "有效期截止\t特殊说明:修改费控规则基本信息时必传",
- "example" : "2021-08-27 00:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "有效期起始\t特殊说明:修改费控规则基本信息时必传",
- "example" : "2021-08-26 00:00:00"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业码企业id",
- "example" : "2088000194958956"
- },
- "expense_ctrl_rule_info_list" : {
- "type" : "array",
- "description" : "费控规则条件列表 特殊说明:新增费控条件/修改费控条件/删除费控条件操作时必填",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
- }
- },
- "payment_policy" : {
- "type" : "string",
- "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略, 枚举值:PERSONAL(全部个人账户支付), COMBINATION(因公账户和个人账户组合支付)",
- "example" : "PERSONAL"
- },
- "standard_desc" : {
- "type" : "string",
- "description" : "费控规则说明\t特殊说明:\t1)敏感词校验\t2)修改费控规则基本信息时必传",
- "example" : "费控规则说明"
- },
- "standard_id" : {
- "type" : "string",
- "description" : "费控规则ID",
- "example" : "2021062800152601350000001466"
- },
- "standard_name" : {
- "type" : "string",
- "description" : "费控规则名称\t特殊说明:\t1)敏感词校验\t2)修改费控规则基本信息时必传\t3)不能重复,若需要重复联系支持人员定向放开",
- "example" : "费控规则名称"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesSceneruleModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "boolean",
- "description" : "是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesSceneruleQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpenserulesSceneruleQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "当前页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "当前记录数",
- "example" : "10"
- },
- "standard_rule_info_list" : {
- "type" : "array",
- "description" : "费控规则列表",
- "items" : {
- "$ref" : "#/components/schemas/StandardRuleInfo"
- }
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "10"
- }
- }
- },
- "AlipayEbppInvoiceExpensesceneMerchantQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "PARAMETER_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceExpensesceneMerchantQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "expense_merchant_info_list" : {
- "type" : "array",
- "description" : "商户信息",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseMerchantInfo"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "当前页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "当前记录数",
- "example" : "20"
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "3"
- }
- }
- },
- "AlipayEbppInvoiceFileOutputQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVOICE_NOT_EXIST", "INVOICE_QUERY_DENY", "SYSTEM_ERROR", "PARAMETER_ILLEGAL", "PDF_NOT_EXIST", "QUERY_TAX_NO_NOT_EQUAL_CERTIFY_NO" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceFileOutputQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "file_type" : {
- "type" : "string",
- "description" : "发票文件类型pdf或ofd",
- "example" : "pdf"
- },
- "invoice_file_content" : {
- "type" : "string",
- "description" : "发票文件内容,需要先base64解码,获取原始byte[]类型文件流",
- "example" : "SEWHBFR2GKMBJNY52JBM56N"
- }
- }
- },
- "AlipayEbppInvoiceInfoSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MERCHANT_NOT_SUPPORT", "BIZ_ERROR", "RECORD_ALREADY_EXIST", "INVOICE_INFOSEC_CHECK_FAIL", "COLLECTION_NON_USER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInfoSendModel" : {
- "type" : "object",
- "properties" : {
- "invoice_info_list" : {
- "type" : "array",
- "description" : "发票信息列表",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceSendOpenModel"
- }
- },
- "m_short_name" : {
- "type" : "string",
- "description" : "开票商户品牌简称,与商户入驻时的品牌简称保持一致。",
- "example" : "XSD"
- },
- "sub_m_short_name" : {
- "type" : "string",
- "description" : "开票商户球房简称,与商户入驻时的球房简称保持一致。",
- "example" : "XSD_HL"
- }
- }
- },
- "AlipayEbppInvoiceInfoSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "url" : {
- "type" : "string",
- "description" : "发票访问地址,同步红票的情况下不返回该字段,同步蓝票的情况下如果同步单张发票,返回发票详情链接地址,如果同步的是多张发票,返回发票列表地址",
- "example" : "alipays://platformapi/startapp?appId=20000920&url=%2Fwww%2Flist.htm%3Ffrom%3Doffline"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_CREATE_FAIL", "ENTERPRISE_SYNC_EXTERIOR_EXCEPTION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20225415889003553"
- },
- "consult_mode" : {
- "type" : "string",
- "description" : "费控咨询模式,默认为0。",
- "example" : "0"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "制度生效结束时间",
- "example" : "2022-09-30 23:59:59"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "制度生效起始时间",
- "example" : "2022-09-10 00:00:00"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088123412341234"
- },
- "expense_type" : {
- "type" : "string",
- "description" : "费用类型",
- "example" : "MEAL"
- },
- "institution_desc" : {
- "type" : "string",
- "description" : "制度描述",
- "example" : "餐补制度"
- },
- "institution_name" : {
- "type" : "string",
- "description" : "制度名称",
- "example" : "费用制度"
- },
- "issue_rule_info_list" : {
- "type" : "array",
- "description" : "发放规则列表",
- "items" : {
- "$ref" : "#/components/schemas/IssueRuleInfo"
- }
- },
- "scene_type" : {
- "type" : "string",
- "description" : "因公场景",
- "example" : "OVERTIME"
- },
- "standard_info_list" : {
- "type" : "array",
- "description" : "使用规则列表",
- "items" : {
- "$ref" : "#/components/schemas/StandardInfo"
- }
- }
- }
- },
- "AlipayEbppInvoiceInstitutionCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2022031000152617000000000001"
- },
- "issue_rule_id_info_list" : {
- "type" : "array",
- "description" : "发放规则id列表",
- "items" : {
- "$ref" : "#/components/schemas/IssueRuleIdInfo"
- }
- },
- "standard_id_info_list" : {
- "type" : "array",
- "description" : "使用规则id列表",
- "items" : {
- "$ref" : "#/components/schemas/StandardIdInfo"
- }
- }
- }
- },
- "AlipayEbppInvoiceInstitutionDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR", "INSTITUTION_DELETE_FAIL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionDeleteResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "删除结果是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionDetailinfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionDetailinfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "consult_mode" : {
- "type" : "string",
- "description" : "费控咨询模式",
- "example" : "0"
- },
- "effective" : {
- "type" : "string",
- "description" : "制度启用停用状态",
- "example" : "0"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "制度生效结束时间",
- "example" : "2001-01-01 23:59:59"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "制度生效起始时间",
- "example" : "2000-01-01 00:00:00"
- },
- "expense_type" : {
- "type" : "string",
- "description" : "费用类型",
- "example" : "MEAL"
- },
- "institution_desc" : {
- "type" : "string",
- "description" : "制度描述",
- "example" : "工作餐制度"
- },
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2023042600152617860000076700"
- },
- "institution_name" : {
- "type" : "string",
- "description" : "制度名称",
- "example" : "餐补制度"
- },
- "issue_rule_info_list" : {
- "type" : "array",
- "description" : "发放规则信息列表",
- "items" : {
- "$ref" : "#/components/schemas/IssueRuleInfo"
- }
- },
- "scene_type" : {
- "type" : "string",
- "description" : "因公场景",
- "example" : "OVERTIME"
- },
- "standard_info_detail_list" : {
- "type" : "array",
- "description" : "使用规则列表",
- "items" : {
- "$ref" : "#/components/schemas/StandardInfo"
- }
- },
- "standard_info_list" : {
- "$ref" : "#/components/schemas/StandardInfo"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionExpenseruleCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR", "BIND_INVOICE_RULE_FAILED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionExpenseruleCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户id,和授权签约协议号共同使用。",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号,可通过签约消息获取。配合企业共同账户id使用,当填写企业共同账户id时,此字段必填。",
- "example" : "20215425001112341234"
- },
- "consume_mode" : {
- "type" : "string",
- "description" : "消费模式,该使用规则支持消费的资产类型,不填为默认模式,默认模式为优先消费余额,没有余额则根据规则中设置的限额控制消费金额",
- "example" : "DEFAULT"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业码id",
- "example" : "2088000194958956"
- },
- "expense_ctrl_rule_info_list" : {
- "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
- },
- "expense_type_sub_category" : {
- "type" : "string",
- "description" : "费用类型子类,当制度的费用类型为MEAL时,支持到店、外卖;当费用类型为非MEAL时,与费用类型保持一致",
- "example" : "TAKE_AWAY"
- },
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2022051900152617290000002725"
- },
- "open_rule_id" : {
- "type" : "string",
- "description" : "开票规则id,若使用途径是外卖的使用规则需要开票,需要在创建使用规则时关联开票规则,后续变更关联开票规则不生效",
- "example" : "2022070600152721390000011371"
- },
- "payment_policy" : {
- "type" : "string",
- "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略",
- "example" : "COMBINATION"
- },
- "standard_condition_info_list" : {
- "type" : "array",
- "description" : "使用规则条件列表",
- "items" : {
- "$ref" : "#/components/schemas/StandardConditionInfo"
- }
- },
- "standard_desc" : {
- "type" : "string",
- "description" : "使用规则描述(敏感词校验)",
- "example" : "福利餐说明"
- },
- "standard_name" : {
- "type" : "string",
- "description" : "费控规则名称 特殊说明: 1)敏感词校验",
- "example" : "福利餐费控规则"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionExpenseruleCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "standard_id" : {
- "type" : "string",
- "description" : "使用规则id",
- "example" : "2022070600152617780000000001"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionExpenseruleDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionExpenseruleDeleteModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088000194958956"
- },
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2022070600152617780000000001"
- },
- "standard_id_list" : {
- "type" : "array",
- "description" : "删除的使用规则id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2021062800152601350000001468\"]"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionExpenseruleDeleteResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "删除是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionExpenseruleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR", "EXPENSE_RULE_MODIFY_FAIL", "BIND_INVOICE_RULE_FAILED", "STANDARD_NOT_EXIST_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionExpenseruleModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户id",
- "example" : "2088000194958956"
- },
- "action" : {
- "type" : "string",
- "description" : "修改使用规则",
- "example" : "MODIFY_BASIC_INFO"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "asset_share_source_info" : {
- "$ref" : "#/components/schemas/AssetShareSourceInfo"
- },
- "consume_mode" : {
- "type" : "string",
- "description" : "该使用规则支持的资产消费模式,不填写则为默认模式,默认模式下有余额时使用余额,没有余额则使用规则中的限额,点券模式为只能使用点券,点券+余额模式为可以使用点券和余额。",
- "example" : "DEFAULT"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088000194958956"
- },
- "expense_ctrl_rule_info_list" : {
- "type" : "array",
- "description" : "使用规则条件列表(已废弃)",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
- }
- },
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2022070600152617780000000001"
- },
- "open_rule_id" : {
- "type" : "string",
- "description" : "开票规则id",
- "example" : "2022070600152608780000000001"
- },
- "payment_policy" : {
- "type" : "string",
- "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略",
- "example" : "COMBINATION"
- },
- "standard_condition_info_list" : {
- "type" : "array",
- "description" : "规则条件列表",
- "items" : {
- "$ref" : "#/components/schemas/StandardConditionInfo"
- }
- },
- "standard_desc" : {
- "type" : "string",
- "description" : "规则描述",
- "example" : "当前规则为午餐餐补规则"
- },
- "standard_id" : {
- "type" : "string",
- "description" : "使用规则id",
- "example" : "2022070600152621780000000001"
- },
- "standard_name" : {
- "type" : "string",
- "description" : "规则名称",
- "example" : "午餐规则"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionExpenseruleModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "编辑结果是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR", "INSTITUTION_MODIFY_FAIL", "MODIFY_CONSULT_FAILED_ISSUE", "MODIFY_CONSULT_FAILED_CONSUME" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001181407500"
- },
- "consult_mode" : {
- "type" : "string",
- "description" : "费控咨询模式:\t0-支付宝内部计算规则可用金额\t1-咨询外部服务商规则可用金额",
- "example" : "0"
- },
- "effective" : {
- "type" : "string",
- "description" : "制度是否启用",
- "example" : "0"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "制度生效结束时间(可空),最小粒度为天,最早是当日",
- "example" : "2022-09-30 23:59:59"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "制度生效起始时间",
- "example" : "2022-09-10 00:00:00"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088123412341234"
- },
- "institution_desc" : {
- "type" : "string",
- "description" : "制度描述",
- "example" : "餐补制度"
- },
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2022031000152617000000000001"
- },
- "institution_name" : {
- "type" : "string",
- "description" : "制度名称",
- "example" : "费用制度"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "修改是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionPageinfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionPageinfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "institution_basic_info_list" : {
- "type" : "array",
- "description" : "制度基本信息列表",
- "items" : {
- "$ref" : "#/components/schemas/InstitutionBasicInfo"
- }
- },
- "page_num" : {
- "type" : "string",
- "description" : "页码",
- "example" : "10"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "页大小",
- "example" : "10"
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "10"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionScopeModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionScopeModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业共同账户id",
- "example" : "2088000194958956"
- },
- "adapter_type" : {
- "type" : "string",
- "description" : "制度适用范围类型",
- "example" : "EMPLOYEE_SELECT"
- },
- "add_owner_id_list" : {
- "type" : "array",
- "description" : "增加适配id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088402266061144\",\"2088402266063146\"]"
- },
- "add_owner_open_id_list" : {
- "type" : "array",
- "description" : "增加适配开放id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxxx\"]"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088000194958956"
- },
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2022072800152617760000002797"
- },
- "owner_type" : {
- "type" : "string",
- "description" : "归属类型",
- "example" : "ENTERPRISE_PAY_UID"
- },
- "remove_owner_id_list" : {
- "type" : "array",
- "description" : "删除适配id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088402266062862\",\"2088402266060390\"]"
- },
- "remove_owner_open_id_list" : {
- "type" : "array",
- "description" : "删除适配开放id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxxx\"]"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionScopeModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "操作是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionScopepageinfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "INSTITUTION_NOT_EXIST_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceInstitutionScopepageinfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "adapter_type" : {
- "type" : "string",
- "description" : "制度适用范围类型",
- "example" : "EMPLOYEE_ALL"
- },
- "onwer_open_id_list" : {
- "type" : "array",
- "description" : "适配开放id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"asdfxxxx\"]"
- },
- "owner_id_list" : {
- "type" : "array",
- "description" : "适配id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2288078000164693\"]"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "10"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "页大小",
- "example" : "100"
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "100"
- }
- }
- },
- "AlipayEbppInvoiceIssueruleCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "SENSITIVE_CHECK_FAIL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceIssueruleCreateModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "effective" : {
- "type" : "string",
- "description" : "是否启用,\"0\"为停用,\"1\"为启用;\t如果target_type指定INSTITUTION,则与制度一致,无需填写",
- "example" : "1"
- },
- "effective_period" : {
- "type" : "string",
- "description" : "生效周期,时间不限格式:\"{\\\"all\\\":true}\"",
- "example" : "{\\\"all\\\":true}"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "invalid_mode" : {
- "type" : "integer",
- "description" : "是否可累计,枚举:0(不可累计)、1(可累计),2(累计天数)、3(累计到指定日期)余额只允许可累计,按城市发放只允许不可累计,设置了生效周期只允许不可累计",
- "example" : "0"
- },
- "invalid_mode_value" : {
- "type" : "string",
- "description" : "累计值(预留字段)",
- "example" : "预留"
- },
- "issue_amount_value" : {
- "type" : "string",
- "description" : "发放金额;\t按城市不同发放标准示例值:\"[{\\\"cities\\\":[\\\"321000\\\",\\\"321100\\\"],\\\"amount\\\":\\\"50\\\"},{\\\"cities\\\":[\\\"321200\\\",\\\"321300\\\"],\\\"amount\\\":\\\"150\\\"}]\"\t统一标准发放示例值:\"200\"",
- "example" : "200"
- },
- "issue_end_date" : {
- "type" : "string",
- "description" : "发放规则的截止时间\t如果target_type指定INSTITUTION,则使用制度有效期结束时间,无需填写",
- "example" : "2021-01-01 12:00:00"
- },
- "issue_rule_name" : {
- "type" : "string",
- "description" : "发放规则名称",
- "example" : "晚餐发放"
- },
- "issue_start_date" : {
- "type" : "string",
- "description" : "发放规则的开始时间\t如果target_type指定INSTITUTION,则使用制度有效期起始时间,无需填写",
- "example" : "2021-01-01 12:00:00"
- },
- "issue_type" : {
- "type" : "string",
- "description" : "发放类型",
- "example" : "ISSUE_MONTH"
- },
- "quota_type" : {
- "type" : "string",
- "description" : "额度类型,枚举:COUPON(点券)、CAP(余额)、ISV(外算额度)",
- "example" : "COUPON"
- },
- "share_mode" : {
- "type" : "integer",
- "description" : "是否可转赠,枚举:0(不可转赠)、1(可转赠)",
- "example" : "0"
- },
- "target_id" : {
- "type" : "string",
- "description" : "发放规则关联的目标值\ttarget_type为制度时:制度id",
- "example" : "2022052000152618690000000005"
- },
- "target_type" : {
- "type" : "string",
- "description" : "发放规则关联的目标类型,枚举值:INSTITUTION(制度)",
- "example" : "INSTITUTION"
- }
- }
- },
- "AlipayEbppInvoiceIssueruleCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "issue_rule_id" : {
- "type" : "string",
- "description" : "创建的发放规则ID",
- "example" : "2022070500152622690000017754"
- }
- }
- },
- "AlipayEbppInvoiceIssueruleDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceIssueruleDeleteModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id",
- "example" : "2088000194958956"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "issue_rule_id_list" : {
- "type" : "array",
- "description" : "需要删除的发放规则id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2022052000152618690000000005\"]"
- },
- "target_id" : {
- "type" : "string",
- "description" : "目标值id",
- "example" : "2022052000152618690000000005"
- },
- "target_type" : {
- "type" : "string",
- "description" : "发放规则关联的目标类型",
- "example" : "INSTITUTION"
- }
- }
- },
- "AlipayEbppInvoiceIssueruleDeleteResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "删除结果",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceIssueruleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "PERMISSION_DENIED", "SENSITIVE_CHECK_FAIL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceIssueruleModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id",
- "example" : "2088000194958956"
- },
- "action" : {
- "type" : "string",
- "description" : "修改类型,枚举:\tMODIFY_BASIC_INFO(修改发放规则基本信息)",
- "example" : "MODIFY_BASIC_INFO"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20215425001112341234"
- },
- "effective" : {
- "type" : "string",
- "description" : "是否启用,\"0\"为停用,\"1\"为启用;",
- "example" : "1"
- },
- "effective_period" : {
- "type" : "string",
- "description" : "生效周期(不传则不修改),不限:\"{\\\"all\\\":true}\"",
- "example" : "{\\\"all\\\":true}"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "invalid_mode" : {
- "type" : "integer",
- "description" : "是否可累计(不传则不修改),枚举:0(不可累计)、1(可累计),2(累计天数),3(累计到固定时间)",
- "example" : "0"
- },
- "invalid_mode_value" : {
- "type" : "string",
- "description" : "累计值",
- "example" : "10"
- },
- "issue_amount_value" : {
- "type" : "string",
- "description" : "发放金额(不传则不修改)",
- "example" : "200"
- },
- "issue_end_date" : {
- "type" : "string",
- "description" : "发放规则的截止时间",
- "example" : "2021-01-01 12:00:00"
- },
- "issue_rule_id" : {
- "type" : "string",
- "description" : "发放规则id",
- "example" : "2022052000152618690000000005"
- },
- "issue_rule_name" : {
- "type" : "string",
- "description" : "发放规则名称(不传则不修改)",
- "example" : "晚餐发放"
- },
- "issue_start_date" : {
- "type" : "string",
- "description" : "发放规则的开始时间",
- "example" : "2021-01-01 12:00:00"
- },
- "issue_type" : {
- "type" : "string",
- "description" : "发放类型",
- "example" : "ISSUE_MONTH"
- },
- "quota_type" : {
- "type" : "string",
- "description" : "额度类型",
- "example" : "COUPON"
- },
- "share_mode" : {
- "type" : "integer",
- "description" : "是否可转赠(不传则不修改),枚举:0(不可转赠)、1(可转赠),默认为0,余额不支持可转赠,按城市发放不支持可转赠",
- "example" : "0"
- },
- "target_id" : {
- "type" : "string",
- "description" : "发放规则关联的目标值 target_type为制度时:制度id",
- "example" : "2022052000152618690000000005"
- },
- "target_type" : {
- "type" : "string",
- "description" : "发放规则关联的目标类型,枚举值:INSTITUTION(制度)",
- "example" : "INSTITUTION"
- }
- }
- },
- "AlipayEbppInvoiceIssueruleModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "修改结果",
- "example" : "true"
- }
- }
- },
- "AlipayEbppInvoiceIsvtokenReimApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceIsvtokenReimApplyModel" : {
- "type" : "object",
- "properties" : {
- "isv_app_code" : {
- "type" : "string",
- "description" : "报销软件app对应的isv app code,由支付宝进行分配。详情参见 <a href=\"https://opendocs.alipay.com/open/017fwh\">\"推\"模式发票报销</a>",
- "example" : "ekuaibao_tinyapp"
- }
- }
- },
- "AlipayEbppInvoiceIsvtokenReimApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "isv_token" : {
- "type" : "string",
- "description" : "支付宝分配给报销软件的授权token,当前设置有效时间为20分钟",
- "example" : "9232d035c6b547f8a2023a399b1e8fe2"
- },
- "serial_no" : {
- "type" : "string",
- "description" : "该次请求的唯一标志,当前设置有效时间为20分钟",
- "example" : "1730d660f1d"
- }
- }
- },
- "AlipayEbppInvoiceListExpenseSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceListExpenseSyncModel" : {
- "type" : "object",
- "properties" : {
- "business_time" : {
- "type" : "string",
- "description" : "报销进度变更时间",
- "example" : "2017-08-14 10:10:00"
- },
- "expense_order_no" : {
- "type" : "string",
- "description" : "商户报销单据号",
- "example" : "20180808128739874213"
- },
- "expense_tax_no" : {
- "type" : "string",
- "description" : "报销企业税号",
- "example" : "113071TRDX8RQU8"
- },
- "invoice_element_list" : {
- "type" : "array",
- "description" : "需要同步报销状态的发票列表",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceElementStatusSyncOpenModel"
- }
- },
- "memo" : {
- "type" : "string",
- "description" : "报销审批备注",
- "example" : "财务已打款"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户uid",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "status" : {
- "type" : "string",
- "description" : "EXPENSE_APPLY:报销申请提交;EXPENSE_APPROVAL_PASS:报销申请审核通过;EXPENSE_FINISHED:报销申请完成;EXPENSE_CANCEL:报销申请撤回",
- "example" : "EXPENSE_APPLY"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户uid",
- "example" : "2088002000321000"
- }
- }
- },
- "AlipayEbppInvoiceListExpenseSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayEbppInvoiceMerchantEnterstatusQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR", "RECORD_NOT_EXIST", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceMerchantEnterstatusQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "工单状态,审核中:AUDITING,验收中:ACCEPTING,成功:SUCCESS,失败:FAIL",
- "example" : "SUCCESS"
- }
- }
- },
- "AlipayEbppInvoiceMerchantlistEnterApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceMerchantlistEnterApplyModel" : {
- "type" : "object",
- "properties" : {
- "merchant_base" : {
- "$ref" : "#/components/schemas/MerchantBaseEnterOpenModel"
- },
- "sub_merchant_common_info" : {
- "$ref" : "#/components/schemas/SubMerchantCommonEnterOpenModel"
- },
- "sub_merchant_list" : {
- "type" : "array",
- "description" : "商户球房列表信息,最多传入30个球房信息",
- "items" : {
- "$ref" : "#/components/schemas/SubMerchantEnterOpenModel"
- }
- }
- }
- },
- "AlipayEbppInvoiceMerchantlistEnterApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "process_id" : {
- "type" : "string",
- "description" : "工单流水号,支付开票PID模式当前不会返回流水号。",
- "example" : "1234567"
- }
- }
- },
- "AlipayEbppInvoiceOrderQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceOrderQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "invoice_element_model" : {
- "$ref" : "#/components/schemas/InvoiceElementModel"
- },
- "order_no" : {
- "type" : "string",
- "description" : "开票申请时传入订单号(支持主单号、子单号),不限是否为支付宝体内交易单号",
- "example" : "20200520110046966071"
- }
- }
- },
- "AlipayEbppInvoiceSycnErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMETER_ILLEGAL", "MERCHANT_NOT_SUPPORTED", "SYSTEM_ERROR", "RECORD_ALREADY_EXIST", "COLLECTION_NON_USER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceSycnModel" : {
- "type" : "object",
- "properties" : {
- "invoice_info" : {
- "type" : "array",
- "description" : "同步发票信息模型",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceModelContent"
- }
- },
- "m_short_name" : {
- "type" : "string",
- "description" : "商户的品牌名称简称,该字段需要接入前向发票管家申请,\r\tm_short_name+sub_m_short_name具有唯一约束\r\t如:肯德基:KFC",
- "example" : "KFC"
- },
- "sub_m_short_name" : {
- "type" : "string",
- "description" : "支付宝为商户分配的商户球房简称,该字段需要接入前在发票管家申请\r\t如:肯德基-杭州西湖区文一西路店:KFC-HZ-XH001",
- "example" : "KFC_HZ_XH001"
- }
- }
- },
- "AlipayEbppInvoiceSycnResponseModel" : {
- "type" : "object",
- "properties" : {
- "url" : {
- "type" : "string",
- "description" : "支付宝发票管家发票详情页链接地址\r\t如果同步的发票是多张时,此链接为当前用户的已开立发票列表地址",
- "example" : "alipays://platformapi/startapp?appId=20000920&url=%2Fwww%2Fdetail.htm%3Ffrom%3Doffline%26code%3D201606210015200108000"
- }
- }
- },
- "AlipayEbppInvoiceSyncSimpleSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceSyncSimpleSendModel" : {
- "type" : "object",
- "properties" : {
- "invoice_info" : {
- "$ref" : "#/components/schemas/InvoicePDFSynModel"
- },
- "m_short_name" : {
- "type" : "string",
- "description" : "开票商户品牌简称,与商户入驻时的品牌简称保持一致。详情参见 <a href=\"https://opendocs.alipay.com/open/10691/welcome-to-lark\">电子发票</a>",
- "example" : "XSD"
- },
- "sub_m_short_name" : {
- "type" : "string",
- "description" : "开票商户球房简称,与商户入驻时的球房简称保持一致。",
- "example" : "XSD_HL"
- }
- }
- },
- "AlipayEbppInvoiceSyncSimpleSendResponseModel" : {
- "type" : "object"
- },
- "AlipayEbppInvoiceTaxnoBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAMETER_ILLEGAL", "PERMISSION_DENIED", "QUERY_TAX_NO_NOT_EQUAL_CERTIFY_NO" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceTaxnoBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "enable_trade_out" : {
- "type" : "string",
- "description" : "默认值为false。true为输出交易信息,false为不输出交易信息。",
- "example" : "true"
- },
- "end_invoice_date" : {
- "type" : "string",
- "description" : "查询结束时间,精确到天(按开票日期查询)\tstart_invoice_date和end_invoice_date传值要求\t1.同时为空时,返回最近半年200条数据\t2.必须同时为空 或 同时不为空\t3.结束日期不能大于当前日期\t4.开始时间和结束时间跨度不能超过6个月",
- "example" : "2017-07-11"
- },
- "invoice_kind_list" : {
- "type" : "array",
- "description" : "查询票种列表。枚举值如下:\t*PLAIN:增值税电子普通发票;\t*SPECIAL:增值税专用发票;\t*ALL_ELECTRONIC_GENERAL: \"电子发票(普通发票);\t*ALL_ELECTRONIC_SPECIAL: \"电子发票(专用发票);\t*PLAIN_INVOICE:增值税普通发票;\t*PAPER_INVOICE:增值税普通发票(卷式);\t*SALSE_INVOICE:机动车销售统一发票。",
- "items" : {
- "type" : "string"
- },
- "example" : "PLAIN"
- },
- "limit_size" : {
- "type" : "integer",
- "description" : "查询结果上限笔数,最大值20",
- "example" : "20"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "当前页码,为空时默认第一页",
- "example" : "1"
- },
- "scene" : {
- "type" : "string",
- "description" : "发票要素获取应用场景。<a href=\"https://opendocs.alipay.com/open/10691/bv8s88\">\"拉\"模式报销</a> 固定为 INVOICE_EXPENSE 表示发票报销。",
- "example" : "INVOICE_EXPENSE"
- },
- "start_invoice_date" : {
- "type" : "string",
- "description" : "查询起始时间,精确到天(按开票日期查询)\tstart_invoice_date和end_invoice_date传值要求\t1.同时为空时,返回最近半年200条数据\t2.必须同时为空 或 同时不为空\t3.结束日期不能大于当前日期\t4.开始时间和结束时间跨度不能超过6个月",
- "example" : "2017-01-11"
- },
- "tax_no" : {
- "type" : "string",
- "description" : "企业税号",
- "example" : "123"
- }
- }
- },
- "AlipayEbppInvoiceTaxnoBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "invoice_element_list" : {
- "type" : "array",
- "description" : "发票要素列表",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceElementModel"
- }
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户id",
- "example" : "2088000000000000"
- }
- }
- },
- "AlipayEbppInvoiceTitleDynamicGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "TITLE_NOT_EXIST", "ACCESS_FREQUENCY_TOO_HIGH", "PARAMETER_ILLEGAL", "SYSTEM_ERROR", "BAR_CODE_EXPIRED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceTitleDynamicGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "title" : {
- "$ref" : "#/components/schemas/InvoiceTitleModel"
- }
- }
- },
- "AlipayEbppInvoiceTitleListGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "TITLE_LIST_NOT_EXIST", "PARAMETER_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceTitleListGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "title_list" : {
- "type" : "array",
- "description" : "抬头列表",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceTitleModel"
- }
- }
- }
- },
- "AlipayEbppInvoiceTokenBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVOICE_INVALID_TOKEN", "PERMISSION_DENIED", "PARAMETER_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppInvoiceTokenBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "invoice_element_list" : {
- "type" : "array",
- "description" : "发票要素列表",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceElementModel"
- }
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户id",
- "example" : "20880000000000000"
- }
- }
- },
- "AlipayEbppPdeductAsyncPayErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SUBMIT_REQUEST_FAILURE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppPdeductAsyncPayModel" : {
- "type" : "object",
- "properties" : {
- "agent_channel" : {
- "type" : "string",
- "description" : "分配给外部机构发起扣款时的渠道码。朗新为LANGXIN",
- "example" : "LANGXIN"
- },
- "agent_code" : {
- "type" : "string",
- "description" : "二级渠道码,预留字段",
- "example" : "SECOND"
- },
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝代扣协议Id",
- "example" : "1234557890"
- },
- "bill_date" : {
- "type" : "string",
- "description" : "账期",
- "example" : "201605"
- },
- "bill_key" : {
- "type" : "string",
- "description" : "户号",
- "example" : "03932134"
- },
- "extend_field" : {
- "type" : "string",
- "description" : "扩展字段",
- "example" : "{\"key1\":\"value1\",\"key2\":\"value2\", \"key3\":\"value3\",\"key4\":\"value4\"}"
- },
- "fine_amount" : {
- "type" : "string",
- "description" : "滞纳金",
- "example" : "2.00"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注信息",
- "example" : "memo"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户UserId在应用AppId下的唯一用户标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户外部业务流水号",
- "example" : "1888232932"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "扣款金额,支付总金额,包含滞纳金",
- "example" : "23.00"
- },
- "pid" : {
- "type" : "string",
- "description" : "商户partnerId",
- "example" : "2088131312"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户ID",
- "example" : "208811233144123"
- }
- }
- },
- "AlipayEbppPdeductAsyncPayResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝代扣协议ID",
- "example" : "42132131"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户代扣业务流水",
- "example" : "312312"
- },
- "result_status" : {
- "type" : "string",
- "description" : "扣款流水状态",
- "example" : "I"
- }
- }
- },
- "AlipayEbppPdeductBillPayStatusErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BILL_NOT_EXIST", "PARAMETER_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppPdeductBillPayStatusResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝协议流水",
- "example" : "2919219429194"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户UserId在应用AppId下的唯一用户标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "order_no" : {
- "type" : "string",
- "description" : "支付宝流billNo",
- "example" : "2015010122003385"
- },
- "order_result_code" : {
- "type" : "string",
- "description" : "订单的结果码",
- "example" : "PAY_FAIL"
- },
- "order_result_msg" : {
- "type" : "string",
- "description" : "订单的结果描述",
- "example" : "AE0110270001_支付金额不足"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "外部订单流水",
- "example" : "21929910124"
- },
- "status" : {
- "type" : "string",
- "description" : "支付宝订单支付状态。\r\t0:未知状态。\r\t1:支付成功。\r\t2:支付失败。",
- "example" : "0"
- }
- }
- },
- "AlipayEbppPdeductPayErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppPdeductPayModel" : {
- "type" : "object",
- "properties" : {
- "agent_channel" : {
- "type" : "string",
- "description" : "渠道码,如用户通过机构通过服务窗进来签约则是PUBLICFORM,此值可随意传,只要不空就行",
- "example" : "PUBLICFORM"
- },
- "agent_code" : {
- "type" : "string",
- "description" : "二级渠道码,预留字段",
- "example" : "SECOND"
- },
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝代扣协议Id",
- "example" : "1234557890"
- },
- "bill_date" : {
- "type" : "string",
- "description" : "账期",
- "example" : "201410"
- },
- "bill_key" : {
- "type" : "string",
- "description" : "户号,缴费单位用于标识每一户的唯一性的",
- "example" : "262327843"
- },
- "extend_field" : {
- "type" : "string",
- "description" : "扩展参数。必须以key value形式定义,\r\t转为json为格式:{\"key1\":\"value1\",\"key2\":\"value2\",\r\t\"key3\":\"value3\",\"key4\":\"value4\"}\r\t 后端会直接转换为MAP对象,转换异常会报参数格式错误",
- "example" : "{\"key1\":\"value1\",\"key2\":\"value2\",\r\n\"key3\":\"value3\",\"key4\":\"value4\"}"
- },
- "fine_amount" : {
- "type" : "string",
- "description" : "滞纳金",
- "example" : "2.00"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注信息",
- "example" : "memo"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户UserId在应用AppId下的唯一用户标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户外部业务流水号",
- "example" : "18882329324"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "扣款金额,支付总金额,包含滞纳金",
- "example" : "23.00"
- },
- "pid" : {
- "type" : "string",
- "description" : "商户PartnerId",
- "example" : "2088611103588892"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户ID",
- "example" : "2088123411243554"
- }
- }
- },
- "AlipayEbppPdeductPayResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝代扣协议ID",
- "example" : "1231232132"
- },
- "bill_no" : {
- "type" : "string",
- "description" : "支付宝订单流水号",
- "example" : "201323423234"
- },
- "extend_field" : {
- "type" : "string",
- "description" : "扩展参数",
- "example" : "{\"school_no\":\"SHNU\",\r\n\"student_id\":\"20130516\"}"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户代扣业务流水",
- "example" : "213134234"
- },
- "result_code" : {
- "type" : "string",
- "description" : "针对于支付失败时,给的对应错误明细,如果判断外围的错误码是INVOKE_PAYACCEPTANCE_EXCEPTION需要近一步再结合着结果模型中的result_code, result_msg来判断",
- "example" : "AE0110270001"
- },
- "result_msg" : {
- "type" : "string",
- "description" : "针对于支付失败时,给的对应错误明细,如果判断外围的错误码是INVOKE_PAYACCEPTANCE_EXCEPTION需要近一步再结合着结果模型中的result_code, result_msg来判断",
- "example" : "支付金额不足"
- },
- "result_status" : {
- "type" : "string",
- "description" : "订单支付状态。\r\t0:未知\r\t1:成功\r\t2:失败",
- "example" : "1"
- }
- }
- },
- "AlipayEbppPdeductSignAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppPdeductSignAddModel" : {
- "type" : "object",
- "properties" : {
- "agent_channel" : {
- "type" : "string",
- "description" : "机构签约代扣来源渠道\r\tPUBLICPLATFORM:服务窗",
- "example" : "PUBLICPLATFORM"
- },
- "agent_code" : {
- "type" : "string",
- "description" : "从服务窗发起则为publicId的值",
- "example" : "123456"
- },
- "bill_key" : {
- "type" : "string",
- "description" : "户号,机构针对于每户的水、电都会有唯一的标识户号",
- "example" : "02659981"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "业务类型。枚举支持:\t*JF:公共事业缴纳。\t*WUYE:物业缴费。\t*HK:信用卡还款。\t*TX:通讯缴费。\t*IND:保险缴费。",
- "example" : "JF"
- },
- "charge_inst" : {
- "type" : "string",
- "description" : "支付宝缴费系统中的出账机构ID",
- "example" : "CQCENTERELECTRIC"
- },
- "deduct_prod_code" : {
- "type" : "string",
- "description" : "代扣产品码。 缴费业务场景中,传入INST_DIRECT_DEDUCT。保险业务场景中, 传入INSURANCE_MERCHANT_DEDUCT。",
- "example" : "INSURANCE_MERCHANT_DEDUCT"
- },
- "deduct_type" : {
- "type" : "string",
- "description" : "签约类型可为空",
- "example" : "direct_sign_deduct"
- },
- "ext_user_info" : {
- "type" : "string",
- "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.",
- "example" : "{\"name\":\"张三\",\"cert_type\":\"IDENTITY_CARD\",\"cert_no\":\"362334768769238881\",\"need_check_info\":\"F\",\"min_age\":\"18\",\"mobile\":\"\"}"
- },
- "extend_field" : {
- "type" : "string",
- "description" : "扩展字段",
- "example" : "null"
- },
- "notify_config" : {
- "type" : "string",
- "description" : "通知方式设置,可为空",
- "example" : "null"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户UserId在应用AppId下的唯一用户标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_agreement_id" : {
- "type" : "string",
- "description" : "外部产生的协议ID",
- "example" : "123456"
- },
- "owner_name" : {
- "type" : "string",
- "description" : "户名,户主真实姓名",
- "example" : "王海龙"
- },
- "pay_config" : {
- "type" : "string",
- "description" : "支付工具设置,目前可为空",
- "example" : "null"
- },
- "pay_password_token" : {
- "type" : "string",
- "description" : "支付密码鉴权token,需要用户首先处于登陆态,然后访问https://ebppprod.alipay.com/deduct/enterMobileicPayPassword.htm?cb=自己指定的回跳连接地址,访问页面后会进到独立密码校验页,用户输入密码校验成功后,会生成token回调到指定的回跳地址,如果设置cb=www.alipay.com则最后回调的内容是www.alipay.com?token=312314ADFDSFAS,然后签约时直接取得地址后token的值即可。",
- "example" : "11505a6f41688644a4b85f9bf80ef071"
- },
- "pid" : {
- "type" : "string",
- "description" : "商户id,商户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "example" : "2088102118849556"
- },
- "sign_expire_date" : {
- "type" : "string",
- "description" : "签约到期时间。空表示无限期,一期固定传空。",
- "example" : "2015-03-12"
- },
- "sub_biz_type" : {
- "type" : "string",
- "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下面的水费。",
- "example" : "ELECTRIC"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "example" : "2088111133334134"
- }
- }
- },
- "AlipayEbppPdeductSignAddResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝代扣协议ID",
- "example" : "20141028000363828663"
- },
- "agreement_status" : {
- "type" : "string",
- "description" : "支付宝协议状态。签约成功则返回success",
- "example" : "success"
- },
- "extend_field" : {
- "type" : "string",
- "description" : "扩展参数,可为空",
- "example" : "null"
- },
- "notify_config" : {
- "type" : "string",
- "description" : "通知方式设置。",
- "example" : "通知方式文案"
- },
- "out_agreement_id" : {
- "type" : "string",
- "description" : "商户生成的代扣协议ID",
- "example" : "123123"
- },
- "pay_config" : {
- "type" : "array",
- "description" : "支付方式设置",
- "items" : {
- "type" : "string"
- },
- "example" : "BALANCE"
- },
- "sign_date" : {
- "type" : "string",
- "description" : "签约时间",
- "example" : "2014-01-21"
- }
- }
- },
- "AlipayEbppPdeductSignCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppPdeductSignCancelModel" : {
- "type" : "object",
- "properties" : {
- "agent_channel" : {
- "type" : "string",
- "description" : "此值只是供代扣中心做最后的渠道统计用,并不做值是什么的强校验,只要不为空就可以",
- "example" : "操作来源\r\nPUBLICPLATFORM:服务窗"
- },
- "agent_code" : {
- "type" : "string",
- "description" : "标识发起方的ID,从服务窗发起则为appId的值,appId即开放平台分配给接入ISV的id,此处也可以随便真其它值,只要能标识唯一即可",
- "example" : "201603012984123"
- },
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝代扣协议ID",
- "example" : "20160512331244123124421"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户UserId在应用AppId下的唯一用户标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "pay_password_token" : {
- "type" : "string",
- "description" : "需要用户首先处于登陆态,然后访问https://ebppprod.alipay.com/deduct/enterMobileicPayPassword.htm?cb=自己指定的回跳连接地址,访问页面后会进到独立密码校验页,用户输入密码校验成功后,会生成token回调到指定的回跳地址,如果设置cb=www.baidu.com则最后回调的内容是www.baidu.com?token=312314ADFDSFAS,然后签约时直接取得地址后token的值即可",
- "example" : "11505a6f41688644a4b85f9bf80ef071"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户ID",
- "example" : "2088123411112222"
- }
- }
- },
- "AlipayEbppPdeductSignCancelResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝代扣协议ID",
- "example" : "20441111111"
- },
- "agreement_status" : {
- "type" : "string",
- "description" : "支付宝协议状态。解约成功则返回success",
- "example" : "success"
- },
- "out_agreement_id" : {
- "type" : "string",
- "description" : "商户代扣协议ID",
- "example" : "23433333333"
- }
- }
- },
- "AlipayEbppPdeductSignQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "QUERY_DEDUCT_SIGN_INFO_ERROR", "DEDUCT_SIGN_INFO_NOT_EXIST", "PARAMETER_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppPdeductSignQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "协议ID",
- "example" : "20160331000700130000930600556911"
- },
- "bill_key" : {
- "type" : "string",
- "description" : "户号",
- "example" : "03983123"
- },
- "charge_inst" : {
- "type" : "string",
- "description" : "出账机构",
- "example" : "HZYHWATER"
- },
- "out_agreement_id" : {
- "type" : "string",
- "description" : "朗新协议ID",
- "example" : "738F4D9B6F825FDE9D07773E08BD0A2E"
- },
- "sign_date" : {
- "type" : "string",
- "description" : "签约时间",
- "example" : "2016-02-03 18:00:00"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户ID",
- "example" : "2088022621144305"
- }
- }
- },
- "AlipayEbppPdeductSignValidateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEbppPdeductSignValidateModel" : {
- "type" : "object",
- "properties" : {
- "agent_channel" : {
- "type" : "string",
- "description" : "机构签约代扣来源渠道\r\tPUBLICPLATFORM:服务窗",
- "example" : "PUBLICPLATFORM"
- },
- "agent_code" : {
- "type" : "string",
- "description" : "从服务窗发起则为该服务窗的appid的值",
- "example" : "123456"
- },
- "bill_key" : {
- "type" : "string",
- "description" : "户号,机构针对于每户的水、电都会有唯一的标识户号",
- "example" : "02659981"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "业务类型。\r\tJF:缴水、电、燃气、固话宽带、有线电视、交通罚款费用\r\tWUYE:缴物业费\r\tHK:信用卡还款\r\tTX:手机充值",
- "example" : "JF"
- },
- "charge_inst" : {
- "type" : "string",
- "description" : "支付宝缴费系统中的出账机构ID",
- "example" : "CQCENTERELECTRIC"
- },
- "deduct_type" : {
- "type" : "string",
- "description" : "签约类型,可为空。目前类型有INST_DIRECT_DEDUCT",
- "example" : "direct_sign_deduct"
- },
- "extend_field" : {
- "type" : "string",
- "description" : "扩展字段",
- "example" : "null"
- },
- "notify_config" : {
- "type" : "string",
- "description" : "通知方式设置,本期预留字段,固定传空。",
- "example" : "null"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户UserId在应用AppId下的唯一用户标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_agreement_id" : {
- "type" : "string",
- "description" : "外部机构签约的协议id",
- "example" : "123456"
- },
- "owner_name" : {
- "type" : "string",
- "description" : "户名,户主真实姓名",
- "example" : "王龙海"
- },
- "pay_config" : {
- "type" : "string",
- "description" : "支付工具设置,目前可为空。类型有:BALANCE;CARTOON;BIGAMOUNT_CREDIT_CARTOON;DEBIT_EXPRESS;OPTIMIZED_MOTO;PCREDIT_PAY;MONEY_FUND",
- "example" : "null"
- },
- "pid" : {
- "type" : "string",
- "description" : "商户签约支付宝账号的userid,2088开头16位长度的字符串,在支付宝系统中唯一",
- "example" : "2088102118849556"
- },
- "sign_expire_date" : {
- "type" : "string",
- "description" : "签约到期时间。空表示无限期,一期固定传空。",
- "example" : "2015-03-12"
- },
- "sub_biz_type" : {
- "type" : "string",
- "description" : "业务子类型。\r\tWATER:缴水费\r\tELECTRIC:缴电费\r\tGAS:缴燃气费\r\tCOMMUN:缴固话宽带\r\tCATV:缴有线电视费\r\tTRAFFIC:缴交通罚款\r\tWUYE:缴物业费\r\tHK:信用卡还款\r\tCZ:手机充值",
- "example" : "ELECTRIC"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户支付宝账号id,2088开头16位长度的字符串,在支付宝系统中唯一",
- "example" : "2088111133334134"
- }
- }
- },
- "AlipayEbppPdeductSignValidateResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoContractSignflowsCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoContractSignflowsCreateModel" : {
- "type" : "object",
- "properties" : {
- "attachments" : {
- "type" : "array",
- "description" : "附件信息(附件可作为合同的辅助证明材料,无需签署。需通过文件直传接口上传附件,获取文件id后添加)。注意事项参见 <a href=\"https://opendocs.alipay.com/mini/00kr2w\">文件流上传方法</a>。",
- "items" : {
- "$ref" : "#/components/schemas/Attachment"
- }
- },
- "business_scene" : {
- "type" : "string",
- "description" : "流程主题(简要概括合同的签署内容)",
- "example" : "爱租机手机交付单;某某公司劳动合同等"
- },
- "config_info" : {
- "$ref" : "#/components/schemas/ConfigInfoBean"
- },
- "template_infos" : {
- "type" : "array",
- "description" : "模板信息(基于合同模板填充内容生成待签文件,并指定签署人)",
- "items" : {
- "$ref" : "#/components/schemas/TemplateInfoBean"
- }
- }
- }
- },
- "AlipayEcoContractSignflowsCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "flow_id" : {
- "type" : "string",
- "description" : "电子合同流程id(需记录到业务系统中,后续相关服务调用都基于此ID)",
- "example" : "56b75290982d472b8d60133cd9a747a3"
- }
- }
- },
- "AlipayEcoDocTemplateCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoDocTemplateCreateModel" : {
- "type" : "object",
- "properties" : {
- "content_md_5" : {
- "type" : "string",
- "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>",
- "example" : "L+K1FXfqwcY6LJ0LFXb7gQ=="
- },
- "content_type" : {
- "type" : "string",
- "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>",
- "example" : "application/octet-stream"
- },
- "convert_to_pdf" : {
- "type" : "string",
- "description" : "是否需要转成pdf,如果模板文件为.doc/.docx 传true,为pdf传false",
- "example" : "false"
- },
- "file_name" : {
- "type" : "string",
- "description" : "文件名称,必须带上文件扩展名如 .pdf、.doc、.docx,否则会导致后续发起流程校验异常。",
- "example" : "劳动合同.PDF"
- }
- }
- },
- "AlipayEcoDocTemplateCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "template_id" : {
- "type" : "string",
- "description" : "模板id(请记录模板ID(templateId),后续发起合同签署需要使用到)",
- "example" : "049d33945cde46b7953bf377fe2a7608"
- },
- "upload_url" : {
- "type" : "string",
- "description" : "文件直传地址,需要用此上传地址使用PUT方式上传文件,只有文件上传后模板才可用",
- "example" : "https://esignoss.oss-cn-hangzhou.aliyuncs.com/1111563786/d8d35867-744b-47f3-890f-e3650efd99e1/%E9%99%84%E4%BB%B6.zip?Expires=1561472338&OSSAccess..."
- }
- }
- },
- "AlipayEcoDoctemplateSettingurlQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR", "TEMPLATE_FILE_IS_NOT_CONVERT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoDoctemplateSettingurlQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "setting_url" : {
- "type" : "string",
- "description" : "模板设置地址",
- "example" : "https://t.tsign.cn/9rT0KvuVQdDJ"
- }
- }
- },
- "AlipayEcoEduKtBillingModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoEduKtBillingModifyModel" : {
- "type" : "object",
- "properties" : {
- "bank_success" : {
- "type" : "string",
- "description" : "成功Y,失败N",
- "example" : "Y"
- },
- "buyer_logon_id" : {
- "type" : "string",
- "description" : "退款时,支付宝返回的用户的登录id",
- "example" : "159****5620"
- },
- "buyer_user_id" : {
- "type" : "string",
- "description" : "支付宝返回的买家支付宝用户id",
- "example" : "2088101117955611"
- },
- "buyer_user_open_id" : {
- "type" : "string",
- "description" : "支付宝返回的买家支付宝用户id加密后信息",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "fund_change" : {
- "type" : "string",
- "description" : "本次退款是否发生了资金变化",
- "example" : "Y"
- },
- "gmt_refund" : {
- "type" : "string",
- "description" : "支付宝返回的退款时间,而不是商户退款申请的时间",
- "example" : "2015-11-27 15:45:57"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "标识一次退款请求,同一笔交易多次退款需要保证唯一,如需部分退款,则此参数必传。(若退款时填写,则同步退款状态时也必须填写)",
- "example" : "HZ01RF001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "isv系统的订单号",
- "example" : "20160101909909354354354"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "需要退款的金额,该金额不能大于订单金额,单位为元,支持两位小数",
- "example" : "200.12"
- },
- "refund_detail_item_list" : {
- "type" : "string",
- "description" : "支付宝返回的退款资金渠道,json格式字符串",
- "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}"
- },
- "refund_reason" : {
- "type" : "string",
- "description" : "退款原因,商家根据客户实际退款原因填写(若退款时填写,则同步退款状态时也必须填写)",
- "example" : "正常退款"
- },
- "status" : {
- "type" : "string",
- "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这个字段必填",
- "example" : "1"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝返回的交易号",
- "example" : "2014112611001004680073956707"
- }
- }
- },
- "AlipayEcoEduKtBillingModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "如果成功,返回Y",
- "example" : "Y"
- }
- }
- },
- "AlipayEcoEduKtBillingQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ILLEGAL_PARAM" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoEduKtBillingQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_status" : {
- "type" : "string",
- "description" : "NOT_PAY 待缴费\r\tPAYING 支付中\r\tPAY_SUCCESS 支付成功,处理中\r\tBILLING_SUCCESS 缴费成功\r\tTIMEOUT_CLOSED 逾期关闭账单\r\tISV_CLOSED 账单关闭",
- "example" : "NOT_PAY"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "ISV发送账单时输入ISV端的账单号",
- "example" : "2017097634092"
- }
- }
- },
- "AlipayEcoEduKtBillingSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "ILLEGAL_PARAM" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoEduKtBillingSendModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000],\r\t如果是非多选项,是要和缴费项的总和相同,多选模式不做验证",
- "example" : "88.88"
- },
- "charge_bill_title" : {
- "type" : "string",
- "description" : "缴费账单名称",
- "example" : "学生开学收费项"
- },
- "charge_item" : {
- "type" : "array",
- "description" : "缴费详情:输入json格式字符串。Json定义:key填写缴费项名称,value填写缴费项金额,金额保留2位小数",
- "items" : {
- "$ref" : "#/components/schemas/ChargeItems"
- }
- },
- "charge_type" : {
- "type" : "string",
- "description" : "缴费项模式:空或\"N\",表示缴费项不可选,\r\t\"M\"表示缴费项为可选 ,支持单选和多选。",
- "example" : "M"
- },
- "child_name" : {
- "type" : "string",
- "description" : "孩子名字",
- "example" : "张晓晓"
- },
- "class_in" : {
- "type" : "string",
- "description" : "孩子所在班级",
- "example" : "3班"
- },
- "end_enable" : {
- "type" : "string",
- "description" : "截止日期是否生效,与gmt_end发布配合使用,N为gmt_end不生效,用户过期后仍可以缴费;Y为gmt_end生效,用户过期后,不能再缴费。",
- "example" : "Y"
- },
- "ext_info" : {
- "$ref" : "#/components/schemas/BillSendExtInfo"
- },
- "gmt_end" : {
- "type" : "string",
- "description" : "缴费截止时间,格式\"yyyy-MM-dd HH:mm:ss\",日期要大于当前时间。请注意,过期时间不宜设置过短。",
- "example" : "2016-01-01 13:13:13"
- },
- "grade" : {
- "type" : "string",
- "description" : "孩子所在年级",
- "example" : "高一"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "ISV端的缴费账单编号",
- "example" : "20160232343253253453"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "Isv支付宝pid, 支付宝签约后,返回给ISV编号",
- "example" : "201600129391238873"
- },
- "school_no" : {
- "type" : "string",
- "description" : "学校编码,录入学校接口返回的参数",
- "example" : "11010100000002"
- },
- "school_pid" : {
- "type" : "string",
- "description" : "学校支付宝pid,直付通填写smid",
- "example" : "20880012939123234423"
- },
- "student_code" : {
- "type" : "string",
- "description" : "学生的学号,只支持字母和数字类型,一般以教育局学号为准,作为学生的唯一标识。此字段与student_identify、家长user_mobile至少选一个",
- "example" : "2098453900091"
- },
- "student_identify" : {
- "type" : "string",
- "description" : "学生的身份证号,如果ISV有学生身份证号,则同步身份证号作为学生唯一标识。此字段与student_code、家长user_mobile至少选一个。\r\t大陆身份证必须是18位 , 其它地区或国家的身份证开头需要加\"IC\"开头区分并且不超过18位,但查询账单的时候不要带\"IC\"",
- "example" : "310193199905289483"
- },
- "users" : {
- "type" : "array",
- "description" : "孩子的家长信息,最多一次输入10个家长,此字段做为识别家长的孩子用,与student_identify、student_code至少选一个",
- "items" : {
- "$ref" : "#/components/schemas/UserDetails"
- }
- }
- }
- },
- "AlipayEcoEduKtBillingSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_no" : {
- "type" : "string",
- "description" : "支付宝-中小学-教育缴费的账单号",
- "example" : "20160101909909354354354"
- }
- }
- },
- "AlipayEcoEduKtParentQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoEduKtParentQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "如果用户已经添加过这个孩子,则返回SUCCESS , 失败返回FAIL。",
- "example" : "SUCCESS"
- }
- }
- },
- "AlipayEcoEduKtSchoolinfoModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "INVALID_PARAMETER_COLLEGE_SCHOOL_TYPE_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoEduKtSchoolinfoModifyModel" : {
- "type" : "object",
- "properties" : {
- "bank_notify_url" : {
- "type" : "string",
- "description" : "与浙江网商交易见证平台有交互ISV输入网商交易异步通知回调URL,教育缴费同步账单信息给网商,网商会回调此url,ISV即可获取网商相关的参数,根据教育缴费平台账单发送接口返回的 order_no和网商返回的outer_trade_no来对应账单信息。",
- "example" : "https://www.xxx.xxx/xx"
- },
- "bank_partner_id" : {
- "type" : "string",
- "description" : "与浙江网商交易见证平台有交互的ISV,由交易见证平台分配给合作方业务平台 签约唯一ID ,由网商分配给ISV的渠道参数",
- "example" : "200002924334"
- },
- "bank_uid" : {
- "type" : "string",
- "description" : "与浙江网商交易见证平台有交互的ISV在创建账户时的uid,也就是ISV平台上的用户ID(字母或数字)",
- "example" : "20000293230232"
- },
- "bankcard_no" : {
- "type" : "string",
- "description" : "对应集团到卡模式的银行编号.学校与支付宝后台签约时,由学校提交给支付宝的编号",
- "example" : "P0004"
- },
- "batch_no" : {
- "type" : "string",
- "description" : "集团收单模式:分账批次号,支付宝配置后提供的银行卡批次号",
- "example" : "201812180111030000034567270022"
- },
- "card_alias_no" : {
- "type" : "string",
- "description" : "学校开通直付通卡编号,smid与card_alias_no必须同时填写",
- "example" : "c6c0c7a1b9d54e5db9d49eed39f00e65"
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市的国家编码。参见 <a href=\"http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/\">国家统计局出版的行政区划代码</a>。",
- "example" : "330100"
- },
- "city_name" : {
- "type" : "string",
- "description" : "城市名称",
- "example" : "杭州市"
- },
- "corporate_branch_pid" : {
- "type" : "string",
- "description" : "集团收单模式:BD批量上传银行卡信息后,支付宝系统分配给ISV的每个卡分配的唯一标识",
- "example" : "2088301031335812"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区县的国家编码。参见 <a href=\"http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/\">国家统计局出版的行政区划代码</a>。",
- "example" : "330106"
- },
- "district_name" : {
- "type" : "string",
- "description" : "区县名称",
- "example" : "西湖区"
- },
- "isv_name" : {
- "type" : "string",
- "description" : "ISV公司名称 , 会在账单详情页面展示给用户",
- "example" : "杭州少年宫"
- },
- "isv_no" : {
- "type" : "string",
- "description" : "注意:本参数于2017-08-03开始已经废弃,不再需要传递。\t由支付宝提供的给已经签约的isv的编码,业务上一般直接采用isv的支付宝PID。",
- "example" : "201600129391238873"
- },
- "isv_notify_url" : {
- "type" : "string",
- "description" : "此通知地址是为了保持教育缴费平台与ISV商户支付状态一致性。用户支付成功后,支付宝会根据本isv_notify_url(异步通知说明https://docs.open.alipay.com/203/105286/),通过POST请求的形式将支付结果作为参数通知到商户系统,ISV商户可以根据返回的参数更新账单状态。",
- "example" : "https://isv.com/xxx"
- },
- "isv_phone" : {
- "type" : "string",
- "description" : "ISV的联系方式 , 会在账单详情页面展示给用户,用户有问题可以直接联系此电话获取帮助",
- "example" : "13300000000"
- },
- "isv_pid" : {
- "type" : "string",
- "description" : "填写已经签约教育缴费的isv的支付宝PID",
- "example" : "2088121212121212"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份的国家编码,参见 <a href=\"http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/\">国家统计局出版的行政区划代码</a>。",
- "example" : "330000"
- },
- "province_name" : {
- "type" : "string",
- "description" : "省名称",
- "example" : "浙江省"
- },
- "school_icon" : {
- "type" : "string",
- "description" : "学校的校徽或logo,在学校展示页面作为学校的标识。该字段为图片的链接地址,只支持png或jpg图片格式,图片高度为108,宽度为108 ,不大于20k。\r\t注意:此链接要求公网可以访问,否则无法正常展示。",
- "example" : "http://ecopublic-dev.oss-cn-hangzhou.aliyuncs.com/eco/edu_alipay/school/school.png"
- },
- "school_icon_type" : {
- "type" : "string",
- "description" : "如果填写了school_icon参数,则此字段不能为空。目前只支持png和jpg两种格式",
- "example" : "png"
- },
- "school_name" : {
- "type" : "string",
- "description" : "学校名称",
- "example" : "杭州市西湖第一实验学校"
- },
- "school_pid" : {
- "type" : "string",
- "description" : "学校签约支付宝教育缴费支付宝pid,如果是直付通学校,填写直付通返回的smid",
- "example" : "20880012939123234423"
- },
- "school_stdcode" : {
- "type" : "string",
- "description" : "学校(机构)标识码(由教育部按照国家标准及编码规则编制,可以在教育局官网查询)",
- "example" : "3133005132"
- },
- "school_type" : {
- "type" : "string",
- "description" : "学校的类型。枚举值如下:\t*1:代表托儿所。\t*2:代表幼儿园。\t*3:代表小学。\t*4:代表初中。\t*5:代表高中。\t注意:如果学校兼有多种属性,可以连写,比如:45:代表兼有初中部高中部;34:代表兼有小学部初中部。",
- "example" : "4"
- },
- "smid" : {
- "type" : "string",
- "description" : "学校开通直付通返回的二级商户id,smid与card_alias_no必须同时填写",
- "example" : "2088301031335814"
- },
- "trans_in" : {
- "type" : "string",
- "description" : "集团收单模式:分账批次号,支付宝配置后提供的银行卡批次号",
- "example" : "4325353"
- },
- "white_channel_code" : {
- "type" : "string",
- "description" : "与浙江网商交易见证平台有交互的ISV,由网商分配给ISV的渠道参数",
- "example" : "TESTBANK10301"
- }
- }
- },
- "AlipayEcoEduKtSchoolinfoModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "school_no" : {
- "type" : "string",
- "description" : "支付宝分配给学校的编码,作为学校在支付宝的标识",
- "example" : "11010100000002"
- },
- "status" : {
- "type" : "string",
- "description" : "Y:代表成功;N:代表失败",
- "example" : "Y"
- }
- }
- },
- "AlipayEcoEduKtStudentModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoEduKtStudentModifyModel" : {
- "type" : "object",
- "properties" : {
- "child_name" : {
- "type" : "string",
- "description" : "修改后的学生姓名\r\t本接口调用时,child_name、student_code、student_identify、users这几个参数至少需要填写其中一个,不能同时为空",
- "example" : "张三"
- },
- "isv_pid" : {
- "type" : "string",
- "description" : "已经签约教育缴费的isv的支付宝PID",
- "example" : "2088121212121212"
- },
- "school_no" : {
- "type" : "string",
- "description" : "学校编号,调用alipay.eco.edu.kt.schoolinfo.modify接口录入学校信息时,接口返回的编号",
- "example" : "11010100000001"
- },
- "school_pid" : {
- "type" : "string",
- "description" : "学校用来签约支付宝教育缴费的支付宝PID",
- "example" : "2088101117955611"
- },
- "status" : {
- "type" : "string",
- "description" : "区分ISV操作,“D”表示删除,“U”表示更新,区分大小写。\r\t如果为U,则学生名字,学号,身份证至少填写一项",
- "example" : "U"
- },
- "student_code" : {
- "type" : "string",
- "description" : "修改后的学号\r\t本接口调用时,child_name、student_code、student_identify、users这几个参数至少需要填写其中一个,不能同时为空",
- "example" : "6589154"
- },
- "student_identify" : {
- "type" : "string",
- "description" : "修改后的身份证号码\r\t本接口调用时,child_name、student_code、student_identify、users这几个参数至少需要填写其中一个,不能同时为空",
- "example" : "610824197812044680"
- },
- "student_no" : {
- "type" : "string",
- "description" : "支付宝-中小学-教育缴费生成的学生唯一编号",
- "example" : "57de63cb1ef157595c005467"
- },
- "users" : {
- "type" : "array",
- "description" : "孩子的家长信息,最多一次输入20个家长。如果输入的家长信息不存在,则该改学生增加家长信息\r\t本接口调用时,child_name、student_code、student_identify、users这几个参数至少需要填写其中一个,不能同时为空",
- "items" : {
- "$ref" : "#/components/schemas/UserDetails"
- }
- }
- }
- },
- "AlipayEcoEduKtStudentModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "status" : {
- "type" : "string",
- "description" : "Y:代表成功;N:代表失败",
- "example" : "Y"
- }
- }
- },
- "AlipayEcoFilePathQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_ERROR", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoFilePathQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "file_id" : {
- "type" : "string",
- "description" : "文件Id",
- "example" : "049d33945cde46b7953bf377fe2a7608"
- },
- "upload_url" : {
- "type" : "string",
- "description" : "文件直传地址, 可以重复使用,但是只能传一样的文件,有效期一小时",
- "example" : "https://esignoss.oss-cn-hangzhou.aliyuncs.com/1111563786/d8d35867-744b-47f3-890f-e3650efd99e1/%E9%99%84%E4%BB%B6.zip?Expires=1561472338&OSSAccess..."
- }
- }
- },
- "AlipayEcoMycarParkingChargeinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingChargeinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "business_hours" : {
- "type" : "string",
- "description" : "营业时间",
- "example" : "24小时"
- },
- "car_daylight_advanced_price" : {
- "type" : "string",
- "description" : "小车-白天 非首个计费单元价格",
- "example" : "3元/小时或1.5元/30分钟"
- },
- "car_daylight_base_price" : {
- "type" : "string",
- "description" : "小车-白天 首个计费单元价格",
- "example" : "10元/1小时或5元/30分钟"
- },
- "car_night_advanced_price" : {
- "type" : "string",
- "description" : "小车-夜间 非首个计费单元价格",
- "example" : "3元/小时或1.5元/30分钟"
- },
- "car_night_base_price" : {
- "type" : "string",
- "description" : "小车-夜间 首个计费单元价格",
- "example" : "10元/1小时或5元/30分钟"
- },
- "car_onetime_price" : {
- "type" : "string",
- "description" : "小车 计次收费价格\r\txx元 / 次,按次收费的车场填写",
- "example" : "20元/次"
- },
- "daily_price_upperbound" : {
- "type" : "string",
- "description" : "单日停车封顶价格:具体值或“不封顶”",
- "example" : "260元或不封顶"
- },
- "daylight_business_hours" : {
- "type" : "string",
- "description" : "车场白天(收费)营业时间段",
- "example" : "9:00-21:00"
- },
- "free_period" : {
- "type" : "string",
- "description" : "单次停车免费时长",
- "example" : "30分钟"
- },
- "has_charging_pile" : {
- "type" : "string",
- "description" : "是否有充电桩: -1 未知,0 否,1 是",
- "example" : "1"
- },
- "is_charge" : {
- "type" : "string",
- "description" : "是否收费:-1 未知,0 否,1 是",
- "example" : "1"
- },
- "night_business_hours" : {
- "type" : "string",
- "description" : "车场夜间(收费)营业时间段",
- "example" : "21:00-9:00"
- },
- "parking_id" : {
- "type" : "string",
- "description" : "停车场ID",
- "example" : "PI20190506152394234234"
- },
- "parking_space_count" : {
- "type" : "integer",
- "description" : "总车位数",
- "example" : "1600"
- },
- "remark" : {
- "type" : "string",
- "description" : "复杂计费补充描述\r\t收费复杂无法格式化的车场填写,以文本形式表述",
- "example" : "前3小时XXX,3-6小时之间XXX,超过6小时XXXX"
- },
- "truck_daylight_advanced_price" : {
- "type" : "string",
- "description" : "大车-白天 非首个计费单元价格",
- "example" : "3元/小时或1.5元/30分钟"
- },
- "truck_daylight_base_price" : {
- "type" : "string",
- "description" : "大车-白天 首个计费单元价格",
- "example" : "10元/1小时或5元/30分钟"
- },
- "truck_night_advanced_price" : {
- "type" : "string",
- "description" : "大车-夜间 非首个计费单元价格",
- "example" : "4元/次"
- },
- "truck_night_base_price" : {
- "type" : "string",
- "description" : "大车-夜间 首个计费单元价格",
- "example" : "3元/小时或1.5元/30分钟"
- },
- "truck_onetime_price" : {
- "type" : "string",
- "description" : "大车 计次收费价格\r\txx元 / 次,按次收费的车场填写",
- "example" : "30元/次"
- }
- }
- },
- "AlipayEcoMycarParkingChargeinfoSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "sync_result" : {
- "type" : "string",
- "description" : "同步结果:0 成功,1 失败",
- "example" : "0"
- }
- }
- },
- "AlipayEcoMycarParkingCharginginfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingCharginginfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "car_number" : {
- "type" : "string",
- "description" : "车牌号",
- "example" : "浙Axxxxx"
- },
- "isv_url" : {
- "type" : "string",
- "description" : "智能助理当前的跳转链接",
- "example" : "http://xxxxxx"
- },
- "parking_id" : {
- "type" : "string",
- "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 alipay.eco.mycar.parking.parkinglotinfo.create(录入停车场信息)接口获取。",
- "example" : "2015042321001004720200028594"
- },
- "serial_no" : {
- "type" : "string",
- "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程。通过 alipay.eco.mycar.parking.enterinfo.sync\t(车辆驶入接口)接口获取。",
- "example" : "2020090711003017233600000001"
- }
- }
- },
- "AlipayEcoMycarParkingCharginginfoSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoMycarParkingConfigQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INTERFACE_TYPE_IS_ILLEGAL", "MERCHANT_INFO_IS_EMPTY", "INTERFACE_INFO_IS_EMPTY", "SERVICE_NAME_IS_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingConfigQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_no" : {
- "type" : "string",
- "description" : "签约支付宝账号,开发者通过ISV系统配置信息注册接口(alipay.eco.mycar.parking.config.set)传入的参数值",
- "example" : "1234567@126.com"
- },
- "interface_info_list" : {
- "$ref" : "#/components/schemas/InterfaceInfoList"
- },
- "merchant_logo" : {
- "type" : "string",
- "description" : "商户在停车平台首页露出的LOGO链接地址,开发者通过ISV系统配置信息注册接口(alipay.eco.mycar.parking.config.set)调用自动生成该链接",
- "example" : "http://ecopublic.oss-cn-hangzhou.aliyuncs.com/eco/carlife/parking/merchantlogo/xiaoshanjichang.png"
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "商户简称,开发者通过ISV系统配置信息注册接口(alipay.eco.mycar.parking.config.set)传入的参数值",
- "example" : "杭州立方"
- },
- "merchant_service_phone" : {
- "type" : "string",
- "description" : "商户客服电话,开发者通过ISV系统配置信息注册接口(alipay.eco.mycar.parking.config.set)传入的参数值",
- "example" : "021-25413215"
- }
- }
- },
- "AlipayEcoMycarParkingConfigSetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingConfigSetModel" : {
- "type" : "object",
- "properties" : {
- "account_no" : {
- "type" : "string",
- "description" : "签约支付宝账号",
- "example" : "1234567@126.com"
- },
- "interface_info_list" : {
- "type" : "array",
- "description" : "接口信息列表,停车业务需要配置的接口列表,该值为JSON数据格式的LIST对象,现阶段只需要配置一个页面接口即可 。每次请将所有的接口配置信息都传入,未传的接口信息将会被置空。",
- "items" : {
- "$ref" : "#/components/schemas/InterfaceInfoList"
- }
- },
- "merchant_logo" : {
- "type" : "string",
- "description" : "商户在停车平台首页露出的LOGO。\t注意:\t*该图片为PNG格式,内容为BASE64的字符串,建议图片尺寸27px*27px,大小不要超过60K。\t*若为空则停车平台首页将不露出商户LOGO。",
- "example" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQImWP81mfxn4GJAYQgAAAqvgLBUG4ufAAAAABJRU5ErkJggg=="
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "商户简称,由开发者提供",
- "example" : "杭州立方"
- },
- "merchant_service_phone" : {
- "type" : "string",
- "description" : "商户客服电话",
- "example" : "021-25413215"
- }
- }
- },
- "AlipayEcoMycarParkingConfigSetResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoMycarParkingEnterinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR", "CALL_TOO_OFFTEN", "ISV_APP_ID_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingEnterinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "agreement_query" : {
- "type" : "boolean",
- "description" : "是否启用车牌代扣状态查询功能,true为启用,false为停用",
- "example" : "true"
- },
- "car_color" : {
- "type" : "string",
- "description" : "车牌颜色,车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
- "example" : "BLUE"
- },
- "car_number" : {
- "type" : "string",
- "description" : "车牌号",
- "example" : "豫C33333"
- },
- "entrance_id" : {
- "type" : "string",
- "description" : "用于识别车辆进口,多出入口车场适用",
- "example" : "SN001"
- },
- "free_minutes" : {
- "type" : "integer",
- "description" : "当前停车场的入场免费时长分钟数",
- "example" : "15"
- },
- "in_time" : {
- "type" : "string",
- "description" : "车辆入场的时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,入场时间不应晚于当前网络时间",
- "example" : "2016-07-24 03:07:50"
- },
- "is_encrypt_car_number" : {
- "type" : "boolean",
- "description" : "是否加密,默认为false",
- "example" : "true"
- },
- "isv_url" : {
- "type" : "string",
- "description" : "智能助理当前的跳转链接。为ISV/<a href=\"https://opendocs.alipay.com/support/01rb18\">商家小程序scheme地址</a>或H5页面地址。",
- "example" : "http://xxxxx"
- },
- "out_serial_no" : {
- "type" : "string",
- "description" : "外部停车流水号(用于串通进场与出场信息)",
- "example" : "2020090711003017233600000001"
- },
- "parking_id" : {
- "type" : "string",
- "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>(录入停车场信息)接口获取。",
- "example" : "2015042321001004720200028594"
- },
- "space_number" : {
- "type" : "string",
- "description" : "用于标识车辆停放车位编号,路侧适用",
- "example" : "PK001"
- },
- "store_id" : {
- "type" : "string",
- "description" : "与parking_id对应的外部停车场编号,在球房中维护",
- "example" : "360xx"
- }
- }
- },
- "AlipayEcoMycarParkingEnterinfoSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_scene" : {
- "type" : "string",
- "description" : "用户签约的代扣场景字符集,多个英文逗号分割,当车场为ORC识别车牌的场景,返回值包含PLATE_PAY时,表示代扣协议可用。 当车场为ETC设备识别车牌,返回值包含ETC_PAY时表示协议可用。当用户未签约任何代扣场景时返回NO_AGREEMENT_SCENE",
- "example" : "PLATE_PAY,ETC_PAY"
- },
- "agreement_status" : {
- "type" : "string",
- "description" : "该字段已废弃,请使用agreement_scene字段",
- "example" : "0:已签约无感代扣 1:未签约"
- },
- "car_status" : {
- "type" : "string",
- "description" : "当前车辆在支付宝侧的信息,是否可以使用无感支付,可选返回项为: NORMAL:正常缴费用户 NON-SENSE-PAY:可无感支付用户",
- "example" : "NORMAL"
- },
- "current_time" : {
- "type" : "string",
- "description" : "当前时间戳(查询签约状态和是否支持无感支付仅代表当前时间点查询结果,不作为最后代扣结果,应在发起代扣前再次查询)",
- "example" : "2020-11-27 15:40:00"
- },
- "serial_no" : {
- "type" : "string",
- "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程",
- "example" : "2020090711003017233600000001"
- }
- }
- },
- "AlipayEcoMycarParkingExitinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR", "CALL_TOO_OFFTEN", "SERIAL_NO_ENTER_NO_RECORD", "SERIAL_NO_DOUBLE_ENTER_NO_RECORD" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingExitinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "actual_amount" : {
- "type" : "string",
- "description" : "实际金额",
- "example" : "10.00"
- },
- "car_color" : {
- "type" : "string",
- "description" : "车牌颜色,枚举支持:\t*BLUE:蓝。\t*GREEN:绿。\t*YELLOW:黄。\t*WHITE:白。\t*BLACK:黑。\t*LIMEGREEN:黄绿色。",
- "example" : "BLUE"
- },
- "car_number" : {
- "type" : "string",
- "description" : "车牌号",
- "example" : "豫C33333"
- },
- "discount_amount" : {
- "type" : "string",
- "description" : "折扣金额",
- "example" : "10.00"
- },
- "exit_id" : {
- "type" : "string",
- "description" : "用于识别车辆出口,多出入口车场适用",
- "example" : "SN001"
- },
- "is_encrypt_car_number" : {
- "type" : "boolean",
- "description" : "是否加密,默认为false",
- "example" : "false"
- },
- "isv_url" : {
- "type" : "string",
- "description" : "智能助理当前的跳转链接",
- "example" : "http://xxxxx"
- },
- "order_amount" : {
- "type" : "string",
- "description" : "订单总金额",
- "example" : "10.00"
- },
- "out_serial_no" : {
- "type" : "string",
- "description" : "外部停车流水号(用于串通进场与出场信息)",
- "example" : "2020090711003017233600000001"
- },
- "out_time" : {
- "type" : "string",
- "description" : "车辆离场时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制",
- "example" : "2016-07-24 03:07:50"
- },
- "parking_id" : {
- "type" : "string",
- "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>(录入停车场信息)接口获取。",
- "example" : "PI1592907192010409114"
- },
- "serial_no" : {
- "type" : "string",
- "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程。通过 <a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.enterinfo.sync\">alipay.eco.mycar.parking.enterinfo.sync</a>(车辆驶入接口)接口获取。",
- "example" : "2020090711003017233600000001"
- },
- "space_number" : {
- "type" : "string",
- "description" : "用于标识车辆停放车位编号,路侧适用",
- "example" : "PK001"
- },
- "store_id" : {
- "type" : "string",
- "description" : "与parking_id对应的外部停车场编号,在球房中维护",
- "example" : "360xx"
- }
- }
- },
- "AlipayEcoMycarParkingExitinfoSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoMycarParkingOrderSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingOrderSyncModel" : {
- "type" : "object",
- "properties" : {
- "agent_pid" : {
- "type" : "string",
- "description" : "该笔停车交易需要返佣的对象实体PID,可能是商户,可能是ISV;只做下沉,用于离线表层面对账。",
- "example" : "2088xxxxxx"
- },
- "car_number" : {
- "type" : "string",
- "description" : "车牌",
- "example" : "浙Axxxxx"
- },
- "card_number" : {
- "type" : "string",
- "description" : "如果是停车卡缴费,则填入停车卡卡号,否则为'*'",
- "example" : "2357868977445645645656"
- },
- "in_duration" : {
- "type" : "string",
- "description" : "停车时长(以分为单位)",
- "example" : "320"
- },
- "in_time" : {
- "type" : "string",
- "description" : "入场时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制",
- "example" : "2016-08-12 20:20:13"
- },
- "open_id" : {
- "type" : "string",
- "description" : "应用用户ID,唯一标识",
- "example" : "021uU2O6oUtUsckXA1rpUpiWpFWNTOFZXoOgVOPIrkW2Dgb"
- },
- "order_no" : {
- "type" : "string",
- "description" : "支付宝支付流水,系统唯一",
- "example" : "7674879087745646586"
- },
- "order_status" : {
- "type" : "string",
- "description" : "设备商订单状态,枚举支持:\t* 0:成功。\t* 1:失败。",
- "example" : "1"
- },
- "order_time" : {
- "type" : "string",
- "description" : "订单创建时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制",
- "example" : "2016-08-12 20:27:30"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "设备商订单号,由ISV系统生成",
- "example" : "201605061278654435466567"
- },
- "out_parking_id" : {
- "type" : "string",
- "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>(录入停车场信息)接口传入值一致。",
- "example" : "201605061278654"
- },
- "out_time" : {
- "type" : "string",
- "description" : "出场时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制",
- "example" : "2021-03-04 15:04:05"
- },
- "parking_id" : {
- "type" : "string",
- "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>(录入停车场信息)接口获取。",
- "example" : "1234567890123456"
- },
- "parking_name" : {
- "type" : "string",
- "description" : "停车场名称,需与<a href=\"https://opendocs.alipay.com/apis/api_19/alipay.eco.mycar.parking.parkinglotinfo.create\">alipay.eco.mycar.parking.parkinglotinfo.create</a>(录入停车场信息)接口传入值一致。",
- "example" : "上海证大五道口地下停车场"
- },
- "parking_record_id" : {
- "type" : "string",
- "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程。通过 alipay.eco.mycar.parking.enterinfo.sync(车辆驶入接口)接口获取。",
- "example" : "2020090711003017233600000001"
- },
- "pay_money" : {
- "type" : "string",
- "description" : "缴费金额,保留小数点后两位",
- "example" : "20.00"
- },
- "pay_scene" : {
- "type" : "string",
- "description" : "支付场景:INPARKINGLOT_PAY:场内在线缴费;ENTRANCE_EXIT_PAY:出入口缴费、VEH_DEVICE_PAY:车机缴费;会根据场景判断是否发放能量,当前只有场内支付场景会发能量,需要能量发放请与服务接入支持同学提前沟通。",
- "example" : "INPARKINGLOT_PAY"
- },
- "pay_time" : {
- "type" : "string",
- "description" : "缴费时间, 格式\"YYYYMM-DD HH:mm:ss\",24小时制",
- "example" : "2016-08-12 23:20:23"
- },
- "pay_type" : {
- "type" : "string",
- "description" : "付款方式,枚举支持:\t*1:支付宝在线缴费。",
- "example" : "1"
- },
- "smid" : {
- "type" : "string",
- "description" : "间连商户ID",
- "example" : "12345678900"
- },
- "user_id" : {
- "type" : "string",
- "description" : "停车缴费用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。\t注意:ISV需保证用户 id的正确性,以免导致用户在停车平台查询不到相关的订单信息。",
- "example" : "2088006362935583"
- }
- }
- },
- "AlipayEcoMycarParkingOrderSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoMycarParkingOrderUpdateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingOrderUpdateModel" : {
- "type" : "object",
- "properties" : {
- "open_id" : {
- "type" : "string",
- "description" : "应用用户ID,唯一标识",
- "example" : "021uU2O6oUtUsckXA1rpUpiWpFWNTOFZXoOgVOPIrkW2Dgb"
- },
- "order_no" : {
- "type" : "string",
- "description" : "支付宝支付流水号,系统唯一",
- "example" : "PO20160805204323394865"
- },
- "order_status" : {
- "type" : "string",
- "description" : "用户停车订单状态,枚举支持:\t*0:成功。\t*1:失败。",
- "example" : "1"
- },
- "user_id" : {
- "type" : "string",
- "description" : "停车缴费用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。\t注意:ISV需保证用户 id 的正确性,以免导致用户在停车平台查询不到相关的订单信息。",
- "example" : "2088006362935583"
- }
- }
- },
- "AlipayEcoMycarParkingOrderUpdateResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoMycarParkingOvertimecharginginfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingOvertimecharginginfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "car_number" : {
- "type" : "string",
- "description" : "车牌号",
- "example" : "浙Axxxxx"
- },
- "isv_url" : {
- "type" : "string",
- "description" : "智能助理当前的跳转链接",
- "example" : "http://xxxxx"
- },
- "parking_id" : {
- "type" : "string",
- "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 alipay.eco.mycar.parking.parkinglotinfo.create(录入停车场信息)接口获取。",
- "example" : "2015042321001004720200028594"
- },
- "serial_no" : {
- "type" : "string",
- "description" : "支付宝业务流水号,用于记录车辆从驶入到驶出的全流程",
- "example" : "2020090711003017233600000001"
- }
- }
- },
- "AlipayEcoMycarParkingOvertimecharginginfoSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoMycarParkingParkinglotbizTransferErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingParkinglotbizTransferModel" : {
- "type" : "object",
- "properties" : {
- "business_isv" : {
- "type" : "array",
- "description" : "车场业务归属关系列表",
- "items" : {
- "$ref" : "#/components/schemas/BusinessItem"
- }
- },
- "parking_id" : {
- "type" : "string",
- "description" : "车场创建返回的parking_id字段",
- "example" : "PI1480989659571286385"
- }
- }
- },
- "AlipayEcoMycarParkingParkinglotbizTransferResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoMycarParkingParkinglotinfoCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingParkinglotinfoCreateModel" : {
- "type" : "object",
- "properties" : {
- "agent_id" : {
- "type" : "string",
- "description" : "服务商的支付宝账号ID(2088开头的16位纯数字,<a href=\"https://opendocs.alipay.com/common/02ncut\">获取方式</a>),由服务商提供给ISV",
- "example" : "2088456825942563"
- },
- "business_isv" : {
- "type" : "array",
- "description" : "车场业务归属列表",
- "items" : {
- "$ref" : "#/components/schemas/BusinessItem"
- }
- },
- "city_id" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "110101"
- },
- "contact_alipay" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "189xxxxxxxx"
- },
- "contact_emali" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "alipay@alipay.com"
- },
- "contact_mobile" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "189xxxxxxxx"
- },
- "contact_name" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "张三"
- },
- "contact_tel" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "0571xxxxxxxx"
- },
- "contact_weixin" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "923422342"
- },
- "equipment_name" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "杭州立方"
- },
- "is_support_invoice" : {
- "type" : "string",
- "description" : "是否支持电子发票。枚举支持:\t0:表示不支持。\t1:表示支持。",
- "example" : "1"
- },
- "isv_mobile" : {
- "type" : "string",
- "description" : "ISV电话,传入original_isv_pid、original_isv_appid时,此处为服务商电话",
- "example" : "571-8643-2799"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度",
- "example" : "30.548828"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度",
- "example" : "114.266418"
- },
- "mchnt_id" : {
- "type" : "string",
- "description" : "收款方的支付宝账号ID(2088开头的16位纯数字,<a href=\"https://opendocs.alipay.com/common/02ncut\">获取方式</a>),由停车场收款的业主方提供给ISV,该字段暂用于机具和物料申领",
- "example" : "2088456825942563"
- },
- "original_isv_appid" : {
- "type" : "string",
- "description" : "ISV的APPID,服务商调用必传,由ISV提供给服务商",
- "example" : "2021002108619277"
- },
- "original_isv_mobile" : {
- "type" : "string",
- "description" : "ISV电话,此值与isv_mobile组合使用",
- "example" : "571-8643-2799"
- },
- "original_isv_name" : {
- "type" : "string",
- "description" : "ISV的名称,服务商调用必传,由ISV提供给服务商",
- "example" : "杭州立方"
- },
- "original_isv_pid" : {
- "type" : "string",
- "description" : "ISV的PID,服务商调用必传,由ISV提供给服务商",
- "example" : "2088456825942563"
- },
- "out_parking_id" : {
- "type" : "string",
- "description" : "ISV停车场ID,由ISV 自定义,同一个isv或商户范围内唯一",
- "example" : "10000110001"
- },
- "parking_address" : {
- "type" : "string",
- "description" : "停车场地址",
- "example" : "浙江省杭州市古墩路与疏港公路的交汇处"
- },
- "parking_end_time" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "03:07:50"
- },
- "parking_fee_description" : {
- "type" : "string",
- "description" : "收费说明",
- "example" : "小车一小时10元"
- },
- "parking_fee_description_img" : {
- "type" : "string",
- "description" : "商户在停车平台露出的停车价格图片;注意:该图片为PNG格式内容为BASE64的字符串,大小不要超过1MB",
- "example" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQImWP81mfxn4GJAYQgAAAqvgLBUG4ufAAAAABJRU5ErkJggg=="
- },
- "parking_lot_type" : {
- "type" : "string",
- "description" : "停车场类型,1为居民小区、2为商圈停车场(购物中心商业广场商场等)、3为路侧停车、4为公园景点(景点乐园公园老街古镇等)、5为商务楼宇(酒店写字楼商务楼园区等)、6为其他、7为交通枢纽(机场火车站汽车站码头港口等)、8为市政设施(体育场博物图书馆医院学校等)",
- "example" : "1"
- },
- "parking_mobile" : {
- "type" : "string",
- "description" : "停车场客服电话",
- "example" : "189XXXXXXXX"
- },
- "parking_name" : {
- "type" : "string",
- "description" : "停车场名称,由ISV定义,尽量与高德地图上的一致。",
- "example" : "城西停车场"
- },
- "parking_number" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "10000"
- },
- "parking_poiid" : {
- "type" : "string",
- "description" : "如何获取parking_poiid(高德地图唯一标标识)参考文档 https://opendocs.alipay.com/support/01rghx;若无法成功获取高德POI时,也可选用经纬度的方式注册。",
- "example" : "B000A9JM2H"
- },
- "parking_start_time" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "07:00:00"
- },
- "parking_type" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "2"
- },
- "pay_type" : {
- "type" : "string",
- "description" : "支付方式。枚举支持:\t1:表示支付宝在线缴费。\t2:表示支付宝代扣缴费。\t3:表示当面付。\t说明:如支持多种方式以 ',' 进行分隔。",
- "example" : "2"
- },
- "payment_mode" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "1"
- },
- "shopingmall_id" : {
- "type" : "string",
- "description" : "商圈id",
- "example" : "100001008"
- },
- "sum_space" : {
- "type" : "string",
- "description" : "停车场车位数",
- "example" : "3000"
- },
- "support_after_pay" : {
- "type" : "string",
- "description" : "是否支持先离后付。枚举支持:\tY:支持。\tN:不支持。\t说明:默认为空不支持,此参数适用于签约信用代扣的商户。",
- "example" : "Y"
- },
- "time_out" : {
- "type" : "string",
- "description" : "用户支付未离场的超时时间(以分钟为单位)",
- "example" : "13"
- }
- }
- },
- "AlipayEcoMycarParkingParkinglotinfoCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "parking_id" : {
- "type" : "string",
- "description" : "支付宝返回停车场id。成功不为空,失败返回空",
- "example" : "2014072300007148"
- }
- }
- },
- "AlipayEcoMycarParkingParkinglotinfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR", "SYSTEM_ERROR", "PARKING_ID_FORMAT_ERROR", "BIZ_PARAM_ISNULL", "PARKING_LOT_NOT_EXIST", "PARKINGLOT_NOT_FIND", "NO_PERMISSION_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingParkinglotinfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "address_id" : {
- "type" : "string",
- "description" : "地区编码",
- "example" : "110105"
- },
- "agent_id" : {
- "type" : "string",
- "description" : "服务商ID(2088开头的16位纯数字),由服务商提供给ISV",
- "example" : "2088456825942563"
- },
- "business_isv" : {
- "type" : "array",
- "description" : "车场业务归属列表",
- "items" : {
- "$ref" : "#/components/schemas/BusinessItem"
- }
- },
- "city_id" : {
- "type" : "string",
- "description" : "城市编码",
- "example" : "010"
- },
- "map_poi_address" : {
- "type" : "string",
- "description" : "高德检索地址",
- "example" : "望京街4号望京SOHO"
- },
- "map_poi_name" : {
- "type" : "string",
- "description" : "高德检索名称",
- "example" : "望京SOHO停车场"
- },
- "mchnt_id" : {
- "type" : "string",
- "description" : "收款方ID(2088开头的16位纯数字),由停车场收款的业主方提供给ISV,该字段暂用于机具和物料申领",
- "example" : "2088456825942563"
- },
- "out_parking_id" : {
- "type" : "string",
- "description" : "ISV停车场ID,由ISV提供,同一个isv或商户范围内唯一",
- "example" : "10000110001"
- },
- "parking_address" : {
- "type" : "string",
- "description" : "停车场地址",
- "example" : "北京市朝阳区望京街与阜安西路交叉路口"
- },
- "parking_fee_description" : {
- "type" : "string",
- "description" : "收费说明",
- "example" : "小车一小时10元"
- },
- "parking_fee_description_img" : {
- "type" : "string",
- "description" : "停车场价格明细图片",
- "example" : "https://mdgwdev.alipay.net/afts/img/A*617CRpBdj_fJCs1NmMi4dQAAAa4wAA/original?bz=industry_etc&t=-NhhRTMCAllKiM3Vj1mNcQAAAABkMK5ft-HF"
- },
- "parking_id" : {
- "type" : "string",
- "description" : "支付宝返回停车场id,系统唯一",
- "example" : "PI1532313981415143356"
- },
- "parking_latitude" : {
- "type" : "string",
- "description" : "停车场位置经度(优先高德坐标获取结果)",
- "example" : "39.998001"
- },
- "parking_longitude" : {
- "type" : "string",
- "description" : "停车场位置经度(优先高德坐标获取结果)",
- "example" : "116.480654"
- },
- "parking_lot_type" : {
- "type" : "string",
- "description" : "停车场类型,1为居民小区、2为商圈停车场(购物中心商业广场商场等)、3为路侧停车、4为公园景点(景点乐园公园老街古镇等)、5为商务楼宇(酒店写字楼商务楼园区等)、6为其他、7为交通枢纽(机场火车站汽车站码头港口等)、8为市政设施(体育场博物图书馆医院学校等)",
- "example" : "2为商圈停车场(购物中心商业广场商场等)"
- },
- "parking_mobile" : {
- "type" : "string",
- "description" : "停车场客服电话",
- "example" : "189XXXXXXXX"
- },
- "parking_name" : {
- "type" : "string",
- "description" : "停车场名称,由ISV定义,尽量与高德地图上的一致",
- "example" : "望京SOHO停车场"
- },
- "parking_poiid" : {
- "type" : "string",
- "description" : "高德地图唯一标识",
- "example" : "B0FFFAIBGG"
- },
- "pay_type" : {
- "type" : "string",
- "description" : "支付方式(1为支付宝在线缴费,2为支付宝代扣缴费,3当面付),如支持多种方式以','进行间隔",
- "example" : "2为支付宝代扣缴费"
- },
- "province_id" : {
- "type" : "string",
- "description" : "省份编码",
- "example" : "110000"
- },
- "shopingmall_id" : {
- "type" : "string",
- "description" : "商圈id",
- "example" : "100001008"
- },
- "time_out" : {
- "type" : "string",
- "description" : "用户支付未离场的超时时间(以分钟为单位)",
- "example" : "13"
- }
- }
- },
- "AlipayEcoMycarParkingParkinglotinfoUpdateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingParkinglotinfoUpdateModel" : {
- "type" : "object",
- "properties" : {
- "agent_id" : {
- "type" : "string",
- "description" : "服务商ID(2088开头的16位纯数字),由服务商提供给ISV",
- "example" : "2088456825942563"
- },
- "business_isv" : {
- "type" : "array",
- "description" : "车场业务归属列表",
- "items" : {
- "$ref" : "#/components/schemas/BusinessItem"
- }
- },
- "city_id" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "110101"
- },
- "contact_alipay" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "189xxxxxxxxxxx"
- },
- "contact_email" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "alipay@alipay.com"
- },
- "contact_mobile" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "18912345678"
- },
- "contact_name" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "张三"
- },
- "contact_tel" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "0571xxxxxxxx"
- },
- "contact_weixin" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "923422342"
- },
- "equipment_name" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "杭州立方"
- },
- "is_support_invoice" : {
- "type" : "string",
- "description" : "是否支持电子发票。枚举支持: \t*0:表示不支持。 \t*1:表示支持。",
- "example" : "1"
- },
- "isv_mobile" : {
- "type" : "string",
- "description" : "ISV电话,传入original_isv_pid、original_isv_appid时,此处为服务商电话",
- "example" : "571-8643-2799"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度",
- "example" : "30.548828"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度",
- "example" : "114.266418"
- },
- "mchnt_id" : {
- "type" : "string",
- "description" : "收款方ID(2088开头的16位纯数字),由停车场收款的业主方提供给ISV,该字段暂用于机具和物料申领,更新时不影响交易接口中的收款方值。",
- "example" : "2088456825942563"
- },
- "original_isv_appid" : {
- "type" : "string",
- "description" : "ISV的APPID,服务商调用必传,由ISV提供给服务商",
- "example" : "2021002108619277"
- },
- "original_isv_mobile" : {
- "type" : "string",
- "description" : "ISV电话,此值与isv_mobile组合使用",
- "example" : "571-8643-2799"
- },
- "original_isv_name" : {
- "type" : "string",
- "description" : "ISV的名称,服务商调用必传,由ISV提供给服务商",
- "example" : "杭州立方"
- },
- "original_isv_pid" : {
- "type" : "string",
- "description" : "ISV的PID,服务商调用必传,由ISV提供给服务商",
- "example" : "2088456825942563"
- },
- "out_parking_id" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "10000110001"
- },
- "parking_address" : {
- "type" : "string",
- "description" : "停车场地址",
- "example" : "浙江省杭州市古墩路与疏港公路的交汇处"
- },
- "parking_end_time" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "03:07:50"
- },
- "parking_fee_description" : {
- "type" : "string",
- "description" : "收费说明",
- "example" : "小车一小时10元"
- },
- "parking_fee_description_img" : {
- "type" : "string",
- "description" : "商户在停车平台露出的停车价格图片;注意:该图片为PNG格式内容为BASE64的字符串,大小不要超过1MB",
- "example" : "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAYAAABytg0kAAAAE0lEQVQImWP81mfxn4GJAYQgAAAqvgLBUG4ufAAAAABJRU5ErkJggg=="
- },
- "parking_id" : {
- "type" : "string",
- "description" : "支付宝返回停车场id,系统唯一",
- "example" : "2014072300007148"
- },
- "parking_lot_type" : {
- "type" : "string",
- "description" : "停车场类型,1为居民小区、2为商圈停车场(购物中心商业广场商场等)、3为路侧停车、4为公园景点(景点乐园公园老街古镇等)、5为商务楼宇(酒店写字楼商务楼园区等)、6为其他、7为交通枢纽(机场火车站汽车站码头港口等)、8为市政设施(体育场博物图书馆医院学校等)",
- "example" : "1"
- },
- "parking_mobile" : {
- "type" : "string",
- "description" : "停车场客服电话",
- "example" : "189XXXXXXXX"
- },
- "parking_name" : {
- "type" : "string",
- "description" : "停车场名称,由ISV定义,尽量与高德地图上的一致",
- "example" : "城西停车场"
- },
- "parking_number" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "10000"
- },
- "parking_poiid" : {
- "type" : "string",
- "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>。",
- "example" : "B000A9JM2H"
- },
- "parking_start_time" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "03:07:50"
- },
- "parking_type" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "1"
- },
- "pay_type" : {
- "type" : "string",
- "description" : "支付方式。枚举支持:\t*1:表示支付宝在线缴费。 \t*2:表示支付宝代扣缴费。 \t*3:表示当面付。 \t说明:如支持多种方式以 ',' 进行分隔。",
- "example" : "2"
- },
- "payment_mode" : {
- "type" : "string",
- "description" : "该参数废弃",
- "example" : "1"
- },
- "shopingmall_id" : {
- "type" : "string",
- "description" : "商圈id",
- "example" : "100001008"
- },
- "sum_space" : {
- "type" : "string",
- "description" : "停车场车位数",
- "example" : "3000"
- },
- "support_after_pay" : {
- "type" : "string",
- "description" : "是否支持先离后付。枚举支持: \t*Y:支持。 \t*N:不支持。 \t说明:默认为空不支持,此参数适用于签约信用代扣的商户。",
- "example" : "Y"
- },
- "time_out" : {
- "type" : "string",
- "description" : "用户支付未离场的超时时间(以分钟为单位)",
- "example" : "13"
- }
- }
- },
- "AlipayEcoMycarParkingParkinglotinfoUpdateResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoMycarParkingPaymentinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR", "RECORD_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingPaymentinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "car_number" : {
- "type" : "string",
- "description" : "车牌号",
- "example" : "浙Axxxxx"
- },
- "isv_url" : {
- "type" : "string",
- "description" : "停车消息透出后,消息详情的落地承接页链接,可配置ISV维度的统一值",
- "example" : "http://xxxxx"
- },
- "out_serial_no" : {
- "type" : "string",
- "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匹配进出场事件",
- "example" : "2020090711003017233600000001"
- },
- "parking_id" : {
- "type" : "string",
- "description" : "支付宝停车平台ID,由支付宝定义的该停车场标识,同一个isv或商户范围内唯一。通过 alipay.eco.mycar.parking.parkinglotinfo.create(录入停车场信息)接口获取。",
- "example" : "2015042321001004720200028594"
- },
- "payment_free_minutes" : {
- "type" : "integer",
- "description" : "停车场内缴费后,允许出场的免费时长分钟数",
- "example" : "15"
- },
- "payment_time" : {
- "type" : "string",
- "description" : "场内缴费时间,格式\"YYYY-MM-DD HH:mm:ss\",24小时制,请保证服务器时间准确,场内缴费不应晚于当前网络时间",
- "example" : "2021-06-12 15:29:55"
- },
- "serial_no" : {
- "type" : "string",
- "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匹配进出场事件",
- "example" : "2020090711003017233600000001"
- }
- }
- },
- "AlipayEcoMycarParkingPaymentinfoSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoMycarParkingSpaceinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "MERCHANT_VERIFY_FAILED", "EMPTY_PARAMETER", "PARAMETER_FORMAT_ERR", "PARKING_ID_EMPTY", "PARKING_FREE_SPACE_EMPTY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingSpaceinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "free_charging_pile" : {
- "type" : "integer",
- "description" : "空闲充电桩车位数",
- "example" : "30"
- },
- "free_parking_space" : {
- "type" : "integer",
- "description" : "车场空闲可用的车位数",
- "example" : "500"
- },
- "parking_id" : {
- "type" : "string",
- "description" : "停车场ID",
- "example" : "PI20190506152394234234"
- },
- "parking_space_status" : {
- "type" : "string",
- "description" : "停车场实时状态: 0 拥堵,1 正常,2 空闲",
- "example" : "1"
- }
- }
- },
- "AlipayEcoMycarParkingSpaceinfoSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "sync_result" : {
- "type" : "string",
- "description" : "同步结果:0 成功,1 失败",
- "example" : "1"
- }
- }
- },
- "AlipayEcoMycarParkingVehicleQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoMycarParkingVehicleQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "car_number" : {
- "type" : "string",
- "description" : "车牌信息(utf-8编码)",
- "example" : "川Axxxxxx"
- }
- }
- },
- "AlipayEcoSignFlowCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NOT_ALLOW_REVOKE", "PARAM_ERROR", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoSignFlowCancelModel" : {
- "type" : "object",
- "properties" : {
- "flow_id" : {
- "type" : "string",
- "description" : "流程id,通过 <a href =\"https://opendocs.alipay.com/apis/api_50/alipay.eco.contract.signflows.create\">创建电子合同签署流程</a>(alipay.eco.contract.signflows.create)接口获取。",
- "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
- },
- "revoke_reason" : {
- "type" : "string",
- "description" : "撤销原因,默认为\"撤销\"。商家可自定义。",
- "example" : "合同内容不符,拒签"
- }
- }
- },
- "AlipayEcoSignFlowCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoSignFlowCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_ERROR", "SYSTEM_ERROR", "SERIAL_NO_IS_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoSignFlowCreateModel" : {
- "type" : "object",
- "properties" : {
- "attachments" : {
- "type" : "array",
- "description" : "附件信息",
- "items" : {
- "$ref" : "#/components/schemas/Attachment"
- }
- },
- "business_scene" : {
- "type" : "string",
- "description" : "流程主题",
- "example" : "商品签收"
- },
- "config_info" : {
- "$ref" : "#/components/schemas/ConfigInfo"
- },
- "template_infos" : {
- "type" : "array",
- "description" : "模板信息",
- "items" : {
- "$ref" : "#/components/schemas/TemplateInfo"
- }
- }
- }
- },
- "AlipayEcoSignFlowCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "flow_id" : {
- "type" : "string",
- "description" : "流程Id",
- "example" : "56b75290982d472b8d60133cd9a747a3"
- }
- }
- },
- "AlipayEcoSignFlowFinishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_ERROR", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoSignFlowFinishModel" : {
- "type" : "object",
- "properties" : {
- "flow_id" : {
- "type" : "string",
- "description" : "流程id",
- "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
- }
- }
- },
- "AlipayEcoSignFlowFinishResponseModel" : {
- "type" : "object"
- },
- "AlipayEcoSignFlowQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_ERROR", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoSignFlowQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "business_scene" : {
- "type" : "string",
- "description" : "文件主题",
- "example" : "合同名称"
- },
- "contract_validity" : {
- "type" : "integer",
- "description" : "文件有效截止日期",
- "example" : "1592386042000"
- },
- "flow_desc" : {
- "type" : "string",
- "description" : "流程描述, 如果流程已拒签或已撤回, 并且存在拒签或撤回原因, 流程描述显示为原因, 否则默认为流程状态描述",
- "example" : "完成"
- },
- "flow_end_time" : {
- "type" : "integer",
- "description" : "流程结束时间",
- "example" : "1560764486000"
- },
- "flow_id" : {
- "type" : "string",
- "description" : "流程Id",
- "example" : "429b1d3038854cabbcdac0a63d7e4c0d"
- },
- "flow_start_time" : {
- "type" : "integer",
- "description" : "流程开始时间",
- "example" : "1560764486000"
- },
- "flow_status" : {
- "type" : "integer",
- "description" : "流程状态,0-草稿 1-签署中 2-完成 3-撤销 4-终止 5-过期 6-删除 7-拒签",
- "example" : "2"
- },
- "notice_developer_url" : {
- "type" : "string",
- "description" : "通知开发者地址",
- "example" : "http://127.0.0.1:9110/notice"
- },
- "sign_validity" : {
- "type" : "integer",
- "description" : "签署有效截止日期",
- "example" : "1592386042000"
- },
- "signers" : {
- "type" : "array",
- "description" : "签署人列表及签署状态",
- "items" : {
- "$ref" : "#/components/schemas/FlowSigner"
- }
- }
- }
- },
- "AlipayEcoSignflowsDetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR", "UNABLE_DOWNLOAD_FILE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoSignflowsDetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "attachments" : {
- "$ref" : "#/components/schemas/AttachmentDetail"
- },
- "docs" : {
- "$ref" : "#/components/schemas/DocInfo"
- }
- }
- },
- "AlipayEcoSignflowsUrlQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayEcoSignflowsUrlQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "preview_short_url" : {
- "type" : "string",
- "description" : "预览短链地址(30天有效)",
- "example" : "http://testfront.tsign.cn"
- },
- "preview_url" : {
- "type" : "string",
- "description" : "预览长链地址(永久有效)",
- "example" : "https://testt.tsign.cn/55vebd3omU7k"
- },
- "sign_short_url" : {
- "type" : "string",
- "description" : "签署短链地址(30天有效)",
- "example" : "http://testfront.tsign.cn:8821"
- },
- "sign_url" : {
- "type" : "string",
- "description" : "签署长链地址(永久有效)",
- "example" : "https://testt.tsign.cn/55vebd3omU7k"
- }
- }
- },
- "AlipayFundAccountQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAccountQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "available_amount" : {
- "type" : "string",
- "description" : "账户可用余额,单位元,精确到小数点后两位。",
- "example" : "26.45"
- },
- "ext_card_info" : {
- "$ref" : "#/components/schemas/ExtCardInfo"
- },
- "freeze_amount" : {
- "type" : "string",
- "description" : "当前支付宝账户的实时冻结余额",
- "example" : "11.11"
- }
- }
- },
- "AlipayFundAccountbookCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "USER_AGREEMENT_VERIFY_FAIL", "OPEN_ACCOUNT_BOOK_ERROR", "MERCHANT_PRODUCT_NOT_SIGN" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAccountbookCreateModel" : {
- "type" : "object",
- "properties" : {
- "ext_info" : {
- "type" : "string",
- "description" : "JSON格式,传递业务扩展参数",
- "example" : "{\"agreement_no\":\"2019000000000\",\"cert_no\":\"61102619921108888\"}"
- },
- "merchant_user_id" : {
- "type" : "string",
- "description" : "外部商户系统会员的唯一标识,自定义传入",
- "example" : "10000001"
- },
- "merchant_user_type" : {
- "type" : "string",
- "description" : "外部商户用户类型:BUSINESS_EMPLOYEE",
- "example" : "BUSINESS_ORGANIZATION"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "资金记账本的业务场景",
- "example" : "SATF_FUND_BOOK"
- }
- }
- },
- "AlipayFundAccountbookCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_book_id" : {
- "type" : "string",
- "description" : "开通的资金记账本id",
- "example" : "2088123412341234"
- },
- "ext_card_info" : {
- "$ref" : "#/components/schemas/ExtCardInfo"
- }
- }
- },
- "AlipayFundAccountbookNotifyQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAccountbookNotifyQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_book_id" : {
- "type" : "string",
- "description" : "记账本ID",
- "example" : "2088000147677710"
- },
- "code" : {
- "type" : "string",
- "description" : "响应code。 成功为10000; 业务异常为40004;",
- "example" : "10000"
- },
- "msg" : {
- "type" : "string",
- "description" : "响应描述。 成功为Success; 业务异常为Business Failed;",
- "example" : "Success"
- },
- "subscribe_status" : {
- "type" : "string",
- "description" : "订阅关系状态, VALID:有效的; INVALID:失效的;",
- "example" : "VALID"
- }
- }
- },
- "AlipayFundAccountbookNotifySubscribeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAccountbookNotifySubscribeModel" : {
- "type" : "object",
- "properties" : {
- "account_book_id" : {
- "type" : "string",
- "description" : "记账本ID",
- "example" : "2088000147677710"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "协议号。 若是基于协议的记账本,则agreement_no必传; 若是自创建的记账本,则agreement_no不传;",
- "example" : "20205724001102186227"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码。固定为DEFAULT",
- "example" : "DEFAULT"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码。固定为SATF_FUND_BOOK",
- "example" : "SATF_FUND_BOOK"
- }
- }
- },
- "AlipayFundAccountbookNotifySubscribeResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_book_id" : {
- "type" : "string",
- "description" : "记账本ID",
- "example" : "2088**********0378"
- },
- "code" : {
- "type" : "string",
- "description" : "响应code。 成功为10000; 业务异常为40004;",
- "example" : "10000"
- },
- "msg" : {
- "type" : "string",
- "description" : "响应描述。 成功为Success; 业务异常为Business Failed;",
- "example" : "Success"
- },
- "subscribe_status" : {
- "type" : "string",
- "description" : "订阅关系状态, VALID:有效的; INVALID:失效的;",
- "example" : "VALID"
- }
- }
- },
- "AlipayFundAccountbookNotifyUnsubscribeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAccountbookNotifyUnsubscribeModel" : {
- "type" : "object",
- "properties" : {
- "account_book_id" : {
- "type" : "string",
- "description" : "记账本ID",
- "example" : "2088000147677710"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "协议号。\t若是基于协议的记账本,则agreement_no必传;\t若是自创建的记账本,则agreement_no不传;",
- "example" : "20205724001102186227"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码。固定为DEFAULT",
- "example" : "DEFAULT"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码。固定为SATF_FUND_BOOK",
- "example" : "SATF_FUND_BOOK"
- }
- }
- },
- "AlipayFundAccountbookNotifyUnsubscribeResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_book_id" : {
- "type" : "string",
- "description" : "记账本ID",
- "example" : "2088000147677710"
- },
- "code" : {
- "type" : "string",
- "description" : "响应code。\t成功为10000;\t业务异常为40004;",
- "example" : "10000"
- },
- "msg" : {
- "type" : "string",
- "description" : "响应描述。 成功为Success; 业务异常为Business Failed;",
- "example" : "Success"
- },
- "subscribe_status" : {
- "type" : "string",
- "description" : "订阅关系状态, \tVALID:有效的; \tINVALID:失效的;",
- "example" : "VALID"
- }
- }
- },
- "AlipayFundAccountbookQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAccountbookQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_book_id" : {
- "type" : "string",
- "description" : "记账账簿id",
- "example" : "2088001409188095"
- },
- "auth_info" : {
- "$ref" : "#/components/schemas/AuthInfoDTO"
- },
- "available_amount" : {
- "type" : "string",
- "description" : "可用余额",
- "example" : "26.45"
- },
- "ext_card_info" : {
- "$ref" : "#/components/schemas/ExtCardInfo"
- }
- }
- },
- "AlipayFundAgreementQuotaModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PRODUCT_NOT_SIGN", "NOT_SUPPORT_PRODUCT_SCENE", "NOT_SUPPORT_QUOTA_ROLE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAgreementQuotaModifyModel" : {
- "type" : "object",
- "properties" : {
- "agreement_quota_modify_list" : {
- "type" : "array",
- "description" : "协议额度设置信息",
- "items" : {
- "$ref" : "#/components/schemas/AgreementQuotaModifyList"
- }
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码,非固定值,使用的对应的资金场景码保持一致",
- "example" : "ENTRUST_TRANSFER"
- },
- "product_code" : {
- "type" : "string",
- "description" : "额度产品码,非固定值,使用的对应的资金产品码保持一致",
- "example" : "BATCH_API_TO_ACC_NO_PWD"
- }
- }
- },
- "AlipayFundAgreementQuotaModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "quota_modify_detail_list" : {
- "type" : "array",
- "description" : "额度变更结果集合",
- "items" : {
- "$ref" : "#/components/schemas/QuotaModifyDetail"
- }
- }
- }
- },
- "AlipayFundAgreementQuotaQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PRODUCT_NOT_SIGN", "NOT_SUPPORT_PRODUCT_SCENE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAgreementQuotaQueryModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no_list" : {
- "type" : "array",
- "description" : "授权协议号",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"20205321001042231004\"]"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码,非固定值,使用的对应的资金场景码保持一致",
- "example" : "ENTRUST_TRANSFER"
- },
- "product_code" : {
- "type" : "string",
- "description" : "额度产品码,非固定值,使用的对应的资金产品码保持一致",
- "example" : "BATCH_API_TO_ACC_NO_PWD"
- }
- }
- },
- "AlipayFundAgreementQuotaQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "quota_query_response_list" : {
- "type" : "array",
- "description" : "单个协议的额度查询结果",
- "items" : {
- "$ref" : "#/components/schemas/QuotaQueryResponse"
- }
- }
- }
- },
- "AlipayFundAuthOperationCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_ARGUMENT", "ACCESS_FORBIDDEN", "PAYER_USER_STATUS_LIMIT", "ORDER_ALREADY_FINISH", "CANCEL_OPERATION_TIME_OUT", "REQUEST_AMOUNT_EXCEED", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAuthOperationCancelModel" : {
- "type" : "object",
- "properties" : {
- "auth_no" : {
- "type" : "string",
- "description" : "支付宝授权资金订单号。\t与商户的授权资金订单号不能同时为空,二者都传入时,以支付宝资金授权订单号为准,该参数与支付宝授权资金操作流水号配对使用。",
- "example" : "2014070800002001550000014417"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "operation_id" : {
- "type" : "string",
- "description" : "支付宝的授权资金操作流水号。\t与商户的授权资金操作流水号不能同时为空,二者都传入时,以支付宝的授权资金操作流水号为准,该参数与支付宝授权资金订单号配对使用。",
- "example" : "20161012405744018102"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户的授权资金订单号。\t与支付宝的授权资金订单号不能同时为空,二者都传入时,以支付宝的授权资金订单号为准,该参数与商户的授权资金操作流水号配对使用。\t该值与资金冻结时 out_order_no一致。",
- "example" : "4977164666634053"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户的授权资金操作流水号。\t与支付宝的授权资金操作流水号不能同时为空,二者都传入时,以支付宝的授权资金操作流水号为准,该参数与商户的授权资金订单号配对使用。\t该值与资金冻结时out_request_no一致",
- "example" : "2016100810000003551"
- },
- "remark" : {
- "type" : "string",
- "description" : "商户对本次撤销操作的附言描述。\t长度不超过100个字母或50个汉字。",
- "example" : "授权撤销"
- }
- }
- },
- "AlipayFundAuthOperationCancelResponseModel" : {
- "type" : "object",
- "properties" : {
- "action" : {
- "type" : "string",
- "description" : "本次撤销触发的资金动作\r\tclose:关闭冻结明细,无资金解冻\r\tunfreeze:产生了资金解冻",
- "example" : "close"
- },
- "auth_no" : {
- "type" : "string",
- "description" : "支付宝资金授权订单号。",
- "example" : "2016101210002001810258115912"
- },
- "operation_id" : {
- "type" : "string",
- "description" : "支付宝的冻结操作流水号。",
- "example" : "20161012405744018102"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户的授权资金订单号。",
- "example" : "4977164666634053"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户的冻结操作流水号 。",
- "example" : "234555553333444334"
- }
- }
- },
- "AlipayFundAuthOperationDetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_ARGUMENT", "AUTH_ORDER_NOT_EXIST", "AUTH_OPERATION_NOT_EXIST", "ACCESS_FORBIDDEN", "SYSTEM_ERROR", "ENTERPRISE_PAY_BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAuthOperationDetailQueryModel" : {
- "type" : "object",
- "properties" : {
- "auth_no" : {
- "type" : "string",
- "description" : "支付宝授权资金订单号。\t与商户的授权资金订单号不能同时为空,二者都传入时,以支付宝资金授权订单号为准,该参数与支付宝授权资金操作流水号配对使用。",
- "example" : "2014021601002000640012345678"
- },
- "operation_id" : {
- "type" : "string",
- "description" : "支付宝的授权资金操作流水号。\t与商户的授权资金操作流水号不能同时为空,二者都传入时,以支付宝的授权资金操作流水号为准,该参数与支付宝授权资金订单号配对使用。",
- "example" : "20140216010020006400"
- },
- "operation_type" : {
- "type" : "string",
- "description" : "需要查询的授权资金操作类型。\t可选值FREEZE/UNFREEZE/PAY,分别对应冻结、解冻、支付明细类型;\t未传入本参数时,如果仅查询出单笔明细则直接返回,如果查询出多笔则优先返回冻结明细、无冻结明细时返回解冻明细;\t当传入本参数时,则严格按照该操作类型返回对应明细",
- "example" : "FREEZE"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户的授权资金订单号。\t与支付宝的授权资金订单号不能同时为空,二者都传入时,以支付宝的授权资金订单号为准,该参数与商户的授权资金操作流水号配对使用。\t该值与资金冻结时 out_order_no一致。",
- "example" : "8077735255938023"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户的授权资金操作流水号。\t与支付宝的授权资金操作流水号不能同时为空,二者都传入时,以支付宝的授权资金操作流水号为准,该参数与商户的授权资金订单号配对使用。\t查询冻结明细时,该值与发起冻结操作时传入的out_request_no一致;\t查询解冻明细时,该值与发起解冻操作时传入的out_request_no一致;\t查询支付明细时,该值与发起转支付操作时传入的out_trade_no一致。",
- "example" : "20140216001001"
- },
- "query_options" : {
- "type" : "array",
- "description" : "需要查询的额外信息",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"credit_risk_info\"]"
- }
- }
- },
- "AlipayFundAuthOperationDetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "该笔资金操作流水operation_id对应的操作金额,单位为:元(人民币)",
- "example" : "200.00"
- },
- "auth_no" : {
- "type" : "string",
- "description" : "支付宝资金授权订单号",
- "example" : "2014031600002001260000001000"
- },
- "credit_amount" : {
- "type" : "string",
- "description" : "该笔资金操作流水operation_id对应的操作信用金额",
- "example" : "0.01"
- },
- "credit_merchant_ext" : {
- "type" : "string",
- "description" : "芝麻透出给商户的信息,具体内容由商户与芝麻约定后返回",
- "example" : "{\"1003190\":\"true\"}"
- },
- "credit_risk_info" : {
- "$ref" : "#/components/schemas/CreditRiskInfo"
- },
- "enterprise_pay_info" : {
- "type" : "string",
- "description" : "因公付业务信息",
- "example" : "{\"biz_info\":\"{\\\"enterprisePayAmount\\\":\\\"0.01\\\"}\"}"
- },
- "extra_param" : {
- "type" : "string",
- "description" : "商户请求创建预授权订单时传入的扩展参数,仅返回商户自定义的扩展信息(merchantExt)",
- "example" : "{\"merchantExt\":\"key1=value1,key2=value2\"}"
- },
- "fund_amount" : {
- "type" : "string",
- "description" : "该笔资金操作流水operation_id对应的操作自有资金金额",
- "example" : "0.01"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "资金授权单据操作流水创建时间,\r\t格式:YYYY-MM-DD HH:MM:SS",
- "example" : "2014-01-01 20:00:00"
- },
- "gmt_trans" : {
- "type" : "string",
- "description" : "支付宝账务处理成功时间,\r\t格式:YYYY-MM-DD HH:MM:SS",
- "example" : "2014-01-01 20:00:00"
- },
- "operation_id" : {
- "type" : "string",
- "description" : "支付宝资金操作流水号",
- "example" : "20140216355864862002"
- },
- "operation_type" : {
- "type" : "string",
- "description" : "支付宝资金操作类型,表示当前查询到的这笔明细的操作类型。\t目前支持: \tFREEZE:冻结\tUNFREEZE:解冻\tPAY:支付",
- "example" : "UNFREEZE"
- },
- "order_status" : {
- "type" : "string",
- "description" : "授权单状态:INIT(初始状态:已创建未授权)、AUTHORIZED(已授权状态:授权成功,可以进行转支付或解冻操作)、FINISH(完成状态:转支付完成且无剩余冻结资金)、CLOSED(关闭状态:授权未完成超时关闭或冻结资金全额解冻)",
- "example" : "AUTHORIZED"
- },
- "order_title" : {
- "type" : "string",
- "description" : "业务订单的简单描述,如商品名称等",
- "example" : "0元购土豪金"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户的授权资金订单号",
- "example" : "20140216001"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户资金操作的请求流水号",
- "example" : "20140216001001"
- },
- "payer_logon_id" : {
- "type" : "string",
- "description" : "付款方支付宝账号(Email或手机号),仅作展示使用,默认会加“*”号处理",
- "example" : "ali*@alipay.com"
- },
- "payer_open_id" : {
- "type" : "string",
- "description" : "支付宝openId,用户(userId)在应用(appId)下的唯一标识。",
- "example" : "03914IMEfXsS9K-tSvHy-IisrLlOfthFgDVo-hU30XtKPg9"
- },
- "payer_user_id" : {
- "type" : "string",
- "description" : "付款方支付宝账号对应的支付宝唯一用户号,以2088开头的16位纯数字组成",
- "example" : "2088402019148643"
- },
- "pre_auth_type" : {
- "type" : "string",
- "description" : "预授权类型,信用预授权情况下值为 CREDIT_AUTH,表示该笔预授权为信用预授权,实际没有冻结用户资金;其它情况均不返回该字段。",
- "example" : "CREDIT_AUTH"
- },
- "remark" : {
- "type" : "string",
- "description" : "商户对本次操作的附言描述,长度不超过100个字母或50个汉字",
- "example" : "2014-05期解冻200.00元"
- },
- "rest_amount" : {
- "type" : "string",
- "description" : "订单当前剩余冻结金额,单位为:元(人民币)。",
- "example" : "4600.00"
- },
- "rest_credit_amount" : {
- "type" : "string",
- "description" : "剩余冻结信用金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "rest_fund_amount" : {
- "type" : "string",
- "description" : "剩余冻结自有资金金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "status" : {
- "type" : "string",
- "description" : "资金操作流水的状态,\r\t目前支持: \r\tINIT:初始\r\tSUCCESS:成功\r\tCLOSED:关闭",
- "example" : "SUCCESS"
- },
- "total_freeze_amount" : {
- "type" : "string",
- "description" : "订单累计的冻结金额,单位为:元(人民币)",
- "example" : "4800.00"
- },
- "total_freeze_credit_amount" : {
- "type" : "string",
- "description" : "累计冻结信用金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "total_freeze_fund_amount" : {
- "type" : "string",
- "description" : "累计冻结自有资金金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "total_pay_amount" : {
- "type" : "string",
- "description" : "订单累计用于支付的金额,单位为:元(人民币)",
- "example" : "0.00"
- },
- "total_pay_credit_amount" : {
- "type" : "string",
- "description" : "累计支付信用金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "total_pay_fund_amount" : {
- "type" : "string",
- "description" : "累计支付自有资金金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "trans_currency" : {
- "type" : "string",
- "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
- "example" : "USD"
- }
- }
- },
- "AlipayFundAuthOrderAppFreezeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAuthOrderAppFreezeModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "需要冻结的金额,单位为:元(人民币),精确到小数点后两位。\t取值范围:[0.01,100000000.00]",
- "example" : "0.01"
- },
- "business_params" : {
- "type" : "string",
- "description" : "业务参数,如风控参数outRiskInfo等。",
- "example" : "{\"outRiskInfo\":\"{\\\"mcCreateTradeTime\\\":\\\"2022-03-11 12:46:09\\\",\\\"extraAccountCertnoLastSix\\\":\\\"000011\\\",\\\"mobileOperatingPlatform\\\":\\\"ios\\\",\\\"sysVersion\\\":\\\"15.4.2\\\",\\\"mcCreateTradeIp\\\":\\\"11.110.111.43\\\"}\"}"
- },
- "disable_pay_channels" : {
- "type" : "string",
- "description" : "无特殊需要请勿传入;商户可用该参数禁用支付渠道。\t传入后用户不可使用列表中的渠道进行支付,目前支持两种禁用渠道:信用卡快捷(OPTIMIZED_MOTO)、信用卡卡通(BIGAMOUNT_CREDIT_CARTOON)。与可用支付渠道不能同时传入",
- "example" : "[{\"payChannelType\":\"OPTIMIZED_MOTO\"},{\"payChannelType\":\"BIGAMOUNT_CREDIT_CARTOON\"}]"
- },
- "enable_pay_channels" : {
- "type" : "string",
- "description" : "无特殊需要请勿传入;商户可用该参数指定支付渠道。\t传入后用户仅能使用列表中的渠道进行支付,目前支持三种渠道,余额宝(MONEY_FUND)、花呗(PCREDIT_PAY)以及芝麻信用(CREDITZHIMA)。与禁用支付渠道不可同时传入",
- "example" : "[{\"payChannelType\":\"PCREDIT_PAY\"},{\"payChannelType\":\"MONEY_FUND\"}]"
- },
- "extra_param" : {
- "type" : "string",
- "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",
- "example" : "{\"category\":\"CHARGE_PILE_CAR\",\"serviceId\":\"2020042800000000000001450466\"}"
- },
- "identity_params" : {
- "type" : "string",
- "description" : "无特殊需要请勿传入;买家实名信息。\t传入后支付宝会比对买家在支付宝端的实名信息。包含两个可选key:\t1.identity_hash,买家姓名拼接身份证号后,使用SHA256摘要方式与UTF8编码后的hash值,返回的十六进制字符串,例如 “张三4566498798498498498498”对应的identity_hash应为“acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6”\t2.alipay_user_id,买家uid",
- "example" : "{\"identity_hash\":\"acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6\"}"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "order_title" : {
- "type" : "string",
- "description" : "订单标题。\t业务订单的简单描述,如商品名称等",
- "example" : "XX租车押金"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户授权资金订单号。\t商家自定义需保证在商户端不重复。仅支持字母、数字、下划线。",
- "example" : "8077735255938023"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次资金操作的请求流水号,用于标示请求流水的唯一性。\t可与out_order_no相同,仅支持字母、数字、下划线。",
- "example" : "8077735255938032"
- },
- "pay_timeout" : {
- "type" : "string",
- "description" : "预授权订单相对超时时间。从商户客户端请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
- "example" : "2d"
- },
- "payee_logon_id" : {
- "type" : "string",
- "description" : "收款账户的支付宝登录号(email或手机号)。\t如果传入则会校验该登录号对应的账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一",
- "example" : "159****5620"
- },
- "payee_user_id" : {
- "type" : "string",
- "description" : "收款账户的支付宝用户号。\t以2088开头的16位纯数字,如果传入则会校验该账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一",
- "example" : "2088102000275795"
- },
- "product_code" : {
- "type" : "string",
- "description" : "销售产品码。\t支付宝预授权产品固定为 PRE_AUTH_ONLINE",
- "example" : "PRE_AUTH_ONLINE"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "场景码,用于区分预授权不同业务场景。如:当面预授权通用场景(O2O_AUTH_COMMON_SCENE)、支付宝预授权通用场景(ONLINE_AUTH_COMMON_SCENE)、境外当面预授权通用场景(OVERSEAS_O2O_AUTH_COMMON_SCENE)、境外支付预授权通用场景(OVERSEAS_ONLINE_AUTH_COMMON_SCENE)等",
- "example" : "OVERSEAS_ONLINE_AUTH_COMMON_SCENE"
- },
- "settle_currency" : {
- "type" : "string",
- "description" : "商户指定的结算币种。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
- "example" : "USD"
- },
- "timeout_express" : {
- "type" : "string",
- "description" : "预授权订单相对超时时间。从商户客户端请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
- "example" : "2d"
- },
- "trans_currency" : {
- "type" : "string",
- "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP, 人民币:CNY",
- "example" : "USD"
- }
- }
- },
- "AlipayFundAuthOrderAppFreezeResponseModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "本次操作冻结的金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "auth_no" : {
- "type" : "string",
- "description" : "支付宝的资金授权订单号",
- "example" : "2014070800002001550000014417"
- },
- "credit_amount" : {
- "type" : "string",
- "description" : "本次冻结操作中信用冻结金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "fund_amount" : {
- "type" : "string",
- "description" : "本次冻结操作中自有资金冻结金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "gmt_trans" : {
- "type" : "string",
- "description" : "资金授权成功时间\r\t格式:YYYY-MM-DD HH:MM:SS",
- "example" : "2014-09-15 11:23:04"
- },
- "operation_id" : {
- "type" : "string",
- "description" : "支付宝的资金操作流水号",
- "example" : "2014070800032850551"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户的授权资金订单号",
- "example" : "4977164666634053"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次资金操作的请求流水号",
- "example" : "2014070700166653"
- },
- "payer_open_id" : {
- "type" : "string",
- "description" : "支付宝openId,用户(userId)在应用(appId)下的唯一用户标识。",
- "example" : "03914IMEfXsS9K-tSvHy-IisrLlOfthFgDVo-hU30XtKPg9"
- },
- "payer_user_id" : {
- "type" : "string",
- "description" : "付款方支付宝用户号",
- "example" : "2088102000275885"
- },
- "pre_auth_type" : {
- "type" : "string",
- "description" : "预授权类型,目前支持 CREDIT_AUTH(信用预授权);\r\t商户可根据该标识来判断该笔预授权的类型,当返回值为\"CREDIT_AUTH\"表明该笔预授权为信用预授权,没有真实冻结资金;当返回值为空或者不为\"CREDIT_AUTH\"则表明该笔预授权为普通资金预授权,会冻结用户资金。",
- "example" : "CREDIT_AUTH"
- },
- "status" : {
- "type" : "string",
- "description" : "资金预授权明细的状态\r\t目前支持: \r\tINIT:初始\r\tSUCCESS: 成功\r\tCLOSED:关闭",
- "example" : "SUCCESS"
- },
- "trans_currency" : {
- "type" : "string",
- "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP, 人民币:CNY",
- "example" : "USD"
- }
- }
- },
- "AlipayFundAuthOrderFreezeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAuthOrderFreezeModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "需要冻结的金额,单位为:元(人民币),精确到小数点后两位。\t取值范围:[0.01,100000000.00]",
- "example" : "0.01"
- },
- "auth_code" : {
- "type" : "string",
- "description" : "用户付款码。\t1.条码场景:25~30开头的长度为16~24位的数字,实际字符串长度以开发者获取的付款码长度为准;\t2.刷脸场景:\t1)fp开头的35位字符串;\t2)300-700字符的随机字符串;\t注:刷脸场景考虑到未来可能拓展更多格式,建议外围不必做规则拦截,由支付宝统一做有效性校验",
- "example" : "付款码场景:28763443825664394,\n刷脸场景1)示例:fp1394da8bfc3e299a2128b8bda17456h84"
- },
- "auth_code_type" : {
- "type" : "string",
- "description" : "付款码类型。\t1.条码场景:bar_code\t2.刷脸场景:security_code",
- "example" : "bar_code"
- },
- "business_params" : {
- "type" : "string",
- "description" : "业务参数,如风控参数outRiskInfo等。",
- "example" : "{\"outRiskInfo\":\"{\\\"mcCreateTradeTime\\\":\\\"2022-03-11 12:46:09\\\",\\\"extraAccountCertnoLastSix\\\":\\\"000011\\\",\\\"mobileOperatingPlatform\\\":\\\"ios\\\",\\\"sysVersion\\\":\\\"15.4.2\\\",\\\"mcCreateTradeIp\\\":\\\"11.110.111.43\\\"}\"}"
- },
- "disable_pay_channels" : {
- "type" : "string",
- "description" : "无特殊需要请勿传入;商户可用该参数禁用支付渠道。\t传入后用户不可使用列表中的渠道进行支付,目前支持两种禁用渠道:信用卡快捷(OPTIMIZED_MOTO)、信用卡卡通(BIGAMOUNT_CREDIT_CARTOON)。与可用支付渠道不能同时传入",
- "example" : "[{\"payChannelType\":\"OPTIMIZED_MOTO\"},{\"payChannelType\":\"BIGAMOUNT_CREDIT_CARTOON\"}]"
- },
- "enable_pay_channels" : {
- "type" : "string",
- "description" : "无特殊需要请勿传入;商户可用该参数指定支付渠道。\t传入后用户仅能使用列表中的渠道进行支付,目前支持三种渠道,余额宝(MONEY_FUND)、花呗(PCREDIT_PAY)以及芝麻信用(CREDITZHIMA)。与禁用支付渠道不可同时传入",
- "example" : "[{\"payChannelType\":\"PCREDIT_PAY\"},{\"payChannelType\":\"MONEY_FUND\"}]"
- },
- "extra_param" : {
- "type" : "string",
- "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",
- "example" : "{\"category\":\"CHARGE_PILE_CAR\",\"serviceId\":\"2020042800000000000001450466\"}"
- },
- "identity_params" : {
- "type" : "string",
- "description" : "用户实名信息参数,包含:姓名+身份证号的hash值、指定用户的uid。商户传入用户实名信息参数,支付宝会对比用户在支付宝端的实名信息。\t姓名+身份证号hash值使用SHA256摘要方式与UTF8编码,返回十六进制的字符串。\tidentity_hash和alipay_user_id都是可选的,如果两个都传,则会先校验identity_hash,然后校验alipay_user_id。其中identity_hash的待加密字样如\"张三4566498798498498498498\"",
- "example" : "{\"identity_hash\":\"ABCDEFDxxxxxx\",\"alipay_user_id\":\"2088xxx\"}"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "order_title" : {
- "type" : "string",
- "description" : "订单标题。\t业务订单的简单描述,如商品名称等",
- "example" : "XX租车押金"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户授权资金订单号。\t商家自定义需保证在商户端不重复。仅支持字母、数字、下划线。",
- "example" : "8077735255938023"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次资金操作的请求流水号,用于标示请求流水的唯一性。\t可与out_order_no相同,仅支持字母、数字、下划线。",
- "example" : "8077735255938032"
- },
- "pay_timeout" : {
- "type" : "string",
- "description" : "预授权订单相对超时时间,从商户请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
- "example" : "2d"
- },
- "payee_logon_id" : {
- "type" : "string",
- "description" : "收款账户的支付宝登录号(email或手机号)。\t如果传入则会校验该登录号对应的账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一",
- "example" : "159****5620"
- },
- "payee_user_id" : {
- "type" : "string",
- "description" : "收款账户的支付宝用户号。\t以2088开头的16位纯数字,如果传入则会校验该账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一",
- "example" : "2088102000275795"
- },
- "product_code" : {
- "type" : "string",
- "description" : "销售产品码。\t当面资金预授权固定为 PRE_AUTH",
- "example" : "PRE_AUTH"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "场景码。\t刷脸场景下传入HOTEL,其他情况下无需传入",
- "example" : "HOTEL"
- },
- "settle_currency" : {
- "type" : "string",
- "description" : "商户指定的结算币种。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
- "example" : "USD"
- },
- "terminal_params" : {
- "type" : "string",
- "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\"}\"",
- "example" : "{\"terminalType\":\"IOT\",\"signature\":\"QIIAX8DqbFbNf2oe97FI1RSL\",\"apdidToken\":\"xPA3ptuArwYc3F6Va\",\"signedKeys\":\"auth,apdidToken\"}"
- },
- "timeout_express" : {
- "type" : "string",
- "description" : "预授权订单相对超时时间,从商户请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
- "example" : "2d"
- },
- "trans_currency" : {
- "type" : "string",
- "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
- "example" : "USD"
- }
- }
- },
- "AlipayFundAuthOrderFreezeResponseModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "本次操作冻结的金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "auth_no" : {
- "type" : "string",
- "description" : "支付宝的资金授权订单号",
- "example" : "2014070800002001550000014417"
- },
- "credit_amount" : {
- "type" : "string",
- "description" : "本次冻结操作中信用冻结金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "fund_amount" : {
- "type" : "string",
- "description" : "本次冻结操作中自有资金冻结金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "gmt_trans" : {
- "type" : "string",
- "description" : "资金授权成功时间\r\t格式:YYYY-MM-DD HH:MM:SS",
- "example" : "2014-09-15 11:23:04"
- },
- "operation_id" : {
- "type" : "string",
- "description" : "支付宝的资金操作流水号",
- "example" : "2014070800032850551"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户的授权资金订单号",
- "example" : "4977164666634053"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次资金操作的请求流水号",
- "example" : "2014070700166653"
- },
- "payer_logon_id" : {
- "type" : "string",
- "description" : "付款方支付宝账号(Email或手机号)",
- "example" : "test***@alitest.com"
- },
- "payer_open_id" : {
- "type" : "string",
- "description" : "支付宝openId,用户(userId)在应用(appId)下的唯一用户标识。",
- "example" : "03914IMEfXsS9K-tSvHy-IisrLlOfthFgDVo-hU30XtKPg9"
- },
- "payer_user_id" : {
- "type" : "string",
- "description" : "付款方支付宝用户号",
- "example" : "2088102000275885"
- },
- "pre_auth_type" : {
- "type" : "string",
- "description" : "预授权类型,目前支持 CREDIT_AUTH(信用预授权);\r\t商户可根据该标识来判断该笔预授权的类型,当返回值为\"CREDIT_AUTH\"表明该笔预授权为信用预授权,没有真实冻结资金;当返回值为空或者不为\"CREDIT_AUTH\"则表明该笔预授权为普通资金预授权,会冻结用户资金。",
- "example" : "CREDIT_AUTH"
- },
- "status" : {
- "type" : "string",
- "description" : "资金预授权明细的状态\r\t目前支持: \r\tINIT:初始\r\tSUCCESS: 成功\r\tCLOSED:关闭",
- "example" : "SUCCESS"
- },
- "trans_currency" : {
- "type" : "string",
- "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
- "example" : "USD"
- }
- }
- },
- "AlipayFundAuthOrderUnfreezeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAuthOrderUnfreezeModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "本次操作解冻的金额,单位为:元(人民币),精确到小数点后两位。\t取值范围:[0.01,100000000.00]",
- "example" : "20.11"
- },
- "auth_no" : {
- "type" : "string",
- "description" : "支付宝资金授权订单号。",
- "example" : "2016101210002001810258115912"
- },
- "extra_param" : {
- "type" : "string",
- "description" : "解冻扩展信息。map<string, string>的json格式,目前支持如下key:\tunfreezeBizInfo:由芝麻消费,当前支持value如下:\t\"bizComplete\":\"true\"——标识本次解冻用户已履约,true表示信用单履约完结",
- "example" : "{\"unfreezeBizInfo\": \"{\\\"bizComplete\\\":\\\"true\\\"}\"}"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "解冻请求流水号。\t如果是针对同一笔授权单不同的解冻请求,如第一次解冻1元,第二次解冻2元,则解冻请求流水号必须不重复;\t如果是针对同一笔解冻请求的多次发起,则需要保证每次发起,解冻请求流水号和解冻金额都相同",
- "example" : "2016101200104001110081001"
- },
- "remark" : {
- "type" : "string",
- "description" : "商户对本次解冻操作的附言描述",
- "example" : "2014-05期解冻200.00元"
- }
- }
- },
- "AlipayFundAuthOrderUnfreezeResponseModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "本次操作解冻的金额,单位为:元(人民币),精确到小数点后两位,取值范围:[0.01,100000000.00]",
- "example" : "20.81"
- },
- "auth_no" : {
- "type" : "string",
- "description" : "支付宝资金授权订单号",
- "example" : "2014070800002001550000014417"
- },
- "credit_amount" : {
- "type" : "string",
- "description" : "本次解冻操作中信用解冻金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "fund_amount" : {
- "type" : "string",
- "description" : "本次解冻操作中自有资金解冻金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "0.01"
- },
- "gmt_trans" : {
- "type" : "string",
- "description" : "授权资金解冻成功时间,格式:YYYY-MM-DD HH:MM:SS",
- "example" : "2014-09-15 11:23:04"
- },
- "operation_id" : {
- "type" : "string",
- "description" : "支付宝资金操作流水号",
- "example" : "2014070800032850551"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户的授权资金订单号",
- "example" : "4977164666634053"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次资金操作的请求流水号",
- "example" : "20140707001555633"
- },
- "status" : {
- "type" : "string",
- "description" : "资金操作流水的状态\t目前支持:SUCCESS:成功",
- "example" : "SUCCESS"
- }
- }
- },
- "AlipayFundAuthOrderVoucherCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundAuthOrderVoucherCreateModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "需要冻结的金额,单位为:元(人民币),精确到小数点后两位。\t取值范围:[0.01,100000000.00]",
- "example" : "100.00"
- },
- "business_params" : {
- "type" : "string",
- "description" : "业务参数,如风控参数outRiskInfo等。",
- "example" : "{\"outRiskInfo\":\"{\\\"mcCreateTradeTime\\\":\\\"2022-03-11 12:46:09\\\",\\\"extraAccountCertnoLastSix\\\":\\\"000011\\\",\\\"mobileOperatingPlatform\\\":\\\"ios\\\",\\\"sysVersion\\\":\\\"15.4.2\\\",\\\"mcCreateTradeIp\\\":\\\"11.110.111.43\\\"}\"}"
- },
- "disable_pay_channels" : {
- "type" : "string",
- "description" : "无特殊需要请勿传入;商户可用该参数禁用支付渠道。\t传入后用户不可使用列表中的渠道进行支付,目前支持两种禁用渠道:信用卡快捷(OPTIMIZED_MOTO)、信用卡卡通(BIGAMOUNT_CREDIT_CARTOON)。与可用支付渠道不能同时传入",
- "example" : "[{\"payChannelType\":\"OPTIMIZED_MOTO\"},{\"payChannelType\":\"BIGAMOUNT_CREDIT_CARTOON\"}]"
- },
- "enable_pay_channels" : {
- "type" : "string",
- "description" : "无特殊需要请勿传入;商户可用该参数指定支付渠道。\t传入后用户仅能使用列表中的渠道进行支付,目前支持三种渠道,余额宝(MONEY_FUND)、花呗(PCREDIT_PAY)以及芝麻信用(CREDITZHIMA)。与禁用支付渠道不可同时传入",
- "example" : "[{\"payChannelType\":\"PCREDIT_PAY\"},{\"payChannelType\":\"MONEY_FUND\"}]"
- },
- "extra_param" : {
- "type" : "string",
- "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",
- "example" : "{\"category\":\"CHARGE_PILE_CAR\",\"serviceId\":\"2020042800000000000001450466\"}"
- },
- "identity_params" : {
- "type" : "string",
- "description" : "无特殊需要请勿传入;买家实名信息。\t传入后支付宝会比对买家在支付宝端的实名信息。包含两个可选key:\t1.identity_hash,买家姓名拼接身份证号后,使用SHA256摘要方式与UTF8编码后的hash值,返回的十六进制字符串,例如 “张三4566498798498498498498”对应的identity_hash应为“acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6”\t2.alipay_open_id,买家支付宝openId\t3.alipay_user_id,买家支付宝uid",
- "example" : "{\"identity_hash\":\"acc2b92ffc5ed9b472faa19748f10045c30434132784f774b00216a56b8841c6\",\"alipay_open_id\":\"xxxxxx\",\"alipay_user_id\":\"2088xxx\"}"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "order_title" : {
- "type" : "string",
- "description" : "订单标题。\t业务订单的简单描述,如商品名称等",
- "example" : "预授权发码"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户授权资金订单号。\t商家自定义需保证在商户端不重复。仅支持字母、数字、下划线。",
- "example" : "8077735255938023"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次资金操作的请求流水号,用于标示请求流水的唯一性。\t可与out_order_no相同,仅支持字母、数字、下划线。",
- "example" : "8077735255938032"
- },
- "pay_timeout" : {
- "type" : "string",
- "description" : "预授权订单相对超时时间,从商户请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
- "example" : "2d"
- },
- "payee_logon_id" : {
- "type" : "string",
- "description" : "收款账户的支付宝登录号(email或手机号)。\t如果传入则会校验该登录号对应的账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一,二者无需同时传入",
- "example" : "159****5620"
- },
- "payee_user_id" : {
- "type" : "string",
- "description" : "收款账户的支付宝用户号。\t以2088开头的16位纯数字,如果传入则会校验该账号是否具备当前商户收款权限,如果商户希望用户能够使用花呗,则用户号(payee_user_id)和登录号(payee_logon_id)两者必须传入其一,二者无需同时传入",
- "example" : "2088102000275795"
- },
- "product_code" : {
- "type" : "string",
- "description" : "销售产品码。\t当面资金预授权固定为 PRE_AUTH",
- "example" : "PRE_AUTH"
- },
- "settle_currency" : {
- "type" : "string",
- "description" : "商户指定的结算币种。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
- "example" : "USD"
- },
- "timeout_express" : {
- "type" : "string",
- "description" : "预授权订单相对超时时间,从商户请求时间开始计算。\t预授权订单允许的最晚授权时间,逾期将关闭该笔订单。取值范围:1m~15d。m-分钟,h-小时,d-天。 该参数数值不接受小数点, 如 1.5h,可转换为90m。\t默认为15m。",
- "example" : "2d"
- },
- "trans_currency" : {
- "type" : "string",
- "description" : "标价币种, amount 对应的币种单位。支持澳元:AUD, 新西兰元:NZD, 台币:TWD, 美元:USD, 欧元:EUR, 英镑:GBP",
- "example" : "USD"
- }
- }
- },
- "AlipayFundAuthOrderVoucherCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "code_type" : {
- "type" : "string",
- "description" : "码类型,分为 barCode:条形码 (一维码) 和 qrCode:二维码(qrCode) ;\r\t目前发码只支持 qrCode",
- "example" : "qrCode"
- },
- "code_url" : {
- "type" : "string",
- "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;",
- "example" : "http://mobilecodec.alipay.com/show.htm?code=aeparsv2dknkqf3018556a"
- },
- "code_value" : {
- "type" : "string",
- "description" : "当前发码请求生成的二维码码串,商户端可以利用二维码生成工具根据该码串值生成对应的二维码",
- "example" : "https://qr.alipay.com/aax017928umnzqo0uswmzd3"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户的授权资金订单号",
- "example" : "8077735255938023"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次资金操作的请求流水号",
- "example" : "8077735255938032"
- }
- }
- },
- "AlipayFundEnterprisepayGroupAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundEnterprisepayGroupAddModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业签约账户ID",
- "example" : "2088888888"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "平台和企业的三方授权协议号",
- "example" : "1231231321323"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码,联系支付宝分配",
- "example" : "ANT_GROUP"
- },
- "fund_ext_info" : {
- "$ref" : "#/components/schemas/FundExtInfo"
- },
- "name" : {
- "type" : "string",
- "description" : "群组名称",
- "example" : "后勤组"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,外部群组号",
- "example" : "12312313"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码,默认值\tENTERPRISE_PAY",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundEnterprisepayGroupAddResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "因公付账户ID",
- "example" : "2088123123"
- },
- "fund_group_id" : {
- "type" : "string",
- "description" : "资金群组号",
- "example" : "2088123123"
- },
- "out_group_id" : {
- "type" : "string",
- "description" : "外部群组号,业务号",
- "example" : "out_001"
- }
- }
- },
- "AlipayFundEnterprisepayGroupDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundEnterprisepayGroupDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayFundEnterprisepayGroupModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundEnterprisepayGroupModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业签约账户ID",
- "example" : "2088888888"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "平台和企业的三方授权协议号",
- "example" : "1231231321323"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码,联系支付宝分配",
- "example" : "ANT_GROUP"
- },
- "fund_ext_info" : {
- "$ref" : "#/components/schemas/FundExtInfo"
- },
- "name" : {
- "type" : "string",
- "description" : "群组名称",
- "example" : "后勤组"
- },
- "operation_type_list" : {
- "type" : "array",
- "description" : "更新操作类型:多个时逗号分隔\tNAME-群组名称\tFUND-出资信息\t字段不传时,默认全量更新",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"NAME\",\"FUND\"]"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号",
- "example" : "12123123"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码,默认值\tENTERPRISE_PAY",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundEnterprisepayGroupModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayFundEnterprisepayGroupQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundEnterprisepayGroupQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业签约账户ID",
- "example" : "2088888888"
- },
- "fund_group_id" : {
- "type" : "string",
- "description" : "内部群组号",
- "example" : "2088888888"
- },
- "fund_identity" : {
- "type" : "string",
- "description" : "该群所对应的出资主体账号",
- "example" : "20888888"
- },
- "group_name" : {
- "type" : "string",
- "description" : "群组名称",
- "example" : "群组"
- },
- "out_group_id" : {
- "type" : "string",
- "description" : "外部群组号",
- "example" : "1231231"
- }
- }
- },
- "AlipayFundEnterprisepayMemberModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundEnterprisepayMemberModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业签约账户ID",
- "example" : "2088888888"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "平台和企业的三方授权协议号",
- "example" : "1231231321323"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码,联系支付宝分配",
- "example" : "ANT_GROUP"
- },
- "fund_ext_info" : {
- "$ref" : "#/components/schemas/FundExtInfo"
- },
- "group_id_list" : {
- "type" : "array",
- "description" : "员工当前关联的群组ID,支持多个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"11\",\"22\",\"33\"]"
- },
- "open_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "operation_type_list" : {
- "type" : "array",
- "description" : "更新操作类型:多个时逗号分隔\tGROUP-群组信息\tFUND-出资信息\t字段不传时,默认全量更新",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"GROUP\",\"FUND\"]"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码,默认值\tENTERPRISE_PAY",
- "example" : "ENTERPRISE_PAY"
- },
- "user_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID",
- "example" : "2088123123"
- }
- }
- },
- "AlipayFundEnterprisepayMemberModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayFundEnterprisepaySignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundEnterprisepaySignModel" : {
- "type" : "object",
- "properties" : {
- "account_name" : {
- "type" : "string",
- "description" : "企业简称,传空采用默认规则命名,使用公司名称",
- "example" : "Anonymity"
- },
- "appoint_sign_terminal" : {
- "type" : "string",
- "description" : "指定签约终端类型\tPC-电脑浏览器\tMOBILE-手机端",
- "example" : "PC"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "业务场景,联系支付宝分配",
- "example" : "DEFAULT"
- },
- "ext_params" : {
- "type" : "string",
- "description" : "特殊场景下扩展字段",
- "example" : "\"{\\\"key\\\":\\\"value\\\"}\""
- },
- "identity" : {
- "type" : "string",
- "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",
- "example" : "name@email.com"
- },
- "identity_name" : {
- "type" : "string",
- "description" : "开户用户名称,identity_type为ALIPAY_LOGON_ID时必填",
- "example" : "张三"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "账号类型,目前支持如下类型:\t1、ALIPAY_USER_ID 支付宝的会员ID\t2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式\t3、OUT_USER_ID:外部用户uid",
- "example" : "ALIPAY_LOGON_ID"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "商户侧单号(幂等字段)\t,补充说明:幂等逻辑(商户appid+out_biz_no),商户集成时需注意,如换号重复发起,则认为是一笔新的请求",
- "example" : "1650353507572"
- },
- "out_entity_id" : {
- "type" : "string",
- "description" : "外部实体ID,一般表述为外部操作人操作某个外部实体。比如企业码2284号",
- "example" : "2488888888"
- },
- "out_source" : {
- "type" : "string",
- "description" : "ISV平台定义的共同账户开户来源",
- "example" : "DINGDING"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundEnterprisepaySignResponseModel" : {
- "type" : "object",
- "properties" : {
- "sign_token" : {
- "type" : "string",
- "description" : "签约凭证",
- "example" : "signToken"
- },
- "sign_url" : {
- "type" : "string",
- "description" : "签约链接,用于跳转到开户页面",
- "example" : "http://business-site-default.dev.alipay.net/page/EnterprisePay/Account?signToken=12324"
- }
- }
- },
- "AlipayFundEnterprisepayUnsignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundEnterprisepayUnsignModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业账号",
- "example" : "2088xxx"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权协议号",
- "example" : "2088xxx"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "业务场景",
- "example" : "ISV_ALIYUN"
- },
- "product_code" : {
- "type" : "string",
- "description" : "销售产品码",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundEnterprisepayUnsignResponseModel" : {
- "type" : "object",
- "properties" : {
- "unsign_token" : {
- "type" : "string",
- "description" : "解约凭证",
- "example" : "700e15fc014d463eb84600676f1976b4"
- },
- "unsign_url" : {
- "type" : "string",
- "description" : "解约链接",
- "example" : "http://business-site-default.dev.alipay.net/page/EnterprisePay/Account?unsignToken=12324"
- }
- }
- },
- "AlipayFundJointaccountBillQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PRODUCT_NOT_SIGN", "AGREEMENT_IS_INVALID", "ILLEGAL_ARGUMENT", "START_AFTER_END_DATE", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountBillQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "bill_list" : {
- "type" : "array",
- "description" : "返回账单列表。账单列表为空时,返回为空",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountBillDetailDTO"
- }
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景",
- "example" : "DEFAULT"
- },
- "has_next_page" : {
- "type" : "boolean",
- "description" : "是否有下一页",
- "example" : "true"
- },
- "page_num" : {
- "type" : "string",
- "description" : "当期页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "当期页记录数",
- "example" : "10"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundJointaccountDetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountDetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "合花群ID(支付宝侧生成)",
- "example" : "2088xxx"
- },
- "account_name" : {
- "type" : "string",
- "description" : "账户名称(支付宝侧生成)",
- "example" : "企业代付"
- },
- "account_quota" : {
- "type" : "array",
- "description" : "额度模型",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountQuotaRespDTO"
- }
- },
- "account_status" : {
- "type" : "string",
- "description" : "账户状态<br>\t-NORMAL:正常<br>\t-RELEASING:注销中<br>\t-RELEASED:已注销<br>\t- FREEZE:冻结",
- "example" : "NORMAL"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权协议号(支付宝侧生成)",
- "example" : "2088xxx"
- },
- "authorized_rule" : {
- "$ref" : "#/components/schemas/AuthorizedRuleDTO"
- },
- "available_balance" : {
- "type" : "string",
- "description" : "当前可用金额(单位为元,必须大于0且最多小数点后两位)",
- "example" : "13.14"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "业务场景码",
- "example" : "DEFAULT"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "(创建人)支付宝侧用户唯一标识",
- "example" : "2088900976740001"
- },
- "creator_open_id" : {
- "type" : "string",
- "description" : "(创建人)支付宝侧用户唯一标识",
- "example" : "095PJtAPYb2Uk"
- },
- "creator_out_id" : {
- "type" : "string",
- "description" : "(创建人)商户侧用户唯一标识<br>\t补充说明:<br>\t-如果签约时,发起人标识传递的是商户侧用户唯一标识,则该字段会返回<br>\t-如果签约时,发起人标识传递的是支付宝侧用户唯一标识,则该字段为空",
- "example" : "12345678"
- },
- "freeze_balance" : {
- "type" : "string",
- "description" : "当前冻结金额(单位为元,必须大于0且最多小数点后两位)",
- "example" : "5.20"
- },
- "invite_result_list" : {
- "type" : "array",
- "description" : "签约时邀请的成员列表(快照)",
- "items" : {
- "$ref" : "#/components/schemas/InviteResultDTO"
- }
- },
- "member_list" : {
- "type" : "array",
- "description" : "已加入合花群的成员列表",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountMemberInfoRespDTO"
- }
- },
- "product_code" : {
- "type" : "string",
- "description" : "销售产品码",
- "example" : "ENTERPRISE_PAY"
- },
- "profit_status" : {
- "type" : "string",
- "description" : "生息状态:</br>\t- MAKING :开启中</br>\t- MADE. :已开启</br>\t- CLEARING:关闭中</br>\t- NONE. :未生息",
- "example" : "MADE"
- },
- "yesterday_profit" : {
- "type" : "string",
- "description" : "昨日收益",
- "example" : "0.45"
- }
- }
- },
- "AlipayFundJointaccountListQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PRODUCT_NOT_SIGN" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountListQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_list" : {
- "type" : "array",
- "description" : "共同账户列表",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountDTO"
- }
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景",
- "example" : "DEFAULT"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundJointaccountMemberBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountMemberBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "20888888888"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "三方授权协议号",
- "example" : "3424324324324"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "业务场景",
- "example" : "ISV_DEFAULT"
- },
- "identity" : {
- "type" : "string",
- "description" : "企业账号:identity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t是ALIPAY_LOGON_ID 填支付宝登录号",
- "example" : "name@email.com"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "账号类型,目前支持如下类型: 1、ALIPAY_USER_ID 支付宝的会员ID 2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式",
- "example" : "ALIPAY_LOGON_ID"
- },
- "last_open_id" : {
- "type" : "string",
- "description" : "按游标查询,传入上次查询最后一个用户的openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "last_user_id" : {
- "type" : "string",
- "description" : "按游标查询,传入上次查询最后一个用户ID,适用于逐页查询。优先级大于page_num",
- "example" : "2088900976746215"
- },
- "page_num" : {
- "type" : "string",
- "description" : "采用分页查询,本参数为空或0默认显示第一页。如果输入的值大于总页数,则支付宝返回最后一页数据。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "每页大小,不传的情况下默认20条,上限100;不足20条则按实际记录数返回",
- "example" : "20"
- },
- "product_code" : {
- "type" : "string",
- "description" : "销售产品码",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundJointaccountMemberBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088900976746215"
- },
- "member_list" : {
- "type" : "array",
- "description" : "员工列表",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountMemberDTO"
- }
- },
- "page_num" : {
- "type" : "string",
- "description" : "当前页数,使用游标方式查询时,没有该字段",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "当前记录数",
- "example" : "1"
- },
- "total_count" : {
- "type" : "string",
- "description" : "总条数",
- "example" : "100"
- },
- "total_page_count" : {
- "type" : "string",
- "description" : "总页数",
- "example" : "50"
- }
- }
- },
- "AlipayFundJointaccountMemberBindErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountMemberBindModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "账本ID",
- "example" : "2088000166406784"
- },
- "account_quota" : {
- "$ref" : "#/components/schemas/JointAccountQuotaDTO"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权签约协议号",
- "example" : "20214922001380716008"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "业务场景,联系支付宝分配",
- "example" : "ISV_STANDARD"
- },
- "business_params" : {
- "$ref" : "#/components/schemas/InviteMemberBusinessParamsDTO"
- },
- "identity" : {
- "type" : "string",
- "description" : "成员账号:\tidentity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t是ALIPAY_LOGON_ID 填支付宝登录号;\t是ALIPAY_OPEN_ID 填支付宝openId",
- "example" : "name@email.com"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "账号类型,目前支持如下类型:\t1、ALIPAY_USER_ID 支付宝的会员ID \t2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式\t3、ALIPAY_OPEN_ID:支付宝openId",
- "example" : "ALIPAY_LOGON_ID"
- },
- "identity_verified_info" : {
- "$ref" : "#/components/schemas/IdentityVerifiedInfoDTO"
- },
- "name" : {
- "type" : "string",
- "description" : "成员姓名,账号类型为ALIPAY_LOGON_ID时必填",
- "example" : "张三"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundJointaccountMemberBindResponseModel" : {
- "type" : "object",
- "properties" : {
- "reply_url" : {
- "type" : "string",
- "description" : "员工回应邀请链接",
- "example" : "http://www.baidu.com"
- }
- }
- },
- "AlipayFundJointaccountMemberConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PRODUCT_NOT_SIGN", "AGREEMENT_IS_INVALID", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountMemberConsultModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088900976746215"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "协议号",
- "example" : "20205820659822371223"
- },
- "business_params" : {
- "type" : "string",
- "description" : "扩展参数,如需使用请联系支付宝开放同学",
- "example" : "{\"k\":\"v\"}"
- },
- "open_id_list" : {
- "type" : "array",
- "description" : "要检查的员工openId",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
- },
- "user_id_list" : {
- "type" : "array",
- "description" : "要检查的员工ID",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088900976746215\"]"
- }
- }
- },
- "AlipayFundJointaccountMemberConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088900976746215"
- },
- "code" : {
- "type" : "string",
- "description" : "返回码\t10000-成功\t其他都是失败",
- "example" : "10000"
- },
- "member_list" : {
- "type" : "array",
- "description" : "员工列表",
- "items" : {
- "$ref" : "#/components/schemas/MemberStatusRespDTO"
- }
- },
- "msg" : {
- "type" : "string",
- "description" : "描述信息",
- "example" : "Success"
- }
- }
- },
- "AlipayFundJointaccountMemberQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PRODUCT_NOT_SIGN", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountMemberQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088900976746215"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码",
- "example" : "DEFAULT"
- },
- "member_list" : {
- "type" : "array",
- "description" : "成员列表",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountMemberRespDTO"
- }
- },
- "page_num" : {
- "type" : "string",
- "description" : "页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "页面记录数",
- "example" : "10"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "ENTERPRISE_PAY"
- },
- "total_page_count" : {
- "type" : "string",
- "description" : "总页数",
- "example" : "10"
- }
- }
- },
- "AlipayFundJointaccountMemberUnbindErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountMemberUnbindModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "账本id",
- "example" : "2088000166406784"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权协议号",
- "example" : "20214922001380716008"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码",
- "example" : "DEFAULT"
- },
- "identity" : {
- "type" : "string",
- "description" : "成员账号:\tidentity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t是ALIPAY_LOGON_ID 填支付宝登录号",
- "example" : "name@email.com"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "账号类型,目前支持如下类型: 1、ALIPAY_USER_ID 支付宝的会员ID 2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式",
- "example" : "ALIPAY_LOGON_ID"
- },
- "name" : {
- "type" : "string",
- "description" : "姓名,账号类型为ALIPAY_LOGON_ID时必填",
- "example" : "张三"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "ENTERPRISE_PAY"
- },
- "status" : {
- "type" : "string",
- "description" : "成员当前状态:\t邀请中(PROCESSING)、正常(NORMAL)",
- "example" : "NORMAL"
- }
- }
- },
- "AlipayFundJointaccountMemberUnbindResponseModel" : {
- "type" : "object"
- },
- "AlipayFundJointaccountMemberruleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PRODUCT_NOT_SIGN", "MAX_QUOTA_CONFIG_MISSING" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountMemberruleModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "账户ID",
- "example" : "2088900976746215"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权协议号",
- "example" : "20889009767462151233"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "业务场景",
- "example" : "DEFAULT"
- },
- "member_list" : {
- "$ref" : "#/components/schemas/JointAccountMemberList"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundJointaccountMemberruleModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayFundJointaccountQuotaQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PRODUCT_NOT_SIGN", "AGREEMENT_NOT_EXIST", "AGREEMENT_STATUS_IS_NOT_NORMAL", "AGREEMENT_IS_OUT_OF_DATE", "AGREEMENT_IS_INVALID", "ILLEGAL_ARGUMENT", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountQuotaQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088900976746215"
- },
- "account_quota" : {
- "type" : "array",
- "description" : "共同账户额度模型",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountQuotaRespDTO"
- }
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码",
- "example" : "DEFAULT"
- },
- "member_id" : {
- "type" : "string",
- "description" : "成员ID(如果查询员工才返回)",
- "example" : "2088900976746215"
- },
- "member_open_id" : {
- "type" : "string",
- "description" : "员工openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundJointaccountRuleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PRODUCT_NOT_SIGN" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountRuleModifyModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "账本ID",
- "example" : "2088402123951081"
- },
- "account_name" : {
- "type" : "string",
- "description" : "账本名称",
- "example" : "账本名称"
- },
- "account_quota" : {
- "type" : "array",
- "description" : "账户额度",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountQuotaDTO"
- }
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "授权协议号",
- "example" : "2088402124305476"
- },
- "authorized_rule" : {
- "$ref" : "#/components/schemas/AuthorizedRuleDTO"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "场景码",
- "example" : "DEFAULT"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "ENTERPRISE_PAY"
- }
- }
- },
- "AlipayFundJointaccountRuleModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayFundJointaccountSignQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_ARGUMENT", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountSignQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业签约的账户ID",
- "example" : "2088123123123"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "企业授权平台的三方授权协议号",
- "example" : "121212121212"
- },
- "status" : {
- "type" : "string",
- "description" : "账户状态,NORMAL-生效中,RELEASED-已销户",
- "example" : "NORMAL"
- }
- }
- },
- "AlipayFundJointaccountTradeQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundJointaccountTradeQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "buyer_id" : {
- "type" : "string",
- "description" : "买家ID",
- "example" : "2088888888"
- },
- "buyer_open_id" : {
- "type" : "string",
- "description" : "买家的openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "create_time" : {
- "type" : "string",
- "description" : "交易创建时间",
- "example" : "2010-11-11 11:11:11"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单总金额",
- "example" : "2"
- },
- "trade_fund_bill_list" : {
- "type" : "array",
- "description" : "资金单明细",
- "items" : {
- "$ref" : "#/components/schemas/TradeFundBillDetail"
- }
- },
- "trade_info_list" : {
- "type" : "array",
- "description" : "交易信息集合。查询为批量查询时,使用该结果返回",
- "items" : {
- "$ref" : "#/components/schemas/TradeInfoDTO"
- }
- },
- "trade_no" : {
- "type" : "string",
- "description" : "交易单号",
- "example" : "1231231321321"
- },
- "trade_status" : {
- "type" : "string",
- "description" : "交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款)",
- "example" : "TRADE_SUCCESS"
- }
- }
- },
- "AlipayFundTransCommonQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ORDER_NOT_EXIST", "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_ORDER_PERMISSION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundTransCommonQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "arrival_time_end" : {
- "type" : "string",
- "description" : "预计到账时间,转账到银行卡专用,格式为yyyy-MM-dd HH:mm:ss,转账受理失败不返回。\r\t注意:\r\t此参数为预计时间,可能与实际到账时间有较大误差,不能作为实际到账时间使用,仅供参考用途。",
- "example" : "2013-01-01 08:08:08"
- },
- "deduct_bill_info" : {
- "type" : "string",
- "description" : "商户查询代扣订单信息时返回其在代扣请求中传入的账单属性",
- "example" : "{\"bizDesc\":\"代扣账单属性\",\"bizNos\":\"M{529316162343612472}\",\"billSource\":\"账房\",\"bizOrigNo\":\"529316162343612472\",\"reqSystem\":\"PointCenter\"}"
- },
- "error_code" : {
- "type" : "string",
- "description" : "查询到的订单状态为FAIL失败或REFUND退票时,返回错误代码",
- "example" : "PAYEE_CARD_INFO_ERROR"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "查询到的订单状态为FAIL失败或REFUND退票时,返回具体的原因。",
- "example" : "收款方银行卡信息有误"
- },
- "order_fee" : {
- "type" : "string",
- "description" : "预计收费金额(元),转账到银行卡专用,数字格式,精确到小数点后2位,转账失败或转账受理失败不返回。",
- "example" : "0.02"
- },
- "order_id" : {
- "type" : "string",
- "description" : "支付宝转账单据号,查询失败不返回。",
- "example" : "20190801110070000006380000250621"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "商户订单号",
- "example" : "201808080001"
- },
- "passback_params" : {
- "type" : "string",
- "description" : "商户回传参数",
- "example" : "{\"merchantBizType\":\"peerPay\"}"
- },
- "pay_date" : {
- "type" : "string",
- "description" : "支付时间,格式为yyyy-MM-dd HH:mm:ss,转账失败不返回。",
- "example" : "2013-01-01 08:08:08"
- },
- "pay_fund_order_id" : {
- "type" : "string",
- "description" : "支付宝支付资金流水号,转账失败不返回。",
- "example" : "20190801110070001506380000251556"
- },
- "status" : {
- "type" : "string",
- "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",
- "example" : "SUCCESS"
- },
- "sub_order_error_code" : {
- "type" : "string",
- "description" : "特殊场景提供,当子单出现异常导致主单失败或者退款时,会提供此字段,用于透出子单具体的错误场景",
- "example" : "MID_ACCOUNT_CARD_INFO_ERROR"
- },
- "sub_order_fail_reason" : {
- "type" : "string",
- "description" : "特殊场景提供,当子单出现异常导致主单失败或者退款时,会提供此字段,用于透出子单具体的错误场景",
- "example" : "收款方银行卡信息有误"
- },
- "sub_order_status" : {
- "type" : "string",
- "description" : "退款子单失败状态",
- "example" : "FAIL"
- },
- "trans_amount" : {
- "type" : "string",
- "description" : "付款金额,收银台场景下付款成功后的支付金额,订单状态为SUCCESS才返回,其他状态不返回。",
- "example" : "付款金额,单位为元,精确到小数点后两位:32.00"
- },
- "transfer_bill_info" : {
- "type" : "string",
- "description" : "商户在查询代发订单信息时返回其在代发请求中传入的账单属性。",
- "example" : "{\"bizDesc\":\"代扣账单属性\",\"bizNos\":\"M{529316162343612472}\",\"billSource\":\"账房\",\"bizOrigNo\":\"529316162343612472\",\"reqSystem\":\"PointCenter\"}"
- }
- }
- },
- "AlipayFundTransOrderQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ORDER_NOT_EXIST", "NO_ORDER_PERMISSION", "INVALID_PARAMETER", "ILLEGAL_ACCOUNT_STATUS_EXCEPTION", "SYSTEM_ERROR", "ORDER_ID_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundTransOrderQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "arrival_time_end" : {
- "type" : "string",
- "description" : "预计到账时间,转账到银行卡专用,格式为yyyy-MM-dd HH:mm:ss,转账受理失败不返回。\r\t 注意:\r\t此参数为预计时间,可能与实际到账时间有较大误差,不能作为实际到账时间使用,仅供参考用途。",
- "example" : "2013-01-01 08:08:08"
- },
- "error_code" : {
- "type" : "string",
- "description" : "查询失败时,本参数为错误代 码。\r\t 查询成功不返回。 对于退票订单,不返回该参数。",
- "example" : "EXCEED_LIMIT_SM_AMOUNT"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "查询到的订单状态为FAIL失败或REFUND退票时,返回具体的原因。",
- "example" : "单笔额度超限"
- },
- "order_fee" : {
- "type" : "string",
- "description" : "预计收费金额(元),转账到银行卡专用,数字格式,精确到小数点后2位,转账失败或转账受理失败不返回。",
- "example" : "0.02"
- },
- "order_id" : {
- "type" : "string",
- "description" : "支付宝转账单据号,查询失败不返回。",
- "example" : "20181225110070001502260000212207"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "发起转账来源方定义的转账单据号。 \r\t该参数的赋值均以查询结果中 的 out_biz_no 为准。 \r\t如果查询失败,不返回该参数。",
- "example" : "3142321423432"
- },
- "pay_date" : {
- "type" : "string",
- "description" : "支付时间,格式为yyyy-MM-dd HH:mm:ss,转账失败不返回。",
- "example" : "2013-01-01 08:08:08"
- },
- "status" : {
- "type" : "string",
- "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:状态未知。",
- "example" : "SUCCESS"
- }
- }
- },
- "AlipayFundTransPayErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundTransPayModel" : {
- "type" : "object",
- "properties" : {
- "auth_info" : {
- "$ref" : "#/components/schemas/AuthInfo"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "业务场景,比如群收款、红包等",
- "example" : "PARTY_MEMBERSHIP_DUES"
- },
- "business_params" : {
- "type" : "string",
- "description" : "JSON格式,传递业务扩展参数,使用前请与支付宝工程师联系!",
- "example" : "{\"MERCHANT_PAYER_ID\":\"1234567890\",\"MERCHANT_PAYER_PHONE:\"15012341234\"}"
- },
- "order_title" : {
- "type" : "string",
- "description" : "订单的标题,用于在收银台和消费记录展示",
- "example" : "钉钉红包"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "商户端的唯一订单号,对于同一笔转账请求,商户需保证该订单号唯一。",
- "example" : "201806300001"
- },
- "passback_params" : {
- "type" : "string",
- "description" : "回传参数,如果请求时传递了该参数,则异步通知商户时会回传该参数。",
- "example" : "{\"merchantBizType\":\"peerPay\"}"
- },
- "payee_info" : {
- "$ref" : "#/components/schemas/Participant"
- },
- "payer_info" : {
- "$ref" : "#/components/schemas/Participant"
- },
- "product_code" : {
- "type" : "string",
- "description" : "销售产品码,商家和支付宝签约的产品码",
- "example" : "STD_APP_TRANSFER"
- },
- "refund_time_expire" : {
- "type" : "string",
- "description" : "退款超时时间,格式yyyy-MM-dd HH:mm。到指定时间后,系统会自动触发退款,并原路退回到付款账户。如果指定了退款时间,必须早于销售方案里设置的最晚退款时间。",
- "example" : "2018-11-08 10:00"
- },
- "remark" : {
- "type" : "string",
- "description" : "备注",
- "example" : "报销付款"
- },
- "time_expire" : {
- "type" : "string",
- "description" : "绝对超时时间,格式为yyyy-MM-dd HH:mm",
- "example" : "2018-03-23 19:15"
- },
- "trans_amount" : {
- "type" : "string",
- "description" : "订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]",
- "example" : "8.88"
- }
- }
- },
- "AlipayFundTransPayResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "该笔转账在支付宝系统内部的单据ID",
- "example" : "20180629110070001502040007320562"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "商户端的唯一订单号",
- "example" : "201806300001"
- },
- "pay_fund_order_id" : {
- "type" : "string",
- "description" : "支付宝支付资金流水号",
- "example" : "20190801110070001506380000251556"
- },
- "status" : {
- "type" : "string",
- "description" : "SUCCESS:支付成功;\r\tFAIL:支付失败;\r\tUNKNOWN:未知;建议通过查询确认最新状态",
- "example" : "SUCCESS"
- },
- "trans_pay_time" : {
- "type" : "string",
- "description" : "订单支付时间,格式为yyyy-MM-dd HH:mm:ss",
- "example" : "2019-08-21 00:00:00"
- }
- }
- },
- "AlipayFundTransPayeeBindQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NOT_IN_WHITE_LIST", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundTransPayeeBindQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "bind" : {
- "type" : "string",
- "description" : "是否绑定收款账号。true:已绑定;false:未绑定",
- "example" : "true"
- }
- }
- },
- "AlipayFundTransRefundErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundTransRefundModel" : {
- "type" : "object",
- "properties" : {
- "business_params" : {
- "type" : "string",
- "description" : "JSON格式,传递业务扩展参数,使用前请与支付宝工程师联系!",
- "example" : "{\"MERCHANT_PAYER_ID\":\"1234567890\",\"MERCHANT_PAYER_PHONE:\"15012341234\"}"
- },
- "order_id" : {
- "type" : "string",
- "description" : "发红包时支付宝返回的支付宝订单号order_id。",
- "example" : "20190703110075000006530004756875"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "标识一次资金退回请求,一笔资金退回失败后重新提交,要采用原来的资金退回单号。总退款金额不能超过用户实际支付金额。",
- "example" : "2018999960760005838333"
- },
- "passback_params" : {
- "type" : "string",
- "description" : "公用回传参数,如果请求时传递了该参数,则异步通知商户时会回传该参数。",
- "example" : "{\"merchantBizType\":\"peerPay\"}"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "需要退款的金额,该金额不能大于订单金额,单位为元,支持两位小数",
- "example" : "8.88"
- },
- "remark" : {
- "type" : "string",
- "description" : "资金退回备注",
- "example" : "红包超时退回"
- }
- }
- },
- "AlipayFundTransRefundResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "发红包时支付宝返回的支付宝订单号order_id。",
- "example" : "20881030507841230156"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "标识一次资金退回请求,一笔资金退回失败后重新提交,要采用原来的资金退回单号。总退款金额不能超过用户实际支付金额。",
- "example" : "2019063050784123"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "本次退款的金额,单位为元,支持两位小数",
- "example" : "8.88"
- },
- "refund_date" : {
- "type" : "string",
- "description" : "退款资金退回",
- "example" : "2019-01-01 08:08:08"
- },
- "refund_order_id" : {
- "type" : "string",
- "description" : "退款的支付宝系统内部单据id",
- "example" : "2088000000300210312"
- },
- "status" : {
- "type" : "string",
- "description" : "SUCCESS:退款成功",
- "example" : "SUCCESS"
- }
- }
- },
- "AlipayFundTransToaccountTransferErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundTransToaccountTransferModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "转账金额,单位:元。\r\t只支持2位小数,小数点前最大支持13位,金额必须大于等于0.1元。 \r\t最大转账金额以实际签约的限额为准。",
- "example" : "12.23"
- },
- "ext_param" : {
- "type" : "string",
- "description" : "扩展参数,json字符串格式,目前仅支持的key=order_title,表示收款方的转账账单标题,value可以根据自己的业务定制。",
- "example" : "{\"order_title\":\"兑奖红包\"}"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "商户转账唯一订单号。发起转账来源方定义的转账单据ID,用于将转账回执通知给来源方。\r\t不同来源方给出的ID可以重复,同一个来源方必须保证其ID的唯一性。\r\t只支持半角英文、数字,及“-”、“_”。",
- "example" : "3142321423432"
- },
- "payee_account" : {
- "type" : "string",
- "description" : "收款方账户。与payee_type配合使用。付款方和收款方不能是同一个账户。",
- "example" : "abc@sina.com"
- },
- "payee_real_name" : {
- "type" : "string",
- "description" : "收款方真实姓名(最长支持100个英文/50个汉字)。\r\t如果本参数不为空,则会校验该账户在支付宝登记的实名是否与收款方真实姓名一致。",
- "example" : "张三"
- },
- "payee_type" : {
- "type" : "string",
- "description" : "收款方账户类型。可取值:\t1、ALIPAY_USERID:支付宝账号对应的支付宝唯一用户号。以2088开头的16位纯数字组成。\t2、ALIPAY_LOGONID:支付宝登录号,支持邮箱和手机号格式。\t2、ALIPAY_OPENID:支付宝openid",
- "example" : "ALIPAY_LOGONID"
- },
- "payer_real_name" : {
- "type" : "string",
- "description" : "付款方真实姓名(最长支持100个英文/50个汉字)。\r\t如果本参数不为空,则会校验该账户在支付宝登记的实名是否与付款方真实姓名一致。",
- "example" : "上海交通卡公司"
- },
- "payer_show_name" : {
- "type" : "string",
- "description" : "付款方姓名(最长支持100个英文/50个汉字)。显示在收款方的账单详情页。如果该字段不传,则默认显示付款方的支付宝认证姓名或单位名称。",
- "example" : "上海交通卡退款"
- },
- "remark" : {
- "type" : "string",
- "description" : "转账备注(支持200个英文/100个汉字)。\r\t当付款方为企业账户,且转账金额达到(大于等于)50000元,remark不能为空。收款方可见,会展示在收款用户的收支详情中。",
- "example" : "转账备注"
- }
- }
- },
- "AlipayFundTransToaccountTransferResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "支付宝转账单据号,成功一定返回,失败可能不返回也可能返回。",
- "example" : "20160627110070001502260006780837"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "商户转账唯一订单号:发起转账来源方定义的转账单据号。请求时对应的参数,原样返回。",
- "example" : "3142321423432"
- },
- "pay_date" : {
- "type" : "string",
- "description" : "支付时间:格式为yyyy-MM-dd HH:mm:ss,仅转账成功返回。",
- "example" : "2013-01-01 08:08:08"
- }
- }
- },
- "AlipayFundTransUniTransferErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundTransUniTransferModel" : {
- "type" : "object",
- "properties" : {
- "biz_scene" : {
- "type" : "string",
- "description" : "描述特定的业务场景,可传的参数如下:\tDIRECT_TRANSFER:单笔无密转账到支付宝,B2C现金红包;\tPERSONAL_COLLECTION:C2C现金红包-领红包",
- "example" : "DIRECT_TRANSFER"
- },
- "business_params" : {
- "type" : "string",
- "description" : "转账业务请求的扩展参数,支持传入的扩展参数如下:\tsub_biz_scene 子业务场景,红包业务必传,取值REDPACKET,C2C现金红包、B2C现金红包均需传入",
- "example" : "{\"sub_biz_scene\":\"REDPACKET\"}"
- },
- "mutiple_currency_detail" : {
- "$ref" : "#/components/schemas/MutipleCurrencyDetail"
- },
- "order_title" : {
- "type" : "string",
- "description" : "转账业务的标题,用于在支付宝用户的账单里显示",
- "example" : "转账标题"
- },
- "original_order_id" : {
- "type" : "string",
- "description" : "原支付宝业务单号。C2C现金红包-红包领取时,传红包支付时返回的支付宝单号;B2C现金红包、单笔无密转账到支付宝不需要该参数。",
- "example" : "20190620110075000006640000063056"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "商家侧唯一订单号,由商家自定义。对于不同转账请求,商家需保证该订单号在自身系统唯一。",
- "example" : "201806300001"
- },
- "passback_params" : {
- "type" : "string",
- "description" : "公用回传参数,如果请求时传递了该参数,则异步通知商户时会回传该参数。",
- "example" : "{\"merchantBizType\":\"peerPay\"}"
- },
- "payee_info" : {
- "$ref" : "#/components/schemas/Participant"
- },
- "payer_info" : {
- "$ref" : "#/components/schemas/Participant"
- },
- "product_code" : {
- "type" : "string",
- "description" : "业务产品码,\t单笔无密转账到支付宝账户固定为:\tTRANS_ACCOUNT_NO_PWD;\t收发现金红包固定为:\tSTD_RED_PACKET;",
- "example" : "TRANS_ACCOUNT_NO_PWD"
- },
- "remark" : {
- "type" : "string",
- "description" : "业务备注",
- "example" : "单笔转账"
- },
- "sign_data" : {
- "$ref" : "#/components/schemas/SignData"
- },
- "trans_amount" : {
- "type" : "string",
- "description" : "订单总金额,单位为元,精确到小数点后两位,STD_RED_PACKET产品取值范围[0.01,100000000];\tTRANS_ACCOUNT_NO_PWD产品取值范围[0.1,100000000]",
- "example" : "23.00"
- }
- }
- },
- "AlipayFundTransUniTransferResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "支付宝转账订单号",
- "example" : "20190801110070000006380000250621"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "商户订单号",
- "example" : "201808080001"
- },
- "pay_fund_order_id" : {
- "type" : "string",
- "description" : "支付宝支付资金流水号",
- "example" : "20190801110070001506380000251556"
- },
- "status" : {
- "type" : "string",
- "description" : "转账单据状态。\tSUCCESS(该笔转账交易成功):成功;\tFAIL:失败(具体失败原因请参见error_code以及fail_reason返回值);\tDEALING:处理中(转账到支付宝账户不涉及);\tREFUND:退票(转账到支付宝账户不涉及);",
- "example" : "SUCCESS"
- },
- "trans_date" : {
- "type" : "string",
- "description" : "订单支付时间,格式为yyyy-MM-dd HH:mm:ss",
- "example" : "2019-08-21 00:00:00"
- }
- }
- },
- "AlipayFundUsertradeBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INNER_RPC_INVOKE_FAIL", "USER_UNAUTHORIZED", "CONFIG_ERROR", "MAX_VISIT_LIMIT", "AOP_SERVICE_UNAVAILABLE", "USER_INFO_VALIDATE_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayFundUsertradeBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "biz_scene" : {
- "type" : "string",
- "description" : "查询交易数据场景码",
- "example" : "BRAND_MARKET_PROMOTION"
- },
- "end_time" : {
- "type" : "string",
- "description" : "拉取的结算时间,格式yyyy-MM-dd HH:mm:ss,拉取逻辑包含该时刻。",
- "example" : "2022-02-11 00:00:00"
- },
- "page_index" : {
- "type" : "string",
- "description" : "分页页码,从1开始,必须大于0",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "分页大小,必须大于0,最大设置100",
- "example" : "100"
- },
- "product_code" : {
- "type" : "string",
- "description" : "查询交易数据产品码",
- "example" : "MARKET_PROMOTION"
- },
- "start_time" : {
- "type" : "string",
- "description" : "拉取的起始时间,格式yyyy-MM-dd HH:mm:ss,时间必须早于拉取的截止时间,并且,接口仅限查询用户30天内交易数据,拉取逻辑包含该时刻。",
- "example" : "2022-02-10 00:00:00"
- }
- }
- },
- "AlipayFundUsertradeBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "end_time" : {
- "type" : "string",
- "description" : "拉取的结束时间,格式yyyy-MM-dd HH:mm:ss",
- "example" : "2022-02-11 00:00:00"
- },
- "has_next" : {
- "type" : "boolean",
- "description" : "是否有下一页",
- "example" : "true"
- },
- "page_index" : {
- "type" : "string",
- "description" : "入参中的分页页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "入参中的分页大小",
- "example" : "100"
- },
- "start_time" : {
- "type" : "string",
- "description" : "拉取的起始时间,格式yyyy-MM-dd HH:mm:ss",
- "example" : "2022-02-10 00:00:00"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "交易时间区间内的总交易数",
- "example" : "120"
- },
- "trade_info_list" : {
- "type" : "array",
- "description" : "用户交易数据",
- "items" : {
- "$ref" : "#/components/schemas/UserTradeInfoDTO"
- }
- }
- }
- },
- "AlipayIserviceCcmAgentCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmAgentCreateModel" : {
- "type" : "object",
- "properties" : {
- "answering_mode" : {
- "type" : "string",
- "description" : "热线接入方式,取值0,1,2",
- "example" : "0"
- },
- "ccs_instance_ids" : {
- "type" : "array",
- "description" : "部门id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"XAHSNRBS\"]"
- },
- "chat_configs" : {
- "type" : "array",
- "description" : "在线技能组设置,技能组部门间隔离,此设置应与ccs_instance_ids对应",
- "items" : {
- "$ref" : "#/components/schemas/AgentChatInfo"
- }
- },
- "creator_id" : {
- "type" : "string",
- "description" : "操作人客服id",
- "example" : "2019032101896769"
- },
- "email" : {
- "type" : "string",
- "description" : "客服邮箱",
- "example" : "test@163.com"
- },
- "external_user_id" : {
- "type" : "string",
- "description" : "客服账号id,当user_channel=ALIPAY时,external_user_id为支付宝账号id",
- "example" : "2088xxx"
- },
- "hotline_configs" : {
- "type" : "array",
- "description" : "热线技能组设置,技能组部门间隔离,此设置应与ccs_instance_ids对应",
- "items" : {
- "$ref" : "#/components/schemas/AgentHotlineInfo"
- }
- },
- "job_number" : {
- "type" : "string",
- "description" : "客服工号,新增后不可变更。4位数字,不可重复",
- "example" : "0002"
- },
- "mobile" : {
- "type" : "string",
- "description" : "客服手机号",
- "example" : "13812345678"
- },
- "nick_name" : {
- "type" : "string",
- "description" : "客服昵称",
- "example" : "风清扬"
- },
- "real_name" : {
- "type" : "string",
- "description" : "客服姓名",
- "example" : "张三"
- },
- "role_ids" : {
- "type" : "array",
- "description" : "角色id列表",
- "items" : {
- "$ref" : "#/components/schemas/RoleId"
- }
- },
- "user_channel" : {
- "type" : "string",
- "description" : "客服账号渠道 ALIPAY:支付宝账号",
- "example" : "ALIPAY"
- }
- }
- },
- "AlipayIserviceCcmAgentCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "string",
- "description" : "CCM客服id",
- "example" : "2019032101896769"
- }
- }
- },
- "AlipayIserviceCcmAgentDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND", "AGENT_NOT_EXISTS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmAgentDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmAgentGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "AGENT_NOT_EXISTS", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmAgentGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "answering_mode" : {
- "type" : "string",
- "description" : "热线接入方式: 0:话机 1:电脑耳机;2:webrtc",
- "example" : "0"
- },
- "avatar" : {
- "type" : "string",
- "description" : "头像的oss file key",
- "example" : "12345"
- },
- "ccs_instance_ids" : {
- "type" : "array",
- "description" : "客服关联的数据权限id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "ZPASFSCN,QWT_SADLD"
- },
- "chat_config" : {
- "type" : "array",
- "description" : "客服在线信息",
- "items" : {
- "$ref" : "#/components/schemas/AgentChatInfo"
- }
- },
- "create_time" : {
- "type" : "string",
- "description" : "创建时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z",
- "example" : "2020-07-15 17:58:27"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建人id",
- "example" : "246534573"
- },
- "dingtalk_user_id" : {
- "type" : "string",
- "description" : "钉钉user_id",
- "example" : "1293894912"
- },
- "email" : {
- "type" : "string",
- "description" : "邮箱",
- "example" : "abc@alipay.com"
- },
- "external_id" : {
- "type" : "string",
- "description" : "外部系统用户id,比如:金融云的用户id",
- "example" : "112133"
- },
- "hotline_config" : {
- "type" : "array",
- "description" : "客服热线信息",
- "items" : {
- "$ref" : "#/components/schemas/AgentHotlineInfo"
- }
- },
- "id" : {
- "type" : "string",
- "description" : "客服id",
- "example" : "2018101801902073"
- },
- "job_number" : {
- "type" : "string",
- "description" : "工号",
- "example" : "0001"
- },
- "last_login_time" : {
- "type" : "string",
- "description" : "客服上次登录时间\t采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
- "example" : "2020-07-15 17:58:27"
- },
- "mobile" : {
- "type" : "string",
- "description" : "手机号",
- "example" : "17712341234"
- },
- "nick_name" : {
- "type" : "string",
- "description" : "客服昵称",
- "example" : "风清扬"
- },
- "profile" : {
- "type" : "string",
- "description" : "个人简介",
- "example" : "我是玉树临风一表人才的张三"
- },
- "real_name" : {
- "type" : "string",
- "description" : "客服姓名",
- "example" : "张三"
- },
- "role_ids" : {
- "type" : "array",
- "description" : "角色id列表",
- "items" : {
- "$ref" : "#/components/schemas/RoleId"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "客服状态:NORMAL,DELETE",
- "example" : "NORMAL"
- },
- "type" : {
- "type" : "string",
- "description" : "用户类型:NORMAL(普通客服),ADMIN(超级管理员,不能被删除)",
- "example" : "NORMAL"
- },
- "update_time" : {
- "type" : "string",
- "description" : "最后修改时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
- "example" : "2020-07-15 17:58:27"
- },
- "updater_id" : {
- "type" : "string",
- "description" : "最后修改人id",
- "example" : "246534573"
- }
- }
- },
- "AlipayIserviceCcmAgentModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND", "DUPLICATE_NICK_NAME", "INVALID_HOTLINE_ANSWERING_MODE", "AGENT_NOT_EXISTS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmAgentModifyModel" : {
- "type" : "object",
- "properties" : {
- "answering_mode" : {
- "type" : "string",
- "description" : "热线接入方式,取值0,1,2",
- "example" : "0"
- },
- "ccs_instance_ids" : {
- "type" : "array",
- "description" : "部门id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"XAHSNRBS\"]"
- },
- "chat_configs" : {
- "type" : "array",
- "description" : "在线技能组设置,技能组部门间隔离,此设置应与ccs_instance_ids对应",
- "items" : {
- "$ref" : "#/components/schemas/AgentChatInfo"
- }
- },
- "email" : {
- "type" : "string",
- "description" : "客服邮箱",
- "example" : "test@163.com"
- },
- "hotline_configs" : {
- "type" : "array",
- "description" : "热线技能组设置,技能组部门间隔离,此设置应与ccs_instance_ids对应",
- "items" : {
- "$ref" : "#/components/schemas/AgentHotlineInfo"
- }
- },
- "id" : {
- "type" : "string",
- "description" : "客服id",
- "example" : "2019032101896769"
- },
- "mobile" : {
- "type" : "string",
- "description" : "客服手机号",
- "example" : "13812345678"
- },
- "nick_name" : {
- "type" : "string",
- "description" : "客服昵称",
- "example" : "风清扬"
- },
- "real_name" : {
- "type" : "string",
- "description" : "客服姓名",
- "example" : "张三"
- },
- "role_ids" : {
- "type" : "array",
- "description" : "客服角色id列表",
- "items" : {
- "$ref" : "#/components/schemas/RoleId"
- }
- },
- "updater_id" : {
- "type" : "string",
- "description" : "操作人客服id",
- "example" : "2019032101896769"
- }
- }
- },
- "AlipayIserviceCcmAgentModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmAgentQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INTERNAL_ERROR", "TENENT_NOT_FOUND", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmAgentQueryModel" : {
- "type" : "object",
- "properties" : {
- "answering_mode" : {
- "type" : "string",
- "description" : "热线接入方式",
- "example" : "0"
- },
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "部门id",
- "example" : "XAHSNRBS"
- },
- "chat_ext_group_ids" : {
- "type" : "array",
- "description" : "在线扩展技能组id",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123\"]"
- },
- "chat_group_ids" : {
- "type" : "array",
- "description" : "在线技能组id",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123\"]"
- },
- "chat_level_ids" : {
- "type" : "array",
- "description" : "在线服务等级",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123\"]"
- },
- "email" : {
- "type" : "string",
- "description" : "客服邮箱",
- "example" : "test@163.com"
- },
- "hotline_group_ids" : {
- "type" : "array",
- "description" : "热线扩展技能组id",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123\"]"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "查询结果的页码,起始值为 1,默认值为 1",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 10",
- "example" : "10"
- },
- "real_name" : {
- "type" : "string",
- "description" : "客服姓名",
- "example" : "张三"
- },
- "role_ids" : {
- "type" : "array",
- "description" : "客服角色id",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123\"]"
- }
- }
- },
- "AlipayIserviceCcmAgentQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agents" : {
- "type" : "array",
- "description" : "客服列表",
- "items" : {
- "$ref" : "#/components/schemas/AgentVO"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "查询结果的页码,起始值为 1,默认值为 1",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 10",
- "example" : "10"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总条目数",
- "example" : "99"
- }
- }
- },
- "AlipayIserviceCcmAgentSchedulelogQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMS", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmAgentSchedulelogQueryModel" : {
- "type" : "object",
- "properties" : {
- "agent_ids" : {
- "type" : "array",
- "description" : "客服id集合,限制最多100个id,不传查询部门下所有客服的状态变更流水日志",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018101801902073\",\"2018101801902090\"]"
- },
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "部门id(即租户实例ID、数据权限ID)",
- "example" : "kaj_9DA1"
- },
- "end_time" : {
- "type" : "string",
- "description" : "客服状态变更结束时间,开始时间与结束时间间隔不能超过1天,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
- "example" : "2020-10-24 00:00:00"
- },
- "limit" : {
- "type" : "integer",
- "description" : "查询条数,最大100, 不传默认100",
- "example" : "100"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "查询结果的页码,起始值为 1,默认值为 1",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询时设置的每页记录数,最大值 100 行,默认为 100",
- "example" : "10"
- },
- "start_id" : {
- "type" : "integer",
- "description" : "起始id,分页导出的起始客服状态变更流水id,第一页传0,翻页时传上一页结果的最大id",
- "example" : "10223"
- },
- "start_time" : {
- "type" : "string",
- "description" : "客服状态变更开始时间,采用UTC时间,按照ISO8601标准表示,格式为:yyyy-MM-dd'T'HH:mm:ss'Z'",
- "example" : "2020-10-23 00:00:00"
- }
- }
- },
- "AlipayIserviceCcmAgentSchedulelogQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agent_schedule_logs" : {
- "$ref" : "#/components/schemas/AgentScheduleLog"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "查询结果的页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询时设置的每页记录数",
- "example" : "10"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总条目数",
- "example" : "125"
- }
- }
- },
- "AlipayIserviceCcmFunctionQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmFunctionQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "functions" : {
- "type" : "array",
- "description" : "功能点列表",
- "items" : {
- "$ref" : "#/components/schemas/Function"
- }
- }
- }
- },
- "AlipayIserviceCcmInstanceCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmInstanceCreateModel" : {
- "type" : "object",
- "properties" : {
- "creator_id" : {
- "type" : "string",
- "description" : "创建人id",
- "example" : "246534573"
- },
- "description" : {
- "type" : "string",
- "description" : "租户实例(数据权限)描述信息",
- "example" : "我是租户实例(数据权限)描述"
- },
- "external_id" : {
- "type" : "string",
- "description" : "外部id",
- "example" : "29488293"
- },
- "name" : {
- "type" : "string",
- "description" : "租户实例(数据权限)名称,如果名称已经存在,将创建失败",
- "example" : "测试租户实例(数据权限)"
- }
- }
- },
- "AlipayIserviceCcmInstanceCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "string",
- "description" : "租户实例(数据权限)ID",
- "example" : "pYv_gs0m"
- }
- }
- },
- "AlipayIserviceCcmInstanceGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmInstanceGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "create_time" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2020-11-10 20:56:00"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建人id",
- "example" : "2018051101015016"
- },
- "description" : {
- "type" : "string",
- "description" : "描述",
- "example" : "我是部门描述"
- },
- "external_id" : {
- "type" : "string",
- "description" : "外部id",
- "example" : "392435002"
- },
- "id" : {
- "type" : "string",
- "description" : "部门id(即租户实例ID、数据权限ID)",
- "example" : "pYv_gs0m"
- },
- "name" : {
- "type" : "string",
- "description" : "租户实例(数据权限)名称",
- "example" : "XXX租户实例"
- },
- "status" : {
- "type" : "string",
- "description" : "租户实例(数据权限)状态,所有可能的状态如下:INIT(初始化)、STARTED(准备完成)、START_FAILED(准备失败)、STOPPING(停用中)、STOPPED(已停用)、RELEASING(释放中)、RELEASED(已释放)、RESUMING(重新启动)、MODIFING(修改规格中)、DELETED(已删除)。",
- "example" : "STARTED"
- },
- "update_time" : {
- "type" : "string",
- "description" : "最后修改时间",
- "example" : "2020-11-10 21:01:00"
- },
- "updater_id" : {
- "type" : "string",
- "description" : "最后修改人id",
- "example" : "2018051101015016"
- }
- }
- },
- "AlipayIserviceCcmInstanceQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmInstanceQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "instances" : {
- "type" : "array",
- "description" : "租户实例列表",
- "items" : {
- "$ref" : "#/components/schemas/Instance"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "查询结果的页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询时设置的每页记录数",
- "example" : "10"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总条目数",
- "example" : "100"
- }
- }
- },
- "AlipayIserviceCcmIsvInitializeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "PUBKEY_IMPORT_FAILED", "PUBKEY_HAS_EXIST", "CCM_KEY_GENERATE_FAILED", "INTERNAL_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmIsvInitializeModel" : {
- "type" : "object",
- "properties" : {
- "isv_pub_key" : {
- "type" : "string",
- "description" : "用于接入CCM iframe接口安全认证的 ISV 公钥,采用 base64 编码,秘钥对生成算法为 RSA2048。",
- "example" : "MIIBIjANBgkqhkiG9wxxxx"
- }
- }
- },
- "AlipayIserviceCcmIsvInitializeResponseModel" : {
- "type" : "object",
- "properties" : {
- "ccm_pub_key" : {
- "type" : "string",
- "description" : "Base64编码CCM公钥:CCM公私钥对由CCM自动生成,用于Iframe spi接口安全认证",
- "example" : "MIIBIjANBgkqhkiG9w0BAQxxxx"
- }
- }
- },
- "AlipayIserviceCcmOlsChatrecordQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmOlsChatrecordQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agent_id" : {
- "type" : "string",
- "description" : "客服id",
- "example" : "2008123455"
- },
- "agent_name" : {
- "type" : "string",
- "description" : "客服昵称",
- "example" : "客服003"
- },
- "categories" : {
- "type" : "string",
- "description" : "多个层级类目信息",
- "example" : "[[{\\\"id\\\":111,\\\"name\\\":\\\"保险\\\"},{\\\"id\\\":122,\\\"name\\\":\\\"财保\\\"},{\\\"id\\\":133,\\\"name\\\":\\\"车险\\\"}],[{\\\"id\\\":211,\\\"name\\\":\\\"售后\\\"},{\\\"id\\\":222,\\\"name\\\":\\\"出险\\\"},{\\\"id\\\":233,\\\"name\\\":\\\"理赔\\\"}]]"
- },
- "group_id" : {
- "type" : "string",
- "description" : "在线技能组id",
- "example" : "1"
- },
- "group_name" : {
- "type" : "string",
- "description" : "在线技能组名称",
- "example" : "基础技能组"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注信息",
- "example" : "该问题可通过xx手段解决,请回复客户xxxxxx。"
- },
- "messages" : {
- "type" : "array",
- "description" : "聊天消息列表",
- "items" : {
- "$ref" : "#/components/schemas/ChatMessage"
- }
- },
- "satisfaction" : {
- "type" : "string",
- "description" : "满意度。 0:非常满意 1:满意 2:一般 3:不满意 4:非常不满意",
- "example" : "0"
- },
- "status" : {
- "type" : "string",
- "description" : "服务记录状态。1:待处理 2:暂存 3:完结 4:废除 5:无效 6:未知",
- "example" : "1"
- },
- "talk_duration" : {
- "type" : "integer",
- "description" : "在线服务时长,单位秒",
- "example" : "3600"
- },
- "visitor_province" : {
- "type" : "string",
- "description" : "访客归属地",
- "example" : "浙江"
- }
- }
- },
- "AlipayIserviceCcmRobotAvatarbaseQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmRobotAvatarbaseQueryModel" : {
- "type" : "object",
- "properties" : {
- "method_params" : {
- "type" : "string",
- "description" : "method_params:对应target_method请求方法的具体传参值k-v map",
- "example" : "{\"key1\":\"name\",}"
- },
- "target_method" : {
- "type" : "string",
- "description" : "targetMethod;数字人目标方法调用",
- "example" : "init.json"
- },
- "tenant_code" : {
- "type" : "string",
- "description" : "租户code&租户id,对于子部门客户需要上传子部门id",
- "example" : "bUC_Weh3"
- }
- }
- },
- "AlipayIserviceCcmRobotAvatarbaseQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "string",
- "description" : "result:方法调用返回值响应 k-v map",
- "example" : "{\"key1\":\"xxx\",\"key2\":\"xxxx\"}"
- }
- }
- },
- "AlipayIserviceCcmRoleCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "DUPLICATE_ROLE", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmRoleCreateModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "部门id(即租户实例ID、数据权限ID)",
- "example" : "jwa_8J2l"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建人id",
- "example" : "201835445454546"
- },
- "description" : {
- "type" : "string",
- "description" : "角色描述信息",
- "example" : "我是角色描述..."
- },
- "function_ids" : {
- "type" : "array",
- "description" : "角色关联额功能点id",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123\",\"456\"]"
- },
- "name" : {
- "type" : "string",
- "description" : "角色名",
- "example" : "保险类角色"
- }
- }
- },
- "AlipayIserviceCcmRoleCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "string",
- "description" : "角色id",
- "example" : "123"
- }
- }
- },
- "AlipayIserviceCcmRoleDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmRoleDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmRoleGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ROLE_NOT_EXIST", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmRoleGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "部门id(即租户实例ID、数据权限ID)",
- "example" : "ZPASFSCN"
- },
- "create_time" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2020-11-10 21:52:00"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建人id",
- "example" : "201855445857455"
- },
- "description" : {
- "type" : "string",
- "description" : "描述信息",
- "example" : "我是描述信息..."
- },
- "function_ids" : {
- "type" : "array",
- "description" : "角色关联的功能点id",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123\",\"456\"]"
- },
- "id" : {
- "type" : "string",
- "description" : "角色id",
- "example" : "123"
- },
- "name" : {
- "type" : "string",
- "description" : "角色名称",
- "example" : "XX角色"
- },
- "update_time" : {
- "type" : "string",
- "description" : "最后修改时间",
- "example" : "2020-11-10 21:56:00"
- },
- "updater_id" : {
- "type" : "string",
- "description" : "最后修改人id",
- "example" : "20185512254425"
- }
- }
- },
- "AlipayIserviceCcmRoleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ROLE_NOT_EXIST", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmRoleModifyModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "部门id(即租户实例ID、数据权限ID),不传默认使用租户id",
- "example" : "alw_J1Ds"
- },
- "description" : {
- "type" : "string",
- "description" : "描述信息",
- "example" : "我是角色描述"
- },
- "function_ids" : {
- "type" : "array",
- "description" : "角色关联额功能点id",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123\",\"456\"]"
- },
- "id" : {
- "type" : "string",
- "description" : "角色id",
- "example" : "123"
- },
- "updater_id" : {
- "type" : "string",
- "description" : "最后修改人id",
- "example" : "20181422342134"
- }
- }
- },
- "AlipayIserviceCcmRoleModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmRolePageQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "INTERNAL_ERROR", "TENENT_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmRolePageQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "查询结果的页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询时设置的每页记录数",
- "example" : "10"
- },
- "roles" : {
- "type" : "array",
- "description" : "角色列表",
- "items" : {
- "$ref" : "#/components/schemas/Role"
- }
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总条目数",
- "example" : "125"
- }
- }
- },
- "AlipayIserviceCcmServiceBuyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "TENENT_NOT_FOUND", "APP_NOT_INITIALIAZED", "SERVICE_NOT_INITIALIAZED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmServiceBuyModel" : {
- "type" : "object",
- "properties" : {
- "service_code" : {
- "type" : "string",
- "description" : "服务代码。通过<a href=\"https://opendocs.alipay.com/apis/01dmgh\">alipay.iservice.ccm.service.initialize</a>(isv服务初始化接口) 获取。",
- "example" : "testCode"
- }
- }
- },
- "AlipayIserviceCcmServiceBuyResponseModel" : {
- "type" : "object",
- "properties" : {
- "service_instance_id" : {
- "type" : "integer",
- "description" : "服务实例id",
- "example" : "1"
- },
- "tenant_id" : {
- "type" : "string",
- "description" : "商户在CCM的租户id",
- "example" : "qHT_sTlI"
- }
- }
- },
- "AlipayIserviceCcmServiceCloseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "TENENT_NOT_FOUND", "APP_NOT_INITIALIAZED", "SERVICE_NOT_INITIALIAZED", "SERVICE_NOT_OPEN" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmServiceCloseModel" : {
- "type" : "object",
- "properties" : {
- "service_code" : {
- "type" : "string",
- "description" : "服务代码。通过<a href=\"https://opendocs.alipay.com/apis/01dmgh\">alipay.iservice.ccm.service.initialize</a>(isv服务初始化接口) 获取。",
- "example" : "testCode"
- }
- }
- },
- "AlipayIserviceCcmServiceCloseResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmServiceInitializeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INTERNAL_ERROR", "INVALID_PARAMETER", "APP_NOT_INITIALIAZED", "SPI_KEY_UNDEFINED", "SERVICE_CODE_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmServiceInitializeModel" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "type" : "string",
- "description" : "服务描述",
- "example" : "热线工作台"
- },
- "icon" : {
- "type" : "string",
- "description" : "服务图标url。支持 http(s) 链接。",
- "example" : "http://127.0.0.1/"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务编码。可在服务上架后,在服务市场上查询此信息。",
- "example" : "testCode"
- },
- "service_name" : {
- "type" : "string",
- "description" : "服务名称。可在服务上架后,在服务市场上查询此信息。",
- "example" : "热线工作台"
- },
- "service_order_url" : {
- "type" : "string",
- "description" : "服务订购二维码链接",
- "example" : "http://127.0.0.1/"
- },
- "spis" : {
- "type" : "array",
- "description" : "spi定义列表",
- "items" : {
- "$ref" : "#/components/schemas/IsvSpiDefinition"
- }
- }
- }
- },
- "AlipayIserviceCcmServiceInitializeResponseModel" : {
- "type" : "object",
- "properties" : {
- "spi_ids" : {
- "type" : "array",
- "description" : "spi在ccm中的唯一标识,与biz_code一一对应",
- "items" : {
- "$ref" : "#/components/schemas/SpiResult"
- }
- }
- }
- },
- "AlipayIserviceCcmServicerecordCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmServicerecordCreateModel" : {
- "type" : "object",
- "properties" : {
- "acid" : {
- "type" : "string",
- "description" : "来电唯一标识",
- "example" : "CCC/2459691380492662222224097452"
- },
- "aid" : {
- "type" : "string",
- "description" : "客服坐席号(软电话中定义的)",
- "example" : "20000105"
- },
- "ani" : {
- "type" : "string",
- "description" : "主叫号码",
- "example" : "15123090087"
- },
- "asid" : {
- "type" : "string",
- "description" : "恒生专用来电唯一标识",
- "example" : "29de02050ce1403db710a0b1f4daad6d"
- },
- "category_list" : {
- "type" : "array",
- "description" : "类目信息(详细信息请参考具体类型描述)",
- "items" : {
- "$ref" : "#/components/schemas/ServiceRecordCatRequest"
- }
- },
- "chat_begin_time" : {
- "type" : "string",
- "description" : "标准时间格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2018-11-20 11:37:26"
- },
- "chat_end_time" : {
- "type" : "string",
- "description" : "标准时间格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2018-11-20 11:38:49"
- },
- "city" : {
- "type" : "string",
- "description" : "来电地址",
- "example" : "山东"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建者ID",
- "example" : "2020042801917879"
- },
- "discon_symbol" : {
- "type" : "string",
- "description" : "先挂断方\tAGENT:客服\tCUSTOMER:客户",
- "example" : "AGENT"
- },
- "dnis" : {
- "type" : "string",
- "description" : "被叫号码",
- "example" : "15925998721"
- },
- "file_size" : {
- "type" : "integer",
- "description" : "文件大小",
- "example" : "1222000"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间(yyyy-MM-dd HH:mm:ss)",
- "example" : "2010-11-11 11:11:11"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2010-11-11 11:11:11"
- },
- "memo" : {
- "type" : "string",
- "description" : "服务记录备注信息",
- "example" : "亲,昨天已经寄给你了呢"
- },
- "modifier_id" : {
- "type" : "string",
- "description" : "修改人ID",
- "example" : "2020042801917879"
- },
- "outbound_task_id" : {
- "type" : "string",
- "description" : "外呼任务ID",
- "example" : "10.253.104.12_1d5d40fd-aa5e-4f23-9247-14cd28e125f2"
- },
- "satisfaction" : {
- "type" : "string",
- "description" : "满意度\t0:非常满意\t1:满意\t2:一般\t3:不满意\t4:非常不满意",
- "example" : "0"
- },
- "satisfaction_memo" : {
- "type" : "string",
- "description" : "满意度补充信息",
- "example" : "其它:非常不满意,完全都是我在自问自答;"
- },
- "service_source" : {
- "type" : "string",
- "description" : "1:客户来电\t4:电话回访\t5:网点服务\t6:在线服务\t7:外呼任务\t8:手动外呼\t9:在线离线留言",
- "example" : "1"
- },
- "service_time" : {
- "type" : "integer",
- "description" : "服务时长(单位:秒)",
- "example" : "1924"
- },
- "skillgroup_id" : {
- "type" : "string",
- "description" : "技能组ID",
- "example" : "100000000001"
- },
- "skillgroup_name" : {
- "type" : "string",
- "description" : "技能组名称(技能组ID对应的技能组名称)",
- "example" : "融资业务还款组"
- },
- "tnt_inst_id" : {
- "type" : "string",
- "description" : "业务租户",
- "example" : "TTTKPICN"
- },
- "user_id" : {
- "type" : "string",
- "description" : "来访用户唯一标识ID",
- "example" : "202007011113010526000000035332"
- },
- "verify_result" : {
- "type" : "string",
- "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:搜索定位用户",
- "example" : "ROLE_N"
- }
- }
- },
- "AlipayIserviceCcmServicerecordCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "service_record_id" : {
- "type" : "string",
- "description" : "服务记录ID",
- "example" : "201709271113010100000000000001"
- }
- }
- },
- "AlipayIserviceCcmServicerecordModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SERVICE_RECORD_NOT_EXISIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmServicerecordModifyModel" : {
- "type" : "object",
- "properties" : {
- "acid" : {
- "type" : "string",
- "description" : "来电唯一标识",
- "example" : "CCC/2459691380492662222224097452"
- },
- "aid" : {
- "type" : "string",
- "description" : "客服坐席号(软电话中定义的)",
- "example" : "20000105"
- },
- "ani" : {
- "type" : "string",
- "description" : "主叫号码",
- "example" : "15123090087"
- },
- "asid" : {
- "type" : "string",
- "description" : "恒生专用来电唯一标识",
- "example" : "29de02050ce1403db710a0b1f4daad6d"
- },
- "category_list" : {
- "$ref" : "#/components/schemas/ServiceRecordCatRequest"
- },
- "chat_begin_time" : {
- "type" : "string",
- "description" : "标准时间格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2018-11-20 11:37:26"
- },
- "chat_end_time" : {
- "type" : "string",
- "description" : "标准时间格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2018-11-20 11:38:49"
- },
- "city" : {
- "type" : "string",
- "description" : "来电地址",
- "example" : "山东"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建者ID",
- "example" : "2020042801917879"
- },
- "discon_symbol" : {
- "type" : "string",
- "description" : "先挂断方 AGENT:客服 CUSTOMER:客户",
- "example" : "AGENT"
- },
- "dnis" : {
- "type" : "string",
- "description" : "被叫号码",
- "example" : "15925998721"
- },
- "file_size" : {
- "type" : "integer",
- "description" : "文件大小",
- "example" : "1222000"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间(yyyy-MM-dd HH:mm:ss)",
- "example" : "2010-11-11 11:11:11"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2010-11-11 11:11:11"
- },
- "id" : {
- "type" : "string",
- "description" : "云客服服务记录ID",
- "example" : "202011161113010100000000739715"
- },
- "memo" : {
- "type" : "string",
- "description" : "服务记录备注信息",
- "example" : "亲,昨天已经寄给你了呢"
- },
- "modifier_id" : {
- "type" : "string",
- "description" : "修改人ID",
- "example" : "2020042801917879"
- },
- "outbound_task_id" : {
- "type" : "string",
- "description" : "外呼任务ID",
- "example" : "10.253.104.12_1d5d40fd-aa5e-4f23-9247-14cd28e125f2"
- },
- "satisfaction" : {
- "type" : "string",
- "description" : "满意度 0:非常满意 1:满意 2:一般 3:不满意 4:非常不满意",
- "example" : "0"
- },
- "satisfaction_memo" : {
- "type" : "string",
- "description" : "满意度补充信息",
- "example" : "其它:非常不满意,完全都是我在自问自答;"
- },
- "service_source" : {
- "type" : "string",
- "description" : "1:客户来电 4:电话回访 5:网点服务 6:在线服务 7:外呼任务 8:手动外呼 9:在线离线留言",
- "example" : "1"
- },
- "service_time" : {
- "type" : "integer",
- "description" : "服务时长(单位:秒)",
- "example" : "1924"
- },
- "skillgroup_id" : {
- "type" : "string",
- "description" : "技能组ID",
- "example" : "100000000001"
- },
- "skillgroup_name" : {
- "type" : "string",
- "description" : "技能组名称(技能组ID对应的技能组名称)",
- "example" : "融资业务还款组"
- },
- "status" : {
- "type" : "string",
- "description" : "1:待处理\t2:暂存\t3:完结\t4:废除\t5:无效\t6:未知",
- "example" : "1"
- },
- "tnt_inst_id" : {
- "type" : "string",
- "description" : "业务租户",
- "example" : "ORGJC1CN"
- },
- "user_id" : {
- "type" : "string",
- "description" : "来访用户唯一标识ID",
- "example" : "202007011113010526000000035332"
- },
- "verify_result" : {
- "type" : "string",
- "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:搜索定位用户",
- "example" : "ROLE_N"
- }
- }
- },
- "AlipayIserviceCcmServicerecordModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmSwArticleBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwArticleBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "category_id" : {
- "type" : "integer",
- "description" : "所属类目ID,如果search_all_category为true则不用填",
- "example" : "12"
- },
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "end_time" : {
- "type" : "string",
- "description" : "结束时间,并且开始时间不能为空",
- "example" : "2020-12-31 23:59:59"
- },
- "ids" : {
- "type" : "array",
- "description" : "文章ID集合",
- "items" : {
- "type" : "integer"
- },
- "example" : "[1,12]"
- },
- "keyword" : {
- "type" : "string",
- "description" : "关键字",
- "example" : "支付宝"
- },
- "keywords" : {
- "type" : "array",
- "description" : "标签",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"关键\",\"核心\"]"
- },
- "library_id" : {
- "type" : "integer",
- "description" : "知识库ID",
- "example" : "1"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "页数,page_size不能为空",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "页大小,page_num不能为空",
- "example" : "20"
- },
- "search_all_category" : {
- "type" : "boolean",
- "description" : "是否搜索所有类目,如果为true则不用填写category_id值",
- "example" : "true"
- },
- "search_category_type" : {
- "type" : "string",
- "description" : "Current(搜索当前节点);\tChildren(搜索当前节点以及子节点)",
- "example" : "Current"
- },
- "start_time" : {
- "type" : "string",
- "description" : "开始时间,并且结束时间不能为空",
- "example" : "2020-12-31 00:00:01"
- },
- "status" : {
- "type" : "string",
- "description" : "状态,PUBLISHED(已发布),UNPUBLISH(未发布),EXPIRED(失效),DELETED(已删除)",
- "example" : "PUBLISHED"
- }
- }
- },
- "AlipayIserviceCcmSwArticleBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "articles" : {
- "type" : "array",
- "description" : "文章信息",
- "items" : {
- "$ref" : "#/components/schemas/ArticleInfo"
- }
- }
- }
- },
- "AlipayIserviceCcmSwArticleCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwArticleCreateModel" : {
- "type" : "object",
- "properties" : {
- "category_id" : {
- "type" : "integer",
- "description" : "所属类目ID,如果search_all_category为true则不用填",
- "example" : "12"
- },
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "content" : {
- "type" : "string",
- "description" : "内容",
- "example" : "这是一个普通的内容文本"
- },
- "extend_titles" : {
- "type" : "array",
- "description" : "扩展标题",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"支付宝\",\"知识库\"]"
- },
- "keywords" : {
- "type" : "array",
- "description" : "标签",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"关键\",\"核心\"]"
- },
- "library_id" : {
- "type" : "string",
- "description" : "知识库ID",
- "example" : "1"
- },
- "scene_codes" : {
- "type" : "array",
- "description" : "场景ID。KNOWLEDGE(内部知识库);ROBOT(机器人);HELP(帮助中心);WHELP(无线帮助中心)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"KNOWLEDGE\",\"ROBOT\",\"HELP\",\"WHELP\"]"
- },
- "title" : {
- "type" : "string",
- "description" : "标题",
- "example" : "这是一个普通的标题"
- }
- }
- },
- "AlipayIserviceCcmSwArticleCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "description" : "文章ID",
- "example" : "1"
- }
- }
- },
- "AlipayIserviceCcmSwArticleDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwArticleDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmSwArticleGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwArticleGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "attachments" : {
- "type" : "array",
- "description" : "文章对应附件集合",
- "items" : {
- "$ref" : "#/components/schemas/ArticleAttachmentInfo"
- }
- },
- "category_id" : {
- "type" : "integer",
- "description" : "所属类目ID",
- "example" : "12"
- },
- "category_name_path" : {
- "type" : "string",
- "description" : "类目名称路径",
- "example" : "知识库-演示"
- },
- "category_path" : {
- "type" : "array",
- "description" : "类目路径",
- "items" : {
- "$ref" : "#/components/schemas/ArticleCategoryInfo"
- }
- },
- "content" : {
- "type" : "string",
- "description" : "内容",
- "example" : "我是文章内容"
- },
- "create_time" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2020-12-31 23:59:59"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建人",
- "example" : "10001"
- },
- "extend_titles" : {
- "type" : "array",
- "description" : "扩展标题",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"支付宝\",\"知识库\"]"
- },
- "id" : {
- "type" : "integer",
- "description" : "文章ID",
- "example" : "1"
- },
- "keywords" : {
- "type" : "array",
- "description" : "标签",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"标签\"]"
- },
- "library_id" : {
- "type" : "integer",
- "description" : "知识库ID",
- "example" : "1"
- },
- "order_no" : {
- "type" : "integer",
- "description" : "排序值",
- "example" : "5"
- },
- "pictures" : {
- "type" : "array",
- "description" : "文章对应图片集合",
- "items" : {
- "$ref" : "#/components/schemas/ArticleAttachmentInfo"
- }
- },
- "publish_end" : {
- "type" : "string",
- "description" : "有效期止",
- "example" : "2022-06-11 16:14:58"
- },
- "publish_start" : {
- "type" : "string",
- "description" : "有效期起始",
- "example" : "2020-06-11 16:14:58"
- },
- "scene_codes" : {
- "type" : "array",
- "description" : "场景ID。1(内部知识库);2(机器人);3(帮助中心);4(无线帮助中心)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"1\",\"2\",\"3\",\"4\"]"
- },
- "source" : {
- "type" : "string",
- "description" : "来源",
- "example" : "网关录入"
- },
- "status" : {
- "type" : "string",
- "description" : "文章状态",
- "example" : "已发布"
- },
- "status_code" : {
- "type" : "string",
- "description" : "文章状态码",
- "example" : "PUBLISHED"
- },
- "title" : {
- "type" : "string",
- "description" : "标题",
- "example" : "我是文章标题"
- },
- "update_time" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2020-12-31 23:59:59"
- },
- "updater_id" : {
- "type" : "string",
- "description" : "修改人",
- "example" : "10001"
- },
- "updater_name" : {
- "type" : "string",
- "description" : "修改人名称",
- "example" : "admin"
- }
- }
- },
- "AlipayIserviceCcmSwArticleModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwArticleModifyModel" : {
- "type" : "object",
- "properties" : {
- "category_id" : {
- "type" : "integer",
- "description" : "所属类目ID,如果search_all_category为true则不用填",
- "example" : "12"
- },
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "content" : {
- "type" : "string",
- "description" : "内容",
- "example" : "这是一个普通的内容文本"
- },
- "extend_titles" : {
- "type" : "array",
- "description" : "扩展标题",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"支付宝\",\"知识库\"]"
- },
- "id" : {
- "type" : "integer",
- "description" : "文章ID",
- "example" : "1"
- },
- "keywords" : {
- "type" : "array",
- "description" : "标签",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"关键\",\"核心\"]"
- },
- "scene_codes" : {
- "type" : "array",
- "description" : "场景ID。1(内部知识库);2(机器人);3(帮助中心);4(无线帮助中心)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"1\",\"2\",\"3\",\"4\"]"
- },
- "title" : {
- "type" : "string",
- "description" : "标题",
- "example" : "这是一个普通的标题"
- }
- }
- },
- "AlipayIserviceCcmSwArticleModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmSwKnowledgeModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwKnowledgeModifyModel" : {
- "type" : "object",
- "properties" : {
- "category_id" : {
- "type" : "integer",
- "description" : "所属类目ID",
- "example" : "12"
- },
- "category_name" : {
- "type" : "string",
- "description" : "知识点所属类目",
- "example" : "平板电脑"
- },
- "content" : {
- "type" : "string",
- "description" : "知识点答案内容",
- "example" : "商品的发货地是广东佛山"
- },
- "ext_id" : {
- "type" : "string",
- "description" : "外部知识点ID",
- "example" : "qa0002003004005006"
- },
- "extend_titles" : {
- "type" : "array",
- "description" : "扩展标题(问法)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"商品从哪里发货\"]"
- },
- "icon" : {
- "type" : "string",
- "description" : "问答关联图片附件地址",
- "example" : "https://image.baidu.com/search/detail?ct=503316480&z=0"
- },
- "id" : {
- "type" : "integer",
- "description" : "知识点ID",
- "example" : "123456"
- },
- "is_delete" : {
- "type" : "boolean",
- "description" : "默认为false,为true且id非空时,表示删除知识点",
- "example" : "false"
- },
- "is_searchable" : {
- "type" : "boolean",
- "description" : "是否被检索到,默认false,系统希望为true",
- "example" : "true"
- },
- "library_id" : {
- "type" : "integer",
- "description" : "知识库ID",
- "example" : "23"
- },
- "library_name" : {
- "type" : "string",
- "description" : "知识库名称",
- "example" : "商品知识库"
- },
- "spu" : {
- "$ref" : "#/components/schemas/SpuDetail"
- },
- "tags" : {
- "type" : "array",
- "description" : "以逗号分割的字符串列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"发货地\",\"发货点\"]"
- },
- "title" : {
- "type" : "string",
- "description" : "知识点标题",
- "example" : "商品的发货地是哪里?"
- }
- }
- },
- "AlipayIserviceCcmSwKnowledgeModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "description" : "知识点ID",
- "example" : "12345"
- }
- }
- },
- "AlipayIserviceCcmSwLibraryBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwLibraryBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "libraries" : {
- "type" : "array",
- "description" : "知识库集合",
- "items" : {
- "$ref" : "#/components/schemas/LibraryInfo"
- }
- }
- }
- },
- "AlipayIserviceCcmSwLibraryCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwLibraryCreateModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "instance_code" : {
- "type" : "string",
- "description" : "知识库对应的类目树名称,与treeId不可同时为空",
- "example" : "TREE_cVE_MHk8_1532332260914"
- },
- "name" : {
- "type" : "string",
- "description" : "知识库名称",
- "example" : "商品库"
- },
- "tree_id" : {
- "type" : "integer",
- "description" : "知识库对应的类目树Id,与instanceCode不可同时为空",
- "example" : "12"
- }
- }
- },
- "AlipayIserviceCcmSwLibraryCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "description" : "知识库Id",
- "example" : "1"
- }
- }
- },
- "AlipayIserviceCcmSwLibraryDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwLibraryDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmSwLibraryModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwLibraryModifyModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "id" : {
- "type" : "string",
- "description" : "知识库Id",
- "example" : "1"
- },
- "name" : {
- "type" : "string",
- "description" : "知识库名称",
- "example" : "商品库"
- }
- }
- },
- "AlipayIserviceCcmSwLibraryModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmSwOrderSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwOrderSyncModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "订单金额",
- "example" : "12234.33"
- },
- "link_url" : {
- "type" : "string",
- "description" : "订单链接",
- "example" : "http://taobao.com/order/1214134234"
- },
- "logistic_count" : {
- "type" : "integer",
- "description" : "订单物流数量",
- "example" : "1"
- },
- "logistics" : {
- "type" : "array",
- "description" : "物流信息列表",
- "items" : {
- "$ref" : "#/components/schemas/LogisticInfo"
- }
- },
- "order_create_time" : {
- "type" : "string",
- "description" : "订单创建时间",
- "example" : "2022-04-04 09:09:09"
- },
- "order_id" : {
- "type" : "string",
- "description" : "订单id",
- "example" : "123121414"
- },
- "order_type" : {
- "type" : "string",
- "description" : "普通订单:NORMAL\t预售订单:PRE_SALE",
- "example" : "NORMAL"
- },
- "spu_count" : {
- "type" : "integer",
- "description" : "订单商品种类",
- "example" : "1"
- },
- "spus" : {
- "type" : "array",
- "description" : "订单商品信息",
- "items" : {
- "$ref" : "#/components/schemas/SpuInfo"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "订单状态,目前支持以下几种状态\t下单未支付\tWAIT_PAY\t支付未发货\tPAIED\t已发货\tIN_DELIVERY\t售后中\tIN_AFTER_SALE\t订单完成\tFINISHED",
- "example" : "WAIT_PAY"
- },
- "sub_status" : {
- "type" : "string",
- "description" : "订单子状态",
- "example" : "SIGNED"
- },
- "user_id" : {
- "type" : "string",
- "description" : "下单用户id(外部系统ID)",
- "example" : "90932423423"
- }
- }
- },
- "AlipayIserviceCcmSwOrderSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "订单id",
- "example" : "124121453"
- }
- }
- },
- "AlipayIserviceCcmSwSpuSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwSpuSyncModel" : {
- "type" : "object",
- "properties" : {
- "attribute" : {
- "type" : "array",
- "description" : "商品属性列表",
- "items" : {
- "$ref" : "#/components/schemas/SpuAttribute"
- }
- },
- "brand" : {
- "type" : "string",
- "description" : "商品品牌",
- "example" : "米其林"
- },
- "category" : {
- "type" : "string",
- "description" : "商品类目,用于商品库中分类",
- "example" : "美妆"
- },
- "description" : {
- "type" : "string",
- "description" : "商品描述",
- "example" : "商品质量符合XX标准,支持7天无理由退换"
- },
- "icon" : {
- "type" : "string",
- "description" : "商品图片链接\t特殊可选规则:is_delete=false的情况下必填",
- "example" : "https://image.baidu.com/search/detail?ct=503316480&z=0&ipn=d"
- },
- "is_delete" : {
- "type" : "string",
- "description" : "默认为false,为true,表示删除知识点",
- "example" : "false"
- },
- "library_id" : {
- "type" : "integer",
- "description" : "知识库id",
- "example" : "23"
- },
- "library_name" : {
- "type" : "string",
- "description" : "知识库名称",
- "example" : "商品知识库"
- },
- "link_url" : {
- "type" : "string",
- "description" : "商品链接\t特殊可选规则:is_delete=false的情况下必填",
- "example" : "https://detail.tmall.com/item.htm?id=530187047412&ali_trackid=2:mm_26632614_0_0:1603785697_244_935652742"
- },
- "original_price" : {
- "type" : "string",
- "description" : "商品原价",
- "example" : "123.58"
- },
- "price" : {
- "type" : "string",
- "description" : "商品售价\t特殊可选规则:is_delete=false的情况下必填",
- "example" : "99.99"
- },
- "spu_id" : {
- "type" : "string",
- "description" : "商品ID",
- "example" : "spu1212391923"
- },
- "status" : {
- "type" : "string",
- "description" : "商品状态:AVAILABLE 表示可售卖,SOLD_OUT为售罄/不可卖,默认可售卖",
- "example" : "AVAILABLE"
- },
- "title" : {
- "type" : "string",
- "description" : "商品名称\t特殊可选规则:is_delete=false的情况下必填",
- "example" : "汽车盲点BSD并线辅助系统盲点监测变道后视镜盲区监控雷达预警"
- }
- }
- },
- "AlipayIserviceCcmSwSpuSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "spu_id" : {
- "type" : "string",
- "description" : "商品id",
- "example" : "spu12434234234"
- }
- }
- },
- "AlipayIserviceCcmSwTreeBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreeBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "trees" : {
- "type" : "array",
- "description" : "类目集合",
- "items" : {
- "$ref" : "#/components/schemas/TreeInfo"
- }
- }
- }
- },
- "AlipayIserviceCcmSwTreeCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreeCreateModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "name" : {
- "type" : "string",
- "description" : "类目名称",
- "example" : "蚂蚁科技"
- }
- }
- },
- "AlipayIserviceCcmSwTreeCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "description" : "类目ID",
- "example" : "1"
- }
- }
- },
- "AlipayIserviceCcmSwTreeDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreeDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmSwTreeGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreeGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "tree" : {
- "type" : "string",
- "description" : "类目树字符串",
- "example" : "{\"description\":\"\",\"fatherId\":0,\"id\":47250,\"name\":\"OpenAPI测试\",\"tags\":[\"KNOWLEDGE\",\"HELP\",\"PLATFORM\"]}"
- }
- }
- },
- "AlipayIserviceCcmSwTreeModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreeModifyModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "id" : {
- "type" : "integer",
- "description" : "类目ID",
- "example" : "1"
- },
- "name" : {
- "type" : "string",
- "description" : "类目名称",
- "example" : "蚂蚁科技"
- }
- }
- },
- "AlipayIserviceCcmSwTreeModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmSwTreePublishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreePublishModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "id" : {
- "type" : "integer",
- "description" : "类目ID",
- "example" : "1"
- }
- }
- },
- "AlipayIserviceCcmSwTreePublishResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmSwTreecategoryBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreecategoryBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "categories" : {
- "type" : "array",
- "description" : "节点集合",
- "items" : {
- "$ref" : "#/components/schemas/ArticleCategoryInfo"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "页显示大小",
- "example" : "10"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总行数",
- "example" : "1"
- }
- }
- },
- "AlipayIserviceCcmSwTreecategoryCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreecategoryCreateModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "description" : {
- "type" : "string",
- "description" : "描述",
- "example" : "这是一段描述"
- },
- "father_id" : {
- "type" : "integer",
- "description" : "父节点ID",
- "example" : "12"
- },
- "name" : {
- "type" : "string",
- "description" : "节点名称",
- "example" : "服务群"
- },
- "tags" : {
- "type" : "array",
- "description" : "标签。KNOWLEDGE(知识库);PLATFORM(公有云工作台);HELP(公有云帮助中心)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"KNOWLEDGE\",\"PLATFORM\",\"HELP\"]"
- }
- }
- },
- "AlipayIserviceCcmSwTreecategoryCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "description" : "节点ID",
- "example" : "1"
- }
- }
- },
- "AlipayIserviceCcmSwTreecategoryDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreecategoryDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayIserviceCcmSwTreecategoryModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayIserviceCcmSwTreecategoryModifyModel" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "子部门ID,不传为默认部门",
- "example" : "ZPNASDK"
- },
- "description" : {
- "type" : "string",
- "description" : "描述",
- "example" : "这是一段描述"
- },
- "father_id" : {
- "type" : "string",
- "description" : "父节点ID",
- "example" : "12"
- },
- "id" : {
- "type" : "integer",
- "description" : "节点ID",
- "example" : "1"
- },
- "name" : {
- "type" : "string",
- "description" : "节点名称",
- "example" : "服务群"
- },
- "tags" : {
- "type" : "string",
- "description" : "标签。KNOWLEDGE(知识库);PLATFORM(公有云工作台);HELP(公有云帮助中心)",
- "example" : "[\"KNOWLEDGE\",\"PLATFORM\",\"HELP\"]"
- }
- }
- },
- "AlipayIserviceCcmSwTreecategoryModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayMarketingActivityAppBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityAppBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "app_infos" : {
- "type" : "array",
- "description" : "可用小程序列表",
- "items" : {
- "$ref" : "#/components/schemas/ActivityAppInfo"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "分页查询页码。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询单页数据条数。",
- "example" : "20"
- },
- "total_size" : {
- "type" : "integer",
- "description" : "可用小程序总数量",
- "example" : "200"
- }
- }
- },
- "AlipayMarketingActivityBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "activity_status" : {
- "type" : "string",
- "description" : "活动状态 。 ACTIVE:活动已激活,表示活动已经生效,等到活动开始(publish_start_time)之后用户就可以参与活动。 PAUSE:活动已暂停,表示商户临时暂停该活动,该状态下用户不能参与活动。",
- "example" : "ACTIVE"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式。",
- "example" : "AGENCY_MODE"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户PID,默认为当前接口调用商户。",
- "example" : "2088202967380463"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "分页查询页码。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询单页数据条数。",
- "example" : "20"
- }
- }
- },
- "AlipayMarketingActivityBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_lite_infos" : {
- "type" : "array",
- "description" : "活动摘要信息",
- "items" : {
- "$ref" : "#/components/schemas/ActivityLiteInfo"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "分页查询页码。",
- "example" : "2"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询单页数据条数。",
- "example" : "20"
- },
- "total_size" : {
- "type" : "string",
- "description" : "经过条件筛选,查询到的活动总数量",
- "example" : "200"
- }
- }
- },
- "AlipayMarketingActivityConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityConsultModel" : {
- "type" : "object",
- "properties" : {
- "consult_activity_info_list" : {
- "type" : "array",
- "description" : "待咨询的活动信息列表",
- "items" : {
- "$ref" : "#/components/schemas/ConsultActivityInfo"
- }
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式",
- "example" : "AGENCY_MODE"
- },
- "merchant_id" : {
- "type" : "string",
- "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",
- "example" : "2088102111111111"
- },
- "open_id" : {
- "type" : "string",
- "description" : "领券的用户openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "领券的用户uid",
- "example" : "2088xxxx"
- }
- }
- },
- "AlipayMarketingActivityConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "consult_result_info_list" : {
- "type" : "array",
- "description" : "咨询后的活动结果信息",
- "items" : {
- "$ref" : "#/components/schemas/ConsultActivityResultInfo"
- }
- },
- "open_id" : {
- "type" : "string",
- "description" : "领券的用户openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "领券的用户uid",
- "example" : "2088xxxxx"
- }
- }
- },
- "AlipayMarketingActivityDeliveryCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityDeliveryCreateModel" : {
- "type" : "object",
- "properties" : {
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/DeliveryAgencyMerchantInfo"
- },
- "delivery_base_info" : {
- "$ref" : "#/components/schemas/DeliveryBaseInfo"
- },
- "delivery_booth_code" : {
- "type" : "string",
- "description" : "投放的展位编码。",
- "example" : "PUBLIC_UNION"
- },
- "delivery_config_list" : {
- "type" : "array",
- "description" : "[已废弃]\t待创建的投放配置列表。\t最大数量限制20个。",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryConfig"
- }
- },
- "delivery_play_config" : {
- "$ref" : "#/components/schemas/DeliveryPlayConfig"
- },
- "delivery_target_rule" : {
- "$ref" : "#/components/schemas/DeliveryTargetRule"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "SELF_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。 幂等作用:请求返回与上一次相同的结果。 外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- }
- }
- },
- "AlipayMarketingActivityDeliveryCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "delivery_guide_preview_url" : {
- "type" : "string",
- "description" : "预览链接。\t可用于预览用户在承接页面领券的流程。",
- "example" : "alipays://platformapi/startapp?appId=xxxx"
- },
- "delivery_id" : {
- "type" : "string",
- "description" : "投放计划id。",
- "example" : "20121231231242353"
- },
- "error_delivery_config_list" : {
- "type" : "array",
- "description" : "[已废弃]\t创建失败的投放信息列表\t\t失败的投放配置列表中,会返回对应的deliveryConfig对象。",
- "items" : {
- "$ref" : "#/components/schemas/ErrorDeliveryConfig"
- }
- },
- "success_delivery_config_list" : {
- "type" : "array",
- "description" : "[已废弃]\t创建成功的投放信息列表\t\t成功的投放配置列表中,会返回对应的deliveryConfig对象。",
- "items" : {
- "$ref" : "#/components/schemas/SuccessDeliveryConfig"
- }
- }
- }
- },
- "AlipayMarketingActivityDeliveryQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityDeliveryQueryModel" : {
- "type" : "object",
- "properties" : {
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/DeliveryAgencyMerchantInfo"
- },
- "delivery_config_list" : {
- "type" : "array",
- "description" : "[已废弃]\t待查询的投放配置列表。\t最大数量限制20个。",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryConfig"
- }
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "SELF_MODE"
- }
- }
- },
- "AlipayMarketingActivityDeliveryQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "delivery_base_info" : {
- "$ref" : "#/components/schemas/DeliveryBaseInfo"
- },
- "delivery_booth_code" : {
- "type" : "string",
- "description" : "运营计划的展位编码。 枚举值: SERVICE_MESSAGE:商家消息(包含订单、订阅、其他消息)",
- "example" : "SERVICE_MESSAGE"
- },
- "delivery_error_msg" : {
- "type" : "string",
- "description" : "投放计划错误信息描述,如投放计划审核失败时为审核失败原因。",
- "example" : "素材审核失败:素材存在敏感信息。"
- },
- "delivery_id" : {
- "type" : "string",
- "description" : "投放计划id",
- "example" : "20121231231242353"
- },
- "delivery_info_list" : {
- "type" : "array",
- "description" : "[已废弃]\t投放信息列表",
- "items" : {
- "$ref" : "#/components/schemas/PromoDeliveryInfo"
- }
- },
- "delivery_play_config" : {
- "$ref" : "#/components/schemas/DeliveryPlayConfig"
- },
- "delivery_status" : {
- "type" : "string",
- "description" : "投放计划状态。 枚举值: ACTIVE:生效中 INACTIVE:失效状态 AUDITING:审核中 AUDIT_NO_PASS:审核不通过。",
- "example" : "ACTIVE"
- },
- "delivery_target_rule" : {
- "$ref" : "#/components/schemas/DeliveryTargetRule"
- }
- }
- },
- "AlipayMarketingActivityDeliveryStopErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityDeliveryStopModel" : {
- "type" : "object",
- "properties" : {
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/DeliveryAgencyMerchantInfo"
- },
- "delivery_config_list" : {
- "type" : "array",
- "description" : "[已废弃]\t待停止的投放配置列表。\t最大数量限制20个。",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryConfig"
- }
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "SELF_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。 幂等作用: 再次请求返回与上一次相同的结果。 外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- }
- }
- },
- "AlipayMarketingActivityDeliveryStopResponseModel" : {
- "type" : "object",
- "properties" : {
- "delivery_id" : {
- "type" : "string",
- "description" : "推广计划id。",
- "example" : "20121231231242353"
- },
- "error_delivery_config_list" : {
- "type" : "array",
- "description" : "[已废弃]\t停止失败的投放配置列表",
- "items" : {
- "$ref" : "#/components/schemas/ErrorDeliveryConfig"
- }
- },
- "success_delivery_config_list" : {
- "type" : "array",
- "description" : "[已废弃]\t停止成功的投放配置列表",
- "items" : {
- "$ref" : "#/components/schemas/SuccessDeliveryConfig"
- }
- }
- }
- },
- "AlipayMarketingActivityDeliverychannelQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityDeliverychannelQueryModel" : {
- "type" : "object",
- "properties" : {
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/DeliveryAgencyMerchantInfo"
- },
- "booth_code" : {
- "type" : "string",
- "description" : "展位码。\t\tboothCode含义:boothCode表达的是某个渠道可以投放的展位码。例如:支付结果页PAY_RESULT\t\t枚举值:\tPAY_RESULT:支付结果页。\t\t后续新增可投放的展位后,会在文档中新增描述信息",
- "example" : "PAY_RESULT"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "查询的页码。\t\t特别说明:\t页码从1开始。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页查询的个数,最大值为 100。",
- "example" : "2"
- }
- }
- },
- "AlipayMarketingActivityDeliverychannelQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "delivery_channel_info_list" : {
- "type" : "array",
- "description" : "可投放的渠道信息列表。\t用于表达当前可以投放的渠道列表信息",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryChannelInfo"
- }
- },
- "page_num" : {
- "type" : "string",
- "description" : "查询的页码。 特别说明: 页码从1开始。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "每页查询个数",
- "example" : "2"
- },
- "total_size" : {
- "type" : "string",
- "description" : "可返回的渠道总数",
- "example" : "6"
- }
- }
- },
- "AlipayMarketingActivityGoodsBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityGoodsBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "goods_infos" : {
- "type" : "array",
- "description" : "商品编码列表",
- "items" : {
- "$ref" : "#/components/schemas/ActivityGoodsInfo"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "分页查询页码。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询单页数据条数。",
- "example" : "20"
- },
- "total_size" : {
- "type" : "integer",
- "description" : "商品编码总数量",
- "example" : "200"
- }
- }
- },
- "AlipayMarketingActivityMerchantBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityMerchantBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "merchant_infos" : {
- "type" : "array",
- "description" : "可用商户列表",
- "items" : {
- "$ref" : "#/components/schemas/ActivityMerchantInfo"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "分页查询页码。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询单页数据条数。",
- "example" : "20"
- },
- "total_size" : {
- "type" : "integer",
- "description" : "可用商户总数量",
- "example" : "200"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherAppendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherAppendModel" : {
- "type" : "object",
- "properties" : {
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "SELF_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- },
- "voucher_quantity" : {
- "type" : "integer",
- "description" : "券总预算值。\t\t限制:\t券总预算<= 999999\t\t特别说明:\t该字段的含义是追加到的数量。\t不可减少,只能增加。\t\tcode_mode=\tMERCHANT_UPLOAD 的情况下,voucher_quantity 需要与导入码的总数量保持一致(即历史导入数量 + 追加导入数量)。",
- "example" : "15"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherAppendResponseModel" : {
- "type" : "object"
- },
- "AlipayMarketingActivityOrdervoucherAssociateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ACTIVITY_NOT_EXIST", "VOUCHER_NOT_EXIST", "ACTIVITY_NOT_PERMISSION", "VOUCHER_ASSOCIATE_OTHER_TRADE_NO" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherAssociateModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。 幂等作用: 参数不变的情况下,再次请求返回与上一次相同的结果。 外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝支付下单时的商户订单号,欲与该商家券关联的支付宝支付",
- "example" : "2021042322001426261436764012"
- },
- "voucher_code" : {
- "type" : "string",
- "description" : "商家券券码。\t限制:\t券码必须已发放给用户。",
- "example" : "ABE44"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherAssociateResponseModel" : {
- "type" : "object",
- "properties" : {
- "associate_time" : {
- "type" : "string",
- "description" : "支付宝系统关联订单成功的时间。 格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherCodecountErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherCodecountResponseModel" : {
- "type" : "object",
- "properties" : {
- "success_count" : {
- "type" : "integer",
- "description" : "已经导入的券码数量",
- "example" : "100"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherCodedepositErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherCodedepositModel" : {
- "type" : "object",
- "properties" : {
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "SELF_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- },
- "voucher_codes" : {
- "type" : "array",
- "description" : "券码的数量列表。接口参数为列表类型。\t\t限制:\t目前最大上传 1000 个。\t\t单个code最长64位。\t\t商户上传的券code列表,code允许包含的字符有0-9、a-z、A-Z、-、_、+、=、|。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123AB\",\"45zz6\",\"789CE\"]"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherCodedepositResponseModel" : {
- "type" : "object",
- "properties" : {
- "fail_count" : {
- "type" : "integer",
- "description" : "导入失败的券码数量",
- "example" : "1"
- },
- "fail_voucher_code_detail_list" : {
- "type" : "array",
- "description" : "上传失败券码详情列表,包括上传失败的券码及对应的错误码和错误原因",
- "items" : {
- "$ref" : "#/components/schemas/FailVoucherCodeDetail"
- }
- },
- "success_count" : {
- "type" : "integer",
- "description" : "导入成功的券码数量",
- "example" : "2"
- },
- "success_voucher_code_list" : {
- "type" : "array",
- "description" : "上传成功的券码列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"123AB\",\"45zz6\"]"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "DISCOUNT_AMOUNT_INSUFFICIENT", "BUSINESS_HAS_RISK" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherCreateModel" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_name" : {
- "type" : "string",
- "description" : "活动名称。不对用户进行展示,仅供商家在后台管理活动使用。",
- "example" : "满10减1活动"
- },
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/BelongMerchantInfo"
- },
- "biz_tag" : {
- "type" : "string",
- "description" : "该字段废弃!后续不要使用该字段!商家券业务标签,影响商家券对C端用户的展示形式。",
- "example" : "GROUP_BUY_EXCHANGE_VOUCHER"
- },
- "code_mode" : {
- "type" : "string",
- "description" : "码模式。MERCHANT_UPLOAD:商户上传自定义code,发券时系统随机选取上传的券code发放。MERCHANT_API:发奖时指定券码发奖,此模式无须提前上传券码。",
- "example" : "MERCHANT_UPLOAD"
- },
- "customer_guide" : {
- "$ref" : "#/components/schemas/CustomerGuide"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。\t幂等作用:参数不变的情况下,再次请求返回与上一次相同的结果。",
- "example" : "20170101000001654bb46ba"
- },
- "publish_end_time" : {
- "type" : "string",
- "description" : "券发放结束时间。格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-29 23:59:59"
- },
- "publish_start_time" : {
- "type" : "string",
- "description" : "券发放开始时间。格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_customer_guide_info" : {
- "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
- },
- "voucher_deduct_info" : {
- "$ref" : "#/components/schemas/VoucherDeductInfo"
- },
- "voucher_display_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayInfo"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_send_rule" : {
- "$ref" : "#/components/schemas/VoucherSendRuleDetail"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "券类型。商家券支持三类券类型:\tFIX_VOUCHER:满减券;\tDISCOUNT_VOUCHER:折扣券;\tSPECIAL_VOUCHER:特价券;\t兑换券仅支持一类券类型:EXCHANGE_VOUCHER: 兑换券;",
- "example" : "FIX_VOUCHER"
- },
- "voucher_use_rule" : {
- "$ref" : "#/components/schemas/VoucherUseRule"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "voucher_available_scope_result_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeResultInfo"
- },
- "voucher_use_rule_result" : {
- "$ref" : "#/components/schemas/OrderVoucherUseRuleResult"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherDisassociateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ACTIVITY_NOT_EXIST", "VOUCHER_NOT_EXIST", "ACTIVITY_NOT_PERMISSION", "VOUCHER_ASSOCIATE_TRADE_NO_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherDisassociateModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。 幂等作用: 参数不变的情况下,再次请求返回与上一次相同的结果。 外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "该交易在支付宝系统中的交易流水号。",
- "example" : "2021042322001426261436764012"
- },
- "voucher_code" : {
- "type" : "string",
- "description" : "券码。 限制: 券码必须已发放给用户。",
- "example" : "ABE44"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherDisassociateResponseModel" : {
- "type" : "object",
- "properties" : {
- "disassociate_time" : {
- "type" : "string",
- "description" : "支付宝系统取消关联订单成功的时间。 格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherModifyModel" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_name" : {
- "type" : "string",
- "description" : "活动名称。",
- "example" : "满10减1活动"
- },
- "customer_guide" : {
- "$ref" : "#/components/schemas/CustomerGuideModify"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式",
- "example" : "SELF_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。",
- "example" : "20170101000001654bb46ba"
- },
- "publish_end_time" : {
- "type" : "string",
- "description" : "券发放结束时间。该值为空表示不修改\t格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-29 23:59:59"
- },
- "publish_start_time" : {
- "type" : "string",
- "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_available_scope_modify_type" : {
- "type" : "string",
- "description" : "可用范围修改类型。",
- "example" : "ADD"
- },
- "voucher_customer_guide_info" : {
- "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
- },
- "voucher_display_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayInfoModify"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_send_rule" : {
- "$ref" : "#/components/schemas/VoucherSendRuleDetailModify"
- },
- "voucher_use_rule" : {
- "$ref" : "#/components/schemas/VoucherUseRuleModify"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "voucher_available_scope_result_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeResultInfo"
- },
- "voucher_use_rule_result" : {
- "$ref" : "#/components/schemas/OrderVoucherUseRuleResult"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "activity_name" : {
- "type" : "string",
- "description" : "活动名称。不对用户进行展示,仅供商家在后台管理活动使用。",
- "example" : "满10减1优惠券"
- },
- "activity_operation_status" : {
- "type" : "string",
- "description" : "活动操作状态",
- "example" : "MODIFYING"
- },
- "activity_status" : {
- "type" : "string",
- "description" : "活动状态。已激活状态代表活动正常运行,已终止状态代表商家终止活动,不可再发放。",
- "example" : "ACTIVE"
- },
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/BelongMerchantInfo"
- },
- "biz_tag" : {
- "type" : "string",
- "description" : "商家券业务标签,影响商家券对C端用户的展示形式。",
- "example" : "GROUP_BUY_EXCHANGE_VOUCHER"
- },
- "customer_guide" : {
- "$ref" : "#/components/schemas/CustomerGuide"
- },
- "publish_end_time" : {
- "type" : "string",
- "description" : "券发放结束时间。格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-29 23:59:59"
- },
- "publish_start_time" : {
- "type" : "string",
- "description" : "券发放开始时间。格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- },
- "summary" : {
- "$ref" : "#/components/schemas/VoucherSummary"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_customer_guide_info" : {
- "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
- },
- "voucher_deduct_info" : {
- "$ref" : "#/components/schemas/VoucherDeductInfo"
- },
- "voucher_display_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayInfo"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_inventory_info" : {
- "$ref" : "#/components/schemas/VoucherInventoryInfo"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_send_rule" : {
- "$ref" : "#/components/schemas/VoucherSendRuleDetail"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "券类型",
- "example" : "FIX_VOUCHER"
- },
- "voucher_use_rule" : {
- "$ref" : "#/components/schemas/VoucherUseRule"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherRefundErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherRefundModel" : {
- "type" : "object",
- "properties" : {
- "biz_dt" : {
- "type" : "string",
- "description" : "当前订单的退券时间。\t\t\t\t格式为:yyyy-MM-dd HH:mm:ss\t\t\t\t特别说明:\t\t支付宝的退款时间按照外部退款的时间为准。",
- "example" : "2017-01-01 00:00:01"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。\t\t\t\t幂等作用:\t\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t\t\t外部接入方需保证业务单号唯一",
- "example" : "1002600620019090123143254436"
- },
- "total_fee" : {
- "type" : "string",
- "description" : "当前订单的退款总金额(包含优惠券金额),单位为元。\t\t限制:\t\t该笔订单的资金总额,取值范围[0.01,100000000],精确到小数点后2位。",
- "example" : "999.99"
- },
- "voucher_refund_detail_info" : {
- "$ref" : "#/components/schemas/VoucherRefundDetailInfo"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherRefundResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "优惠券活动id",
- "example" : "2022113000826004726607680740"
- },
- "voucher_use_detail_result_info" : {
- "$ref" : "#/components/schemas/VoucherUseDetailResultInfo"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherStopErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherStopModel" : {
- "type" : "object",
- "properties" : {
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "SELF_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherStopResponseModel" : {
- "type" : "object"
- },
- "AlipayMarketingActivityOrdervoucherUseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "ACTIVITY_NOT_PERMISSION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherUseModel" : {
- "type" : "object",
- "properties" : {
- "biz_dt" : {
- "type" : "string",
- "description" : "外部优惠券的核销时间,用于流水记录。 格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- },
- "goods_detail" : {
- "type" : "array",
- "description" : "商品明细信息。\t\t\t\t限制:\t\t当前交易中存在商品信息,则建议传入商品明细信息。",
- "items" : {
- "$ref" : "#/components/schemas/GoodsDetailDTO"
- }
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。\t\t\t\t幂等作用:\t\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t\t\t外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- },
- "real_shop_id" : {
- "type" : "string",
- "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",
- "example" : "2018051000502000000011111111"
- },
- "store_id" : {
- "type" : "string",
- "description" : "用户核销优惠券的支付球房id,调用接口ant.merchant.expand.shop.create创建球房返回的球房id。\t限制:\t传入的球房id必须是创建商家券voucher_use_rule. voucher_available_scope. order_voucher_available_shop对象中shop_ids中的球房id",
- "example" : "2018051000502000000011111111"
- },
- "total_fee" : {
- "type" : "string",
- "description" : "订单优惠前的总金额\t\t\t\t限制:\t\t该笔订单的资金总额,取值范围[0.01,100000000],精确到小数点后2位。",
- "example" : "999.99"
- },
- "trade_channel" : {
- "type" : "string",
- "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其他交易渠道",
- "example" : "ZHIFUBAO_TRADE_CHANNEL"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "该交易在支付宝系统中的交易流水号。\t注意:若用户使用支付宝为交易的渠道,本参数必填。",
- "example" : "2021042322001426261436764012"
- },
- "voucher_use_detail_info" : {
- "$ref" : "#/components/schemas/VoucherUseDetailInfo"
- }
- }
- },
- "AlipayMarketingActivityOrdervoucherUseResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "优惠券活动id",
- "example" : "2016042700826004508401111111"
- },
- "voucher_use_detail_result_info" : {
- "$ref" : "#/components/schemas/VoucherUseDetailResultInfo"
- }
- }
- },
- "AlipayMarketingActivityQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ACTIVITY_NOT_ACTIVE", "ACTIVITY_NOT_PERMISSION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "activity_name" : {
- "type" : "string",
- "description" : "活动名称。 不对用户进行展示,仅供商家在后台管理活动使用。",
- "example" : "满10减1活动"
- },
- "activity_status" : {
- "type" : "string",
- "description" : "活动状态。活动已激活,表示活动已经生效,等到活动开始(publish_start_time)之后用户就可以参与活动。活动已暂停,表示商户临时暂停该活动,该状态下用户不能参与活动。活动已结束,表示商户主动停止活动或活动到期结束(publish_end_time)不能再进行领取或修改等操作。",
- "example" : "ACTIVE"
- },
- "belong_merchant_id" : {
- "type" : "string",
- "description" : "归属商户PID",
- "example" : "2088202967380463"
- },
- "publish_end_time" : {
- "type" : "string",
- "description" : "券发放结束时间。 格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-29 23:59:59"
- },
- "publish_start_time" : {
- "type" : "string",
- "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_customer_guide_info" : {
- "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
- },
- "voucher_deduct_info" : {
- "$ref" : "#/components/schemas/VoucherDeductInfo"
- },
- "voucher_display_info" : {
- "$ref" : "#/components/schemas/CommonVoucherDisplayInfo"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_send_rule" : {
- "$ref" : "#/components/schemas/CommonVoucherSendRule"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "券类型。",
- "example" : "FIX_VOUCHER"
- },
- "voucher_use_rule" : {
- "$ref" : "#/components/schemas/CommonVoucherUseRule"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- }
- }
- },
- "AlipayMarketingActivityShopBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityShopBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "分页查询页码。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询单页数据条数。",
- "example" : "20"
- },
- "shop_infos" : {
- "type" : "array",
- "description" : "可用球房列表",
- "items" : {
- "$ref" : "#/components/schemas/ActivityShopInfo"
- }
- },
- "total_size" : {
- "type" : "integer",
- "description" : "可用球房总数量",
- "example" : "200"
- }
- }
- },
- "AlipayMarketingActivityUserBatchqueryvoucherErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityUserBatchqueryvoucherResponseModel" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "分页查询页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页查询单页数据条数",
- "example" : "20"
- },
- "total_size" : {
- "type" : "integer",
- "description" : "总数量",
- "example" : "200"
- },
- "user_voucher_infos" : {
- "type" : "array",
- "description" : "用户券实例",
- "items" : {
- "$ref" : "#/components/schemas/UserVoucherInfo"
- }
- }
- }
- },
- "AlipayMarketingActivityUserQueryvoucherErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "VOUCHER_NOT_EXIST", "ACTIVITY_NOT_PERMISSION", "MERCHANT_RELATION_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityUserQueryvoucherResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_id" : {
- "type" : "string",
- "description" : "活动 id",
- "example" : "2016042700826004508401111111"
- },
- "associate_trade_no" : {
- "type" : "string",
- "description" : "若商家券操作过关联商户订单信息,则该字段返回商家券已关联的商户订单号。",
- "example" : "2021042322001426261436764012"
- },
- "available_begin_time" : {
- "type" : "string",
- "description" : "券可用开始时间",
- "example" : "2017-01-01 00:00:01"
- },
- "available_end_time" : {
- "type" : "string",
- "description" : "券可用结束时间",
- "example" : "2017-01-01 00:00:01"
- },
- "belong_merchant_id" : {
- "type" : "string",
- "description" : "券归属 pid",
- "example" : "2088202967380463"
- },
- "create_time" : {
- "type" : "string",
- "description" : "领券时间",
- "example" : "2017-01-01 00:00:01"
- },
- "user_voucher_base_info" : {
- "$ref" : "#/components/schemas/UserVoucherBaseInfo"
- },
- "voucher_deduct_info" : {
- "$ref" : "#/components/schemas/VoucherDeductInfo"
- },
- "voucher_display_info" : {
- "$ref" : "#/components/schemas/CommonVoucherDisplayInfo"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_name" : {
- "type" : "string",
- "description" : "券名称",
- "example" : "满10减1"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_send_rule" : {
- "$ref" : "#/components/schemas/CommonVoucherSendRule"
- },
- "voucher_status" : {
- "type" : "string",
- "description" : "券状态。",
- "example" : "SENDED"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "券类型。",
- "example" : "FIX_VOUCHER"
- },
- "voucher_use_rule" : {
- "$ref" : "#/components/schemas/CommonVoucherUseRule"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- }
- }
- },
- "AlipayMarketingActivityVoucherAppendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherAppendModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- },
- "voucher_quantity" : {
- "type" : "integer",
- "description" : "券总预算值。 限制: 券总预算<= 99999999 特别说明: 该字段的含义是追加到的数量。 不可减少,只能增加。",
- "example" : "100"
- }
- }
- },
- "AlipayMarketingActivityVoucherAppendResponseModel" : {
- "type" : "object",
- "properties" : {
- "recharge_url" : {
- "type" : "string",
- "description" : "预充值链接\t\t限制\t有效时间3天",
- "example" : "https://voucherprod.alipay.com/coupon/templatepayment.htm?templateId=20210829000730015448005XXOO&authNo=2021082910002001170507729XX5&operationId=202X0829X45X35X1170X"
- }
- }
- },
- "AlipayMarketingActivityVoucherCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "MATERIAL_AUDIT_WAITING" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherCreateModel" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_name" : {
- "type" : "string",
- "description" : "活动名称。 不对用户进行展示,仅供商家在后台管理活动使用。",
- "example" : "满10减1活动"
- },
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/PaymentVoucherBelongMerchantInfo"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
- "example" : "asdh12394nb23941234xasd2021"
- },
- "publish_end_time" : {
- "type" : "string",
- "description" : "券发放结束时间。 格式为:yyyy-MM-dd HH:mm:ss 限制: 券发放结束时间 publish_end_time 与 券发放开始时间 publish_start_time 间隔必须小于等于180天",
- "example" : "2017-01-29 23:59:59"
- },
- "publish_start_time" : {
- "type" : "string",
- "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_budget_info" : {
- "$ref" : "#/components/schemas/PaymentVoucherBudgetInfo"
- },
- "voucher_budget_supply_info" : {
- "$ref" : "#/components/schemas/VoucherBudgetSupplyInfo"
- },
- "voucher_customer_guide_info" : {
- "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
- },
- "voucher_deduct_info" : {
- "$ref" : "#/components/schemas/VoucherDeductInfo"
- },
- "voucher_display_info" : {
- "$ref" : "#/components/schemas/PaymentVoucherDisplayInfo"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_send_rule" : {
- "$ref" : "#/components/schemas/PaymentVoucherSendRule"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "优惠类型\t\t枚举值:\tFIX_VOUCHER:固定面额满减券",
- "example" : "FIX_VOUCHER"
- },
- "voucher_use_rule" : {
- "$ref" : "#/components/schemas/PaymentVoucherUseRule"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- }
- }
- },
- "AlipayMarketingActivityVoucherCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- }
- }
- },
- "AlipayMarketingActivityVoucherModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherModifyModel" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。 幂等作用: 参数不变的情况下,再次请求返回与上一次相同的结果。",
- "example" : "20170101000001654bb46ba"
- },
- "publish_end_time" : {
- "type" : "string",
- "description" : "券发放结束时间。格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-29 23:59:59"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_use_rule" : {
- "$ref" : "#/components/schemas/PaymentVoucherUseRuleModify"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- }
- }
- },
- "AlipayMarketingActivityVoucherModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayMarketingActivityVoucherPublishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherPublishModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "用作幂等控制\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- }
- }
- },
- "AlipayMarketingActivityVoucherPublishResponseModel" : {
- "type" : "object",
- "properties" : {
- "recharge_url" : {
- "type" : "string",
- "description" : "预充值链接",
- "example" : "https://voucherprod.alipay.com/coupon/templatepayment.htm?templateId=20210829000730015448005XXOO&authNo=2021082910002001170507729XX5&operationId=202X0829X45X35X1170X"
- }
- }
- },
- "AlipayMarketingActivityVoucherQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_id" : {
- "type" : "string",
- "description" : "活动 ID",
- "example" : "2016042700826004508401111111"
- },
- "activity_name" : {
- "type" : "string",
- "description" : "活动名称。 不对用户进行展示,仅供商家在后台管理活动使用。",
- "example" : "满10减1活动"
- },
- "activity_status" : {
- "type" : "string",
- "description" : "活动状态。\t如果该值为空,说明活动还未创建成功。",
- "example" : "ACTIVE"
- },
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/PaymentVoucherBelongMerchantInfo"
- },
- "publish_end_time" : {
- "type" : "string",
- "description" : "券发放结束时间。 格式为:yyyy-MM-dd HH:mm:ss。",
- "example" : "2017-01-29 23:59:59"
- },
- "publish_start_time" : {
- "type" : "string",
- "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- },
- "summary" : {
- "$ref" : "#/components/schemas/VoucherSummary"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_budget_info" : {
- "$ref" : "#/components/schemas/PaymentVoucherBudgetInfo"
- },
- "voucher_budget_supply_info" : {
- "$ref" : "#/components/schemas/VoucherBudgetSupplyInfo"
- },
- "voucher_customer_guide_info" : {
- "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
- },
- "voucher_deduct_info" : {
- "$ref" : "#/components/schemas/VoucherDeductInfo"
- },
- "voucher_display_info" : {
- "$ref" : "#/components/schemas/PaymentVoucherDisplayInfo"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_inventory_info" : {
- "$ref" : "#/components/schemas/VoucherInventoryInfo"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_send_rule" : {
- "$ref" : "#/components/schemas/PaymentVoucherSendRule"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "优惠类型。",
- "example" : "FIX_VOUCHER"
- },
- "voucher_use_rule" : {
- "$ref" : "#/components/schemas/PaymentVoucherUseRuleDetail"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- }
- }
- },
- "AlipayMarketingActivityVoucherSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ACTIVITY_NOT_ACTIVE", "ACTIVITY_NOT_START", "ACTIVITY_IS_END", "ACTIVITY_IS_STOPED", "BUDGET_NOT_ENOUGH", "COUNT_OVER_LIMIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherSendModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "优惠券活动id",
- "example" : "2016042700826004508401111111"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "AGENCY_MODE"
- },
- "open_id" : {
- "type" : "string",
- "description" : "领券的支付宝用户openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- },
- "user_id" : {
- "type" : "string",
- "description" : "领券的支付宝user_id账号",
- "example" : "2088XXXX"
- }
- }
- },
- "AlipayMarketingActivityVoucherSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "voucher_id" : {
- "type" : "string",
- "description" : "本次发放的支付券id",
- "example" : "2021072600073002785300065Q39"
- }
- }
- },
- "AlipayMarketingActivityVoucherStopErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherStopModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "2016042700826004508401111111"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "AGENCY_MODE"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "64\t外部业务单号,用作幂等控制。\t\t幂等作用:\t参数不变的情况下,再次请求返回与上一次相同的结果。\t\t外部接入方需保证业务单号唯一。",
- "example" : "20170101000001654bb46ba"
- }
- }
- },
- "AlipayMarketingActivityVoucherStopResponseModel" : {
- "type" : "object"
- },
- "AlipayMarketingActivityVoucherpackageBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherpackageBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "分页参数,需要查询的页码,起始页是1",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页参数,每页记录数,最大不可超过30",
- "example" : "10"
- },
- "voucher_package_purchase_start_time" : {
- "type" : "string",
- "description" : "券包购买开始时间。 格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-01-01 00:00:01"
- },
- "voucher_package_status" : {
- "type" : "string",
- "description" : "券包状态:不指定可查全部状态,指定时只支持查单个状态\t枚举值:\tCREATED:已创建,\tENABLE:已发布(包含过期),\tPAUSED:已暂停,\tDISABLE:已停止;",
- "example" : "ENABLE"
- }
- }
- },
- "AlipayMarketingActivityVoucherpackageBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "分页参数,当前所在的页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页参数,每页记录数,最大不可超过30",
- "example" : "10"
- },
- "total_size" : {
- "type" : "integer",
- "description" : "券包总数量",
- "example" : "100"
- },
- "voucher_package_info" : {
- "type" : "array",
- "description" : "券包信息",
- "items" : {
- "$ref" : "#/components/schemas/VoucherPackageInfo"
- }
- }
- }
- },
- "AlipayMarketingActivityVoucherpackageConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherpackageConsultModel" : {
- "type" : "object",
- "properties" : {
- "voucher_package_id_list" : {
- "type" : "array",
- "description" : "券包id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"IP20220628016671405804297103167741\"]"
- }
- }
- },
- "AlipayMarketingActivityVoucherpackageConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "voucher_package_consult_result" : {
- "type" : "array",
- "description" : "券包购买咨询结果",
- "items" : {
- "$ref" : "#/components/schemas/VoucherPackageConsultResult"
- }
- }
- }
- },
- "AlipayMarketingActivityVoucherpackageQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "VOUCHER_PACKAGE_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingActivityVoucherpackageQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "voucher_package_activity_info" : {
- "type" : "array",
- "description" : "券包活动信息",
- "items" : {
- "$ref" : "#/components/schemas/VoucherPackageActivityInfo"
- }
- },
- "voucher_package_base_info" : {
- "$ref" : "#/components/schemas/VoucherPackageBaseInfo"
- },
- "voucher_package_sales_info" : {
- "$ref" : "#/components/schemas/VoucherPackageSalesInfo"
- },
- "voucher_package_use_rule" : {
- "$ref" : "#/components/schemas/VoucherPackageUseRule"
- }
- }
- },
- "AlipayMarketingCampaignCashCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCampaignCashCreateModel" : {
- "type" : "object",
- "properties" : {
- "coupon_name" : {
- "type" : "string",
- "description" : "红包名称,商户在查询列表、详情看到的名字,同时也会显示在商户付款页面。",
- "example" : "XXX周年庆红包"
- },
- "end_time" : {
- "type" : "string",
- "description" : "活动结束时间,必须大于活动开始时间, 基本格式:yyyy-MM-dd HH:mm:ss,活动有效时间最长为6个月,过期后需要创建新的活动。",
- "example" : "2016-09-20 22:48:30"
- },
- "merchant_link" : {
- "type" : "string",
- "description" : "商户打款后的跳转链接,从支付宝收银台打款成功后的跳转链接。不填时,打款后停留在支付宝支付成功页。商户实际跳转会自动添加crowdNo作为跳转参数。示例: http://www.yourhomepage.com?crowdNo=XXX",
- "example" : "http://www.weibo.com"
- },
- "prize_msg" : {
- "type" : "string",
- "description" : "活动文案,用户在账单、红包中看到的账单描述、红包描述。",
- "example" : "XXX送您大红包"
- },
- "prize_type" : {
- "type" : "string",
- "description" : "现金红包的发放形式,。枚举支持:\t*fixed:固定金额。\t*random:随机金额。选择随机金额时,单个红包的金额在平均金额的0.5~1.5倍之间浮动。\t",
- "example" : "random"
- },
- "send_freqency" : {
- "type" : "string",
- "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来配合。",
- "example" : "D3|L10"
- },
- "start_time" : {
- "type" : "string",
- "description" : "活动开始时间,必须大于活动创建的时间。入参支持如下两种形式:\t 1. 填入固定时间,时间格式为 yyyy-MM-dd HH:mm:ss,如 2020-12-10 22:28:30\t 2. 填字符串 NowTime,表示创建即生效。",
- "example" : "NowTime"
- },
- "total_money" : {
- "type" : "string",
- "description" : "活动发放的现金总金额,最小金额1.00元,最大金额10000000.00元。每个红包的最大金额不允许超过200元,最小金额不得低于0.20元。 实际的金额限制可能会根据业务进行动态调整。",
- "example" : "10000000.00"
- },
- "total_num" : {
- "type" : "string",
- "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有所剩余、或者大于设置值的情况。",
- "example" : "1000"
- }
- }
- },
- "AlipayMarketingCampaignCashCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "crowd_no" : {
- "type" : "string",
- "description" : "生成的现金红包活动号",
- "example" : "EPOJZsBg3A-CZOJE4qlbAueA7By4oJLDwEeYZlAiAnbMnSZ96O-zxUfKlHp5cxmx"
- },
- "origin_crowd_no" : {
- "type" : "string",
- "description" : "原始活动号,商户排查问题时提供的活动依据",
- "example" : "20160901109410190092922300444004"
- },
- "pay_url" : {
- "type" : "string",
- "description" : "活动创建后的付款链接,返回的是urlencode编码后的字符串。需要先进行urldecode解码,然后在浏览器中进行访问,会先进行支付宝登录引导,然后商户进行付款,付款有效期24小时。",
- "example" : "http%3a%2f%2fcashier.stable.alipay.net%2fstandard%2flightpay%2flightPayCashier.htm%3forderId%3d0826e2e3984d6fa7b92046.rz0NN4263%"
- }
- }
- },
- "AlipayMarketingCampaignCashDetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCampaignCashDetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "camp_status" : {
- "type" : "string",
- "description" : "活动状态,CREATED: 已创建未打款\tPAID:已打款\tREADY:活动已开始\tPAUSE:活动已暂停\tCLOSED:活动已结束\tSETTLED:活动已清算",
- "example" : "CREATED、PAID、READY、PAUSE、CLOSED、SETTLED"
- },
- "coupon_name" : {
- "type" : "string",
- "description" : "红包名称",
- "example" : "XXX周年庆红包"
- },
- "crowd_no" : {
- "type" : "string",
- "description" : "活动号",
- "example" : "POYb84lfiKVdIfERAYsqPL_KQRIpfQbl47xfRmmPBlDMnSZ96O-zxUfKlHp5cxmx"
- },
- "end_time" : {
- "type" : "string",
- "description" : "活动结束时间",
- "example" : "2016-08-10 22:28:30"
- },
- "origin_crowd_no" : {
- "type" : "string",
- "description" : "原始活动号,商户排查问题时提供的活动依据",
- "example" : "20160901029410190092922308762004"
- },
- "prize_msg" : {
- "type" : "string",
- "description" : "活动文案,用户在账单中看到的红包描述",
- "example" : "XX送您大红包"
- },
- "prize_type" : {
- "type" : "string",
- "description" : "现金红包的发放形式, fixed为固定金额,random为随机金额",
- "example" : "random"
- },
- "send_amount" : {
- "type" : "string",
- "description" : "活动已发放金额",
- "example" : "200000.00"
- },
- "start_time" : {
- "type" : "string",
- "description" : "活动开始时间",
- "example" : "2016-08-10 22:28:30"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "活动总金额",
- "example" : "20000.00"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "红包总个数",
- "example" : "1000"
- },
- "total_num" : {
- "type" : "integer",
- "description" : "红包总个数(废弃)",
- "example" : "1000"
- }
- }
- },
- "AlipayMarketingCampaignCashListQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_CONTENT_IS_EMPTY", "CASH_LIST_PAGE_CHECK_FAILED", "BIZ_CONTENT_FORMAT_ERROR", "CALL_TOO_FREQUENCY", "PRODUCT_IS_NOT_OPENED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCampaignCashListQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "camp_list" : {
- "type" : "array",
- "description" : "活动列表",
- "items" : {
- "$ref" : "#/components/schemas/CashCampaignInfo"
- }
- },
- "page_index" : {
- "type" : "string",
- "description" : "分页的页码,起始从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "分页每页大小",
- "example" : "10"
- },
- "total_size" : {
- "type" : "string",
- "description" : "活动总个数",
- "example" : "20"
- }
- }
- },
- "AlipayMarketingCampaignCashStatusModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCampaignCashStatusModifyModel" : {
- "type" : "object",
- "properties" : {
- "camp_status" : {
- "type" : "string",
- "description" : "金活动修改后的状态。支持修改为:\t*PAUSE:活动暂停。\t*READY:活动开始。\t*CLOSED:活动结束。",
- "example" : "PAUSE"
- },
- "crowd_no" : {
- "type" : "string",
- "description" : "现金活动号,通过<a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.campaign.cash.create\">alipay.marketing.campaign.cash.create</a>(创建现金活动)接口创建现金活动获取。",
- "example" : "HHV-vl7IKtHddoWgpHTOdL_KQRIpfQbl47xfRmmPBlDMnSZ96O-zxUfKlHp5cxmx"
- }
- }
- },
- "AlipayMarketingCampaignCashStatusModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayMarketingCampaignCashTriggerErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCampaignCashTriggerModel" : {
- "type" : "object",
- "properties" : {
- "crowd_no" : {
- "type" : "string",
- "description" : "现金活动号,通过<a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.campaign.cash.create\">alipay.marketing.campaign.cash.create</a>(创建现金活动)接口创建现金活动获取。",
- "example" : "3DpriXtAGxmDPi7QyeoKeX8wwS3qbKCcnigowys220Lxs"
- },
- "login_id" : {
- "type" : "string",
- "description" : "用户登录账号名,一般为邮箱或手机号。\t注意:user_id与login_id二选一必填,同时传入时以user_id为准。",
- "example" : "username@gmail.com"
- },
- "open_id" : {
- "type" : "string",
- "description" : "open_id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "order_price" : {
- "type" : "string",
- "description" : "此字段如果传入金额,就忽略prize_type算法,按照传入的金额发奖。如果不传或者小于等于0,则按照活动创建时指定的prize_type为fixed或者random算法发奖",
- "example" : "100,单位为分,代表1元"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "领取红包的外部业务号,只由可由字母、数字、下划线组成。同一个活动中不可重复,相同的外部业务号会被幂等并返回之前的结果。不填时,系统会生成一个默认固定的外部业务号。",
- "example" : "201702101356"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户支付宝唯一标识,2088开头。\t注意:user_id与login_id二选一必填,同时传入时以user_id为准。",
- "example" : "2088102164186692"
- }
- }
- },
- "AlipayMarketingCampaignCashTriggerResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_no" : {
- "type" : "string",
- "description" : "支付宝业务号,发奖成功时返回,调用者可提供此字符串进行问题排查与核对等",
- "example" : "20170117110070001502640004976114"
- },
- "coupon_name" : {
- "type" : "string",
- "description" : "红包名称,创建活动时设置,用于账单列表和详情、红包列表和详情的展示",
- "example" : "***周年庆红包"
- },
- "error_msg" : {
- "type" : "string",
- "description" : "用户领取失败的错误信息描述",
- "example" : "用户实名验证不通过"
- },
- "merchant_logo" : {
- "type" : "string",
- "description" : "商户头像logo的图片url地址,用于账单和红包列表、详情的展示",
- "example" : "http://tfs.alipay.com/images/partner/1111111xxxxxxx_160x160"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,回填请求中的out_biz_no,请求参数中传了out_biz_no就会回传回去,如果不传就回传默认的\"default_out_biz_no\",请求者可用于日志记录与核对等",
- "example" : "2017021319450001"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "发送红包商户签约pid,发奖成功时非空",
- "example" : "2088123456789012"
- },
- "prize_amount" : {
- "type" : "string",
- "description" : "现金红包金额,发奖成功时非空,单位为元,保留两位小数",
- "example" : "234.40"
- },
- "prize_msg" : {
- "type" : "string",
- "description" : "活动文案,用于账单的备注展示、红包详情页的文案展示",
- "example" : "XXX送您大红包,祝您中秋快乐"
- },
- "repeat_trigger_flag" : {
- "type" : "string",
- "description" : "用户是否重复领取,如果重复领取,返回的是之前的中奖结果,如果是首次领取,则走发奖流程",
- "example" : "true或false"
- },
- "trigger_result" : {
- "type" : "string",
- "description" : "是否中奖结果状态,取值为true或false。如果为true表示发奖成功,这时返回的结果中的其他字段非空;如果为false表示发奖失败,这时返回的其他字段为空",
- "example" : "true"
- }
- }
- },
- "AlipayMarketingCampaignOrderVoucherConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_ARGUMENT_EXCEPTION", "CONSULT_EXCEPTION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCampaignOrderVoucherConsultModel" : {
- "type" : "object",
- "properties" : {
- "business_param" : {
- "type" : "string",
- "description" : "业务参数大字段,优惠咨询的控制参数,json格式;目前支持传入useBigAmountSkipOrderThold为N来控制不使用大金额跳过优惠的订单门槛检查;默认不传;",
- "example" : "{\"useBigAmountSkipOrderThold\":\"N\"}"
- },
- "item_consult_list" : {
- "type" : "array",
- "description" : "商品咨询请求列表(当需要咨询单品券时必传,如果某商品不希望参与本次单品优惠咨询则不传递对应信息即可)",
- "items" : {
- "$ref" : "#/components/schemas/ItemConsultRequest"
- }
- },
- "order_amount" : {
- "type" : "string",
- "description" : "订单金额(如同时享受商户自有优惠请先扣除后传入),单位为元,最多2位小数",
- "example" : "120.87"
- },
- "scene_code" : {
- "type" : "array",
- "description" : "场景码:默认(DEFAULT)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"DEFAULT\"]"
- },
- "specified_app_id" : {
- "type" : "string",
- "description" : "券指定的核销appid(如果配券时指定了核销范围为线上小程序及相应的appid则此处必传)",
- "example" : "2021001159604390"
- }
- }
- },
- "AlipayMarketingCampaignOrderVoucherConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "optimal_total_promo_amount" : {
- "type" : "string",
- "description" : "最优券叠加总优惠金额,单位为元",
- "example" : "15.50"
- },
- "voucher_consult_list" : {
- "type" : "array",
- "description" : "优惠券咨询结果列表",
- "items" : {
- "$ref" : "#/components/schemas/VoucherConsultInfo"
- }
- }
- }
- },
- "AlipayMarketingCardActivateformQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "OPEN_PROFILE_QUERY_FAIL", "REQUEST_ID_EXPIRE", "REQUEST_ID_INVALID", "ILLEGAL_NULL_ARGUMENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardActivateformQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "infos" : {
- "type" : "string",
- "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 -- 台湾居民通行证",
- "example" : "[{\"OPEN_FORM_FIELD_GENDER\":\"男\"},{\"OPEN_FORM_FIELD_MOBILE\":\"13888888888\"},{\"OPEN_FORM_FIELD_NAME\":\"李四\"}]"
- }
- }
- },
- "AlipayMarketingCardActivateurlApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_TEMPLATE_NOT_EXIST", "OPEN_FORM_TEMPLATE_NOT_EXIST", "ILLEGAL_ARGUMENT_OUT_STRING", "ILLEGAL_NULL_ARGUMENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardActivateurlApplyModel" : {
- "type" : "object",
- "properties" : {
- "callback" : {
- "type" : "string",
- "description" : "会员卡开卡表单提交后回调地址。要求必须是单纯的服务端接收回调。\t说明:\t1.该地址不可带参数,如需回传参数,可设置out_string入参。",
- "example" : "https://alipay.com/card/demo.htm"
- },
- "follow_app_id" : {
- "type" : "string",
- "description" : "需要关注的生活号AppId。若需要在领卡页面展示“关注生活号”提示,需开通生活号并绑定会员卡。生活号快速接入详见:https://doc.open.alipay.com/docs/doc.htm?treeId=193&articleId=105933&docType=1",
- "example" : "20150000000000000"
- },
- "out_string" : {
- "type" : "string",
- "description" : "该值为商家拉起开卡组件的传递的 out_string 值。通常可用于区分不同业务场景,禁止将该字段作为开卡流程的必要字段,否则会导致会员推广场景下的入会失败",
- "example" : "201928393932"
- },
- "template_id" : {
- "type" : "string",
- "description" : "会员卡模板id。使用会员卡模板创建接口(alipay.marketing.card.template.create)返回的结果",
- "example" : "20170228000000000210102000300974"
- }
- }
- },
- "AlipayMarketingCardActivateurlApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_card_url" : {
- "type" : "string",
- "description" : "会员卡领卡链接(使用时需URLDecode解码)。商户获取此链接后可投放到服务窗消息、店铺二维码等。",
- "example" : "https%3A%2F%2Fmemberprod.alipay.com%2Faccount%2Fopenform%2Factivecard.htm%3Fapp_id%3D2017051007191443%26template_id%3D2017053100"
- }
- }
- },
- "AlipayMarketingCardBenefitCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardBenefitCreateModel" : {
- "type" : "object",
- "properties" : {
- "mcard_template_benefit" : {
- "$ref" : "#/components/schemas/McardTemplateBenefit"
- }
- }
- },
- "AlipayMarketingCardBenefitCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "benefit_id" : {
- "type" : "string",
- "description" : "权益ID",
- "example" : "2017040600077000000002409504"
- }
- }
- },
- "AlipayMarketingCardBenefitDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIST", "BENEFIT_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardBenefitDeleteResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "权益删除结果;true成功,false失败",
- "example" : "true"
- }
- }
- },
- "AlipayMarketingCardBenefitModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIST", "BENEFIT_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardBenefitModifyModel" : {
- "type" : "object",
- "properties" : {
- "benefit_id" : {
- "type" : "string",
- "description" : "权益ID,通过 <a href=\"https://opendocs.alipay.com/apis/api_5/alipay.marketing.card.benefit.create\">alipay.marketing.card.benefit.create</a>(会员卡模板外部权益创建)接口创建获取。",
- "example" : "2017040600077000000002409504"
- },
- "mcard_template_benefit" : {
- "$ref" : "#/components/schemas/McardTemplateBenefit"
- }
- }
- },
- "AlipayMarketingCardBenefitModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "boolean",
- "description" : "权益修改结果;true成功:false失败",
- "example" : "true"
- }
- }
- },
- "AlipayMarketingCardBenefitQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIST", "BENEFIT_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardBenefitQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "mcard_template_benefit_query" : {
- "type" : "array",
- "description" : "会员卡模板外部权益列表",
- "items" : {
- "$ref" : "#/components/schemas/McardTemplateBenefitQuery"
- }
- }
- }
- },
- "AlipayMarketingCardConsumeSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_NOT_EXIT", "NO_CARD_TYPE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardConsumeSyncModel" : {
- "type" : "object",
- "properties" : {
- "act_pay_amount" : {
- "type" : "string",
- "description" : "用户实际付的现金金额\r\t1.针对预付卡面额的核销金额在use_benefit_list展现,作为权益金额\r\t2.权益金额不叠加在该金额上",
- "example" : "23.9"
- },
- "card_info" : {
- "$ref" : "#/components/schemas/MerchantCard"
- },
- "gain_benefit_list" : {
- "type" : "array",
- "description" : "获取权益列表",
- "items" : {
- "$ref" : "#/components/schemas/BenefitInfoDetail"
- }
- },
- "memo" : {
- "type" : "string",
- "description" : "备注信息,现有直接填写球房信息",
- "example" : "用户球房充值100"
- },
- "shop_code" : {
- "type" : "string",
- "description" : "球房编号",
- "example" : "201606270000001"
- },
- "swipe_cert_type" : {
- "type" : "string",
- "description" : "产生该笔交易时,用户出具的凭证类型。枚举支持:\t*ALIPAY:支付宝电子卡;\t*ENTITY:实体卡;\t*OTHER:其他。",
- "example" : "ALIPAY"
- },
- "target_card_no" : {
- "type" : "string",
- "description" : "支付宝业务卡号,即通过<a href=\"https://opendocs.alipay.com/apis/009zw3\">alipay.marketing.card.open</a>(会员卡开卡)接口开卡后获取的 card_info.biz_card_no 值。",
- "example" : "0000001"
- },
- "target_card_no_type" : {
- "type" : "string",
- "description" : "卡号ID类型。支持:\t*BIZ_CARD:支付宝业务卡号(商户会员卡场景使用)。",
- "example" : "BIZ_CARD"
- },
- "trade_amount" : {
- "type" : "string",
- "description" : "交易金额:本次交易的实际总金额(可认为标价金额)",
- "example" : "67.5"
- },
- "trade_name" : {
- "type" : "string",
- "description" : "交易名称。为空时支付宝将根据交易类型提供默认名称。",
- "example" : "预付卡充值100元"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "201606270000000001"
- },
- "trade_time" : {
- "type" : "string",
- "description" : "线下交易时间,为用户付款的交易时间。\t说明:当交易时间晚于上次消费记录同步时间时,将变更会员卡信息。",
- "example" : "2012-11-22 10:47:20"
- },
- "trade_type" : {
- "type" : "string",
- "description" : "交易类型。枚举支持:\t*开卡:OPEN;\t*消费:TRADE;\t*充值:DEPOSIT;\t*退卡:RETURN。",
- "example" : "DEPOSIT"
- },
- "use_benefit_list" : {
- "type" : "array",
- "description" : "实际消耗的权益",
- "items" : {
- "$ref" : "#/components/schemas/BenefitInfoDetail"
- }
- }
- }
- },
- "AlipayMarketingCardConsumeSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "external_card_no" : {
- "type" : "string",
- "description" : "外部卡号",
- "example" : "EXT10000001"
- }
- }
- },
- "AlipayMarketingCardDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_NOT_EXIT", "NO_CARD_TYPE", "CARD_IS_DELETED_ALREADY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardDeleteResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_serial_no" : {
- "type" : "string",
- "description" : "支付宝端删卡业务流水号",
- "example" : "2016062700001"
- }
- }
- },
- "AlipayMarketingCardFormtemplateSetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardFormtemplateSetModel" : {
- "type" : "object",
- "properties" : {
- "fields" : {
- "$ref" : "#/components/schemas/OpenFormFieldDO"
- },
- "template_id" : {
- "type" : "string",
- "description" : "会员卡模板id。调用alipay.marketing.card.template.create(会员卡模板创建接口)创建模板后同步返回。",
- "example" : "20170228000000000210102000300974"
- }
- }
- },
- "AlipayMarketingCardFormtemplateSetResponseModel" : {
- "type" : "object"
- },
- "AlipayMarketingCardMessageNotifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_NOT_EXIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardMessageNotifyModel" : {
- "type" : "object",
- "properties" : {
- "notify_info" : {
- "type" : "string",
- "description" : "消息通知详情,包含消息通知需要的信息,map 格式存储。\t积分过期提醒:\t<br>expired_point 过期积分值\t<br>expired_time 过期时间",
- "example" : "{\"expired_point\":\"121\"}"
- },
- "notify_no" : {
- "type" : "string",
- "description" : "消息通知幂等标识,业务流水号",
- "example" : "2000000000001"
- },
- "notify_type" : {
- "type" : "string",
- "description" : "消息通知类型,\t<br>POINT_REMIND 积分过期提醒",
- "example" : "POINT_REMIND"
- },
- "occur_time" : {
- "type" : "string",
- "description" : "标识业务发生时间,时间格式为\"yyyy-MM-dd HH:mm:ss\"。",
- "example" : "2020-12-27 12:12:12"
- },
- "target_card_no" : {
- "type" : "string",
- "description" : "支付宝业务卡号,即通过 alipay.marketing.card.open 接口开卡后获取的 card_info.biz_card_no 值。",
- "example" : "000001"
- },
- "target_card_no_type" : {
- "type" : "string",
- "description" : "卡号ID类型。支持: BIZ_CARD:支付宝业务卡号(商户会员卡场景使用)。",
- "example" : "BIZ_CARD"
- }
- }
- },
- "AlipayMarketingCardMessageNotifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result_code" : {
- "type" : "string",
- "description" : "二级错误处理结果(如果公用返回结果为false,则可以看这个接口判断明细原因) 如果公用返回为true,则该字段为空",
- "example" : "isv.update-usercard-fail"
- }
- }
- },
- "AlipayMarketingCardOpenErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardOpenModel" : {
- "type" : "object",
- "properties" : {
- "card_ext_info" : {
- "$ref" : "#/components/schemas/MerchantCard"
- },
- "card_template_id" : {
- "type" : "string",
- "description" : "支付宝分配的卡模板Id(卡模板创建接口返回的模板ID)",
- "example" : "201606270000001"
- },
- "card_user_info" : {
- "$ref" : "#/components/schemas/CardUserInfo"
- },
- "member_ext_info" : {
- "$ref" : "#/components/schemas/MerchantMenber"
- },
- "open_card_channel" : {
- "type" : "string",
- "description" : "领卡渠道,用于记录外部商户端领卡来源的渠道信息,渠道值可自行定义(仅限数字、字母、下划线) \r\t可直接标识领卡渠道,也可配合open_card_channel_id标识领卡渠道类型:\r\t例如:\r\t线下球房领取:20161534000000000008863(直接标识领卡渠道,球房shopId)\r\t线下扫二维码领取:QR(标识领卡类型);\r\t线下活动领取:20170522000000000003609(直接标识领卡渠道,商户活动ID)",
- "example" : "20161534000000000008863"
- },
- "open_card_channel_id" : {
- "type" : "string",
- "description" : "领卡来源的渠道id,注意区别于open_card_channel领卡渠道;\r\t一般使用场景:\r\topen_card_channel用于区分渠道类型,例如取值为\"SHOP\"(球房),\"ACTIVITY\"(活动);\r\t则open_card_channel_id可用于区分同渠道的不同实体,对应取各球房ID或各活动的标识ID等;",
- "example" : "123123123123"
- },
- "out_serial_no" : {
- "type" : "string",
- "description" : "外部商户流水号。由商户自定义,需保证商户系统中唯一。",
- "example" : "201606270000001"
- },
- "paid_outer_card_info" : {
- "$ref" : "#/components/schemas/PaidOuterCardExtraInfoDTO"
- }
- }
- },
- "AlipayMarketingCardOpenResponseModel" : {
- "type" : "object",
- "properties" : {
- "card_info" : {
- "$ref" : "#/components/schemas/MerchantCard"
- },
- "open_card_channel" : {
- "type" : "string",
- "description" : "实际记录的领卡渠道(可能跟商户传入值不同);\r\t可直接标识领卡渠道,也可配合open_card_channel_id标识领卡渠道类型:\r\t例如:\r\t线下球房领取:20161534000000000008863(直接标识领卡渠道,球房shopId)\r\t线下扫二维码领取:QR(标识领卡类型);\r\t线下活动领取:20170522000000000003609(直接标识领卡渠道,商户活动ID)",
- "example" : "QR"
- },
- "open_card_channel_id" : {
- "type" : "string",
- "description" : "实际记录的领卡来源渠道id(可能跟商户传入值不同);\r\t区别于open_card_channel领卡渠道;\r\t一般使用场景:\r\topen_card_channel用于区分渠道类型,例如取值为\"SHOP\"(球房),\"ACTIVITY\"(活动);\r\t则open_card_channel_id可用于区分同渠道的不同实体,对应取各球房ID或各活动的标识ID等;",
- "example" : "123123123123"
- }
- }
- },
- "AlipayMarketingCardQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "CARD_NOT_EXIT", "NO_CARD_TYPE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardQueryModel" : {
- "type" : "object",
- "properties" : {
- "card_user_info" : {
- "$ref" : "#/components/schemas/CardUserInfo"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "扩展信息,暂时没有",
- "example" : "\"\""
- },
- "target_card_no" : {
- "type" : "string",
- "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,则该值为外部卡号。",
- "example" : "0000001"
- },
- "target_card_no_type" : {
- "type" : "string",
- "description" : "卡号ID类型(会员卡查询,只能提供支付宝端的卡号)\tBIZ_CARD:支付宝卡号\tD_QR_CODE:动态二维码(业务卡号对应的)\tD_BAR_CODE:动态条码(业务卡号对应的)\tEXTERNAL_CARD:外部卡号(业务卡号对应的)",
- "example" : "BIZ_CARD"
- }
- }
- },
- "AlipayMarketingCardQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "card_info" : {
- "$ref" : "#/components/schemas/MerchantCard"
- },
- "paid_outer_card_info" : {
- "$ref" : "#/components/schemas/PaidOuterCardExtraInfoDTO"
- },
- "pass_id" : {
- "type" : "string",
- "description" : "商家会员卡页面跳转到支付宝卡券详情页的pass_id,对应schema地址中的参数p,\t主要用于小程序跳往会员卡详情的链接拼接",
- "example" : "21942125"
- },
- "schema_url" : {
- "type" : "string",
- "description" : "商家会员卡页面跳转到支付宝卡券详情页面的schema地址",
- "example" : "alipays://platformapi/startapp?appId=20000021&b=m&p=111"
- }
- }
- },
- "AlipayMarketingCardTemplateBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardTemplateBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "page_no" : {
- "type" : "integer",
- "description" : " 查询起始页码,第一页为 1。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页数据大小,默认 20条,最大支持20条。",
- "example" : "20"
- }
- }
- },
- "AlipayMarketingCardTemplateBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "mcard_template" : {
- "type" : "array",
- "description" : "会员卡模板基本信息",
- "items" : {
- "$ref" : "#/components/schemas/McardTemplate"
- }
- },
- "template_total" : {
- "type" : "integer",
- "description" : "会员卡模板总数",
- "example" : "10"
- }
- }
- },
- "AlipayMarketingCardTemplateCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIT", "NO_CARD_TYPE", "TEMPLATE_OVER_LIMIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardTemplateCreateModel" : {
- "type" : "object",
- "properties" : {
- "biz_no_prefix" : {
- "type" : "string",
- "description" : "业务卡号前缀,由商户指定\r\t支付宝业务卡号生成规则:biz_no_prefix(商户指定)卡号前缀 + biz_no_suffix(实时生成)卡号后缀",
- "example" : "prex"
- },
- "biz_no_suffix_len" : {
- "type" : "string",
- "description" : "业务卡号后缀长度,与biz_no_prefix配合,扣除系统预留2位,剩下对应seq长度。在生成卡号时,若seq位数不足前置补0,若seq位数超出则以实际为准。举例:设为10,其中8位用于生成seq,可覆盖1亿用户,即使seq超过1亿,生成卡号也不报错,但总长度不得超过32位。建议按需设置合适的值,以获得长度一致的业务卡号,建议长度20,性能更好。",
- "example" : "20"
- },
- "card_action_list" : {
- "type" : "array",
- "description" : "卡行动点配置;\t行动点,即用户可点击跳转的区块,类似按钮控件的交互;\t单张卡最多定制3个行动点。如果各项的配置内容完全一样,展示时会进行去重。",
- "items" : {
- "$ref" : "#/components/schemas/TemplateActionInfoDTO"
- }
- },
- "card_level_conf" : {
- "type" : "array",
- "description" : "卡级别配置",
- "items" : {
- "$ref" : "#/components/schemas/TemplateCardLevelConfDTO"
- }
- },
- "card_spec_tag" : {
- "type" : "string",
- "description" : "卡特定标签,只供特定业务使用,通常接入无需关注",
- "example" : "NONE"
- },
- "card_type" : {
- "type" : "string",
- "description" : "卡类型。可选类型如下:\tOUT_MEMBER_CARD:外部权益卡",
- "example" : "OUT_MEMBER_CARD"
- },
- "column_info_list" : {
- "type" : "array",
- "description" : "栏位信息",
- "items" : {
- "$ref" : "#/components/schemas/TemplateColumnInfoDTO"
- }
- },
- "field_rule_list" : {
- "type" : "array",
- "description" : "字段规则列表,会员卡开卡过程中,会员卡信息的生成规则,\r\t例如:卡有效期为开卡后两年内有效,则设置为:DATE_IN_FUTURE",
- "items" : {
- "$ref" : "#/components/schemas/TemplateFieldRuleDTO"
- }
- },
- "mdcode_notify_conf" : {
- "$ref" : "#/components/schemas/TemplateMdcodeNotifyConfDTO"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "open_card_conf" : {
- "$ref" : "#/components/schemas/TemplateOpenCardConfDTO"
- },
- "paid_outer_card_conf" : {
- "$ref" : "#/components/schemas/PaidOuterCardTemplateConfDTO"
- },
- "pub_channels" : {
- "type" : "array",
- "description" : "卡模板投放渠道",
- "items" : {
- "$ref" : "#/components/schemas/PubChannelDTO"
- }
- },
- "request_id" : {
- "type" : "string",
- "description" : "请求ID,商家自定义且并保证唯一性。",
- "example" : "2016072600000000000000001"
- },
- "service_label_list" : {
- "type" : "array",
- "description" : "服务Code\r\tHUABEI_FUWU:花呗服务(只有需要花呗服务时,才需要加入该标识)",
- "items" : {
- "type" : "string"
- },
- "example" : "HUABEI_FUWU"
- },
- "shop_ids" : {
- "type" : "array",
- "description" : "会员卡上架球房id(支付宝球房id),即发放会员卡的商家球房id",
- "items" : {
- "type" : "string"
- },
- "example" : "2015122900077000000002409504"
- },
- "spi_app_id" : {
- "type" : "string",
- "description" : "spi_app_id:若使用openspi模式开卡,该字段必填,为实现spi.alipay.user.opencard.get接口的app_id",
- "example" : "2021001160639010"
- },
- "template_benefit_info" : {
- "type" : "array",
- "description" : "权益信息,\r\t1、在卡包的卡详情页面会自动添加“会员权益”栏位,展现此字段配置的会员卡权益信息,\r\t2、如果添加球房渠道,则可在球房页展现会员卡的权益",
- "items" : {
- "$ref" : "#/components/schemas/TemplateBenefitInfoDTO"
- }
- },
- "template_style_info" : {
- "$ref" : "#/components/schemas/TemplateStyleInfoDTO"
- },
- "write_off_type" : {
- "type" : "string",
- "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>。",
- "example" : "qrcode"
- }
- }
- },
- "AlipayMarketingCardTemplateCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "template_id" : {
- "type" : "string",
- "description" : "支付宝卡模板ID",
- "example" : "201607180000001"
- }
- }
- },
- "AlipayMarketingCardTemplateModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardTemplateModifyModel" : {
- "type" : "object",
- "properties" : {
- "biz_no_prefix" : {
- "type" : "string",
- "description" : "业务卡号前缀,由商户指定\r\t支付宝业务卡号生成规则:biz_no_prefix(商户指定)卡号前缀 + biz_no_suffix(实时生成)卡号后缀",
- "example" : "prex"
- },
- "biz_no_suffix_len" : {
- "type" : "string",
- "description" : "业务卡号后缀长度,与biz_no_prefix配合,扣除系统预留2位,剩下对应seq长度。在生成卡号时,若seq位数不足前置补0,若seq位数超出则以实际为准。举例:设为10,其中8位用于生成seq,可覆盖1亿用户,即使seq超过1亿,生成卡号也不报错,但总长度不得超过32位。建议按需设置合适的值,以获得长度一致的业务卡号,建议长度20,性能更好。",
- "example" : "20"
- },
- "card_action_list" : {
- "type" : "array",
- "description" : "卡行动点配置;\r\t行动点,即用户可点击跳转的区块,类似按钮控件的交互;\r\t单张卡最多定制4个行动点。",
- "items" : {
- "$ref" : "#/components/schemas/TemplateActionInfoDTO"
- }
- },
- "card_level_conf" : {
- "type" : "array",
- "description" : "卡级别配置",
- "items" : {
- "$ref" : "#/components/schemas/TemplateCardLevelConfDTO"
- }
- },
- "card_spec_tag" : {
- "type" : "string",
- "description" : "卡特定标签,只供特定业务使用,通常接入无需关注",
- "example" : "NONE"
- },
- "column_info_list" : {
- "type" : "array",
- "description" : "栏位信息(卡包详情页面展现的栏位)",
- "items" : {
- "$ref" : "#/components/schemas/TemplateColumnInfoDTO"
- }
- },
- "field_rule_list" : {
- "type" : "array",
- "description" : "字段规则列表,会员卡开卡过程中,会员卡信息的生成规则,\t例如:卡有效期为开卡后两年内有效,则设置为:DATE_IN_FUTURE\t注意:商家会员卡场景不支持修改该内容。\t",
- "items" : {
- "$ref" : "#/components/schemas/TemplateFieldRuleDTO"
- }
- },
- "mdcode_notify_conf" : {
- "$ref" : "#/components/schemas/TemplateMdcodeNotifyConfDTO"
- },
- "open_card_conf" : {
- "$ref" : "#/components/schemas/TemplateOpenCardConfDTO"
- },
- "paid_outer_card_conf" : {
- "$ref" : "#/components/schemas/PaidOuterCardTemplateConfDTO"
- },
- "pub_channels" : {
- "type" : "array",
- "description" : "卡模板投放渠道",
- "items" : {
- "$ref" : "#/components/schemas/PubChannelDTO"
- }
- },
- "request_id" : {
- "type" : "string",
- "description" : "请求 ID,商户自定义且需确保每次请求唯一。",
- "example" : "2016072100000000001"
- },
- "shop_ids" : {
- "type" : "array",
- "description" : "会员卡上架球房 id(支付宝球房id),即发放会员卡的商家球房id。不传则保持创建模板时信息。\t注意:不支持删除已有shop_id,仅支持新增。",
- "items" : {
- "type" : "string"
- },
- "example" : "2015122900077000000002409504"
- },
- "spi_app_id" : {
- "type" : "string",
- "description" : "spi_app_id:若使用openspi模式开卡,该字段必填,为实现spi.alipay.user.opencard.get接口的app_id",
- "example" : "2014072300007148"
- },
- "template_benefit_info" : {
- "type" : "array",
- "description" : "权益信息,\r\t1、在卡包的卡详情页面会自动添加权益栏位,展现会员卡特权,\r\t2、如果添加球房渠道,则可在球房页展现会员卡的权益",
- "items" : {
- "$ref" : "#/components/schemas/TemplateBenefitInfoDTO"
- }
- },
- "template_id" : {
- "type" : "string",
- "description" : "会员卡模板id。调用alipay.marketing.card.template.create(会员卡模板创建接口)创建模板后同步返回。",
- "example" : "201607180000001"
- },
- "template_style_info" : {
- "$ref" : "#/components/schemas/TemplateStyleInfoDTO"
- },
- "write_off_type" : {
- "type" : "string",
- "description" : "卡包详情页面中展现出的卡码(可用于扫码核销)\t\t(1) 静态码\tqrcode: 二维码,扫码得商户开卡传入的external_card_no\tbarcode: 条形码,扫码得商户开卡传入的external_card_no\t\t(2) 动态码-支付宝生成码值(动态码会在2分钟左右后过期)\tdqrcode: 动态二维码,扫码得到的码值可配合会员卡查询接口使用\tdbarcode: 动态条形码,扫码得到的码值可配合会员卡查询接口使用\t\t(3) 动态码-商家自主生成码值(码值、时效性都由商户控制)\tmdqrcode: 商户动态二维码,扫码得商户自主传入的码值\tmdbarcode: 商户动态条码,扫码得商户自主传入的码值。\t如需使用商户动态码,请联系支付宝技术支持获取相关文档。",
- "example" : "qrcode"
- }
- }
- },
- "AlipayMarketingCardTemplateModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "template_id" : {
- "type" : "string",
- "description" : "模板ID",
- "example" : "2016071800000000001"
- }
- }
- },
- "AlipayMarketingCardTemplateQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "TEMPLATE_NOT_EXIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardTemplateQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_no_prefix" : {
- "type" : "string",
- "description" : "业务卡号前缀,由商户指定\r\t支付宝业务卡号生成规则:biz_no_prefix(商户指定)卡号前缀 + biz_no_suffix(实时生成)卡号后缀",
- "example" : "prex"
- },
- "biz_no_suffix_len" : {
- "type" : "string",
- "description" : "业务卡号后缀的长度\r\t支付宝业务卡号生成规则:biz_no_prefix(商户指定)卡号前缀 + biz_no_suffix(实时生成)卡号后缀",
- "example" : "10"
- },
- "card_action_list" : {
- "type" : "array",
- "description" : "卡行动点配置;\r\t行动点,即用户可点击跳转的区块,类似按钮控件的交互;\r\t单张卡最多4个行动点。",
- "items" : {
- "$ref" : "#/components/schemas/TemplateActionInfoDTO"
- }
- },
- "card_level_confs" : {
- "type" : "array",
- "description" : "卡等级配置",
- "items" : {
- "$ref" : "#/components/schemas/TemplateCardLevelConfDTO"
- }
- },
- "card_spec_tag" : {
- "type" : "string",
- "description" : "卡特定标签,只供特定业务使用,通常接入无需关注",
- "example" : "NONE"
- },
- "card_type" : {
- "type" : "string",
- "description" : "会员卡类型:\r\tOUT_MEMBER_CARD:外部权益卡",
- "example" : "OUT_MEMBER_CARD"
- },
- "column_info_list" : {
- "type" : "array",
- "description" : "栏位信息(卡包详情页面展现的栏位)",
- "items" : {
- "$ref" : "#/components/schemas/TemplateColumnInfoDTO"
- }
- },
- "field_rule_list" : {
- "type" : "array",
- "description" : "字段规则列表,会员卡开卡过程中,会员卡信息的生成规则,\r\t例如:卡有效期为开卡后两年内有效,则设置为:DATE_IN_FUTURE",
- "items" : {
- "$ref" : "#/components/schemas/TemplateFieldRuleDTO"
- }
- },
- "mdcode_notify_conf" : {
- "$ref" : "#/components/schemas/TemplateMdcodeNotifyConfDTO"
- },
- "open_card_conf" : {
- "$ref" : "#/components/schemas/TemplateOpenCardConfDTO"
- },
- "paid_outer_card_conf" : {
- "$ref" : "#/components/schemas/PaidOuterCardTemplateConfDTO"
- },
- "pub_channels" : {
- "type" : "array",
- "description" : "卡模板投放渠道",
- "items" : {
- "$ref" : "#/components/schemas/PubChannelDTO"
- }
- },
- "service_label_list" : {
- "type" : "array",
- "description" : "服务标签列表",
- "items" : {
- "type" : "string"
- },
- "example" : "Checklater"
- },
- "shop_ids" : {
- "type" : "array",
- "description" : "球房ids",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2015122900077000000002409504\"]"
- },
- "spi_app_id" : {
- "type" : "string",
- "description" : "spi_app_id:若使用openspi模式开卡,该字段为创建模版时,设置的实现spi.alipay.user.opencard.get接口的app_id",
- "example" : "2014072300007148"
- },
- "template_benefit_info" : {
- "type" : "array",
- "description" : "权益信息,\r\t1、在卡包的卡详情页面会自动添加权益栏位,展现会员卡特权,\r\t2、如果添加球房渠道,则可在球房页展现会员卡的权益",
- "items" : {
- "$ref" : "#/components/schemas/TemplateBenefitInfoDTO"
- }
- },
- "template_style_info" : {
- "$ref" : "#/components/schemas/TemplateStyleInfoDTO"
- }
- }
- },
- "AlipayMarketingCardUpdateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_CARD_TYPE", "CARD_NOT_EXIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingCardUpdateModel" : {
- "type" : "object",
- "properties" : {
- "card_info" : {
- "$ref" : "#/components/schemas/MerchantCard"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "扩展信息(暂时无用)",
- "example" : "\"\""
- },
- "mcard_style_info" : {
- "$ref" : "#/components/schemas/McardStylInfo"
- },
- "merchant_card_msg_info" : {
- "$ref" : "#/components/schemas/MerchantCardMsgInfo"
- },
- "notify_messages" : {
- "type" : "array",
- "description" : "注意:此字段已废弃。\t卡信息变更通知消息\t1、在列表中定义的消息,才会发送给用户,消息格式一定。\t2、根据卡信息变更情况,一次可发送多个消息",
- "items" : {
- "$ref" : "#/components/schemas/McardNotifyMessage"
- }
- },
- "occur_time" : {
- "type" : "string",
- "description" : "标识业务发生时间,时间格式为\"yyyy-MM-dd HH:mm:ss\"。",
- "example" : "2020-12-27 12:12:12"
- },
- "paid_outer_card_info" : {
- "$ref" : "#/components/schemas/PaidOuterCardExtraInfoDTO"
- },
- "target_card_no" : {
- "type" : "string",
- "description" : "支付宝业务卡号,即通过<a href=\"https://opendocs.alipay.com/apis/009zw3\">alipay.marketing.card.open</a>(会员卡开卡)接口开卡后获取的 card_info.biz_card_no 值。",
- "example" : "000001"
- },
- "target_card_no_type" : {
- "type" : "string",
- "description" : "卡号ID类型。支持:\tBIZ_CARD:支付宝业务卡号(商家会员卡场景使用)。",
- "example" : "BIZ_CARD"
- }
- }
- },
- "AlipayMarketingCardUpdateResponseModel" : {
- "type" : "object",
- "properties" : {
- "result_code" : {
- "type" : "string",
- "description" : "二级错误处理结果(如果公用返回结果为false,则可以看这个接口判断明细原因)\r\t如果公用返回为true,则该字段为空",
- "example" : "isv.update-usercard-fail"
- }
- }
- },
- "AlipayMarketingMaterialCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "MATERIALSPECID_NOT_EXIST", "INVALID_PARAMETER", "MATERIALSPEC_CHECK_FAILED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingMaterialCreateModel" : {
- "type" : "object",
- "properties" : {
- "material_fields" : {
- "type" : "array",
- "description" : "素材字段列表,素材提报的具体内容,包含三种类型:图片、文本、链接。图片类型,则根据“图片资源上传接口(https://opendocs.alipay.com/pre-open/02bhlj)”中返回的resource_id字段值进行素材字段的设值。文本或链接类型,则按照实际需要设值即可,需满足具体的规范要求。规范要求详情请参见产品文档。",
- "items" : {
- "$ref" : "#/components/schemas/MaterialField"
- }
- },
- "material_name" : {
- "type" : "string",
- "description" : "素材名称,接入方自行生成,建议命名时遵循一定的规律以方便管理。",
- "example" : "测试素材名称"
- },
- "material_spec_id" : {
- "type" : "string",
- "description" : "素材规范ID,用于标识具体场景下的素材规范,根据具体的使用场景获取对应的素材规范ID。",
- "example" : "2019041301000200000077970001"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,用作幂等控制,相同单号会返回上一次的结果,接入方需保证单号唯一。",
- "example" : "21ba1e1c16456985463242192e4d"
- }
- }
- },
- "AlipayMarketingMaterialCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "material_id" : {
- "type" : "string",
- "description" : "素材id",
- "example" : "2019070100903002019700470001"
- }
- }
- },
- "AlipayMarketingMaterialImageUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "FILE_SIZE_OUT_OF_RANGE", "PIC_SUFFIX_ILLEGAL", "FILE_TYPE_ERROR", "MATERIAL_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingMaterialImageUploadModel" : {
- "type" : "object",
- "properties" : {
- "belong_merchant_info" : {
- "$ref" : "#/components/schemas/BelongMerchantInfo"
- },
- "file_key" : {
- "type" : "string",
- "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",
- "example" : "PROMO_VOUCHER_IMAGE"
- },
- "merchant_access_mode" : {
- "type" : "string",
- "description" : "商户接入模式\t\t枚举值\tSELF_MODE 商户自接入模式\tAGENCY_MODE 服务商代接入模式",
- "example" : "SELF_MODE"
- }
- }
- },
- "AlipayMarketingMaterialImageUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "resource_enhance" : {
- "type" : "boolean",
- "description" : "图片是否优化过。系统会根据要求,若上传的图片不符合要求的尺寸,会对上传的图片做尺寸的优化。",
- "example" : "false"
- },
- "resource_id" : {
- "type" : "string",
- "description" : "图片唯一资源ID",
- "example" : "adeDSktiQO-u5vJUqVbcQwAAACMAAQED"
- },
- "resource_url" : {
- "type" : "string",
- "description" : "上传后图片的url地址",
- "example" : "https://mdn.alipayobjects.com/afts/img/A*o-BSQa2Pnq4mIFdCjUnmqAAAARwnAQ/original?bz=promo_merchant"
- }
- }
- },
- "AlipayMarketingRecruitEnrollCloseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingRecruitEnrollCloseModel" : {
- "type" : "object",
- "properties" : {
- "enroll_id" : {
- "type" : "string",
- "description" : "报名ID",
- "example" : "2021042101000200000001330047"
- }
- }
- },
- "AlipayMarketingRecruitEnrollCloseResponseModel" : {
- "type" : "object"
- },
- "AlipayMarketingRecruitEnrollCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingRecruitEnrollCreateModel" : {
- "type" : "object",
- "properties" : {
- "enroll_info" : {
- "$ref" : "#/components/schemas/RecruitEnrollInfo"
- },
- "enroll_scene_type" : {
- "type" : "string",
- "description" : "活动报名场景配置。\t枚举值:\tVOUCHER:券报名场景的报名;\tMINI_APP:小程序报名场景的报名;",
- "example" : "VOUCHER"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部操作流水号。由商家/ISV 自定义,仅支持字母、数字、下划线且需保证每次操作唯一。",
- "example" : "21ba1e1c16456985463242192e4d"
- },
- "plan_id" : {
- "type" : "string",
- "description" : "要报名的招商方案ID",
- "example" : "2021041301000200000077974217"
- }
- }
- },
- "AlipayMarketingRecruitEnrollCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "enroll_id" : {
- "type" : "string",
- "description" : "报名ID",
- "example" : "2021041301000200000077974217"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部操作流水号。由商家/ISV 自定义,仅支持字母、数字、下划线且需保证每次操作唯一。",
- "example" : "21ba1e1c16456985463242192e4d"
- }
- }
- },
- "AlipayMarketingRecruitEnrollQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingRecruitEnrollQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "enroll_id" : {
- "type" : "string",
- "description" : "报名ID",
- "example" : "2021041301000200000000000000"
- },
- "enroll_info" : {
- "$ref" : "#/components/schemas/RecruitEnrollInfo"
- },
- "enroll_scene_type" : {
- "type" : "string",
- "description" : "报名所属的活动报名场景。\t枚举值: VOUCHER:属于券报名场景;\tMINI_APP:属于小程序报名场景;",
- "example" : "VOUCHER"
- },
- "enroll_time" : {
- "type" : "string",
- "description" : "报名时间",
- "example" : "2020-10-10 10:10:10"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注字段",
- "example" : "报名审核不通过"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部操作流水号。由商家/ISV 自定义,仅支持字母、数字、下划线且需保证每次操作唯一。",
- "example" : "21ba1e1c16456985463242192e4d"
- },
- "plan_id" : {
- "type" : "string",
- "description" : "招商方案ID",
- "example" : "2021041301000200000000000000"
- },
- "status" : {
- "type" : "string",
- "description" : "报名状态: AUDITING 审核中; ENABLED 通过 ; REJECTED 不通过 ; CLOSING 下线审核中 ; CLOSED 已下线;",
- "example" : "ENABLED"
- }
- }
- },
- "AlipayMarketingRecruitPlanQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BUSINESS_FAILED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingRecruitPlanQueryModel" : {
- "type" : "object",
- "properties" : {
- "enroll_merchant" : {
- "$ref" : "#/components/schemas/RecruitEnrollMerchant"
- },
- "plan_id" : {
- "type" : "string",
- "description" : "招商方案ID",
- "example" : "2021042001000100000000668277"
- }
- }
- },
- "AlipayMarketingRecruitPlanQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "type" : "string",
- "description" : "招商方案描述:富文本内容,可能包含html标签",
- "example" : "<p><span style=\\\"color:#000000\\\"><span style=\\\"font-size:14px\\\"><span style=\\\"background-color:#ffffff\\\">招商规则说明</span></span></span></p>"
- },
- "enroll_end_time" : {
- "type" : "string",
- "description" : "报名结束时间",
- "example" : "2021-01-01 01:01:01"
- },
- "enroll_rules" : {
- "type" : "array",
- "description" : "招商报名规则。\t说明:\t1. 查询到的规则将用于 alipay.marketing.recruit.enroll.create(招商报名提交)接口。\t2. enroll_rules.required 为 true 时,enroll_rules.type 对应的内容类型在报名提交时必填。",
- "items" : {
- "$ref" : "#/components/schemas/RecruitEnrollRule"
- }
- },
- "enroll_scene_type" : {
- "type" : "string",
- "description" : "招商方案所属报名场景 枚举值: VOUCHER:券报名场景; MINI_APP:小程序报名场景;",
- "example" : "VOUCHER"
- },
- "enroll_start_time" : {
- "type" : "string",
- "description" : "报名开始时间",
- "example" : "2021-01-01 01:01:01"
- },
- "logo" : {
- "type" : "string",
- "description" : "方案头图链接,150x150 以上尺寸的方形图片",
- "example" : "https://xxxx"
- },
- "plan_id" : {
- "type" : "string",
- "description" : "招商方案ID",
- "example" : "2021042001000100000000668277"
- },
- "plan_name" : {
- "type" : "string",
- "description" : "招商方案名称",
- "example" : "招商方案名称"
- },
- "status" : {
- "type" : "string",
- "description" : "方案状态: 不可用:DISABLED;可用:ENABLED",
- "example" : "ENABLED"
- }
- }
- },
- "AlipayMarketingRecruitPlanlistQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BUSINESS_FAILED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingRecruitPlanlistQueryModel" : {
- "type" : "object",
- "properties" : {
- "enroll_merchant" : {
- "$ref" : "#/components/schemas/RecruitEnrollMerchant"
- },
- "enroll_scene_type" : {
- "type" : "string",
- "description" : "活动报名场景配置。 \t枚举值:\tVOUCHER:券报名场景查询;\tMINI_APP:小程序报名场景查询;\tVOUCHER,MINI_APP:同时进行券报名场景和小程序报名场景的查询;",
- "example" : "VOUCHER"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "第几页,默认1(需要在1和999之间)",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页记录条数,默认20,需要在1和100之间",
- "example" : "20"
- }
- }
- },
- "AlipayMarketingRecruitPlanlistQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "array",
- "description" : "方案列表",
- "items" : {
- "$ref" : "#/components/schemas/RecruitPlanLight"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "第几页,默认1(从1开始计数)",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页记录条数,默认20",
- "example" : "20"
- },
- "total" : {
- "type" : "integer",
- "description" : "总数",
- "example" : "15"
- }
- }
- },
- "AlipayMarketingXuanyitestTransferErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMarketingXuanyitestTransferModel" : {
- "type" : "object",
- "properties" : {
- "test" : {
- "type" : "array",
- "description" : "测试的基础描述",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"11\",\"12\"]"
- },
- "test_21" : {
- "type" : "array",
- "description" : "测试复杂类型描述",
- "items" : {
- "$ref" : "#/components/schemas/Marketingtest"
- }
- },
- "test_22" : {
- "$ref" : "#/components/schemas/Marketingtestt"
- }
- }
- },
- "AlipayMarketingXuanyitestTransferResponseModel" : {
- "type" : "object",
- "properties" : {
- "test" : {
- "type" : "array",
- "description" : "12",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"11\",\"12\"]"
- },
- "test_21" : {
- "type" : "array",
- "description" : "测试复杂类型描述",
- "items" : {
- "$ref" : "#/components/schemas/Marketingtest"
- }
- }
- }
- },
- "AlipayMerchantAnchorInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_ACCESS_TO_MESSAGE", "APPID_NOT_AUTHENTICATION", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantAnchorInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "anchor_id" : {
- "type" : "string",
- "description" : "主播ID+唯一+天猫好房带货+根据uid获取",
- "example" : "2242419387"
- }
- }
- },
- "AlipayMerchantImageUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "IMAGE_SIZE_OVERRANGE", "PARAM_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantImageUploadModel" : {
- "type" : "object",
- "properties" : {
- "image_type" : {
- "type" : "string",
- "description" : "图片格式,支持格式:jpg、jpeg、png",
- "example" : "jpg"
- }
- }
- },
- "AlipayMerchantImageUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "image_id" : {
- "type" : "string",
- "description" : "图片在文件存储平台的标识",
- "example" : "ySYHS5CtTCmag14Wk8jeNAAAACMAAQED"
- }
- }
- },
- "AlipayMerchantIndirectAuthorderCloseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_PARAMETER", "AUTH_ORDER_NOT_EXIST", "DEPEND_FAILURE", "AUTH_ORDER_CANCEL_ILLEGAL", "AUTH_ORDER_CANCEL_FAILED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantIndirectAuthorderCloseModel" : {
- "type" : "object",
- "properties" : {
- "order_no" : {
- "type" : "string",
- "description" : "意愿申请单号,参数二选一",
- "example" : "20220000666660001"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,参数二选一,业务自定义,保证唯一",
- "example" : "0000001"
- }
- }
- },
- "AlipayMerchantIndirectAuthorderCloseResponseModel" : {
- "type" : "object"
- },
- "AlipayMerchantIndirectAuthorderCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantIndirectAuthorderCreateModel" : {
- "type" : "object",
- "properties" : {
- "auth_identity_info" : {
- "$ref" : "#/components/schemas/AuthIdentityInfo"
- },
- "benefit_person_info" : {
- "$ref" : "#/components/schemas/IndirectBenefitPersonInfo"
- },
- "contact_person_info" : {
- "$ref" : "#/components/schemas/IndirectContactPersonInfo"
- },
- "extra_credentials" : {
- "$ref" : "#/components/schemas/IndirectExtraCredentials"
- },
- "legal_person_info" : {
- "$ref" : "#/components/schemas/IndirectLegalPersonInfo"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号",
- "example" : "00000001"
- },
- "source" : {
- "type" : "string",
- "description" : "1. 收单机构调用API提交申请单时,可选择是否指定单个服务商范围。非收单机构无需填写此字段。\t2. 此字段填写单个服务商pid信息:填写(即:单服务商提交认证方式),查询申请单返回的认证二维码qr_code和填写服务商对应,仅能认证填写服务商下的商户;不填写(即:全服务商提交认证方式),查询申请单返回的认证二维码qr_code和收单机构对应,可认证收单机构下全部商户。",
- "example" : "2088000000000001"
- }
- }
- },
- "AlipayMerchantIndirectAuthorderCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_no" : {
- "type" : "string",
- "description" : "申请单号",
- "example" : "20001101"
- },
- "order_status" : {
- "type" : "string",
- "description" : "意愿申请单状态,枚举值:审核中(AUDITING)、待联系人确认(CONTACT_CONFIRM),待法人确认(LEGAL_CONFIRM)、审核通过(AUDIT_PASS)、审核失败(AUDIT_REJECT)、已冻结(AUDIT_FREEZE)、已撤回(CANCELED)、联系人处理中(CONTACT_PROCESSING)",
- "example" : "AUDITING"
- }
- }
- },
- "AlipayMerchantIndirectAuthorderQuerystatusErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_PARAMETER", "AUTH_ORDER_NOT_EXIST", "DEPEND_FAILURE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantIndirectAuthorderQuerystatusModel" : {
- "type" : "object",
- "properties" : {
- "order_no" : {
- "type" : "string",
- "description" : "商家认证申请单号,参数二选一",
- "example" : "20220000666660001"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,参数二选一,业务自定义,保证唯一",
- "example" : "0000001"
- },
- "source" : {
- "type" : "string",
- "description" : "1. 收单机构调用API提交申请单时,可选择是否指定单个服务商范围。非收单机构无需填写此字段。\t2. 此字段填写单个服务商pid信息:填写(即:单服务商提交认证方式),查询申请单返回的认证二维码qr_code和填写服务商对应,仅能认证填写服务商下的商户;不填写(即:全服务商提交认证方式),查询申请单返回的认证二维码qr_code和收单机构对应,可认证收单机构下全部商户。",
- "example" : "2088000000000001"
- }
- }
- },
- "AlipayMerchantIndirectAuthorderQuerystatusResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_no" : {
- "type" : "string",
- "description" : "商家认证申请单号",
- "example" : "20220000666660001"
- },
- "order_status" : {
- "type" : "string",
- "description" : "商家认证申请单状态,枚举值:审核中(AUDITING)、待联系人确认(CONTACT_CONFIRM),待法人确认(LEGAL_CONFIRM)、审核通过(AUDIT_PASS)、审核失败(AUDIT_REJECT)、已冻结(AUDIT_FREEZE)、已撤回(CANCELED)、联系人处理中(CONTACT_PROCESSING)",
- "example" : "AUDITING"
- },
- "qr_code" : {
- "type" : "string",
- "description" : "商家认证小程序二维码图片链接,申请单状态处于审核通过、待联系人确认、待法人确认、已冻结、审核失败时返回,商户使用支付宝APP扫码后完成后续确认、修改信息等动作。\t此字段是平台生成并返回的二维码码值,通过浏览器访问即可获得一个二维码的图片。服务商在推广过程中,可引导商家使用支付宝APP扫描此二维码,进入认证申请单页面,完成认证申请的后续确认操作。",
- "example" : "https://qrcode.alipay.com/token/test"
- },
- "verify_list" : {
- "type" : "array",
- "description" : "申请单审核失败时的原因描述列表",
- "items" : {
- "$ref" : "#/components/schemas/IndirectAuthOrderFailedReason"
- }
- }
- }
- },
- "AlipayMerchantIndirectSmidbindQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_PARAMETER", "DEPEND_FAILURE", "SMID_QUERY_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantIndirectSmidbindQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "check_result" : {
- "type" : "string",
- "description" : "确认状态,枚举:已确认(AUTHORIZED)/未确认(UNAUTHORIZED)/已销户(CLOSED)/smid不存在(SMID_NOT_EXIST)",
- "example" : "AUTHORIZED"
- }
- }
- },
- "AlipayMerchantIotDeviceBindErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "DEVICE_NOT_EXIST", "TRADE_NOT_EXIST", "MERCHANT_ID_UNMATCHED", "SMID_UNMATCHED", "SHOP_ID_UNMATCHED", "BIND_FAIL", "OPERATION_PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantIotDeviceBindModel" : {
- "type" : "object",
- "properties" : {
- "biz_tid" : {
- "type" : "string",
- "description" : "设备 ID ,仅device_id_type 为 ID 时填写。",
- "example" : "01017gV1CZ1XxASNbqkTJqchletNyVXtsKy1PAs4FKZ6tjRMqyMG2Zk"
- },
- "device_id_type" : {
- "type" : "string",
- "description" : "可选方式。枚举支持:\t* ID:表示使用 biztid 作为设备唯一识别标识,\t* SN:表示使用 supplier_id、device_sn联合作为设备唯一识别标识。\t注意:由于不同机型的supplier_id不同,推荐使用 ID 。",
- "example" : "SN"
- },
- "device_sn" : {
- "type" : "string",
- "description" : "设备序列号 ,device_id_type 为 SN 时填写。需配合supplier_id使用。",
- "example" : "QCF420190316000107"
- },
- "merchant_type" : {
- "type" : "string",
- "description" : "商户类型。枚举支持:\t* direct:直连商户;\t* indirect:间连商户。",
- "example" : "indirect"
- },
- "pid" : {
- "type" : "string",
- "description" : "直连场景填写商户收单pid。间连场景填写smid绑定的pid(可通过代运营授权API获取)。",
- "example" : "2088101112139885"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "商户pid名下的球房 ID。可通过球房管理API获取,需注意请勿使用smid创建球房 ID。",
- "example" : "2020081700502012300038796029"
- },
- "smid" : {
- "type" : "string",
- "description" : "直连场景不填,间连场景填写商户收单smid",
- "example" : "2088101112139886"
- },
- "supplier_id" : {
- "type" : "string",
- "description" : "设备供应商ID ,device_id_type 为 SN 时填写。需注意不同机型的供应商ID可能不同。",
- "example" : "201812271300540049"
- }
- }
- },
- "AlipayMerchantIotDeviceBindResponseModel" : {
- "type" : "object"
- },
- "AlipayMerchantIotDeviceQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "DEVICE_NOT_EXIST", "ACCESS_DENIED", "RECORD_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantIotDeviceQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "merchant_type" : {
- "type" : "string",
- "description" : "商户类型。direct表示直连商户,indirect表示间连商户。",
- "example" : "indirect"
- },
- "pid" : {
- "type" : "string",
- "description" : "设备绑定的商户支付宝pid。直连场景为商户收单pid,间连场景为商户smid绑定的pid。",
- "example" : "2088101112139885"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "设备绑定的球房ID。",
- "example" : "2020081700502012300038796029"
- },
- "smid" : {
- "type" : "string",
- "description" : "商户smid。直连场景为空。",
- "example" : "2088101112139886"
- }
- }
- },
- "AlipayMerchantIotDeviceVerifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "DEVICE_NOT_EXIST", "TRADE_NOT_EXIST", "MERCHANT_ID_UNMATCHED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantIotDeviceVerifyModel" : {
- "type" : "object",
- "properties" : {
- "biz_tid" : {
- "type" : "string",
- "description" : "设备 ID ,device_id_type 为 ID 时填写。",
- "example" : "01017gV1CZ1XxASNbqkTJqchletNyVXtsKy1PAs4FKZ6tjRMqyMG2Zk"
- },
- "device_id_type" : {
- "type" : "string",
- "description" : "可选方式 [ID,SN]。ID-使用biztid作为设备唯一识别标识;SN-使用supplier_id、device_sn联合作为设备唯一识别标识。由于不同机型的supplier_id不同,推荐使用 ID 。",
- "example" : "SN"
- },
- "device_sn" : {
- "type" : "string",
- "description" : "设备序列号 ,device_id_type 为 SN 时填写。需配合supplier_id使用。",
- "example" : "QCF420190316000107"
- },
- "merchant_type" : {
- "type" : "string",
- "description" : "商户类型,直连商户填写direct,间连商户填写indirect",
- "example" : "indirect"
- },
- "pid" : {
- "type" : "string",
- "description" : "直连场景填写商户收单pid,间连场景不填",
- "example" : "2088101112139885"
- },
- "smid" : {
- "type" : "string",
- "description" : "直连场景不填,间连场景填写商户收单smid",
- "example" : "2088101112139886"
- },
- "supplier_id" : {
- "type" : "string",
- "description" : "设备供应商ID ,device_id_type 为 SN 时填写。需注意不同机型的供应商ID可能不同。",
- "example" : "201812271300540049"
- }
- }
- },
- "AlipayMerchantIotDeviceVerifyResponseModel" : {
- "type" : "object"
- },
- "AlipayMerchantItemFileUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "INFO_SEC_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantItemFileUploadModel" : {
- "type" : "object",
- "properties" : {
- "scene" : {
- "type" : "string",
- "description" : "业务场景描述。\t小程序订单中心场景固定为 SYNC_ORDER。",
- "example" : "SYNC_ORDER"
- }
- }
- },
- "AlipayMerchantItemFileUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "material_id" : {
- "type" : "string",
- "description" : "文件在商品中心的素材标识(素材ID长期有效)",
- "example" : "2019010100502200000000000001"
- },
- "material_key" : {
- "type" : "string",
- "description" : "文件在商品中心的素材标示,创建/更新商品时使用",
- "example" : "A*bJXMRYFoBcIAAAGGGGAAAABjAQWWWW"
- }
- }
- },
- "AlipayMerchantLiveChannelQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantLiveChannelQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "channel_content" : {
- "type" : "string",
- "description" : "渠道内容,包含主播、文章的上游信息。字符串内容为Map,需要转换",
- "example" : "{}"
- },
- "channel_identity" : {
- "type" : "string",
- "description" : "渠道业务标识",
- "example" : "A202212020736054901000799_2292541656"
- },
- "channel_secret" : {
- "type" : "string",
- "description" : "渠道密文",
- "example" : "b07d6694341b69c406522d3ff28d9807"
- },
- "channel_type" : {
- "type" : "string",
- "description" : "渠道类型",
- "example" : "LIVE_POCKET"
- }
- }
- },
- "AlipayMerchantLiveItemplanModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantLiveItemplanModifyModel" : {
- "type" : "object",
- "properties" : {
- "content" : {
- "type" : "array",
- "description" : "投放内容,数组,内容为具体条目",
- "items" : {
- "$ref" : "#/components/schemas/ItemPlanContentDO"
- }
- },
- "end_time" : {
- "type" : "string",
- "description" : "可空,计划截止时间",
- "example" : "2022-01-01 00:00:01"
- },
- "op_type" : {
- "type" : "string",
- "description" : "针对投放内容的操作, 包含3种类型:\t覆盖:OVERRIDE \t追加:APPEND \t删除:DELETE",
- "example" : "APPEND"
- },
- "operator_appid" : {
- "type" : "string",
- "description" : "投放方标识,一般为小程序id",
- "example" : "2021003126612033"
- },
- "operator_type" : {
- "type" : "string",
- "description" : "投放方类型,生活号:LIFE_APP 达人:CONTENT_USER 小程序:TINYAPP",
- "example" : "TINYAPP"
- },
- "plan_name" : {
- "type" : "string",
- "description" : "投放计划名,可空",
- "example" : "测试计划"
- },
- "start_time" : {
- "type" : "string",
- "description" : "可空,计划生效时间",
- "example" : "2022-01-01 00:00:01"
- },
- "status" : {
- "type" : "integer",
- "description" : "计划状态 0待生效 1生效中 -1已作废",
- "example" : "1"
- },
- "target_id" : {
- "type" : "string",
- "description" : "投放目标,一般为生活号id,多个逗号隔开",
- "example" : "2021003126612050"
- },
- "target_range" : {
- "type" : "string",
- "description" : "投放范围, 指主体内的具体子渠道,为空则任意子渠道",
- "example" : "空"
- },
- "target_type" : {
- "type" : "string",
- "description" : "投放目标类型\t生活号:LIFE_APP \t达人:CONTENT_USER \t小程序:TINYAPP",
- "example" : "PUBLICAPP"
- }
- }
- },
- "AlipayMerchantLiveItemplanModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "msg_info" : {
- "type" : "string",
- "description" : "针对操作结果的说明",
- "example" : "成功"
- }
- }
- },
- "AlipayMerchantOrderSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantOrderSyncModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "订单金额,单位为【元】。SERVICE_ORDER且不涉及金额可不传入该字段,其他场景必传",
- "example" : "12.34"
- },
- "buyer_id" : {
- "type" : "string",
- "description" : "买家userId",
- "example" : "2088102165400195"
- },
- "buyer_info" : {
- "$ref" : "#/components/schemas/UserInfomation"
- },
- "buyer_open_id" : {
- "type" : "string",
- "description" : "OpenId是用户(buyer_id)在应用(AppId)下的唯一用户标识.",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "category_id" : {
- "type" : "string",
- "description" : "标准服务类目",
- "example" : "C000003191"
- },
- "discount_amount" : {
- "type" : "string",
- "description" : "优惠金额,单位为【元】",
- "example" : "2.44"
- },
- "discount_info_list" : {
- "type" : "array",
- "description" : "订单优惠信息",
- "items" : {
- "$ref" : "#/components/schemas/DiscountInfoData"
- }
- },
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息,请参见 <a href=\"https://opendocs.alipay.com/mini/introduce/ordercenter\">小程序订单中心</a>;<a href=\"https://opendocs.alipay.com/mini/00nnt3\">扫码点餐</a>产品文档。",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "item_order_list" : {
- "type" : "array",
- "description" : "商品信息列表",
- "items" : {
- "$ref" : "#/components/schemas/ItemOrderInfo"
- }
- },
- "journey_order_list" : {
- "type" : "array",
- "description" : "行程信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderJourneyInfo"
- }
- },
- "logistics_info_list" : {
- "type" : "array",
- "description" : "物流信息\r\t列表最多支持物流信息个数,请参考产品文档\r\t注:若该值不为空,且物流信息同步至我的快递,则在查询订单时可返回具体物流信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderLogisticsInformationRequest"
- }
- },
- "order_auth_code" : {
- "type" : "string",
- "description" : "本字段已废弃,无需填写!",
- "example" : "DFSDLIGWGDF5SDLFA"
- },
- "order_create_time" : {
- "type" : "string",
- "description" : "订单创建时间\t当order_type为SERVICE_ORDER时必传",
- "example" : "2020-01-01 08:00:00"
- },
- "order_modified_time" : {
- "type" : "string",
- "description" : "订单修改时间。用于订单状态或数据变化较快的顺序控制,SERVICE_ORDER按照行业标准化接入场景必须传入该字段控制乱序。order_modified_time较晚的同步会被最终存储,order_modified_time相同的两次同步会被幂等处理",
- "example" : "2020-01-01 08:00:01.123"
- },
- "order_pay_time" : {
- "type" : "string",
- "description" : "订单支付时间\t当pay_channel为非ALIPAY时,且订单状态已流转到“支付”或支付后时,需要将支付时间传入",
- "example" : "2020-01-02 08:00:00"
- },
- "order_type" : {
- "type" : "string",
- "description" : "订单类型,新接入商户统一传入SERVICE_ORDER(服务订单)",
- "example" : "SERVICE_ORDER"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部订单号\tout_biz_no唯一对应一笔订单,相同的订单需传入相同的out_biz_no",
- "example" : "1234"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "交易对应的签约商户userId\t注意:该字段自2020-02-16日起,可以不传入",
- "example" : "2088301176313427"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "支付金额,单位为【元】,需要实际支付的金额。SERVICE_ORDER且不涉及金额可不传入该字段,其他场景必传",
- "example" : "9.90"
- },
- "pay_timeout_express" : {
- "type" : "string",
- "description" : "支付超时时间,超过时间支付宝自行关闭订单",
- "example" : "15h"
- },
- "record_id" : {
- "type" : "string",
- "description" : "商户订单同步记录id",
- "example" : "2019103000502300270200000001268074"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "卖家userId\t注意:该字段自2020-02-16日起,可以不传入",
- "example" : "2088301176313427"
- },
- "send_msg" : {
- "type" : "string",
- "description" : "是否需要小程序订单代理发送模版消息,Y代表需要发送,N代表不需要发送,不传默认不发送",
- "example" : "Y"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务code:传入小程序后台提报的服务id,将订单与服务关联,有利于提高服务曝光机会;入参服务id的类目须与订单类型相符,若不相符将会报错;如订单类型为“外卖”,则入参的服务ID所对应的服务类目也必须得是”外卖“;service_code 通过 alipay.open.app.service.apply,(服务提报申请)接口创建服务后获取。",
- "example" : "2018072411000000099497"
- },
- "shop_info" : {
- "$ref" : "#/components/schemas/OrderShopInfo"
- },
- "source_app" : {
- "type" : "string",
- "description" : "用于区分用户下单的订单来源,如\tAlipay-支付宝端内(默认)\tDingTalk-钉钉小程序",
- "example" : "Alipay"
- },
- "sync_content" : {
- "type" : "string",
- "description" : "同步内容\t-JOURNEY_ONLY 仅行程信息\t-ALL 全部(默认)",
- "example" : "JOURNEY_ONLY"
- },
- "ticket_info" : {
- "$ref" : "#/components/schemas/TicketInfo"
- },
- "ticket_order_list" : {
- "type" : "array",
- "description" : "凭证信息",
- "items" : {
- "$ref" : "#/components/schemas/TicketOrderInfo"
- }
- },
- "trade_no" : {
- "type" : "string",
- "description" : "订单所对应的支付宝交易号",
- "example" : "2019052322001400191000023731"
- },
- "trade_type" : {
- "type" : "string",
- "description" : "交易号类型\t1. TRADE-交易,为空默认为TRADE\t2. TRANSFER-转账\t3. ENTRUST-受托",
- "example" : "TRADE"
- }
- }
- },
- "AlipayMerchantOrderSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "distribute_result" : {
- "type" : "array",
- "description" : "分发结果\t若未分发到场景侧,则会返回具体的未分发原因",
- "items" : {
- "$ref" : "#/components/schemas/OrderDataDistributeInfo"
- }
- },
- "order_id" : {
- "type" : "string",
- "description" : "支付宝订单号",
- "example" : "2019052300502300190500000000102188"
- },
- "order_status" : {
- "type" : "string",
- "description" : "订单状态",
- "example" : "PAID"
- },
- "record_id" : {
- "type" : "string",
- "description" : "同步订单记录id\t(自2022年5月19日起,新接入商户,除点餐场景,该字段不再返回)",
- "example" : "2019103000502300270200000001268074"
- },
- "sync_suggestions" : {
- "type" : "array",
- "description" : "订单同步优化建议,供开发者参考",
- "items" : {
- "$ref" : "#/components/schemas/OrderDataSyncSuggestion"
- }
- }
- }
- },
- "AlipayMerchantTradecomplainBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "AUTHORITY_ILLEGAL", "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantTradecomplainBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "begin_time" : {
- "type" : "string",
- "description" : "查询开始时间\t时间格式:yyyy-MM-dd HH:mm:ss\t若不填写,则默认当前时间30天前。\t注意:begin_time和end_time时间跨度最大一年",
- "example" : "\"2020-02-14 14:23:12\""
- },
- "end_time" : {
- "type" : "string",
- "description" : "查询结束时间\t时间格式:yyyy-MM-dd HH:mm:ss\t若不填写,则默认当前时间。\t注意:begin_time和end_time时间跨度最大一年",
- "example" : "\"2020-02-14 14:23:12\""
- },
- "page_num" : {
- "type" : "integer",
- "description" : "当前页,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页条数,默认10条,最多支持20条",
- "example" : "10"
- },
- "status" : {
- "type" : "string",
- "description" : "状态如下\t待处理:MERCHANT_PROCESSING \t已处理:MERCHANT_FEEDBACKED \t投诉完结:FINISHED \t投诉关闭:CANCELLED \t客服处理中:PLATFORM_PROCESSING \t客服处理完结:PLATFORM_FINISH \t投诉关闭:CLOSED",
- "example" : "MERCHANT_PROCESSING"
- },
- "target_infos" : {
- "type" : "array",
- "description" : "应用信息",
- "items" : {
- "$ref" : "#/components/schemas/TargetInfo"
- }
- }
- }
- },
- "AlipayMerchantTradecomplainBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "当前页码数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页记录数",
- "example" : "10"
- },
- "total_num" : {
- "type" : "integer",
- "description" : "总条数",
- "example" : "55"
- },
- "total_page_num" : {
- "type" : "integer",
- "description" : "总页码数",
- "example" : "5"
- },
- "trade_complain_infos" : {
- "type" : "array",
- "description" : "交易纠纷工单列表信息",
- "items" : {
- "$ref" : "#/components/schemas/TradeComplainQueryResponse"
- }
- }
- }
- },
- "AlipayMerchantTradecomplainFeedbackSubmitErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "SUBMIT_CONTENT_VIOLATION", "AUTHORITY_ILLEGAL", "PARAM_ILLEGAL", "REFUND_FEEDBACK_FAILED", "STATUS_CHANGED", "WAITING_REFUND", "REFUND_ALREADY_SUCCEED", "SECURITY_INTERCEPT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantTradecomplainFeedbackSubmitModel" : {
- "type" : "object",
- "properties" : {
- "complain_event_id" : {
- "type" : "string",
- "description" : "支付宝侧投诉单号",
- "example" : "2020092300102000000001459758"
- },
- "feedback_code" : {
- "type" : "string",
- "description" : "反馈类目ID\t00:使用体验保障金退款;\t02:通过其他方式退款;\t03:已发货;\t04:其他;\t05:已完成售后服务;\t06:非我方责任范围;",
- "example" : "02"
- },
- "feedback_content" : {
- "type" : "string",
- "description" : "反馈内容,字数不超过200个字",
- "example" : "钱已退款给您,请查收"
- },
- "feedback_images" : {
- "type" : "string",
- "description" : "商家处理投诉时反馈凭证的图片id,多个逗号隔开(图片id可以通过\"商户上传处理图片\"接口获取)",
- "example" : "wAe1XmjGS8mBSV0FFklAUgAAACMAAQED,A*C5jFT7v7SIMAAAAAAAAAAAAADpp1AQ"
- },
- "operator" : {
- "type" : "string",
- "description" : "处理投诉人,字数不超过6个字",
- "example" : "王芳"
- }
- }
- },
- "AlipayMerchantTradecomplainFeedbackSubmitResponseModel" : {
- "type" : "object"
- },
- "AlipayMerchantTradecomplainQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "AUTHORITY_ILLEGAL", "PARAM_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantTradecomplainQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "complain_event_id" : {
- "type" : "string",
- "description" : "支付宝侧投诉单号",
- "example" : "2020092300102000000001459758"
- },
- "complain_reason" : {
- "type" : "string",
- "description" : "用户投诉原因",
- "example" : "重复扣款"
- },
- "content" : {
- "type" : "string",
- "description" : "用户投诉内容",
- "example" : "已经扣除了我的钱,为什么再次扣款???"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "投诉单创建时间",
- "example" : "2020-02-14 14:23:12"
- },
- "gmt_finished" : {
- "type" : "string",
- "description" : "投诉单完结时间",
- "example" : "2020-02-14 14:23:12"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "投诉单修改时间",
- "example" : "2020-02-14 14:23:12"
- },
- "images" : {
- "type" : "array",
- "description" : "投诉图片",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"http://mdn.alipay.com/wsdk/img?fileid=A*ME4GQq2j-5oAAAAAAAAAAAAAAQAAAQ&t=83fed12ef006ebcd8df04dfe79faad6c&bi=openpunsh&ts=0&zoom=original\"]"
- },
- "leaf_category_name" : {
- "type" : "string",
- "description" : "用户投诉诉求",
- "example" : "我要退款"
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "商家订单号",
- "example" : "tp1234567899"
- },
- "phone_no" : {
- "type" : "string",
- "description" : "投诉人电话号码",
- "example" : "13656767876"
- },
- "reply_detail_infos" : {
- "type" : "array",
- "description" : "用户与商家之间的协商记录",
- "items" : {
- "$ref" : "#/components/schemas/ReplyRecordResponse"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "状态 \t待处理:MERCHANT_PROCESSING \t已处理:MERCHANT_FEEDBACKED \t投诉完结:FINISHED \t投诉关闭:CANCELLED \t客服处理中:PLATFORM_PROCESSING \t客服处理完结:PLATFORM_FINISH \t投诉关闭:CLOSED",
- "example" : "MERCHANT_PROCESSING"
- },
- "target_id" : {
- "type" : "string",
- "description" : "应用id,例如小程序id、生活号id、商家pid",
- "example" : "2018001307627807"
- },
- "target_type" : {
- "type" : "string",
- "description" : "应用类型 例如小程序:APPID 生活号:PUBLICID 商家账户:PID",
- "example" : "APPID"
- },
- "trade_amount" : {
- "type" : "string",
- "description" : "交易金额,单位元",
- "example" : "0.04"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2020092322001448341410785740"
- }
- }
- },
- "AlipayMerchantTradecomplainReplySubmitErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "WAITING_REFUND", "PARAM_ILLEGAL", "AUTHORITY_ILLEGAL", "SYSTEM_ERROR", "STATUS_CHANGED", "SUBMIT_CONTENT_VIOLATION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantTradecomplainReplySubmitModel" : {
- "type" : "object",
- "properties" : {
- "complain_event_id" : {
- "type" : "string",
- "description" : "支付宝侧投诉单号",
- "example" : "2022032200102000000001459758"
- },
- "reply_content" : {
- "type" : "string",
- "description" : "回复留言内容",
- "example" : "你好,已发货,快递单号:*****"
- },
- "reply_images" : {
- "type" : "string",
- "description" : "商家处理问题反馈时的回复凭证的图片id,多个逗号隔开(图片id可以通过\"商户上传处理图片\"接口获取)",
- "example" : "ySYHS5CtTCmag14Wk8jeNAAAACMAAQEW,ySYHS5CtTCmag14Wk8jeNAAAACMAAQAX"
- }
- }
- },
- "AlipayMerchantTradecomplainReplySubmitResponseModel" : {
- "type" : "object"
- },
- "AlipayMerchantTradecomplainSupplementSubmitErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "WAITING_REFUND", "PARAM_ILLEGAL", "AUTHORITY_ILLEGAL", "SYSTEM_ERROR", "STATUS_CHANGED", "SUBMIT_CONTENT_VIOLATION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMerchantTradecomplainSupplementSubmitModel" : {
- "type" : "object",
- "properties" : {
- "complain_event_id" : {
- "type" : "string",
- "description" : "支付宝侧投诉单号",
- "example" : "2020092300102000000001459758"
- },
- "supplement_content" : {
- "type" : "string",
- "description" : "回复内容,最多不超过200个字",
- "example" : "已发货,快递单号详见截图"
- },
- "supplement_images" : {
- "type" : "string",
- "description" : "商家补充凭证时的图片id,多个逗号隔开(图片id可以通过\"商户上传处理图片\"接口获取)",
- "example" : "ySYHS5CtTCmag14Wk8jeNAAAACMAAQEW,ySYHS5CtTCmag14Wk8jeNAAAACMAAQAX"
- }
- }
- },
- "AlipayMerchantTradecomplainSupplementSubmitResponseModel" : {
- "type" : "object"
- },
- "AlipayMobilePublicFollowListErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicFollowListResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "integer",
- "description" : "返回结果码,如200,标识成功",
- "example" : "200"
- },
- "count" : {
- "type" : "string",
- "description" : "当前组的值",
- "example" : "10000"
- },
- "data" : {
- "$ref" : "#/components/schemas/Data"
- },
- "next_alipay_user_id" : {
- "type" : "string",
- "description" : "与nextUserId对应,标准Alipay UserId",
- "example" : "2088102146158132"
- },
- "next_user_id" : {
- "type" : "string",
- "description" : "查询分组的userid",
- "example" : "2088102123322367"
- }
- }
- },
- "AlipayMobilePublicInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_name" : {
- "type" : "string",
- "description" : "服务窗名称",
- "example" : "服务窗2015082953269057"
- },
- "audit_desc" : {
- "type" : "string",
- "description" : "服务窗审核状态描述,如果审核驳回则有相关的驳回理由",
- "example" : "logo图片不符合规范"
- },
- "audit_status" : {
- "type" : "string",
- "description" : "服务窗审核状态,对于系统商而言,只有三个状态,AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过",
- "example" : "AUDITING"
- },
- "is_online" : {
- "type" : "string",
- "description" : "服务窗是否上线,T表示上线,F表示未上线",
- "example" : "T"
- },
- "is_release" : {
- "type" : "string",
- "description" : "服务窗是否上架,T表示上架,上架即可在支付宝客户端被搜索到,F表示未上架",
- "example" : "F"
- },
- "logo_url" : {
- "type" : "string",
- "description" : "服务窗头像地址",
- "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
- },
- "public_greeting" : {
- "type" : "string",
- "description" : "服务窗欢迎语",
- "example" : "欢迎光临"
- }
- }
- },
- "AlipayMobilePublicMenuAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicMenuAddModel" : {
- "type" : "object",
- "properties" : {
- "biz_content" : {
- "type" : "string",
- "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>",
- "example" : "{\"button\": [{\"actionParam\": \"D\", \"actionType\": \"out\", \"name\": \"账户\"}]}"
- }
- }
- },
- "AlipayMobilePublicMenuAddResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "结果码",
- "example" : "200"
- },
- "msg" : {
- "type" : "string",
- "description" : "成功",
- "example" : "success"
- }
- }
- },
- "AlipayMobilePublicMenuGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicMenuGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "success",
- "example" : "200"
- },
- "menu_content" : {
- "type" : "string",
- "description" : "菜单内容",
- "example" : "{\"button\":[{\"actionParam\":\"menu_v01_pay\",\"actionType\":\"in\",\"name\":\"支付\"}"
- },
- "msg" : {
- "type" : "string",
- "description" : "成功",
- "example" : "成功"
- }
- }
- },
- "AlipayMobilePublicMenuUpdateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicMenuUpdateModel" : {
- "type" : "object",
- "properties" : {
- "biz_content" : {
- "type" : "string",
- "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>",
- "example" : "{\"button\": [{\"actionParam\": \"D\", \"actionType\": \"out\", \"name\": \"账户\"}]}"
- }
- }
- },
- "AlipayMobilePublicMenuUpdateResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "结果码",
- "example" : "200"
- },
- "msg" : {
- "type" : "string",
- "description" : "成功",
- "example" : "success"
- }
- }
- },
- "AlipayMobilePublicMessageCustomSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicMessageCustomSendModel" : {
- "type" : "object",
- "properties" : {
- "biz_content" : {
- "type" : "string",
- "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>",
- "example" : "{\"msgType\":\"text\",\"text\":{\"content\":\"你好。\"},\"toUserId\":\"2088302216448608\",\"eventType\":\"follow\"}"
- }
- }
- },
- "AlipayMobilePublicMessageCustomSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "结果码",
- "example" : "200"
- },
- "msg" : {
- "type" : "string",
- "description" : "结果描述",
- "example" : "成功"
- }
- }
- },
- "AlipayMobilePublicMessageSingleSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "OPENID_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicMessageSingleSendModel" : {
- "type" : "object",
- "properties" : {
- "biz_content" : {
- "type" : "string",
- "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>",
- "example" : "{\"toUserId\":\"208876427\",\"template\":{\"context\":{\"amount\":\"20元\",\"cardNo\":\"1855\"},\"templateId\":\"1ff2840464c4463187f5451119de8fea\"}}"
- }
- }
- },
- "AlipayMobilePublicMessageSingleSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "结果码",
- "example" : "200"
- },
- "msg" : {
- "type" : "string",
- "description" : "结果描述",
- "example" : "成功"
- }
- }
- },
- "AlipayMobilePublicMessageTotalSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicMessageTotalSendModel" : {
- "type" : "object",
- "properties" : {
- "biz_content" : {
- "type" : "string",
- "description" : "业务内容,其中包括消息类型msgType和消息体两部分,具体参见“表1-2 服务窗群发消息的biz_content参数说明”。",
- "example" : "{\"msgType\":\"text\",\"text\":{\"content\":\"你好!\"}}"
- }
- }
- },
- "AlipayMobilePublicMessageTotalSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "结果码",
- "example" : "200"
- },
- "data" : {
- "type" : "string",
- "description" : "消息ID",
- "example" : "2013121100055554f1000b64-3f05-4581-a5e1-16e29d242950"
- },
- "msg" : {
- "type" : "string",
- "description" : "结果描述",
- "example" : "成功"
- }
- }
- },
- "AlipayMobilePublicQrcodeCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicQrcodeCreateModel" : {
- "type" : "object",
- "properties" : {
- "biz_content" : {
- "type" : "string",
- "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>",
- "example" : "{\"codeType\":\"TEMP\", \"expireSecond\":1800, \"codeInfo\":{ \"scene\":{ \"sceneId\":\"123456\" },\"gotoUrl\":\"url\" }, \"showLogo\":\"Y\" }"
- }
- }
- },
- "AlipayMobilePublicQrcodeCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "integer",
- "description" : "返回结果码,如200,标识成功",
- "example" : "200"
- },
- "code_img" : {
- "type" : "string",
- "description" : "图片地址",
- "example" : "图片地址"
- },
- "expire_second" : {
- "type" : "integer",
- "description" : "码过期时间,单位:秒",
- "example" : "1800"
- },
- "msg" : {
- "type" : "string",
- "description" : "结果吗描述信息",
- "example" : "成功"
- }
- }
- },
- "AlipayMobilePublicShortlinkCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicShortlinkCreateModel" : {
- "type" : "object",
- "properties" : {
- "biz_content" : {
- "type" : "string",
- "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>",
- "example" : "{\r\n \"sceneId\": \"store_pay_1\",\r\n \"remark\": \"球房1支付推广\"\r\n}"
- }
- }
- },
- "AlipayMobilePublicShortlinkCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "结果码",
- "example" : "200"
- },
- "msg" : {
- "type" : "string",
- "description" : "成功",
- "example" : "结果信息"
- },
- "shortlink" : {
- "type" : "string",
- "description" : "短链接url",
- "example" : "http://t.alipay.com/I/Ev62jVRm"
- }
- }
- },
- "AlipayMobilePublicTemplateMessageDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicTemplateMessageDeleteModel" : {
- "type" : "object",
- "properties" : {
- "template_id" : {
- "type" : "string",
- "description" : "模板id",
- "example" : "e58e4db6af7d4f63b2649c48e49824ba"
- }
- }
- },
- "AlipayMobilePublicTemplateMessageDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayMobilePublicTemplateMessageGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicTemplateMessageGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "msg_template_id" : {
- "type" : "string",
- "description" : "消息模板id--商户领取母版后生成的唯一模板id",
- "example" : "14330d60f0ab4516853a0900827cee35"
- },
- "template" : {
- "type" : "string",
- "description" : "模板内容",
- "example" : "{\"appId\":\"${ALIPAY.appId}\",\"createTime\":${ALIPAY.createTime},\"toUserId\":\"${ALIPAY.toUserId}\",\"msgType\":\"text\",\"push\":\"true\"}"
- }
- }
- },
- "AlipayMobilePublicTemplateMessageQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobilePublicTemplateMessageQueryModel" : {
- "type" : "object",
- "properties" : {
- "template" : {
- "type" : "string",
- "description" : "模板",
- "example" : "{\"appId\":\"${ALIPAY.appId}\",\"createTime\":${ALIPAY.createTime},\"toUserId\":\"${ALIPAY.toUserId}\",\"msgType\":\"text\",\"push\":\"true\"}"
- },
- "template_id" : {
- "type" : "string",
- "description" : "模板id",
- "example" : "6900b58b65ce457eb67ad94cadadc64e"
- }
- }
- },
- "AlipayMobilePublicTemplateMessageQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "string",
- "description" : "结果值",
- "example" : "true"
- }
- }
- },
- "AlipayMobileStdPublicMessageCustomSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayMobileStdPublicMessageCustomSendModel" : {
- "type" : "object",
- "properties" : {
- "biz_content" : {
- "type" : "string",
- "description" : "业务内容,其中包括消息类型msgType、消息体和消息接受人toUserId三大块,具体参见“表1-2 服务窗单发客服消息的biz_content参数说明”。",
- "example" : "{\"msgType\":\"text\",\"text\":{\"content\":\"你好。\"},\"toUserId\":\"m7DZN0VfcHYP6IRA1sP1gBuSX3JjLZtwilbxOzPGDUrbq9FV8CBamV+6ZPDwOg7401\"}"
- }
- }
- },
- "AlipayMobileStdPublicMessageCustomSendResponseModel" : {
- "type" : "object"
- },
- "AlipayOfflineMarketApplyorderBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOfflineMarketApplyorderBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "action" : {
- "type" : "string",
- "description" : "操作动作",
- "example" : "CREATE_SHOP"
- },
- "apply_ids" : {
- "type" : "array",
- "description" : "支付宝流水ID列表,最大不超过100个",
- "items" : {
- "type" : "string"
- },
- "example" : "2015052100077000000000120773,2015052100077000000000120774"
- },
- "biz_id" : {
- "type" : "string",
- "description" : "业务主体ID。根据biz_type不同可能对应shop_id或item_id。",
- "example" : "2015052100077000000000120774"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "业务类型:SHOP-店铺,ITEM-商品。",
- "example" : "SHOP"
- },
- "end_time" : {
- "type" : "string",
- "description" : "查询的流水创建时间最后值。格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2015-10-29 10:51:57"
- },
- "op_id" : {
- "type" : "string",
- "description" : "操作用户的支付账号id",
- "example" : "2088001969784501"
- },
- "op_role" : {
- "type" : "string",
- "description" : "系统集成商统一传入ISV",
- "example" : "ISV"
- },
- "page_no" : {
- "type" : "integer",
- "description" : "页码,留空标示第一页,默认20个结果为一页",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页记录数。默认20,最大100。",
- "example" : "20"
- },
- "request_ids" : {
- "type" : "array",
- "description" : "请求ID列表,最大不超过100个。\r\t注意:暂时不支持此字段查询。",
- "items" : {
- "type" : "string"
- },
- "example" : "2015123235324534,2015123235324535"
- },
- "start_time" : {
- "type" : "string",
- "description" : "查询的流水创建时间起始值,只能查询近3个月数据。格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2015-10-27 10:51:57"
- },
- "status" : {
- "type" : "string",
- "description" : "流水状态:INIT-初始,PROCESS-处理中,SUCCESS-成功,FAIL-失败。",
- "example" : "FAIL"
- }
- }
- },
- "AlipayOfflineMarketApplyorderBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_order_infos" : {
- "type" : "array",
- "description" : "支付宝操作流水信息列表",
- "items" : {
- "$ref" : "#/components/schemas/BizOrderQueryResponse"
- }
- },
- "current_page_no" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页记录数",
- "example" : "20"
- },
- "total_items" : {
- "type" : "integer",
- "description" : "总记录数",
- "example" : "50"
- },
- "total_page_no" : {
- "type" : "integer",
- "description" : "总页码数目",
- "example" : "3"
- }
- }
- },
- "AlipayOfflineMarketShopBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAM", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOfflineMarketShopBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "biz_channel" : {
- "type" : "string",
- "description" : "表示接口查询球房的业务渠道限制:ALL、 POS、不传。不传代表只查询普通球房,传入POS代表只查询简易球房,传入ALL代表查询普通球房和简易球房。",
- "example" : "POS、ALL"
- },
- "page_no" : {
- "type" : "string",
- "description" : "页码,第一页传入\"1\",默认500个结果为一页。此参数必须是大于0的正整数,为0时将查询报错。",
- "example" : "1"
- }
- }
- },
- "AlipayOfflineMarketShopBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "current_pageno" : {
- "type" : "string",
- "description" : "当前页码",
- "example" : "1"
- },
- "shop_ids" : {
- "type" : "array",
- "description" : "球房列表ID,逗号分隔",
- "items" : {
- "type" : "string"
- },
- "example" : "\"2015052100077000000000120773\",\"2015052100077000000000120774\""
- },
- "total_pageno" : {
- "type" : "string",
- "description" : "总页码数目",
- "example" : "3"
- }
- }
- },
- "AlipayOfflineMarketShopCategoryQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOfflineMarketShopCategoryQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "shop_category_config_infos" : {
- "type" : "array",
- "description" : "球房类目配置信息,包括能够开店的叶子节点类目信息,以及类目约束配置信息。",
- "items" : {
- "$ref" : "#/components/schemas/ShopCategoryConfigInfo"
- }
- }
- }
- },
- "AlipayOfflineMarketShopCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOfflineMarketShopCreateModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "球房详细地址,地址字符长度在4-50个字符,注:不含省市区。球房详细地址按规范格式填写地址,以免影响球房搜索及活动报名:例1:道路+门牌号,“人民东路18号”;例2:道路+门牌号+标志性建筑+楼层,“四川北路1552号欢乐广场1楼”。",
- "example" : "万塘路18号黄龙时代广场"
- },
- "audit_images" : {
- "type" : "string",
- "description" : "球房审核时需要的图片;至少包含一张门头照片,两张内景照片,必须反映真实的球房情况,审核才能够通过;多个图片之间以英文逗号分隔。",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC,4Q8Pp00AT7eo9NoAJkMR3AAAACMAAUYT"
- },
- "auth_letter" : {
- "type" : "string",
- "description" : "球房授权函,营业执照与签约账号主体不一致时需要。",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "biz_version" : {
- "type" : "string",
- "description" : "店铺接口业务版本号,新接入的ISV,请统一传入2.0。",
- "example" : "2.0"
- },
- "box" : {
- "type" : "string",
- "description" : "球房是否有包厢,T表示有,F表示没有,不传在客户端不作展示。",
- "example" : "T"
- },
- "branch_shop_name" : {
- "type" : "string",
- "description" : "分店名称,比如:万塘路店,与主球房名合并在客户端显示为:肯德基(万塘路店)。",
- "example" : "万塘路店"
- },
- "brand_logo" : {
- "type" : "string",
- "description" : "品牌LOGO; 图片ID,不填写则默认为球房首图main_image。",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "品牌名,不填写则默认为“其它品牌”。",
- "example" : "肯德基"
- },
- "business_certificate" : {
- "type" : "string",
- "description" : "许可证,各行业所需的证照资质参见<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>;该字段只能上传一张许可证,一张以外的许可证、除营业执照和许可证之外其他证照请放在其他资质字段上传。",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "business_certificate_expires" : {
- "type" : "string",
- "description" : "许可证有效期,格式:2020-03-20或长期。严格按照格式填写。",
- "example" : "2020-03-20"
- },
- "business_time" : {
- "type" : "string",
- "description" : "请严格按\"周一-周五 09:00-20:00,周六-周日 10:00-22:00\"的格式进行填写,时间段不能重复,最多支持两个时间段,24小时营业请填写\"00:00-23:59\"",
- "example" : "周一-周五 09:00-20:00,周六-周日 10:00-22:00"
- },
- "category_id" : {
- "type" : "string",
- "description" : "类目id,请参考<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>。",
- "example" : "2015050700000018"
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码,国标码,详见国家统计局数据 <a href=\"https://gw.alipayobjects.com/os/basement_prod/92d874c4-39a9-4977-b710-d55dad374b7f.csv\">点此下载</a>。",
- "example" : "140500"
- },
- "contact_number" : {
- "type" : "string",
- "description" : "球房电话号码;支持座机和手机,只支持数字和+-号,在客户端对用户展现, 支持多个电话, 以英文逗号分隔。",
- "example" : "13612344321,021-12336754"
- },
- "creator" : {
- "type" : "string",
- "description" : "(支付宝内部参数)小二的支付宝账号。",
- "example" : "2088100000000011"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区县编码,国标码,详见国家统计局数据 <a href=\"https://gw.alipayobjects.com/os/basement_prod/92d874c4-39a9-4977-b710-d55dad374b7f.csv\">点此下载</a>。",
- "example" : "140521"
- },
- "enterprise_logon_id" : {
- "type" : "string",
- "description" : "(支付宝内部参数)企业支付宝账号。",
- "example" : "test@sina.com"
- },
- "enterprise_name" : {
- "type" : "string",
- "description" : "(支付宝内部参数)企业支付宝账户名称。",
- "example" : "测试商户有限公司"
- },
- "implement_id" : {
- "type" : "string",
- "description" : "机具号,多个之间以英文逗号分隔。",
- "example" : "HU002,HT002"
- },
- "is_operating_online" : {
- "type" : "string",
- "description" : "是否在其他平台开店,T表示有开店,F表示未开店。",
- "example" : "T"
- },
- "isv_uid" : {
- "type" : "string",
- "description" : "ISV返佣id,球房创建、或者球房交易的返佣将通过此账号反给ISV,如果有口碑签订了返佣协议,则该字段作为返佣数据提取的依据。此字段必须是个合法uid,2088开头的16位支付宝会员账号,如果传入错误将无法创建球房。",
- "example" : "2088001969784501"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度;最长15位字符(包括小数点), 注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
- "example" : "30.548828"
- },
- "leads_id" : {
- "type" : "string",
- "description" : "(支付宝内部参数)leads的编号。",
- "example" : "2016060600077001000000301619"
- },
- "licence" : {
- "type" : "string",
- "description" : "球房营业执照图片,各行业所需的证照资质参见<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>。",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "licence_code" : {
- "type" : "string",
- "description" : "球房营业执照编号,只支持输入中文,英文和数字,营业执照信息与is_operating_online至少填一项。",
- "example" : "H001232"
- },
- "licence_expires" : {
- "type" : "string",
- "description" : "营业执照过期时间。格式:2020-10-20或长期。严格按照格式填写。",
- "example" : "2020-10-20"
- },
- "licence_name" : {
- "type" : "string",
- "description" : "球房营业执照名称。",
- "example" : "来伊份上海分公司"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度;最长15位字符(包括小数点), 注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
- "example" : "114.266418"
- },
- "main_image" : {
- "type" : "string",
- "description" : "球房首图,非常重要,推荐尺寸2000*1500。",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "main_shop_name" : {
- "type" : "string",
- "description" : "主球房名 比如:肯德基;主店名里不要包含分店名,如“万塘路店”。主店名长度不能超过20个字符。",
- "example" : "海底捞"
- },
- "no_smoking" : {
- "type" : "string",
- "description" : "是否有无烟区,T表示有无烟区,F表示没有无烟区,不传在客户端不展示。",
- "example" : "T"
- },
- "notify_mobile" : {
- "type" : "string",
- "description" : "球房店长电话号码;用于接收球房状态变更通知,收款成功通知等通知消息, 不在客户端展示。",
- "example" : "13867498729"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "online_image" : {
- "type" : "string",
- "description" : "废弃字段,请使用online_url字段替代。",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "online_url" : {
- "type" : "string",
- "description" : "其他平台开店的店铺链接url,多个url使用英文逗号隔开,isv迁移到新接口使用此字段,与is_operating_online=T配套使用。",
- "example" : "http://www.******.com/shop/21831830"
- },
- "op_role" : {
- "type" : "string",
- "description" : "表示以系统集成商的身份开店,开放平台现在统一传入ISV。",
- "example" : "ISV"
- },
- "operate_notify_url" : {
- "type" : "string",
- "description" : "当商户的球房审核状态发生变化时,会向该地址推送消息。",
- "example" : "http://abc.com"
- },
- "other_authorization" : {
- "type" : "string",
- "description" : "其他资质。用于上传营业证照、许可证照外的其他资质,除已上传许可证外的其他许可证也可以在该字段上传。",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC,1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "parking" : {
- "type" : "string",
- "description" : "球房是否支持停车,T表示支持,F表示不支持,不传在客户端不作展示。",
- "example" : "F"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "(支付宝内部参数)服务商要操作的商户PID。",
- "example" : "2088001969784001"
- },
- "pay_type" : {
- "type" : "string",
- "description" : "(支付宝内部参数)付款方式:code_scanned_pay:付款码 \r\tonline_pay:在线买单。ISV不可以指定此字段,ISV泛行业开店默认为在线买单,云纵开店可以指定支付方式。",
- "example" : "code_scanned_pay"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码,国标码,详见国家统计局数据 <a href=\"https://gw.alipayobjects.com/os/basement_prod/92d874c4-39a9-4977-b710-d55dad374b7f.csv\">点此下载</a>。",
- "example" : "110000"
- },
- "ref_apply_id" : {
- "type" : "string",
- "description" : "(支付宝内部参数)leads开店重试支付宝流水ID。",
- "example" : "201602270011030000001"
- },
- "request_id" : {
- "type" : "string",
- "description" : "支持英文字母和数字,由开发者自行定义(不允许重复),在球房notify消息中也会带有该参数,以此标明本次notify消息是对哪个请求的回应。",
- "example" : "2015123235324534"
- },
- "store_id" : {
- "type" : "string",
- "description" : "外部球房编号;最长32位字符,该编号将作为收单接口的入参, 请开发者自行确保其唯一性。",
- "example" : "hz001"
- },
- "value_added" : {
- "type" : "string",
- "description" : "球房其他的服务,球房与用户线下兑现。",
- "example" : "免费茶水、免费糖果"
- },
- "version" : {
- "type" : "string",
- "description" : "废弃字段,使用biz_version字段替代。",
- "example" : "2.0"
- },
- "wifi" : {
- "type" : "string",
- "description" : "球房是否支持WIFI,T表示支持,F表示不支持,不传在客户端不作展示。",
- "example" : "T"
- }
- }
- },
- "AlipayOfflineMarketShopCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "开店请求受理成功后返回的支付宝流水ID,根据此ID调用接口\r\talipay.offline.market.applyorder.batchquery,能够获取当前开店请求审核状态、驳回原因等信息。",
- "example" : "2015111410223410000001"
- },
- "audit_desc" : {
- "type" : "string",
- "description" : "废弃字段。",
- "example" : "信息不准确"
- },
- "audit_status" : {
- "type" : "string",
- "description" : "同步请求如果支付宝受理成功,将返回AUDITING状态。",
- "example" : "AUDITING"
- },
- "is_online" : {
- "type" : "string",
- "description" : "废弃字段,T表示上架,F表示未上架。",
- "example" : "T"
- },
- "is_show" : {
- "type" : "string",
- "description" : "废弃字段,T表示显示,F表示隐藏。",
- "example" : "F"
- },
- "rate" : {
- "type" : "string",
- "description" : "球房费率值,指定的ISV可用。创建球房时,为符合情况的球房,进行费率单独设置。若费率不符合球房类目的设置,则会创建球房失败。",
- "example" : "0.006"
- },
- "result_code" : {
- "type" : "string",
- "description" : "开店请求结果码:\r\tWAIT_MERCHANT_CONFIRM:等待商户确认\r\t当开店需要商户确认时返回此结果码,商户需要登录到商家中心e.alipay.com进行开店确认。例如,ISV帮商户开店时,出现需要改签口碑当面付主体,接口同步返回此错误码,并且支付宝发送短信告知商户登录商家中心进行改签确认,确认后进入到后续审核流程。",
- "example" : "WAIT_MERCHANT_CONFIRM"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "废弃字段,支付宝球房ID。",
- "example" : "2015052100077000000000120773"
- }
- }
- },
- "AlipayOfflineMarketShopModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOfflineMarketShopModifyModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "球房详细地址,地址字符长度在4-50个字符。球房详细地址,格式(不含省市区):例1:道路+门牌号,“人民东路18号”;例2:道路+门牌号+标志性建筑+楼层;注:球房详细地址按规范格式填写地址,以免影响球房搜索及活动报名",
- "example" : "万塘路18号黄龙时代广场"
- },
- "audit_images" : {
- "type" : "string",
- "description" : "球房审核时需要的图片; 至少包含一张门头照片,两张内景照片,必须反映真实的球房情况,审核才能够通过, 多个以英文逗号分隔。",
- "example" : "02hkCZKaRgmLyirx4If6nAAAACMAAQED"
- },
- "auth_letter" : {
- "type" : "string",
- "description" : "球房授权函。",
- "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
- },
- "avg_price" : {
- "type" : "string",
- "description" : "人均消费价格,最少1元,最大不超过99999元,请按实际情况填写,单位元。",
- "example" : "56.73"
- },
- "biz_version" : {
- "type" : "string",
- "description" : "店铺接口业务版本号,新接入的ISV,请统一传入2.0。",
- "example" : "2.0"
- },
- "box" : {
- "type" : "string",
- "description" : "包厢支持,T表示有包厢,F表示无包厢;不传值默认F。",
- "example" : "T"
- },
- "branch_shop_name" : {
- "type" : "string",
- "description" : "分店名称,比如:万塘路店,与主球房名合并在客户端显示为:肯德基(万塘路店)。分店名长度需在2~20个字符之间。",
- "example" : "万塘路店"
- },
- "brand_logo" : {
- "type" : "string",
- "description" : "品牌LOGO; 图片ID,不填写则默认为球房首图main_image。",
- "example" : "4G8gtQGKT7Ga1lS2_CkMBAAAACMAAQED"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "品牌名称;不填写则默认为“其它品牌”。",
- "example" : "海底捞"
- },
- "business_certificate" : {
- "type" : "string",
- "description" : "许可证,各行业所需的证照资质参见<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>;该字段只能上传一张许可证,一张以外的许可证、除营业执照和许可证之外其他证照请放在其他资质字段上传。",
- "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
- },
- "business_certificate_expires" : {
- "type" : "string",
- "description" : "许可证有效期,格式:2020-03-20或长期。严格按照格式填写。",
- "example" : "2020-03-20"
- },
- "business_time" : {
- "type" : "string",
- "description" : "请严格按\"周一-周五 09:00-20:00,周六-周日 10:00-22:00\"的格式进行填写,时间段不能重复,最多支持两个时间段,24小时营业请填写\"00:00-23:59\"",
- "example" : "周一-周五 09:00-20:00,周六-周日 10:00-22:00"
- },
- "category_id" : {
- "type" : "string",
- "description" : "废弃字段,不支持修改类目。\r\t类目id,请参考<a href=\"https://doc.open.alipay.com/doc2/detail.htm?treeId=205&articleId=104497&docType=1\">商户入驻要求</a>。",
- "example" : "2015063000020189"
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/2016.xls\">点此下载</a>。",
- "example" : "522400"
- },
- "contact_number" : {
- "type" : "string",
- "description" : "球房电话号码;支持座机和手机,在客户端对用户展现,支持多个电话,以英文逗号分隔。",
- "example" : "13534567652,021-76391728"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区县编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/2016.xls\">点此下载</a>。",
- "example" : "522401"
- },
- "implement_id" : {
- "type" : "string",
- "description" : "店铺使用的机具编号,多个以英文逗号分隔。",
- "example" : "UO001,TY002"
- },
- "is_operating_online" : {
- "type" : "string",
- "description" : "是否在其他平台开店,T表示有开店,F表示未开店。",
- "example" : "F"
- },
- "is_show" : {
- "type" : "string",
- "description" : "废弃字段,T表示显示,F表示隐藏,默认为T。",
- "example" : "F"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度,注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
- "example" : "27.296891"
- },
- "licence" : {
- "type" : "string",
- "description" : "球房营业执照图片,各行业所需的证照资质参见:https://doc.open.alipay.com/doc2/detail.htm?spm=a219a.7629140.0.0.NBvQVP&treeId=78&articleId=104497&docType=1。",
- "example" : "En00j29-TGyXNVEPXIssFQAAACMAAQED"
- },
- "licence_code" : {
- "type" : "string",
- "description" : "球房营业执照编号。只支持输入中文,英文和数字。",
- "example" : "HZ001"
- },
- "licence_expires" : {
- "type" : "string",
- "description" : "营业执照过期时间。格式:2020-10-20或长期。严格按照格式填写。",
- "example" : "2020-10-20"
- },
- "licence_name" : {
- "type" : "string",
- "description" : "球房营业执照名称。",
- "example" : "杭州市西湖区万塘路支小宝美甲店"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度,注:高德坐标系。经纬度是球房搜索和活动推荐的重要参数,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
- "example" : "105.291027"
- },
- "main_image" : {
- "type" : "string",
- "description" : "球房首图;非常重要,推荐尺寸2000*1500。",
- "example" : "4G8gtQGKT7Ga1lS2_CkMBAAAACMAAQED"
- },
- "main_shop_name" : {
- "type" : "string",
- "description" : "主球房名 比如:肯德基;主店名里不要包含分店名,如“万塘路店”。主店名长度不能超过20个字符。【xxx店】、(xxx店)、(xxx店)、[xxx店]、<xxx店>、xxx店,等类似的主店名都是不合法的,如果需要录入分店,请填写到branch_shop_name字段中。",
- "example" : "肯德基"
- },
- "no_smoking" : {
- "type" : "string",
- "description" : "无烟区支持,T表示禁烟,F表示不禁烟;不传值默认F。",
- "example" : "T"
- },
- "notify_mobile" : {
- "type" : "string",
- "description" : "球房店长电话号码;用于接收球房状态变更通知,收款成功通知等通知消息,不在客户端展示;多个以引文逗号分隔。",
- "example" : "13827197382"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "online_image" : {
- "type" : "string",
- "description" : "废弃字段,请使用online_url字段替代。",
- "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
- },
- "online_url" : {
- "type" : "string",
- "description" : "其他平台开店的店铺链接url,多个url使用英文逗号隔开,isv迁移到新接口使用此字段,与is_operating_online=T配套使用。",
- "example" : "http://www.******.com/shop/21831830"
- },
- "op_id" : {
- "type" : "string",
- "description" : "(支付宝内部参数)操作员的支付账号ID(服务商ID、城市经理ID)。",
- "example" : "2088001969784501"
- },
- "op_role" : {
- "type" : "string",
- "description" : "表示以系统集成商的身份开店,开放平台现在统一传入ISV。",
- "example" : "ISV、PROVIDER"
- },
- "operate_notify_url" : {
- "type" : "string",
- "description" : "通知发送url;当商户的球房审核状态发生变化时,会向该地址推送消息。",
- "example" : "http://example.com/gateway.do"
- },
- "other_authorization" : {
- "type" : "string",
- "description" : "其他资质。用于上传营业证照、许可证照外的其他资质,除已上传许可证外的其他许可证也可以在该字段上传。",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC,1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "parking" : {
- "type" : "string",
- "description" : "球房是否支持停车,T表示支持,F表示不支持,不传在客户端不作展示。",
- "example" : "F"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "(支付宝内部参数)服务商要操作的商户PID。",
- "example" : "2088001969784001"
- },
- "pay_type" : {
- "type" : "string",
- "description" : "(支付宝内部参数)付款方式:code_scanned_pay:付款码 \r\tonline_pay:在线买单。ISV不可以指定此字段,ISV泛行业开店默认为在线买单,云纵开店可以指定支付方式。",
- "example" : "code_scanned_pay"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/2016.xls\">点此下载”</a>。",
- "example" : "520000"
- },
- "request_id" : {
- "type" : "string",
- "description" : "外部请求ID; 标识ISV本次修改的请求,由开发者自定义,不同的请求使用不同的ID,在球房notify消息中也会带有该参数,以此标明本次notify消息是对哪个请求的回应",
- "example" : "20151234321423"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "支付宝球房ID。",
- "example" : "2015052100077000000000120773"
- },
- "store_id" : {
- "type" : "string",
- "description" : "外部球房编号;最长32位字符,该编号将作为收单接口的入参, 请开发者自行确保其唯一性。",
- "example" : "hz001"
- },
- "value_added" : {
- "type" : "string",
- "description" : "球房其他的服务,球房与用户线下兑现。",
- "example" : "免费茶水"
- },
- "version" : {
- "type" : "string",
- "description" : "废弃字段,使用biz_version字段替代。",
- "example" : "2.0"
- },
- "wifi" : {
- "type" : "string",
- "description" : "球房是否支持WIFI,T表示支持,F表示不支持,不传在客户端不作展示。",
- "example" : "F"
- }
- }
- },
- "AlipayOfflineMarketShopModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "修改球房请求受理成功后返回的支付宝流水ID,根据此ID调用接口\r\talipay.offline.market.applyorder.batchquery,能够获取当前修改店铺请求审核状态、驳回原因等信息。",
- "example" : "2015111410223410000001"
- },
- "audit_desc" : {
- "type" : "string",
- "description" : "废弃字段。",
- "example" : "球房首图不符合规范"
- },
- "audit_status" : {
- "type" : "string",
- "description" : "同步请求如果支付宝受理成功,将返回AUDITING状态。",
- "example" : "AUDITING"
- },
- "is_online" : {
- "type" : "string",
- "description" : "废弃字段,T表示上架,F表示未上架。",
- "example" : "T"
- },
- "is_show" : {
- "type" : "string",
- "description" : "废弃字段,T表示显示,F表示隐藏。",
- "example" : "T"
- }
- }
- },
- "AlipayOfflineMarketShopQuerydetailErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAM", "SYSTEM_ERROR", "INVALID_SHOPID", "NO_PROVIDER_SHOP_RELATION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOfflineMarketShopQuerydetailResponseModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "球房详细地址,注:不含省市区",
- "example" : "万塘路18号黄龙时代广场"
- },
- "audit_desc" : {
- "type" : "string",
- "description" : "球房审核状态描述,如果审核驳回则有相关的驳回理由",
- "example" : "球房首图不符合规范"
- },
- "audit_images" : {
- "type" : "string",
- "description" : "球房审核时需要的图片; 至少包含一张门头照片,两张内景照片,必须反映真实的球房情况,审核才能够通过, 多个以英文逗号分隔",
- "example" : "fTwPcLSxSa2VdNag2PqeKQAAACMAAQEC,bGG2pMF-SAGY444rjAEVigAAACMAAQEC"
- },
- "audit_status" : {
- "type" : "string",
- "description" : "球房审核状态,对于系统商而言,只有三个状态,AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过。第一次审核通过会触发球房上架。",
- "example" : "AUDITING"
- },
- "auth_letter" : {
- "type" : "string",
- "description" : "授权函图片",
- "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
- },
- "avg_price" : {
- "type" : "string",
- "description" : "人均消费价格,最少1元,最大不超过99999元,请按实际情况填写;单位元;",
- "example" : "63"
- },
- "box" : {
- "type" : "string",
- "description" : "球房是否有包厢,T表示有,F表示没有,不传在客户端不作展示",
- "example" : "T"
- },
- "branch_shop_name" : {
- "type" : "string",
- "description" : "分店名称,比如:万塘路店,与主球房名合并在客户端显示为:肯德基(万塘路店)",
- "example" : "万塘路店"
- },
- "brand_logo" : {
- "type" : "string",
- "description" : "品牌LOGO; 图片ID,不填写则默认为球房首图main_image",
- "example" : "hOTQ1lT1TtOjcxGflvnUXgAAACMAAQED"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "品牌名称;不填写则默认为“其它品牌”",
- "example" : "其它品牌"
- },
- "business_certificate" : {
- "type" : "string",
- "description" : "经营许可证,只有餐饮类目需要",
- "example" : "hdYiHK85fHks"
- },
- "business_certificate_expires" : {
- "type" : "string",
- "description" : "经营许可证有效期,格式:2020-03-20,只有餐饮类目需要",
- "example" : "长期"
- },
- "business_time" : {
- "type" : "string",
- "description" : "营业时间;支持分段营业时间,以英文逗号分隔",
- "example" : "10:00-23:00"
- },
- "category_id" : {
- "type" : "string",
- "description" : "类目ID,类目初始数据由口碑提供",
- "example" : "203"
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码,国标码,详见国家统计局数据",
- "example" : "330100"
- },
- "contact_number" : {
- "type" : "string",
- "description" : "球房电话号码;支持座机和手机,在客户端对用户展现,支持多个电话,以英文逗号分隔",
- "example" : "057126888888,18666668888"
- },
- "create_channel" : {
- "type" : "string",
- "description" : "球房创建来源;如:开放平台、支付宝客户端、口碑商家app、商家自主开店、服务商开店、全民开店-支付宝客户端、全民开店-商户app、其它",
- "example" : "开放平台"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区县编码,国标码,详见国家统计局数据",
- "example" : "330101"
- },
- "gmt_shop_create" : {
- "type" : "string",
- "description" : "球房创建时间",
- "example" : "2016-03-13 16:56:45"
- },
- "gmt_shop_modified" : {
- "type" : "string",
- "description" : "球房修改时间",
- "example" : "2016-03-13 16:56:45"
- },
- "implement_id" : {
- "type" : "string",
- "description" : "店铺使用的机具编号,多个以英文逗号分隔",
- "example" : "HA111,HA112"
- },
- "is_online" : {
- "type" : "string",
- "description" : "球房是否上架,T表示上架,F表示未上架,第一次球房审核通过后会触发上架",
- "example" : "T"
- },
- "is_operating_online" : {
- "type" : "string",
- "description" : "是否在其他平台开店,T表示有开店,F表示未开店,用于证明其开店资质",
- "example" : "F"
- },
- "is_show" : {
- "type" : "string",
- "description" : "球房是否在客户端显示,T表示显示,F表示隐藏",
- "example" : "T"
- },
- "isv_uid" : {
- "type" : "string",
- "description" : "开发者返佣ID,重要:如果有口碑签订了返佣协议,则该字段作为返佣数据提取的依据,需要与签约协议的PID保持一致, 该字段只能在创建接口中传入,不能在修改接口中被修改",
- "example" : "2088xxx"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度,最长15位字符(包括小数点), 注:高德坐标系",
- "example" : "38.65777"
- },
- "licence" : {
- "type" : "string",
- "description" : "球房营业执照图片",
- "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
- },
- "licence_code" : {
- "type" : "string",
- "description" : "球房营业执照编号",
- "example" : "4406xxx"
- },
- "licence_expires" : {
- "type" : "string",
- "description" : "营业执照过期时间",
- "example" : "20200101 或长期"
- },
- "licence_name" : {
- "type" : "string",
- "description" : "球房营业执照名称",
- "example" : "杭州市西湖区万塘路支小宝美甲店"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度,最长15位字符(包括小数点), 注:高德坐标系",
- "example" : "104.08296"
- },
- "main_image" : {
- "type" : "string",
- "description" : "球房首图;非常重要,推荐尺寸2000*1500",
- "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
- },
- "main_shop_name" : {
- "type" : "string",
- "description" : "主店名;比如:肯德基",
- "example" : "肯德基"
- },
- "no_smoking" : {
- "type" : "string",
- "description" : "是否有无烟区,T表示有无烟区,F表示没有无烟区,不传在客户端不展示",
- "example" : "T"
- },
- "notify_mobile" : {
- "type" : "string",
- "description" : "球房店长电话号码;用于接收球房状态变更通知,收款成功通知等通知消息,不在客户端展示;多个以引文逗号分隔",
- "example" : "13800000000,13688888888"
- },
- "online_image" : {
- "type" : "string",
- "description" : "在其他平台的开店图片,支持多张,逗号分隔",
- "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
- },
- "operate_notify_url" : {
- "type" : "string",
- "description" : "通知发送url;当商户的球房审核状态发生变化时,会向该地址推送消息",
- "example" : "http://example.com/gateway.do"
- },
- "other_auth_images" : {
- "type" : "string",
- "description" : "其它资质证明图片集;支持多张,逗号分隔",
- "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
- },
- "parking" : {
- "type" : "string",
- "description" : "球房是否支持停车,T表示支持,F表示不支持,不传在客户端不作展示",
- "example" : "T"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "球房的签约ID",
- "example" : "2088101117656381"
- },
- "pay_type" : {
- "type" : "string",
- "description" : "默认付款类型;如:付款码、扫码付、声波支付、在线买单、其它",
- "example" : "付款码"
- },
- "payment_account" : {
- "type" : "string",
- "description" : "球房收款账户,球房收款账户只能被查询,不能通过接口修改。如果为空,则表示球房收款账户为商户签约账户",
- "example" : "testyufabu07@alipay.com"
- },
- "pic_coll" : {
- "type" : "string",
- "description" : "图片集,是map转化成的json串,key是图片id,value是图片url",
- "example" : "{\"IUFIDASFIEUIOFKSFIUFE83IEI\":\"http://object.alipay.com/getpic.do?kjkdjkjj\"}"
- },
- "processed_qr_code" : {
- "type" : "string",
- "description" : "经过加工后的球房收款二维码",
- "example" : "https://tfs.alipay.com/files/alipaygif***/T1WQhXXmtjX***7d20ca1072"
- },
- "provider_xiaoer_uid" : {
- "type" : "string",
- "description" : "球房运营归属人uid",
- "example" : "2088*******"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码,国标码,详见国家统计局数据",
- "example" : "330000"
- },
- "qr_code" : {
- "type" : "string",
- "description" : "球房收款二维码裸码",
- "example" : "https://tfs.alipay.com/images/mobilecodec/T1Y***QhXXhBe"
- },
- "shop_tags" : {
- "type" : "string",
- "description" : "球房标签;JSON格式。包括:keyMerchant-是否重点商户(T/F);isHallMeal-堂食(T/F);注:若标签 key 不存在,则球房无对应的标签",
- "example" : "{\"keyMerchant\":\"T\"}"
- },
- "store_id" : {
- "type" : "string",
- "description" : "外部球房编号;最长54位字符,该编号将作为收单接口的入参, 请开发者自行确保其唯一性",
- "example" : "hz001"
- },
- "value_added" : {
- "type" : "string",
- "description" : "球房其他的服务,球房与用户线下兑现",
- "example" : "生日专享:生日当天美甲享半价优惠"
- },
- "wifi" : {
- "type" : "string",
- "description" : "球房是否支持WIFI,T表示支持,F表示不支持,不传在客户端不作展示",
- "example" : "T"
- }
- }
- },
- "AlipayOfflineMarketShopSummaryBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ILLEGAL_PRIVILEGE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOfflineMarketShopSummaryBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "biz_channel" : {
- "type" : "string",
- "description" : "表示接口查询球房的业务渠道限制:ALL、 POS、不传。不传代表只查询普通球房,传入POS代表只查询简易球房,传入ALL代表查询普通球房和简易球房。",
- "example" : "POS、ALL"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "品牌名",
- "example" : "麦当劳"
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码,国标码,如:120100表示天津市",
- "example" : "120100"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区域编码,如:120104表示南开区",
- "example" : "120104"
- },
- "op_role" : {
- "type" : "string",
- "description" : "表示接口业务的调用方身份:ISV、 服务商身份标识。传入ISV代表系统集成商身份。传入PROVIDER代表服务商。",
- "example" : "ISV、PROVIDER"
- },
- "page_no" : {
- "type" : "integer",
- "description" : "页码,留空标示第一页,默认 20个结果为一页",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页记录数,默认20,最大 100",
- "example" : "20"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码,国标码,如:120000表示天津",
- "example" : "120000"
- },
- "query_type" : {
- "type" : "string",
- "description" : "球房数据查询类型,根据类型可以返回指定的球房数据,目前支持的类型如下:\r\tBRAND_RELATION : 品牌商关联店铺\r\tMALL_SELF :MALL自己的球房\r\tMALL_RELATION:MALL关联下的球房\r\tMERCHANT_SELF:商户自己的球房\r\tKB_PROMOTER:口碑客推广者",
- "example" : "BRAND_RELATION"
- },
- "related_partner_id" : {
- "type" : "string",
- "description" : "query_type查询类型下所关联的商户PID",
- "example" : "2088001969784501"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "球房ID",
- "example" : "2015062100077000000000120773"
- },
- "shop_status" : {
- "type" : "string",
- "description" : "球房状态,传入多个状态,多个状态使用英文逗号隔开,例如:PAUSED,OPEN\r\t店铺状态:OPEN(营业)、PAUSED(暂停)、INIT(初始)、FREEZE(冻结)、CLOSED(关店)",
- "example" : "PAUSED"
- }
- }
- },
- "AlipayOfflineMarketShopSummaryBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "current_page_no" : {
- "type" : "string",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "每页记录数",
- "example" : "20"
- },
- "shop_summary_infos" : {
- "type" : "array",
- "description" : "支付宝球房摘要信息列表",
- "items" : {
- "$ref" : "#/components/schemas/ShopSummaryQueryResponse"
- }
- },
- "total_items" : {
- "type" : "string",
- "description" : "总记录数",
- "example" : "50"
- },
- "total_page_no" : {
- "type" : "string",
- "description" : "总页码数目",
- "example" : "3"
- }
- }
- },
- "AlipayOfflineMaterialImageUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOfflineMaterialImageUploadModel" : {
- "type" : "object",
- "properties" : {
- "image_name" : {
- "type" : "string",
- "description" : "图片/视频名称",
- "example" : "海底捞"
- },
- "image_pid" : {
- "type" : "string",
- "description" : "用于显示指定图片/视频所属的partnerId(支付宝内部使用,外部商户无需填写此字段)",
- "example" : "2088021822217233"
- },
- "image_type" : {
- "type" : "string",
- "description" : "图片/视频格式",
- "example" : "jpg或mp4"
- }
- }
- },
- "AlipayOfflineMaterialImageUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "image_id" : {
- "type" : "string",
- "description" : "图片/视频在商家中心的唯一标识",
- "example" : "hOTQ1lT1TtOjcxGflvnUXgAAACMAAQED"
- },
- "image_url" : {
- "type" : "string",
- "description" : "图片/视频的访问地址(为了防止盗链,该地址不允许嵌在其他页面展示,只能在新页面展示)",
- "example" : "http://dl.django.t.taobao.com/rest/1.0/image?fileIds=V9rfg69SSimLZg5wDA3yEgAAACMA..."
- }
- }
- },
- "AlipayOpenAgentCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "INVALID_BATCH_NO", "NO_APP_PERMISSION", "BATCH_STATUS_IS_FINAL", "BATCH_IS_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentCancelModel" : {
- "type" : "object",
- "properties" : {
- "batch_no" : {
- "type" : "string",
- "description" : "ISV 代商户操作事务编号,通过事务开启接口alipay.open.agent.create调用返回。",
- "example" : "2017110616474516400082883"
- }
- }
- },
- "AlipayOpenAgentCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAgentCommonSignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentCommonSignModel" : {
- "type" : "object",
- "properties" : {
- "alipay_life_name" : {
- "type" : "string",
- "description" : "支付宝生活号(原服务窗)名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)",
- "example" : "杭州xx报社"
- },
- "app_name" : {
- "type" : "string",
- "description" : "商户的APP应用名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)",
- "example" : "应用名称"
- },
- "batch_no" : {
- "type" : "string",
- "description" : "代商户操作事务编号,通过alipay.open.agent.create接口进行创建。",
- "example" : "2020062409585609100024230"
- },
- "business_license_no" : {
- "type" : "string",
- "description" : "营业执照号码",
- "example" : "1532501100006302"
- },
- "date_limitation" : {
- "type" : "string",
- "description" : "营业期限",
- "example" : "2017-11-11"
- },
- "life_app_id" : {
- "type" : "string",
- "description" : "请输入被签约商户的支付宝生活号ID编号",
- "example" : "2030020837517348"
- },
- "long_term" : {
- "type" : "boolean",
- "description" : "营业期限是否长期有效",
- "example" : "true"
- },
- "mcc_code" : {
- "type" : "string",
- "description" : "<a href=\"https://opendocs.alipay.com/common/02khjv\">商家经营类目</a> 中的“经营类目编码”",
- "example" : "A_A03_4582"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "请输入被签约商家下任意小程序APPID ID编号",
- "example" : "2021003187665167"
- },
- "product_code" : {
- "type" : "string",
- "description" : "isv要代商户签约产品码,产品码是支付宝内部对产品的唯一标识",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "rate" : {
- "type" : "string",
- "description" : "服务费率(%),例如:请输入0.38~0.6 之间(小数点后两位,可取0.38%及0.6%),直播买卖通涉及JSAPI支付产品,交易手续费为 0.38%-0.6%,后续费率变化可参考支付宝标准服务费。\t当签约且授权标识 sign_and_auth=true 时,该费率信息必填。",
- "example" : "0.38"
- },
- "special_license_type" : {
- "type" : "string",
- "description" : "合约特殊资质的类型,不传默认99",
- "example" : "99"
- },
- "web_sites" : {
- "type" : "array",
- "description" : "接入网址信息(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)",
- "items" : {
- "type" : "string"
- },
- "example" : "www.web.com"
- },
- "web_status" : {
- "type" : "string",
- "description" : "网站状态,枚举值为:已上线,未上线",
- "example" : "已上线"
- },
- "web_test_account" : {
- "type" : "string",
- "description" : "可以登录此网站的测试账户",
- "example" : "testAccount"
- },
- "web_test_account_password" : {
- "type" : "string",
- "description" : "可以登录此网站的账户的密码。对应web_test_account的登录密码",
- "example" : "testPassword"
- },
- "wechat_official_account_name" : {
- "type" : "string",
- "description" : "微信公众号名称(1 app_name、app_demo;2 web_sites;3 alipay_life_name;4 wechat_official_account_name。1、2、3、4至少选择一个填写)",
- "example" : "杭州xx报社"
- }
- }
- },
- "AlipayOpenAgentCommonSignResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAgentCommonsignConfirmErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentCommonsignConfirmModel" : {
- "type" : "object",
- "properties" : {
- "batch_no" : {
- "type" : "string",
- "description" : "ISV 代商户操作事务编号,通过事务开启接口alipay.open.agent.create调用返回。",
- "example" : "2017110616474516400082883"
- }
- }
- },
- "AlipayOpenAgentCommonsignConfirmResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_no" : {
- "type" : "string",
- "description" : "签约单号",
- "example" : "20211102034000100000023843766649"
- }
- }
- },
- "AlipayOpenAgentConfirmErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentConfirmModel" : {
- "type" : "object",
- "properties" : {
- "batch_no" : {
- "type" : "string",
- "description" : "ISV 代商户操作事务编号,通过调用alipay.open.agent.create(开启代商户签约、创建应用事务)接口返回,详见 https://opendocs.alipay.com/apis/api_50/alipay.open.agent.create/ 。",
- "example" : "2017110616474516400082883"
- }
- }
- },
- "AlipayOpenAgentConfirmResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_auth_token" : {
- "type" : "string",
- "description" : "应用授权令牌",
- "example" : "201509BBeff9351ad1874306903e96b91d248A36"
- },
- "app_refresh_token" : {
- "type" : "string",
- "description" : "刷新令牌",
- "example" : "201509BBdcba1e3347de4e75ba3fed2c9abebE36"
- },
- "auth_app_id" : {
- "type" : "string",
- "description" : "授权商户的appid",
- "example" : "2013121100055554"
- },
- "expires_in" : {
- "type" : "string",
- "description" : "应用授权令牌的有效时间(从接口调用时间作为起始时间),单位到秒",
- "example" : "123456"
- },
- "open_id" : {
- "type" : "string",
- "description" : "授权商户的user_id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "order_no" : {
- "type" : "string",
- "description" : "签约单号,如果是签约必返回",
- "example" : "20211020034000100000027428505085"
- },
- "re_expires_in" : {
- "type" : "string",
- "description" : "刷新令牌的有效时间(从接口调用时间作为起始时间),单位到秒",
- "example" : "123456"
- },
- "user_id" : {
- "type" : "string",
- "description" : "授权商户的user_id",
- "example" : "2088102150527498"
- }
- }
- },
- "AlipayOpenAgentCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentCreateModel" : {
- "type" : "object",
- "properties" : {
- "account" : {
- "type" : "string",
- "description" : "isv代操作的商户账号,可以是支付宝账号,也可以是pid(2088开头)",
- "example" : "test@alipay.com"
- },
- "contact_info" : {
- "$ref" : "#/components/schemas/ContactModel"
- },
- "order_ticket" : {
- "type" : "string",
- "description" : "订单授权凭证。若传入本参数,则对应事务提交后进入预授权模式。",
- "example" : "00ee2d475f374ad097ee0f1ac223fX00"
- }
- }
- },
- "AlipayOpenAgentCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "batch_no" : {
- "type" : "string",
- "description" : "本次代商户操作的全局唯一事务编号,后续代商户创建小程序、代签约当面付等产品、提交事务等接口都需要传递该batch_no值,且要确认只有 init 状态的batch_no才能发起调用。",
- "example" : "2017110616474516400082883"
- },
- "batch_status" : {
- "type" : "string",
- "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 状态才允许进行接口调用,其它状态都是终态,不允许继续进行接口调用。",
- "example" : "init"
- }
- }
- },
- "AlipayOpenAgentFacetofaceSignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentFacetofaceSignModel" : {
- "type" : "object",
- "properties" : {
- "batch_no" : {
- "type" : "string",
- "description" : "代商户操作事务编号,通过https://opendocs.alipay.com/apis/api_50/alipay.open.agent.create (开启代商户签约、创建应用事务)接口进行事务创建后获取。",
- "example" : "2017110616474516400082883"
- },
- "business_license_mobile" : {
- "type" : "string",
- "description" : "被邀请授权的营业执照法人手机号码,上传非同人营业执照时必填",
- "example" : "13189652239"
- },
- "business_license_no" : {
- "type" : "string",
- "description" : "营业执照号码",
- "example" : "1532501100006302"
- },
- "date_limitation" : {
- "type" : "string",
- "description" : "营业期限",
- "example" : "2017-11-11"
- },
- "long_term" : {
- "type" : "boolean",
- "description" : "营业期限是否长期有效",
- "example" : "true"
- },
- "mcc_code" : {
- "type" : "string",
- "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”。",
- "example" : "A0001_B0199"
- },
- "rate" : {
- "type" : "string",
- "description" : "服务费率(%),0.38~0.6 之间(小数点后两位,可取0.38%及0.6%)。\t当签约且授权标识 sign_and_auth=true 时,该费率信息必填。",
- "example" : "0.38"
- },
- "shop_address" : {
- "$ref" : "#/components/schemas/SignAddressInfo"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "店铺名称",
- "example" : "-"
- },
- "sign_and_auth" : {
- "type" : "boolean",
- "description" : "签约且授权标识,默认为false,只进行签约操作; 如果设置为true,则表示签约成功后,会自动进行应用授权操作。",
- "example" : "false"
- }
- }
- },
- "AlipayOpenAgentFacetofaceSignResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAgentMiniCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentMiniCreateModel" : {
- "type" : "object",
- "properties" : {
- "app_category_ids" : {
- "type" : "string",
- "description" : "小程序类目,必填,可以支持最多三个类目,最少一个,参数格式:一级类目1_二级类目1;一级类目2_二级类目2。\t类目可以通过以下接口查询:alipay.open.mini.category.query",
- "example" : "107397_107223"
- },
- "app_desc" : {
- "type" : "string",
- "description" : "商家小程序描述信息,简要描述小程序主要功能(20-200个字),例:xx小程序提供了xx功能,主要解决了XX问题。",
- "example" : "测试小程序描述信息"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序英文名称,长度3~20个字符",
- "example" : "testapp"
- },
- "app_name" : {
- "type" : "string",
- "description" : "代商家创建的小程序应用名称。名称可以由中文、数字、英文及下划线组成,长度在3-20个字符之间,一个中文字等于2个字符,更多名称规则见:https://docs.alipay.com/mini/operation/name",
- "example" : "示例小程序"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "代商家创建的小程序的简介,请用一句话简要描述小程序提供的服务;应用上架后一个自然月可修改5次(10~32个字符)",
- "example" : "测试小程序,专业的小程序"
- },
- "batch_no" : {
- "type" : "string",
- "description" : "ISV 代商家操作事务编号,通过事务开启接口alipay.open.agent.create调用返回。",
- "example" : "2017110616474516400082883"
- },
- "mini_category_ids" : {
- "type" : "string",
- "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list。使用后不再读取app_category_ids值,老前台类目将废弃\t",
- "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
- },
- "service_email" : {
- "type" : "string",
- "description" : "商家小程序客服邮箱\r\t商家小程序客服电话和邮箱,可以二选一填写,但不能同时为空",
- "example" : "test@alipay.com"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "商家小程序的客服电话,推荐填写\r\t商家小程序客服电话和邮箱,可以二选一填写,但不能同时为空",
- "example" : "057112345678"
- }
- }
- },
- "AlipayOpenAgentMiniCreateResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAgentMobilepaySignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentMobilepaySignModel" : {
- "type" : "object",
- "properties" : {
- "app_market" : {
- "type" : "array",
- "description" : "应用在哪些市场上架,枚举值为:苹果,应用宝,豌豆荚,其他",
- "items" : {
- "type" : "string"
- },
- "example" : "应用宝"
- },
- "app_name" : {
- "type" : "string",
- "description" : "商户的APP应用名称",
- "example" : "应用名称"
- },
- "app_status" : {
- "type" : "string",
- "description" : "应用上架状态,枚举值为 已上架,未上架",
- "example" : "已上架"
- },
- "app_test_account" : {
- "type" : "string",
- "description" : "可以登录该应用的测试账户",
- "example" : "testAccount"
- },
- "app_test_account_password" : {
- "type" : "string",
- "description" : "可以登录此应用的账户的密码。对应app_test_account的登录密码",
- "example" : "testPassword"
- },
- "app_type" : {
- "type" : "array",
- "description" : "应用类型,枚举值为:IOS,安卓",
- "items" : {
- "type" : "string"
- },
- "example" : "安卓"
- },
- "batch_no" : {
- "type" : "string",
- "description" : "代商户操作事务编号,通过alipay.open.isv.agent.create接口进行创建。",
- "example" : "2017110616474516400082883"
- },
- "business_license_mobile" : {
- "type" : "string",
- "description" : "营业执照法人手机号码",
- "example" : "13189652239"
- },
- "business_license_no" : {
- "type" : "string",
- "description" : "营业执照号码。",
- "example" : "1532501100006302"
- },
- "date_limitation" : {
- "type" : "string",
- "description" : "营业期限",
- "example" : "2017-11-11"
- },
- "download_link" : {
- "type" : "string",
- "description" : "应用下载链接",
- "example" : "http://demo.com/demo.apk"
- },
- "long_term" : {
- "type" : "boolean",
- "description" : "营业期限是否长期有效",
- "example" : "true"
- },
- "mcc_code" : {
- "type" : "string",
- "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> 中的“经营类目编码”",
- "example" : "A_A03_4582"
- }
- }
- },
- "AlipayOpenAgentMobilepaySignResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAgentOfflinepaymentSignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentOfflinepaymentSignModel" : {
- "type" : "object",
- "properties" : {
- "batch_no" : {
- "type" : "string",
- "description" : "代商户操作事务编号,通过alipay.open.agent.create接口进行创建。",
- "example" : "2017110616474516400082883"
- },
- "business_license_mobile" : {
- "type" : "string",
- "description" : "被邀请授权的营业执照法人手机号码,上传非同人营业执照时必填",
- "example" : "13189652239"
- },
- "business_license_no" : {
- "type" : "string",
- "description" : "营业执照号码。若填写,请与以下营业执照图片、期限、一起提供。",
- "example" : "1532501100006302"
- },
- "date_limitation" : {
- "type" : "string",
- "description" : "营业期限",
- "example" : "2017-11-11"
- },
- "delivery_address" : {
- "$ref" : "#/components/schemas/SignAddressInfo"
- },
- "long_term" : {
- "type" : "boolean",
- "description" : "营业期限是否长期有效",
- "example" : "true"
- },
- "mcc_code" : {
- "type" : "string",
- "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> 中的“经营类目编码”",
- "example" : "A_A03_4582"
- },
- "rate" : {
- "type" : "string",
- "description" : "服务费率(%),0.38~3之间,精确到0.01",
- "example" : "0.38"
- },
- "shop_address" : {
- "$ref" : "#/components/schemas/SignAddressInfo"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "店铺名称",
- "example" : "-"
- }
- }
- },
- "AlipayOpenAgentOfflinepaymentSignResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAgentOrderQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_BATCH_NO", "BATCH_IS_NOT_EXIST", "INVALID_PARAMETER", "SYSTEM_ERROR", "NO_APP_PERMISSION", "BATCH_STATUS_NOT_SUBMIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentOrderQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agent_app_id" : {
- "type" : "string",
- "description" : "代理创建的应用ID,如果有代理商户创建应用,商户确认成功后,才返回应用ID,否则不返回。",
- "example" : "2017111108241348"
- },
- "confirm_url" : {
- "type" : "string",
- "description" : "只有申请单状态在MERCHANT_CONFIRM状态下,才会返回商户确认签约链接",
- "example" : "https://openhome.alipay.com/isv/settling/confirm.htm?orderNo=20180627015000000000009202531926"
- },
- "merchant_pid" : {
- "type" : "string",
- "description" : "商户pid",
- "example" : "390284792319804"
- },
- "order_no" : {
- "type" : "string",
- "description" : "签约单号",
- "example" : "20211020034000100000027428505085"
- },
- "order_status" : {
- "type" : "string",
- "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=审核失败或商户拒绝,申请信息审核被驳回,或者商户选择拒绝签约或授权",
- "example" : "MERCHANT_INFO_HOLD"
- },
- "product_agent_status_infos" : {
- "type" : "array",
- "description" : "申请单中每个产品的签约状态",
- "items" : {
- "$ref" : "#/components/schemas/ProductAgentStatusInfo"
- }
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "审核失败的拒绝原因,只有审核失败才会返回该值",
- "example" : "图片涉黄"
- },
- "restrict_infos" : {
- "type" : "array",
- "description" : "受限信息",
- "items" : {
- "$ref" : "#/components/schemas/SignRestrictInfo"
- }
- }
- }
- },
- "AlipayOpenAgentSignstatusQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "QUERY_SIGN_STATUS_AUTH_NOT_MATCH", "QUERY_SIGN_STATUS_NOT_AUTH", "MERCHANT_IS_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAgentSignstatusQueryModel" : {
- "type" : "object",
- "properties" : {
- "pid" : {
- "type" : "string",
- "description" : "isv要查询签约状态的商户账号,可以是支付宝账号pid(2088开头),也可以是商户的登录账号(邮箱或手机号)",
- "example" : "支付宝账号:2088123451234543或手机号:13811111111或邮箱:123@xxx.com"
- },
- "product_codes" : {
- "type" : "array",
- "description" : "isv要查询商户签约状态的产品码,产品码是支付宝内部对产品的唯一标识。目前支持查询产品及产品码详情参见 https://opendocs.alipay.com/isv/01cv77#%E8%83%BD%E5%8A%9B%E4%BA%A7%E5%93%81%E7%A0%81 。\t",
- "items" : {
- "type" : "string"
- },
- "example" : "I1011000100000000001"
- }
- }
- },
- "AlipayOpenAgentSignstatusQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "sign_status_list" : {
- "type" : "array",
- "description" : "商户产品签约状态结果对象数组,返回本次查询的产品的签约状态",
- "items" : {
- "$ref" : "#/components/schemas/ProductSignStatusInfo"
- }
- }
- }
- },
- "AlipayOpenAppApiFieldApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppApiFieldApplyModel" : {
- "type" : "object",
- "properties" : {
- "auth_field_apply" : {
- "$ref" : "#/components/schemas/AuthFieldApply"
- }
- }
- },
- "AlipayOpenAppApiFieldApplyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAppApiFieldQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAM", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppApiFieldQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "auth_field_response" : {
- "$ref" : "#/components/schemas/AuthFieldResponse"
- }
- }
- },
- "AlipayOpenAppApiQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppApiQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "apis" : {
- "type" : "array",
- "description" : "应用可申请的接口出参敏感字段列表",
- "items" : {
- "$ref" : "#/components/schemas/AuthApiDTO"
- }
- }
- }
- },
- "AlipayOpenAppApiSceneQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAM", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppApiSceneQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "auth_field_scene" : {
- "type" : "array",
- "description" : "接口信息字段应用场景",
- "items" : {
- "$ref" : "#/components/schemas/AuthFieldSceneDTO"
- }
- }
- }
- },
- "AlipayOpenAppMembersCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppMembersCreateModel" : {
- "type" : "object",
- "properties" : {
- "logon_id" : {
- "type" : "string",
- "description" : "支付宝登录账号。",
- "example" : "test@alipay.com"
- },
- "role" : {
- "type" : "string",
- "description" : "为成员添加的角色类型,支持:\tDEVELOPER-开发者;\tEXPERIENCER-体验者。",
- "example" : "DEVELOPER"
- }
- }
- },
- "AlipayOpenAppMembersCreateResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAppMembersDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "USER_ID_IS_BLANK", "INVALID_ROLE", "APPLICATION_TYPE_NOT_MINIAPP", "ROLE_NOT_EXSIT", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppMembersDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAppMembersQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_ROLE", "APPLICATION_TYPE_NOT_MINIAPP" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppMembersQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_member_info_list" : {
- "type" : "array",
- "description" : "小程序成员模型",
- "items" : {
- "$ref" : "#/components/schemas/AppMemberInfo"
- }
- }
- }
- },
- "AlipayOpenAppMessagetemplateSubscribeQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "MSG_TEMPLATE_INVALID", "OPENID_INVALID", "ILLEGAL_ARGUMENT_PARAMS", "SYSTEM_ERROR", "SUBSCRIBE_TEMPLATE_OVER_LIMIT", "MSG_TEMPLATE_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppMessagetemplateSubscribeQueryModel" : {
- "type" : "object",
- "properties" : {
- "open_id" : {
- "type" : "string",
- "description" : "支付宝openId,用于支付宝用户在当前应用下的用户标识。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "template_id_list" : {
- "type" : "array",
- "description" : "消息模板id,可以填写多个,最多不超过3个。模板id需要保持同一个应用主体,并且展示在同一个订阅组件中的模板id。\t模板id获取详情参见<a href=\"https://opendocs.alipay.com/mini/01rnqx\">模板消息</a>。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"6511999536b14ba5830e3a0289ea69a\",\"0b1fcca882aa435382ae98641e14d37\",\"a3b396be6fd345579221af5dea35028\"]"
- },
- "user_id" : {
- "type" : "string",
- "description" : "订阅消息模板用户的支付宝唯一标识,2088开头。",
- "example" : "2088202882050410"
- }
- }
- },
- "AlipayOpenAppMessagetemplateSubscribeQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "show_component" : {
- "type" : "boolean",
- "description" : "是否显示订阅组件。枚举值:\ttrue:显示订阅组件。\tfalse:不显示订阅组件",
- "example" : "true"
- },
- "subscribe_relations" : {
- "type" : "array",
- "description" : "用户对消息模板的订阅关系列表,为入参中的用户id对消息模板id的订阅关系。\t限制:用户未订阅消息,该参数不返回。",
- "items" : {
- "$ref" : "#/components/schemas/SubscribeRelation"
- }
- }
- }
- },
- "AlipayOpenAppMiniTemplatemessageSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppMiniTemplatemessageSendModel" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "string",
- "description" : "模板消息内容。商家/开发者将模板占位符替换为自定义内容。\t\t注意:\t* 选用模板时配置的关键字顺序与keyword_ X相互对应,填写时需注意。\t\t* 自定义消息内容仅需替换 value 后内容即可,其余内容请勿修改。如 {\"keyword1\": {\"value\" : \"2021年01月\"}。表示第一个关键字数据为\"2021年01月\" 。\t\t* value 最长为 50 个字符。",
- "example" : "{\"keyword1\": {\"value\" : \"12:00\"},\"keyword2\": {\"value\" : \"20180808\"},\"keyword3\": {\"value\" : \"支付宝\"}}"
- },
- "form_id" : {
- "type" : "string",
- "description" : "*支付消息模板:需传入用户发生的交易行为的支付宝交易号 trade_no;\t*表单提交模板:需传入用户在小程序触发表单提交事件获得的表单号;\t*刷脸消息模板:需传入在IOT刷脸后得到的ftoken等,用于信息发送的校验。\t说明:订阅消息模板无需传入本参数。",
- "example" : "2017010100000000580012345678"
- },
- "page" : {
- "type" : "string",
- "description" : "小程序的跳转页面。用于用户点击模板消息 进入小程序查看 按钮后,跳转至商家小程序对应页面。",
- "example" : "page/component/index"
- },
- "to_open_id" : {
- "type" : "string",
- "description" : "支付宝openId,用于支付宝用户在当前应用下的用户标识。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "to_user_id" : {
- "type" : "string",
- "description" : "接收模板消息的用户 user_id,一般为2088开头的16为数字。\t注意:需为实际支付/提交表单/刷脸/订阅消息的用户。",
- "example" : "2088102122458832"
- },
- "user_template_id" : {
- "type" : "string",
- "description" : "商家在商家自运营中心选用的消息模板ID,详情参见 <a href=\"https://opendocs.alipay.com/mini/01rnqx#%E8%AE%A2%E9%98%85%E6%B6%88%E6%81%AF\">选用消息模板</a> 。",
- "example" : "MDI4YzIxMDE2M2I5YTQzYjUxNWE4MjA4NmU1MTIyYmM="
- }
- }
- },
- "AlipayOpenAppMiniTemplatemessageSendResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAppQrcodeCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "APPQRCODE_NOT_TINYAPP", "SYSTEM_ERROR", "APP_QUERY_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppQrcodeCreateModel" : {
- "type" : "object",
- "properties" : {
- "color" : {
- "type" : "string",
- "description" : "圆形二维码颜色(十六进制颜色色值),仅圆形二维码支持颜色设置,方形二维码默认为黑色。",
- "example" : "0x00BFFF"
- },
- "describe" : {
- "type" : "string",
- "description" : "对应的二维码描述",
- "example" : "二维码描述"
- },
- "query_param" : {
- "type" : "string",
- "description" : "小程序的启动参数,打开小程序的query ,在小程序 onLaunch的方法中获取。可查看 <a href= \"https://opendocs.alipay.com/support/01rb2a\">如何获取各种场景的启动参数</a>。",
- "example" : "x=1"
- },
- "size" : {
- "type" : "string",
- "description" : "合成后图片的大小\t(s -- 8cm, m -- 12cm, l -- 30cm)",
- "example" : "s"
- },
- "url_param" : {
- "type" : "string",
- "description" : "page/component/component-pages/view/view为小程序中能访问到的页面路径",
- "example" : "page/component/component-pages/view/view"
- }
- }
- },
- "AlipayOpenAppQrcodeCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "qr_code_url" : {
- "type" : "string",
- "description" : "方形二维码图片链接地址",
- "example" : "http://mmtcdp.stable.alipay.net/wsdk/img?fileid=A*lSbPT5i9C1wAAAAAAAAAAABjAQAAAA&t=9005d7f574f30246b89c20c17302115f&bz=mmtcafts&"
- },
- "qr_code_url_circle_blue" : {
- "type" : "string",
- "description" : "圆形二维码地址,蓝色slogan",
- "example" : "https://mdgwdev.alipay.net/wsdk/img?fileid=A*KUfuQrWzFdsAAAAAAAAAAAAAAQAAAQ&bz=am_afts_openhome&zoom=800w_800h"
- },
- "qr_code_url_circle_white" : {
- "type" : "string",
- "description" : "圆形二维码地址,白色slogan",
- "example" : "https://mdgwdev.alipay.net/wsdk/img?fileid=A*fRfsRq-nXbkAAAAAAAAAAAAAAQAAAQ&bz=am_afts_openhome&zoom=800w_800h"
- }
- }
- },
- "AlipayOpenAppServiceApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppServiceApplyModel" : {
- "type" : "object",
- "properties" : {
- "category_id" : {
- "type" : "string",
- "description" : "行业类目id",
- "example" : "C102423081"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务编号,平台会基于appId+out_biz_no做幂等控制,如果出现幂等,会返回幂等的service_code",
- "example" : "12345678"
- },
- "schema_version" : {
- "type" : "string",
- "description" : "服务schema版本",
- "example" : "1"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务编码, 首次提报时设置空值,支付宝侧返回ServiceCode;当传入serviceCode,则对已提报服务做编辑操作。",
- "example" : "2021011521000858813900"
- },
- "service_xml" : {
- "type" : "string",
- "description" : "服务xml",
- "example" : "<serviceSchema></serviceSchema>"
- },
- "template_type" : {
- "type" : "string",
- "description" : "服务模版。若当前服务类目只有一个服务模版,可不填。",
- "example" : "DEFAULT"
- }
- }
- },
- "AlipayOpenAppServiceApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "service_code" : {
- "type" : "string",
- "description" : "服务id",
- "example" : "1111"
- }
- }
- },
- "AlipayOpenAppServiceDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PERMISSION_CHECK_ERROR", "SERVICE_CAN_NOT_INVALID", "SERVICE_STATUS_IS_AUDITING", "SERVICE_NULL", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppServiceDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenAppServiceListQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "PERMISSION_CHECK_ERROR", "MINI_APP_NOT_ONLINE", "SERVICE_IS_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppServiceListQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "2"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页记录数",
- "example" : "10"
- },
- "records" : {
- "type" : "array",
- "description" : "服务列表",
- "items" : {
- "$ref" : "#/components/schemas/StandardServiceBaseInfo"
- }
- },
- "total" : {
- "type" : "integer",
- "description" : "总记录数",
- "example" : "500"
- }
- }
- },
- "AlipayOpenAppServiceQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "SERVICE_NOT_EXIST", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppServiceQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "reject_reason" : {
- "type" : "string",
- "description" : "驳回理由",
- "example" : "不符合运营规范"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务id",
- "example" : "s1111"
- },
- "service_xml" : {
- "type" : "string",
- "description" : "服务描述xml格式",
- "example" : "<?xml version=\"1.0\" encoding=\"utf-8\"?</serviceSchema>...<serviceSchema>"
- },
- "status" : {
- "type" : "string",
- "description" : "服务状态,EDITING(编辑中)/AUDITING(审核中)/AUDIT_REJECT(审核驳回)/PROMOTION(可推广)/STOP_PROMOTION(停止推广)/INVALID(失效)/PUNISHED(处罚)",
- "example" : "AUDITING"
- },
- "template_type" : {
- "type" : "string",
- "description" : "服务模板类型",
- "example" : "DEFAULT"
- }
- }
- },
- "AlipayOpenAppServiceSchemaQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "SERVICE_SCHEMA_NOT_EXIST", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppServiceSchemaQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "category_id" : {
- "type" : "string",
- "description" : "类目id",
- "example" : "c11111"
- },
- "schema_version" : {
- "type" : "string",
- "description" : "服务schema版本",
- "example" : "v1.0"
- },
- "schema_xml" : {
- "type" : "string",
- "description" : "服务schema",
- "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>"
- },
- "template_type" : {
- "type" : "string",
- "description" : "服务模版类型",
- "example" : "DEFAULT"
- }
- }
- },
- "AlipayOpenAppTestGrayCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppTestGrayCreateModel" : {
- "type" : "object",
- "properties" : {
- "body" : {
- "type" : "string",
- "description" : "b1",
- "example" : "b1"
- },
- "body_1" : {
- "type" : "string",
- "description" : "body",
- "example" : "1"
- },
- "complex_param" : {
- "$ref" : "#/components/schemas/OpenidComplex"
- },
- "open_id" : {
- "type" : "string",
- "description" : "xx",
- "example" : "xxx"
- },
- "user_id" : {
- "type" : "string",
- "description" : "1",
- "example" : "2088001159940003"
- }
- }
- },
- "AlipayOpenAppTestGrayCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "zone_name" : {
- "type" : "string",
- "description" : "1",
- "example" : "cz00b"
- }
- }
- },
- "AlipayOpenAppTestGrayQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "MANJIANG_UNIFY_TEST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAppTestGrayQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "res" : {
- "type" : "string",
- "description" : "1",
- "example" : "1"
- }
- }
- },
- "AlipayOpenAuthAppAesGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "ACCESS_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAuthAppAesGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "aes_key" : {
- "type" : "string",
- "description" : "商家应用AES KEY密文,需要ISV使用三方应用配置的AES密钥内容进行解密。详情参见 <a href=\"https://opendocs.alipay.com/isv/grefvl/getaes\">应用AES密钥管理</a>。",
- "example" : "s6p0cLTHCy7jtJyTKnh"
- }
- }
- },
- "AlipayOpenAuthAppAesSetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "ACCESS_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAuthAppAesSetModel" : {
- "type" : "object",
- "properties" : {
- "merchant_app_id" : {
- "type" : "string",
- "description" : "商家应用appId",
- "example" : "20191223601234564"
- }
- }
- },
- "AlipayOpenAuthAppAesSetResponseModel" : {
- "type" : "object",
- "properties" : {
- "aes_key" : {
- "type" : "string",
- "description" : "商家应用AES KEY密文,需要ISV使用三方应用配置的AES密钥内容进行解密。详情参见 <a href=\"https://opendocs.alipay.com/isv/grefvl/getaes\">应用AES密钥管理</a>。",
- "example" : "s6p0cLTHCy7jtJyTKnh"
- }
- }
- },
- "AlipayOpenAuthTokenAppErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAuthTokenAppModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "应用授权码,传入应用授权后得到的 app_auth_code。\t说明:\tgrant_type 为 authorization_code 时,本参数必填;\tgrant_type 为 refresh_token 时不填。",
- "example" : "1cc19911172e4f8aaa509c8fb5d12F56"
- },
- "grant_type" : {
- "type" : "string",
- "description" : "授权方式。支持:\tauthorization_code:使用应用授权码换取应用授权令牌app_auth_token。\trefresh_token:使用app_refresh_token刷新获取新授权令牌。\t",
- "example" : "authorization_code或者refresh_token"
- },
- "refresh_token" : {
- "type" : "string",
- "description" : "刷新令牌,上次换取访问令牌时得到。本参数在 grant_type 为 authorization_code 时不填;为 refresh_token 时必填,且该值来源于此接口的返回值 app_refresh_token(即至少需要通过 grant_type=authorization_code 调用此接口一次才能获取)。",
- "example" : "201509BBdcba1e3347de4e75ba3fed2c9abebE36"
- }
- }
- },
- "AlipayOpenAuthTokenAppQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_PARAM", "APP_NOT_ISV", "AUTH_TOKEN_NOT_EXISTED", "SYSTEM_ERROR", "AUTH_TOKEN_NOT_CONSISTENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAuthTokenAppQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "auth_app_id" : {
- "type" : "string",
- "description" : "授权商户的appid",
- "example" : "2013121100055554"
- },
- "auth_end" : {
- "type" : "string",
- "description" : "授权失效时间",
- "example" : "2016-11-03 01:59:57"
- },
- "auth_methods" : {
- "type" : "array",
- "description" : "当前app_auth_token的授权接口列表",
- "items" : {
- "type" : "string"
- },
- "example" : "\"alipay.open.auth.token.app.query\",\"alipay.system.oauth.token\",\"alipay.open.auth.token.app\""
- },
- "auth_start" : {
- "type" : "string",
- "description" : "授权生效时间",
- "example" : "2015-11-03 01:59:57"
- },
- "expires_in" : {
- "type" : "integer",
- "description" : "应用授权令牌失效时间,单位到秒",
- "example" : "31536000"
- },
- "is_by_app_auth" : {
- "type" : "boolean",
- "description" : "当商家选择全权委托授权时值为true,未选择时为false。",
- "example" : "true"
- },
- "status" : {
- "type" : "string",
- "description" : "valid:有效状态;invalid:无效状态",
- "example" : "valid"
- },
- "user_id" : {
- "type" : "string",
- "description" : "授权商户的user_id",
- "example" : "2088102150527498"
- }
- }
- },
- "AlipayOpenAuthTokenAppResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_auth_token" : {
- "type" : "string",
- "description" : "应用授权令牌",
- "example" : "201509BBeff9351ad1874306903e96b91d248A36"
- },
- "app_refresh_token" : {
- "type" : "string",
- "description" : "刷新令牌",
- "example" : "201509BBdcba1e3347de4e75ba3fed2c9abebE36"
- },
- "auth_app_id" : {
- "type" : "string",
- "description" : "授权商户的appid",
- "example" : "2013121100055554"
- },
- "expires_in" : {
- "type" : "string",
- "description" : "该字段已作废,应用令牌长期有效,接入方不需要消费该字段",
- "example" : "123456"
- },
- "re_expires_in" : {
- "type" : "string",
- "description" : "刷新令牌的有效时间(从接口调用时间作为起始时间),单位到秒",
- "example" : "123456"
- },
- "tokens" : {
- "type" : "array",
- "description" : "批量授权换码访问令牌列表",
- "items" : {
- "$ref" : "#/components/schemas/AppTokenExchangeSubElement"
- }
- },
- "user_id" : {
- "type" : "string",
- "description" : "授权商户的user_id",
- "example" : "2088102150527498"
- }
- }
- },
- "AlipayOpenAuthUserauthRelationshipQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenAuthUserauthRelationshipQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "query_detail" : {
- "type" : "string",
- "description" : "授权结果查询结果,可以转换为为Map<String,Boolean>格式",
- "example" : "{\"auth_user\":true,\"auth_zhima\":false}"
- }
- }
- },
- "AlipayOpenBizCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenBizCreateModel" : {
- "type" : "object",
- "properties" : {
- "a" : {
- "$ref" : "#/components/schemas/Gavintest"
- },
- "b" : {
- "type" : "string",
- "description" : "1",
- "example" : "21"
- },
- "de" : {
- "$ref" : "#/components/schemas/GavintestNewLeveaOne"
- },
- "stringbuff" : {
- "type" : "string",
- "description" : "1",
- "example" : "1"
- }
- }
- },
- "AlipayOpenBizCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "a" : {
- "type" : "string",
- "description" : "1",
- "example" : "1"
- },
- "b" : {
- "$ref" : "#/components/schemas/GavintestNewonline"
- },
- "c" : {
- "type" : "string",
- "description" : "1",
- "example" : "21"
- }
- }
- },
- "AlipayOpenFeeAdjustApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenFeeAdjustApplyModel" : {
- "type" : "object",
- "properties" : {
- "account" : {
- "type" : "string",
- "description" : "服务商代申请特殊费率的商家支付宝账户",
- "example" : "test@alipay.com"
- },
- "application_fee" : {
- "type" : "string",
- "description" : "服务商代商家申请特殊费率的费率值(%),如0.38表示0.38%",
- "example" : "0.38"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "对应证件类型(certType)的证件号,如营业执照为营业执照号",
- "example" : "1532501100006302"
- },
- "cert_type" : {
- "type" : "string",
- "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",
- "example" : "DEFAULT_LICENSE"
- },
- "city_code" : {
- "type" : "string",
- "description" : "市",
- "example" : "370900"
- },
- "detail_address" : {
- "type" : "string",
- "description" : "详细地址",
- "example" : "人民路10号"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区/县",
- "example" : "370902"
- },
- "product_code" : {
- "type" : "string",
- "description" : "服务商代商家申请调整费率的产品码",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份",
- "example" : "370000"
- }
- }
- },
- "AlipayOpenFeeAdjustApplyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenFileUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "FILE_CHECK_FAIL", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenFileUploadModel" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "素材使用场景,请关联其他开放平台接口联合使用。如果素材用于内容发布,请必传入content_creation",
- "example" : "content_creation"
- },
- "extra_parameters" : {
- "$ref" : "#/components/schemas/FileUploadExtraParam"
- },
- "md5" : {
- "type" : "string",
- "description" : "文件的md5值,如果不传则不校验md5",
- "example" : "9cff2d79bc81acf12abbaca7328a4dc5"
- }
- }
- },
- "AlipayOpenFileUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "extern_id" : {
- "type" : "string",
- "description" : "视频资源id,同步外部渠道后,外部渠道返回的id。目前支持同步优酷场景,返回优酷视频id,用于支付宝客户端播放视频使用",
- "example" : "XNTk0NjE5NjI4OA=="
- },
- "file_id" : {
- "type" : "string",
- "description" : "文件id,用于提供后后续业务调用使用",
- "example" : "A*6XqwQKpS1t0AAAAAAAAAAAAADi92AA"
- }
- }
- },
- "AlipayOpenInstantdeliveryAccountCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "RESULT_IS_NOT_EXPECTED", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenInstantdeliveryAccountCreateModel" : {
- "type" : "object",
- "properties" : {
- "logistics_codes" : {
- "type" : "array",
- "description" : "配送公司编码",
- "items" : {
- "type" : "string"
- },
- "example" : "ISTD"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号",
- "example" : "out_biz_no_202008311750000"
- }
- }
- },
- "AlipayOpenInstantdeliveryAccountCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "logistics_account_status" : {
- "type" : "array",
- "description" : "配送公司账户创建结果列表",
- "items" : {
- "$ref" : "#/components/schemas/LogisticsAccountStatusDTO"
- }
- }
- }
- },
- "AlipayOpenInstantdeliveryAccountQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "RESULT_IS_NOT_EXPECTED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenInstantdeliveryAccountQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "balance" : {
- "type" : "string",
- "description" : "账户余额",
- "example" : "1.3"
- },
- "business_license" : {
- "type" : "string",
- "description" : "企业营业执照图片正反面",
- "example" : "http://xxx"
- },
- "business_scope" : {
- "type" : "string",
- "description" : "经营范围",
- "example" : "XXX"
- },
- "credit_code" : {
- "type" : "string",
- "description" : "统一社会信用代码",
- "example" : "XXX"
- },
- "email" : {
- "type" : "string",
- "description" : "联系人邮箱",
- "example" : "xxx@alipay.com"
- },
- "enterprise_address" : {
- "type" : "string",
- "description" : "企业地址",
- "example" : "XXX街道108号"
- },
- "enterprise_city" : {
- "type" : "string",
- "description" : "企业所在地,市编码",
- "example" : "XX"
- },
- "enterprise_district" : {
- "type" : "string",
- "description" : "企业所在地,区编码",
- "example" : "XX"
- },
- "enterprise_name" : {
- "type" : "string",
- "description" : "企业全称",
- "example" : "淘宝"
- },
- "enterprise_province" : {
- "type" : "string",
- "description" : "企业所在地,省编码",
- "example" : "XX"
- },
- "enterprise_type" : {
- "type" : "string",
- "description" : "企业类型",
- "example" : "01"
- },
- "logistics_account_status" : {
- "type" : "array",
- "description" : "在配送公司的账户状态信息",
- "items" : {
- "$ref" : "#/components/schemas/LogisticsAccountStatusDTO"
- }
- },
- "phone" : {
- "type" : "string",
- "description" : "联系人手机号",
- "example" : "138xxxxxxxx"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantagreementQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantagreementQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_detail" : {
- "$ref" : "#/components/schemas/AgreementDetail"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantagreementSignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantagreementSignModel" : {
- "type" : "object",
- "properties" : {
- "open_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID",
- "example" : "2088000000000000"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantagreementSignResponseModel" : {
- "type" : "object",
- "properties" : {
- "sign_url" : {
- "type" : "string",
- "description" : "授权二维码的url, 必须用传入的uid进行扫码",
- "example" : "https://openapi.alipay.com/gateway.do?***"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "RESULT_IS_NOT_EXPECTED", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "page_no" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页数量, 最大50。",
- "example" : "20"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "球房名称",
- "example" : "球房1"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "商家球房编码。",
- "example" : "10000"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "page_no" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页数量, 最大50。",
- "example" : "20"
- },
- "records" : {
- "type" : "array",
- "description" : "球房列表数据。",
- "items" : {
- "$ref" : "#/components/schemas/MerchantShopDTO"
- }
- },
- "total_no" : {
- "type" : "integer",
- "description" : "总数量",
- "example" : "100"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "RESULT_IS_NOT_EXPECTED", "SYSTEM_ERROR", "SYSTEM_EXCEPTION", "NO_ACCOUNT", "ACCOUNT_CREATING", "ACCOUNT_AUDITING" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopCreateModel" : {
- "type" : "object",
- "properties" : {
- "contact_name" : {
- "type" : "string",
- "description" : "联系人姓名",
- "example" : "张三"
- },
- "detail_address" : {
- "type" : "string",
- "description" : "地址。商户详细经营地址或人员所在地点",
- "example" : "万塘路18号黄龙时代广场B座"
- },
- "enterprise_city" : {
- "type" : "string",
- "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "371000"
- },
- "enterprise_district" : {
- "type" : "string",
- "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "371002"
- },
- "enterprise_province" : {
- "type" : "string",
- "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "370000"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度,浮点型,小数点后最多保留6位 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
- "example" : "60.270001"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度,浮点型, 小数点后最多保留6位。 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
- "example" : "120.760001"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号",
- "example" : "out_biz_no_202008311750003"
- },
- "phone" : {
- "type" : "string",
- "description" : "联系人电话/手机号",
- "example" : "13888888888"
- },
- "poiid" : {
- "type" : "string",
- "description" : "高德poiid",
- "example" : "B0FFIVU189"
- },
- "shop_category" : {
- "type" : "string",
- "description" : "店铺类目,取值参见文件https://mif-pub.alipayobjects.com/ShopCategory.xlsx 中的三级球房类目",
- "example" : "1001"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "球房名称,最长不超过256个字符。名称+地址需要全局唯一。",
- "example" : "球房1"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "商家球房编码,可自定义,但必须唯一",
- "example" : "1000"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "logistics_shop_status" : {
- "type" : "array",
- "description" : "球房创建返回的结果。",
- "items" : {
- "$ref" : "#/components/schemas/LogisticsShopStatusDTO"
- }
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "SHOP_CREATING", "SYSTEM_ERROR", "SHOP_AUDITING", "SHOP_UPDATING", "NO_ACCOUNT", "ACCOUNT_CREATING", "ACCOUNT_AUDITING" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopModifyModel" : {
- "type" : "object",
- "properties" : {
- "contact_name" : {
- "type" : "string",
- "description" : "联系人姓名",
- "example" : "张三"
- },
- "logistics_codes" : {
- "type" : "array",
- "description" : "要更新的配送公司列表,必须包含已经创建过该球房的配送公司,可以新增开通了账户的配送公司",
- "items" : {
- "type" : "string"
- },
- "example" : "ISTD"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号",
- "example" : "out_biz_no_202008311750004"
- },
- "phone" : {
- "type" : "string",
- "description" : "联系人电话/手机号",
- "example" : "13666666666"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "商家球房编码",
- "example" : "1000"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "logistics_shop_status" : {
- "type" : "array",
- "description" : "球房创建返回的结果",
- "items" : {
- "$ref" : "#/components/schemas/LogisticsShopStatusDTO"
- }
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UNKNOWN_EXCEPTION", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenInstantdeliveryMerchantshopQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "contact_name" : {
- "type" : "string",
- "description" : "联系人姓名",
- "example" : "张三"
- },
- "detail_address" : {
- "type" : "string",
- "description" : "地址。商户详细经营地址或人员所在地点。",
- "example" : "万塘路18号黄龙时代广场B座"
- },
- "enterprise_city" : {
- "type" : "string",
- "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "371000"
- },
- "enterprise_district" : {
- "type" : "string",
- "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "371002"
- },
- "enterprise_province" : {
- "type" : "string",
- "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "370000"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度,浮点型,小数点后最多保留6位 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
- "example" : "60.270001"
- },
- "logistics_shop_status" : {
- "type" : "array",
- "description" : "在配送公司的球房状态。",
- "items" : {
- "$ref" : "#/components/schemas/LogisticsShopStatusDTO"
- }
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度,浮点型, 小数点后最多保留6位。 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker",
- "example" : "120.760001"
- },
- "phone" : {
- "type" : "string",
- "description" : "联系人电话/手机号。",
- "example" : "13888888888"
- },
- "poiid" : {
- "type" : "string",
- "description" : "高德poiid",
- "example" : "B0FFIVU189"
- },
- "shop_category" : {
- "type" : "string",
- "description" : "店铺类目,取值参见文件https://mif-pub.alipayobjects.com/ShopCategory.xlsx 中的三级球房类目",
- "example" : "1001"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "球房名称,最长不超过256个字符",
- "example" : "球房1"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "商家球房编码。",
- "example" : "1000"
- }
- }
- },
- "AlipayOpenInviteOrderQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMS", "INVITE_ISV_BIZ_ID_INVALID", "INVITE_ISV_BIZ_ID_NOT_EXIST", "MERCHANT_LOGON_ID_NOT_MATCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenInviteOrderQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "merchant_pid" : {
- "type" : "string",
- "description" : "商家支付宝账号对应的ID,2088开头",
- "example" : "2088532075393645"
- },
- "sign_status_list" : {
- "type" : "array",
- "description" : "产品签约状态对象",
- "items" : {
- "$ref" : "#/components/schemas/ProductInviteStatusInfo"
- }
- }
- }
- },
- "AlipayOpenMiniAppdeployByappidQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniAppdeployByappidQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "deploys" : {
- "type" : "array",
- "description" : "小程序发布信息",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppDeployResponse"
- }
- },
- "total" : {
- "type" : "integer",
- "description" : "总数",
- "example" : "245"
- }
- }
- },
- "AlipayOpenMiniAppdeployByappversionQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniAppdeployByappversionQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "deploys" : {
- "type" : "array",
- "description" : "发布信息",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppDeployResponse"
- }
- }
- }
- },
- "AlipayOpenMiniAppdeployBydeployversionQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniAppdeployBydeployversionQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "deploys" : {
- "type" : "array",
- "description" : "小程序发布信息",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppDeployResponse"
- }
- }
- }
- },
- "AlipayOpenMiniBaseinfoModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniBaseinfoModifyModel" : {
- "type" : "object",
- "properties" : {
- "app_category_ids" : {
- "type" : "string",
- "description" : "11_12;12_13。小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以参考https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list 。",
- "example" : "11_12;12_13"
- },
- "app_desc" : {
- "type" : "string",
- "description" : "小程序描述,长度限制 20~400 个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息\t",
- "example" : "这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序应用英文名称。长度限制 3~30 个字符,仅支持包含中文、数字、英文、下划线、+、-。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过alipay.open.mini.baseinfo.query查询当前小程序信息",
- "example" : "demoexample"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称。长度限制 3~30 个字符,仅支持包含中文、数字、英文、下划线、+、-。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过alipay.open.mini.baseinfo.query查询当前小程序信息",
- "example" : "杭州支小宝潮流女装店"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "小程序简介,一句话描述小程序功能,长度限制 10~32个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过alipay.open.mini.baseinfo.query查询当前小程序信息",
- "example" : "专注潮流女装20年"
- },
- "mini_category_ids" : {
- "type" : "string",
- "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注意:个人开发者不得使用企业类目。",
- "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
- },
- "service_email" : {
- "type" : "string",
- "description" : "小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为可选字段,请按可选开发。",
- "example" : "example@mail.com"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "小程序客服电话,长度限制5~30个字符,仅支持包含数字和-。如果不填默认采用当前小程序的应用客服电话,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为必填字段,请按必填开发。",
- "example" : "13110101010"
- }
- }
- },
- "AlipayOpenMiniBaseinfoModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniBaseinfoNameCheckErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_LIMIT", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniBaseinfoNameCheckResponseModel" : {
- "type" : "object",
- "properties" : {
- "check_code" : {
- "type" : "string",
- "description" : "校验结果code",
- "example" : "NONE"
- },
- "check_memo" : {
- "type" : "string",
- "description" : "校验说明",
- "example" : "无"
- }
- }
- },
- "AlipayOpenMiniBaseinfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "APP_INFO_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniBaseinfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_desc" : {
- "type" : "string",
- "description" : "小程序应用描述",
- "example" : "小程序官方示例Demo,展示已支持的接口能力及组件。"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序应用英文名称",
- "example" : "demoexample"
- },
- "app_logo" : {
- "type" : "string",
- "description" : "小程序应用logo图标",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/04843e84-f1fd-4717-a230-1c72de99aa5d.png"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序应用名称",
- "example" : "小程序示例"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "小程序应用简介,一句话描述小程序功能",
- "example" : "提供小程序示例功能"
- },
- "category_names" : {
- "type" : "string",
- "description" : "类目名称,格式为第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目;",
- "example" : "航空票务_航空公司;生活服务_室内清洁服务;"
- },
- "package_names" : {
- "type" : "array",
- "description" : "功能包名称",
- "items" : {
- "type" : "string"
- },
- "example" : "小程序基础功能"
- },
- "safe_domains" : {
- "type" : "array",
- "description" : "域白名单",
- "items" : {
- "type" : "string"
- },
- "example" : "example.com"
- },
- "service_email" : {
- "type" : "string",
- "description" : "小程序客服邮箱",
- "example" : "example@mail.com"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "小程序客服电话",
- "example" : "13110101010"
- }
- }
- },
- "AlipayOpenMiniCategoryQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniCategoryQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "category_list" : {
- "type" : "array",
- "description" : "小程序类目列表",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppCategory"
- }
- },
- "mini_category_list" : {
- "type" : "array",
- "description" : "小程序新类目列表。小程序新类目列表,为三级类目。创建、修改、提审传入mini_category_ids,资质相关请参考https://opendocs.alipay.com/mini/operation/material\t",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppCategory"
- }
- }
- }
- },
- "AlipayOpenMiniCategoryRequireQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "CATEGORY_IS_BLANK", "PARAMETER_ERROR", "SYSTEM_ERROR", "CATEGORY_ERROR", "INVALID_PARAMS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniCategoryRequireQueryModel" : {
- "type" : "object",
- "properties" : {
- "category_code_list" : {
- "type" : "array",
- "description" : "类目列表,不超过五个",
- "items" : {
- "type" : "string"
- },
- "example" : "[ \"XS1001_XS2002_XS3008\",\"XS1022_XS2182\"]"
- }
- }
- },
- "AlipayOpenMiniCategoryRequireQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "category_require_info_list" : {
- "type" : "array",
- "description" : "类目对应资质列表",
- "items" : {
- "$ref" : "#/components/schemas/CategoryRequireInfo"
- }
- }
- }
- },
- "AlipayOpenMiniExperienceCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniExperienceCancelModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本号",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序客户端类型,默认为支付宝端。支付宝端:com.alipay.alipaywallet,DINGDING端:com.alibaba.android.rimet,高德端:com.amap.app,天猫精灵端:com.alibaba.ailabs.genie.webapps,支付宝IOT:com.alipay.iot.xpaas",
- "example" : "com.alipay.alipaywallet"
- }
- }
- },
- "AlipayOpenMiniExperienceCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniExperienceCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniExperienceCreateModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家小程序版本号。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序客户端类型,默认为支付宝端。支持如下客户端:\tcom.alipay.alipaywallet:支付宝端;\tcom.alibaba.android.rimet:DINGDING端;\tcom.amap.app:高德端;\tcom.alibaba.ailabs.genie.webapps:天猫精灵端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- }
- }
- },
- "AlipayOpenMiniExperienceCreateResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniExperienceQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "APP_VERSION_IS_BLANK", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_PACKAGE_INFO_NOT_EXIST", "INVALID_PARAMS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniExperienceQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "exp_qr_code_url" : {
- "type" : "string",
- "description" : "小程序体验版二维码地址",
- "example" : "https://mobilecodec.alipay.com/show.htm?code=s4x06980mfxeaok1f3zvq8d"
- },
- "exp_schema_url" : {
- "type" : "string",
- "description" : "体验版schema",
- "example" : "alipays://xxx"
- },
- "status" : {
- "type" : "string",
- "description" : "体验版打包状态。状态枚举如下:\texpVersionPackged:体验版打包成功;\texpVersionPackaging:体验版打包中;\tnotExpVersion:非体验版。",
- "example" : "notExpVersion"
- }
- }
- },
- "AlipayOpenMiniIndividualBusinessCertifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NOT_PRIVATE", "INVALID_PARAMS", "DUPLICATED_CERTIFY", "SYSTEM_ERROR", "PRIVATE_NOT_CERTIFY", "BIZ_ERROR", "INVALID_PARAMETER", "USER_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniIndividualBusinessCertifyModel" : {
- "type" : "object",
- "properties" : {
- "license_no" : {
- "type" : "string",
- "description" : "营业执照注册号即营业执照的编号。",
- "example" : "1235234234123124234234"
- },
- "license_pic" : {
- "type" : "string",
- "description" : "营业执照图片的Base64编码字符串,图片大小不能超过2M",
- "example" : "/9j/Qnl0ZUFycmF5T3V0cHV0U3RyZWFtIG91dHB1dCA9IG5ldyBCeXRlQ中间缩略Skge30="
- }
- }
- },
- "AlipayOpenMiniIndividualBusinessCertifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "certify_result" : {
- "type" : "boolean",
- "description" : "个体工商户认证结果,true代表认证成功,false代表认证失败",
- "example" : "true"
- }
- }
- },
- "AlipayOpenMiniInnerExperienceCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerExperienceCancelModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "alipay"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本号",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端id",
- "example" : "com.alipay.alipaywallet"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "业务小程序appid",
- "example" : "2021001129671018"
- },
- "oid" : {
- "type" : "string",
- "description" : "oid",
- "example" : "2088xxxxxxxxxxxx"
- },
- "operator_id" : {
- "type" : "string",
- "description" : "操作员id",
- "example" : "操作员id"
- }
- }
- },
- "AlipayOpenMiniInnerExperienceCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerMembersAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "APPID_NOT_EXIST", "NOT_TINYAPP", "INNER_APP_ORIGIN_IS_BLANK", "INNER_APP_ORIGIN_NOT_EXIT", "INVALID_PARAMS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerMembersAddModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "ALIPAY"
- },
- "domain_account" : {
- "type" : "string",
- "description" : "域账号(不为空时会添加联系人)",
- "example" : "域账号"
- },
- "login_id" : {
- "type" : "string",
- "description" : "支付宝登陆账号",
- "example" : "支付宝登陆账号"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "业务appId",
- "example" : "2021125678974521"
- },
- "type" : {
- "type" : "string",
- "description" : "成员类型",
- "example" : "DEVELOPER"
- }
- }
- },
- "AlipayOpenMiniInnerMembersAddResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerMembersDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "APPID_NOT_EXIST", "NOT_TINYAPP", "INNER_APP_ORIGIN_IS_BLANK", "INNER_APP_ORIGIN_NOT_EXIT", "INVALID_PARAMS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerMembersDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerMembersQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "APPID_NOT_EXIST", "NOT_TINYAPP", "INNER_APP_ORIGIN_IS_BLANK", "INNER_APP_ORIGIN_NOT_EXIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerMembersQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "open_app_operator_vo" : {
- "type" : "array",
- "description" : "查询结果",
- "items" : {
- "$ref" : "#/components/schemas/OpenAppOperatorVo"
- }
- }
- }
- },
- "AlipayOpenMiniInnerappCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappCreateModel" : {
- "type" : "object",
- "properties" : {
- "app_category_ids" : {
- "type" : "string",
- "description" : "小程序类目,二级类目与三级类目下划线隔开,最多可以选择3个类目,类目之间以;隔开",
- "example" : "107211_107236"
- },
- "app_desc" : {
- "type" : "string",
- "description" : "小程序描述,20-200个字符",
- "example" : "我的一个计算小程序,这里注意长度是20-200个字符,10-100中文字"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序英文名称,插件不填",
- "example" : "tinyName"
- },
- "app_logo" : {
- "type" : "string",
- "description" : "小程序logo",
- "example" : "http://appstoreisvpic.alipayobjects.com/0aef2a4a-0b90-444d-916b-e8b25cd787c9.png"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称",
- "example" : "我的小程序"
- },
- "app_origin" : {
- "type" : "string",
- "description" : "来源的业务方,接入文档中申请的业务来源",
- "example" : "AAA"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "小程序简介,在搜索透出,插件不需要填",
- "example" : "我的小程序"
- },
- "app_sub_type" : {
- "type" : "string",
- "description" : "应用子类型",
- "example" : "TINYAPP_NORMAL,TINYAPP_TEMPLATE,TINYAPP_PLUGIN"
- },
- "app_type" : {
- "type" : "string",
- "description" : "应用类型",
- "example" : "TINYAPP"
- },
- "isv_app_id" : {
- "type" : "string",
- "description" : "三方应用ID,仅在创建模板小程序时需要传入",
- "example" : "2019****"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
- "example" : "300*****"
- },
- "mini_category_ids" : {
- "type" : "string",
- "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list。使用后不再读取app_category_ids值,老前台类目将废弃",
- "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
- },
- "pid" : {
- "type" : "string",
- "description" : "创建的小程序所属的PID",
- "example" : "2088****"
- },
- "service_email" : {
- "type" : "string",
- "description" : "邮箱,与客服电话二选一",
- "example" : "123@alibaba.cn"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "客服电话,插件不需要",
- "example" : "021-333333"
- }
- }
- },
- "AlipayOpenMiniInnerappCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID",
- "example" : "2018****"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginOrderErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginOrderModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "ASTORE"
- },
- "merchandise_id" : {
- "type" : "string",
- "description" : "订购的服务商品ID",
- "example" : "I1060100001000050367,插件发布接口返回的商品ID"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "一二方支持传入appId",
- "example" : "123123"
- },
- "request_id" : {
- "type" : "string",
- "description" : "业务幂等号,规则为商品id+appOrigin+requestId 作为幂等流水号\t非必填,不传则默认生成一个8位requestId",
- "example" : "fd434frr"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginOrderResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "订单号",
- "example" : "2018071900000015585789"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginrelationQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginrelationQueryModel" : {
- "type" : "object",
- "properties" : {
- "mini_app_id_list" : {
- "type" : "array",
- "description" : "应用ID列表",
- "items" : {
- "type" : "string"
- },
- "example" : "['2012211102012056','2012211102012057']"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "页大小",
- "example" : "10"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "插件ID",
- "example" : "2012211102012088"
- },
- "plugin_relation_status_list" : {
- "type" : "array",
- "description" : "插件使用关系状态,取值包括WORKING/WAIT_WORKING/STOP_WORKING/EXECUTING",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"WORKING\"]"
- },
- "run_model_type" : {
- "type" : "string",
- "description" : "运行类型,取值包括ONLINE/TRIAL/REVIEW/DEBUG",
- "example" : "ONLINE"
- },
- "show_beta_info" : {
- "type" : "boolean",
- "description" : "是否展示邀测信息",
- "example" : "true"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginrelationQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "page" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "页大小",
- "example" : "10"
- },
- "plugin_relation_info_list" : {
- "type" : "array",
- "description" : "插件关联关系信息",
- "items" : {
- "$ref" : "#/components/schemas/PluginUseRelationInfo"
- }
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总数",
- "example" : "10"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginservicePublishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginservicePublishModel" : {
- "type" : "object",
- "properties" : {
- "ability_type_list" : {
- "type" : "array",
- "description" : "功能类型,目前支持的有:1039支付, 1040会员, 1041基础, 1056资金, 1058信用, 1111口碑, 330120安全, 360101营销",
- "items" : {
- "type" : "string"
- },
- "example" : "1040"
- },
- "app_logo" : {
- "type" : "string",
- "description" : "服务发布logo",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/f9e291ed-0de5-4f5e-97ec-f76b8414a3e0.png"
- },
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "TAOBAO"
- },
- "description" : {
- "type" : "string",
- "description" : "服务描述",
- "example" : "这是一段关于插件的描述"
- },
- "detail_for_client" : {
- "type" : "string",
- "description" : "移动端详情,用于能力中心展示",
- "example" : "<p>client detail</p>"
- },
- "detail_for_pc" : {
- "type" : "string",
- "description" : "pc端详情,用于能力中心展示",
- "example" : "<p>pc detail</p>"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "插件id",
- "example" : "2012211102012056"
- },
- "sell_crowd" : {
- "type" : "string",
- "description" : "可订购人群,1003个人, 1004企业,-1无限制",
- "example" : "-1"
- },
- "show_type" : {
- "type" : "string",
- "description" : "发布后是否展示,01展示(默认)、02隐藏",
- "example" : "01"
- },
- "title" : {
- "type" : "string",
- "description" : "服务标题",
- "example" : "互投插件"
- },
- "visit_url_for_pc" : {
- "type" : "string",
- "description" : "pc端url地址,不需要则为空",
- "example" : "https://nengli.alipay.com/abilityprod/detail?abilityCode=SM010000000000001100"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginservicePublishResponseModel" : {
- "type" : "object",
- "properties" : {
- "ability_id" : {
- "type" : "string",
- "description" : "PL2012211102012056",
- "example" : "能力中心id"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginsyncmodeModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMS", "UPDATE_PLUGIN_SERVICE_FAIL", "SUB_APPLICATION_TYPE_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginsyncmodeModifyModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "来源",
- "example" : "-"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序应用 ID,",
- "example" : "2021001177654214"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "插件id",
- "example" : "2021002146679702"
- },
- "sync_mode" : {
- "type" : "string",
- "description" : "模式,SYNC/NONE",
- "example" : "SYNC"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginsyncmodeModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerappPluginuseconfigCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "CAN_NOT_GRAY_EXIST_VERSION", "CURRENT_VERSION_IS_ONLINE", "APP_INFO_NOT_EXIST", "PLUGIN_NOT_ORDERED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginuseconfigCancelModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "来源",
- "example" : "-"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端id",
- "example" : "com.alipay.alipaywallet"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序应用 ID",
- "example" : "2021002146679701"
- },
- "plugin_dev_version" : {
- "type" : "string",
- "description" : "插件研发版本",
- "example" : "0.0.3"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "插件id",
- "example" : "2021002146679702"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginuseconfigCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerappPluginuseconfigOnlineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMS", "PLUGIN_NOT_ORDERED", "APP_INFO_NOT_EXIST", "CAN_NOT_GRAY_EXIST_VERSION", "CURRENT_VERSION_IS_ONLINE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginuseconfigOnlineModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "来源",
- "example" : "-"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端id",
- "example" : "com.alipay.alipaywallet"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序应用 ID",
- "example" : "2021002146679701"
- },
- "plugin_dev_version" : {
- "type" : "string",
- "description" : "插件研发版本",
- "example" : "0.0.3"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "插件id",
- "example" : "2021002146679702"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginuseconfigOnlineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerappPluginuseconfigUpgradeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMS", "PLUGIN_NOT_ORDERED", "APP_INFO_NOT_EXIST", "CAN_NOT_GRAY_EXIST_VERSION", "CURRENT_VERSION_IS_ONLINE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginuseconfigUpgradeModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "来源",
- "example" : "-"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端id",
- "example" : "com.alipay.alipaywallet"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序应用 ID",
- "example" : "2021002146679701"
- },
- "plugin_dev_version" : {
- "type" : "string",
- "description" : "插件研发版本",
- "example" : "0.0.3"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "插件id",
- "example" : "2021002146679702"
- },
- "strategy_value" : {
- "type" : "string",
- "description" : "灰度值",
- "example" : "p50"
- }
- }
- },
- "AlipayOpenMiniInnerappPluginuseconfigUpgradeResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerappServicePublishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "APP_ORIGIN_NOT_EXIST", "APP_INFO_NOT_EXIST", "APPLICATION_TYPE_NOT_MINIAPP", "MINI_APP_NOT_ONLINE", "BUNDLE_ID_NOT_EXIST", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappServicePublishModel" : {
- "type" : "object",
- "properties" : {
- "app_logo" : {
- "type" : "string",
- "description" : "服务发布logo",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/f9e291ed-0de5-4f5e-97ec-f76b8414a3e0.png"
- },
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
- "example" : "2019****"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序模板所属PID",
- "example" : "2088****"
- },
- "sub_title" : {
- "type" : "string",
- "description" : "服务子标题",
- "example" : "服务子标题"
- },
- "title" : {
- "type" : "string",
- "description" : "服务名称",
- "example" : "服务名称"
- }
- }
- },
- "AlipayOpenMiniInnerappServicePublishResponseModel" : {
- "type" : "object",
- "properties" : {
- "merchandise_id" : {
- "type" : "string",
- "description" : "服务ID",
- "example" : "I1060100001000050361"
- }
- }
- },
- "AlipayOpenMiniInnerappServiceQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PAGE_NUM", "INVALID_PAGE_SIZE", "INVALID_PARAMS", "BIZ_ERROR", "APP_ORIGIN_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerappServiceQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "mini_app_service_info_list" : {
- "type" : "array",
- "description" : "小程序服务信息",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppServiceInfo"
- }
- },
- "page" : {
- "type" : "integer",
- "description" : "当前页数",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "页大小",
- "example" : "10"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总数",
- "example" : "100"
- }
- }
- },
- "AlipayOpenMiniInnerbaseinfoApplogoUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_LOGO_EXT", "LOGO_IS_BLANK", "LOGO_SIZE_EXCEED", "LOGO_HEIGHT_NOT_EQUAL_WIDTH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerbaseinfoApplogoUploadModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerbaseinfoApplogoUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_logo" : {
- "type" : "string",
- "description" : "上传图片结果地址。\t图片要求:\t1、不能超过256kb 2、支持的图片格式为jpg、jpeg、png 3、长宽比例必须为为1:1",
- "example" : "http://appstoreisvpic.alipayobjects.com/6c19accf-1343-4c5d-be62-3964144b3944.png"
- }
- }
- },
- "AlipayOpenMiniInnerbaseinfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "APPID_IS_BLANK", "APP_INFO_NOT_EXIST", "DEVELOPER_INFO_NOT_EXIST", "SYSTEM_ERROR", "MERCHANT_NOT_EXESIT", "INVALID_PARAMS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerbaseinfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_alias_name" : {
- "type" : "string",
- "description" : "小程序别名,简称",
- "example" : "小程序别名,简称"
- },
- "app_category_ids" : {
- "type" : "string",
- "description" : "类目Id列表",
- "example" : "107209_107226;107209_107227"
- },
- "app_desc" : {
- "type" : "string",
- "description" : "小程序应用描述",
- "example" : "小程序官方示例Demo,展示已支持的接口能力及组件。"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序英文名称",
- "example" : "tinyapp"
- },
- "app_key" : {
- "type" : "string",
- "description" : "手淘开放平台鉴权key,支付宝不需要",
- "example" : "test"
- },
- "app_logo" : {
- "type" : "string",
- "description" : "小程序应用logo图标",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/04843e84-f1fd-4717-a230-1c72de99aa5d.png"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称",
- "example" : "小程序名称"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "小程序简介",
- "example" : "小程序简介"
- },
- "app_sub_type" : {
- "type" : "string",
- "description" : "小程序类型,TINYAPP_TEMPLATE,TINYAPP_NORMAL,TINYAPP_PLUGIN",
- "example" : "TINYAPP_TEMPLATE"
- },
- "dev_id" : {
- "type" : "string",
- "description" : "小程序所属主体信息",
- "example" : "2088301139347331"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "小程序主体创建时间",
- "example" : "2017-12-12 12:00:00"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "小程序主体更新时间",
- "example" : "2017-12-12 12:00:00"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序Id",
- "example" : "3000000000001501"
- },
- "mini_category_ids" : {
- "type" : "string",
- "description" : "新小程序前台类目,一级与二级、三级用下划线隔开,最多可以选四个类目,类目之间;隔开。使用后不再读取app_category_ids值,老前台类目将废弃",
- "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
- },
- "origin" : {
- "type" : "string",
- "description" : "应用创建来源,alipay = 支付宝,taobao = 淘宝",
- "example" : "alipay"
- },
- "owner_entity" : {
- "type" : "string",
- "description" : "小程序主体信息",
- "example" : "0001"
- },
- "owner_portrait" : {
- "type" : "string",
- "description" : "小程序主体头像信息",
- "example" : "http://www.alipay.icon.com"
- },
- "plugin_refresh_type" : {
- "type" : "string",
- "description" : "AUTO/自动更新、MANUAL/手动更新",
- "example" : "MANUAL"
- },
- "service_email" : {
- "type" : "string",
- "description" : "小程序客服邮箱",
- "example" : "example@mail.com"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "小程序客服电话",
- "example" : "13110101010"
- }
- }
- },
- "AlipayOpenMiniInnerversionAuditCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionAuditCancelModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
- "example" : "2019****"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序所属PID",
- "example" : "2088****"
- }
- }
- },
- "AlipayOpenMiniInnerversionAuditCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionAuditSubmitErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionAuditSubmitModel" : {
- "type" : "object",
- "properties" : {
- "app_category_ids" : {
- "type" : "string",
- "description" : "小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以参考<a href=‘https://opendocs.alipay.com/b/03al2m’>开放服务类目</a>,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。",
- "example" : "107211_ 107427"
- },
- "app_desc" : {
- "type" : "string",
- "description" : "小程序应用描述,20-200个字,如果不填默认采用当前小程序的应用描述",
- "example" : "这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述这是一个小程序的描述"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序应用英文名称,如果不填默认采用当前小程序应用英文名称,3~30个字符。插件不填",
- "example" : "demoenname"
- },
- "app_logo" : {
- "type" : "string",
- "description" : "小程序logo图标,图片格式必须为:png、jpeg、jpg,比例必须为1:1,建议上传像素为180*180,不超过256kb, 如果不填默认采用当前小程序应用logo图标",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/f9e291ed-0de5-4f5e-97ec-f76b8414a3e0.png"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序应用名称,如果不填默认采用当前小程序应用名称,名称3-40个字符,一个中文算两个字符",
- "example" : "XXX的应用"
- },
- "app_origin" : {
- "type" : "string",
- "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入,申请方式请参见接入手册。",
- "example" : "AAA"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "小程序应用简介,一句话描述小程序功能,如果不填默认采用当前小程序应用简介,10~32个字符",
- "example" : "示例slogan"
- },
- "app_version" : {
- "type" : "string",
- "description" : "需要提交审核的小程序版本号,格式为: x.y.z,其中x、y、z均为整型数字,一个应用最多只能有一个审核中、审核通过或者审核驳回的版本。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端ID,多端场景下区分不同端",
- "example" : "com.alipay.alipaywallet"
- },
- "license_info" : {
- "$ref" : "#/components/schemas/AuditLicenseInfo"
- },
- "memo" : {
- "type" : "string",
- "description" : "小程序备注",
- "example" : "小程序备注示例"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
- "example" : "2019051464523527"
- },
- "mini_category_ids" : {
- "type" : "string",
- "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 <a href='https://opendocs.alipay.com/mini/03l8c6'>alipay.open.mini.category.query</a>(小程序类目树查询接口)查询mini_category_list,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。使用后不再读取app_category_ids值,老前台类目将废弃",
- "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
- },
- "open_id" : {
- "type" : "string",
- "description" : "小程序所属PID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_door_pic" : {
- "type" : "string",
- "description" : "门头照图片地址,部分小程序类目需要提交,参照 <a href=‘https://opendocs.alipay.com/b/03al2m’>开放服务类目</a> 中是否需要营业执照信息,如果不填默认采用当前小程序门头照图片",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序所属PID",
- "example" : "2088****"
- },
- "screen_shot_list" : {
- "type" : "array",
- "description" : "小程序应用截图列表,逗号分割,需要2-5张图片,单张图片不能超过4MB,图片格式只支持jpg,png;通过模板实例化小程序不需要传递此参数。",
- "items" : {
- "type" : "string"
- },
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg,https://app.alipayobjects.com/ss.jpg"
- },
- "service_email" : {
- "type" : "string",
- "description" : "小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱,和客服电话至少填写一个",
- "example" : "example@mail.com"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "小程序客服电话,如果不填默认采用当前小程序的应用客服电话,和客服邮箱至少填写一个。插件不填",
- "example" : "13110101010"
- },
- "special_license_pic_list" : {
- "type" : "string",
- "description" : "特殊资质图片地址列表,逗号分隔;部分类目需要特殊资质,如果需要特殊资质,最少一张,最多三张。模板和插件不需要特殊资质",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg,https://appstoreisvpic.alipayobjects.com/prod/c74a6310-4695-48d7-8f1b-4e5cc11c7615.jpg"
- },
- "version_desc" : {
- "type" : "string",
- "description" : "小程序版本变更描述,30-500个字符,区分于app_desc",
- "example" : "本版本主要新增了XXX功能:1、xxxxxxx; 2、xxxxxx;修复了XXXbug:1、xxxxxx;2、xxxxxx"
- }
- }
- },
- "AlipayOpenMiniInnerversionAuditSubmitResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionBackdevPublishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionBackdevPublishModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
- "example" : "2019****"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序所属PID",
- "example" : "2088****"
- }
- }
- },
- "AlipayOpenMiniInnerversionBackdevPublishResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionBetaConfirmErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PLUGIN_BETA_RELATION_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionBetaConfirmModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "memo" : {
- "type" : "string",
- "description" : "拒绝理由",
- "example" : "业务验证不通过"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
- "example" : "2019*****"
- },
- "operate" : {
- "type" : "string",
- "description" : "操作:pass/reject。接受或者拒绝",
- "example" : "pass"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序所属PID",
- "example" : "2088****"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "要确认邀测结果的插件appid",
- "example" : "2019*****"
- }
- }
- },
- "AlipayOpenMiniInnerversionBetaConfirmResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionBetainfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PACKAGE_VERSION_IS_BLANK", "PLUGINID_IS_BLANK", "APP_ORIGIN_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionBetainfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "plugin_beta_item_list" : {
- "type" : "array",
- "description" : "邀测结果列表",
- "items" : {
- "$ref" : "#/components/schemas/PluginBetaItemInfo"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "邀测状态,待确认WAITCHECK/确认CHECKED/拒绝REJECT",
- "example" : "WAITCHECK"
- }
- }
- },
- "AlipayOpenMiniInnerversionBuildauditSubmitErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionBuildauditSubmitModel" : {
- "type" : "object",
- "properties" : {
- "app_category_ids" : {
- "type" : "string",
- "description" : "小程序类目,可不传,不传取基础信息中的小程序类目",
- "example" : "107209_107226"
- },
- "app_desc" : {
- "type" : "string",
- "description" : "小程序描述,可不传,不传取基础信息中的小程序描述",
- "example" : "小程序描述"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序在从未上架过版本之前,英文名称是可以修改的,该字段用于在提交审核时候修改小程序英文名称。注意:小程序一旦有过上架版本之后就不可以修改英文名称。",
- "example" : "小程序英文名称"
- },
- "app_logo" : {
- "type" : "string",
- "description" : "小程序logo,可不传,不传取基础信息中的小程序logo,请调用专用的logo上传接口上传logo文件,并将返回的地址作为本字段传入",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/e2bcf04b-da46-4b7f-a020-e9d224df7689.png"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序在从未上架过版本之前,中文名称是可以修改的,该字段用于在提交审核时候修改小程序中文名称。注意:小程序一旦有过上架版本之后就不可以修改中文名称。",
- "example" : "小程序名称"
- },
- "app_origin" : {
- "type" : "string",
- "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入,申请方式请参见接入手册。",
- "example" : "AAA"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "小程序应用简介,一句话描述小程序功能,如果不填默认采用当前小程序应用简介,10~32个字符",
- "example" : "小程序简介"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本号",
- "example" : "1.0.1"
- },
- "build_ext" : {
- "type" : "string",
- "description" : "构建扩展参数",
- "example" : "{\"ext\":{\"appId\":\"2019********\",\"pid\":\"2088*******\"},\"extEnable\":true}"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "com.alipay.alipaywallet"
- },
- "isv_app_id" : {
- "type" : "string",
- "description" : "三方应用ID",
- "example" : "2018********"
- },
- "license_info" : {
- "$ref" : "#/components/schemas/AuditLicenseInfo"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
- "example" : "2018********"
- },
- "mini_category_ids" : {
- "type" : "string",
- "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。使用后不再读取app_category_ids值,老前台类目将废弃",
- "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序开发者ID,可不传,不传取基础信息中的小程序开发者ID",
- "example" : "2088********"
- },
- "region_type" : {
- "type" : "string",
- "description" : "服务区域类型,可不传,不传取基础信息中的小程序服务区域类型",
- "example" : "GLOBAL"
- },
- "screen_shot_list" : {
- "type" : "string",
- "description" : "版本截图,最少2张,最多5张,必传",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/e2bcf04b-da46-4b7f-a020-e9d224df7689.png,https://appstoreisvpic.alipayobjects.com/prod/e2bcf04b-da46-4b7f-a020-e9d224df7689.png"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "客服电话,可不传,不传取基础信息中的小程序客服电话",
- "example" : "021-2222222"
- },
- "special_license_pic_list" : {
- "type" : "string",
- "description" : "特殊资质图片地址列表,逗号分割,",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/f2e32236-b537-405b-8764-613ea50c2f6b.png,https://appstoreisvpic.alipayobjects.com/prod/f2e32236-b537-405b-8764-613ea50c2f6b.png"
- },
- "template_id" : {
- "type" : "string",
- "description" : "小程序模板ID",
- "example" : "2018********"
- },
- "template_version" : {
- "type" : "string",
- "description" : "模板的版本号,如果不填写,则默认用模板当前最新的在架版本",
- "example" : "1.0.0"
- },
- "version_desc" : {
- "type" : "string",
- "description" : "小程序版本描述,30-500个字符,一个中文占两个字符,一个英文或者数字占一个字符",
- "example" : "本版本新增了XXX功能,修复了XXXbug,解决了XXX问题,欢迎大家体验提出意见。"
- }
- }
- },
- "AlipayOpenMiniInnerversionBuildauditSubmitResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionConditionBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionConditionBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "com.alipay.alipaywallet:支付宝,com.amap.app:高德",
- "example" : "com.alipay.alipaywallet"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
- "example" : "2019*********"
- },
- "page_num" : {
- "type" : "string",
- "description" : "页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "分页数",
- "example" : "10"
- },
- "version_status" : {
- "type" : "string",
- "description" : "INIT:开发中,RELEASE:上架,OFFLINE:下架,AUDITING:审核中,AUDIT_REJECT:审核驳回,WAIT_RELEASE:待上架,GRAY:灰度中,以,号隔开",
- "example" : "INIT"
- }
- }
- },
- "AlipayOpenMiniInnerversionConditionBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "mini_version_base_info_list" : {
- "type" : "array",
- "description" : "小程序版本信息",
- "items" : {
- "$ref" : "#/components/schemas/MiniVersionBaseInfo"
- }
- }
- }
- },
- "AlipayOpenMiniInnerversionContentRollbackErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "APP_ORIGIN_IS_BLANK", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "BUNDLE_ID_IS_BLANK", "PID_IS_BLANK", "APPID_IS_BLANK" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionContentRollbackModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务场景来源",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序当前上架版本号",
- "example" : "1.0.0"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端",
- "example" : "com.alipay.alipaywallet"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
- "example" : "2018********"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序所属主体",
- "example" : "2088********"
- }
- }
- },
- "AlipayOpenMiniInnerversionContentRollbackResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionGrayFinishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionGrayFinishModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
- "example" : "2019****"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序所属PID",
- "example" : "2088****"
- }
- }
- },
- "AlipayOpenMiniInnerversionGrayFinishResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionGrayPublishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionGrayPublishModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本",
- "example" : "0.0.1"
- },
- "beta_app_id_list" : {
- "type" : "array",
- "description" : "待邀测应用列表,灰度插件时使用,如无邀测必要请不要传入",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2021xxxxx\"]"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- },
- "gray_strategy" : {
- "type" : "string",
- "description" : "灰度值",
- "example" : "gray_mayi_rule、gray_alibaba_rule"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
- "example" : "2019****"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序所属PID",
- "example" : "2088****"
- }
- }
- },
- "AlipayOpenMiniInnerversionGrayPublishResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionInfoDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionInfoDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PARAMS_VALID_ERROR", "APP_ORIGIN_NOT_EXIST", "BUNDLE_ID_NOT_EXIST", "APP_INFO_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "版本号",
- "example" : "0.0.1"
- },
- "build_source" : {
- "type" : "string",
- "description" : "版本构建类型",
- "example" : "01 自创建 02 模板构建"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- },
- "create_time" : {
- "type" : "string",
- "description" : "版本创建时间",
- "example" : "2019-01-01 12:00:22"
- },
- "description" : {
- "type" : "string",
- "description" : "版本描述",
- "example" : "我是小程序版本描述"
- },
- "ext_json" : {
- "type" : "string",
- "description" : "实例化模板参数",
- "example" : "{}"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "版本更新时间",
- "example" : "2019-01-01 12:12:12"
- },
- "gray_start_time" : {
- "type" : "string",
- "description" : "版本灰度时间",
- "example" : "2019-01-01 12:00:22"
- },
- "gray_strategy" : {
- "type" : "string",
- "description" : "小程序灰度比例值",
- "example" : "p10-10%的用户,p30-30%的用户,p50-50%的用户"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID",
- "example" : "2019****"
- },
- "offline_time" : {
- "type" : "string",
- "description" : "版本下架时间",
- "example" : "2019-01-01 12:00:22"
- },
- "package_url" : {
- "type" : "string",
- "description" : "包地址",
- "example" : "http://alipay-offline.cn-hangzhou.alipay.aliyun-inc.com/pkgcore/pMugqXnuGsXecwEvlsuQ.amr"
- },
- "plugin_refs" : {
- "type" : "array",
- "description" : "引用插件信息",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppPluginInfo"
- }
- },
- "process_task_id" : {
- "type" : "string",
- "description" : "流程id",
- "example" : "123"
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "审核失败原因",
- "example" : "名称过于宽泛"
- },
- "rollback_time" : {
- "type" : "string",
- "description" : "版本回滚时间",
- "example" : "2019-01-01 12:00:22"
- },
- "scan_result" : {
- "type" : "string",
- "description" : "安全扫描结果",
- "example" : "True"
- },
- "screen_shot_list" : {
- "type" : "string",
- "description" : "小程序版本截图,多个截图以逗号隔开",
- "example" : "http://image.aaa.alipay.com"
- },
- "shelf_time" : {
- "type" : "string",
- "description" : "版本上架时间",
- "example" : "2019-01-01 12:00:22"
- },
- "source_url" : {
- "type" : "string",
- "description" : "源码包地址",
- "example" : "http://alipay-offline.cn-hangzhou.alipay.aliyun-inc.com/pkgcore/pMugqXnuGsXecwEvlsuQ.amr"
- },
- "status" : {
- "type" : "string",
- "description" : "版本状态",
- "example" : "小程序版本状态,INIT-开发中,AUDITING-审核中,WAIT_RELEASE-审核通过,AUDIT_REJECT-审核驳回,RELEASE-已上架,GRAY-灰度中,OFFLINE-下架"
- },
- "template_extra" : {
- "type" : "string",
- "description" : "模板构建参数",
- "example" : "{\"tinycliversion\":\"1.1.1\"}"
- },
- "template_version" : {
- "type" : "string",
- "description" : "模板版本号",
- "example" : "0.0.1"
- }
- }
- },
- "AlipayOpenMiniInnerversionInstantiationQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionInstantiationQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本号",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端id",
- "example" : "com.alipay.alipaywallet"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序appId",
- "example" : "2021000116680014"
- },
- "template_id" : {
- "type" : "string",
- "description" : "模板id",
- "example" : "2019042861090647"
- },
- "template_version" : {
- "type" : "string",
- "description" : "模板的版本号",
- "example" : "0.0.3"
- }
- }
- },
- "AlipayOpenMiniInnerversionLastQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionLastQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_desc" : {
- "type" : "string",
- "description" : "小程序应用描述",
- "example" : "小程序官方示例Demo,展示已支持的接口能力及组件"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序的名称",
- "example" : "小程序名称"
- },
- "app_version" : {
- "type" : "string",
- "description" : "版本号",
- "example" : "1.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- },
- "category_ids" : {
- "type" : "string",
- "description" : "小程序所属类目",
- "example" : "107209_107226"
- },
- "english_name" : {
- "type" : "string",
- "description" : "小程序英文名称",
- "example" : "xiaochengxu"
- },
- "logo_url" : {
- "type" : "string",
- "description" : "小程序应用logo图标",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/04843e84-f1fd-4717-a230-1c72de99aa5d.png"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID",
- "example" : "2018********"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "小程序客服电话",
- "example" : "13110101010"
- },
- "slogan" : {
- "type" : "string",
- "description" : "小程序应用简介,一句话描述小程序功能",
- "example" : "提供小程序示例功能"
- },
- "status" : {
- "type" : "string",
- "description" : "版本状态",
- "example" : "INIT"
- },
- "sub_application_type" : {
- "type" : "string",
- "description" : "小程序子类型,自研、模板类型",
- "example" : "TINY_NORMAL"
- }
- }
- },
- "AlipayOpenMiniInnerversionModelforofflineQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionModelforofflineQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "model_json" : {
- "type" : "string",
- "description" : "线上版本包数据",
- "example" : "{}"
- },
- "sync_id" : {
- "type" : "string",
- "description" : "同步ID,同步失败时便于去线上追溯",
- "example" : "abcasdasda1217893189389asdasda98"
- }
- }
- },
- "AlipayOpenMiniInnerversionNobuildUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionNobuildUploadModel" : {
- "type" : "object",
- "properties" : {
- "build_extra_info" : {
- "type" : "string",
- "description" : "扩展信息,比如adaptorName、tinycliVersion、tinycliName、import-module、allowPrecompile、extJson、allowInstallDependency、aggregationMainAppId,如果没有特殊要求,tinycliVersion版本请用最新的: https://registry.npm.alibaba-inc.com/@alipay/tiny-cli/huoban-prod",
- "example" : "{\"tinycliVersion\":\"1.5.20200213201649\"}"
- },
- "build_js_permission" : {
- "type" : "string",
- "description" : "jsapi权限文件",
- "example" : "{\"permissionJSON\":[1, 2, 3, 4, 5]}"
- },
- "build_main_url" : {
- "type" : "string",
- "description" : "小程序页面主入口。/index.html#page/component/index,该值需要和extendInfo中的page参数保持一致",
- "example" : "/index.html#page/component/index"
- },
- "build_qcloud_info" : {
- "type" : "string",
- "description" : "打包平台扩展信息",
- "example" : "{\"launchParams\":{\"enableTabBar\":\"YES\",\"enableJSC\":\"YES\",\"page\":\"page/component/index\",\"enableKeepAlive\":\"YES\",\"enableWK\":\"YES\"}}"
- },
- "build_version" : {
- "type" : "string",
- "description" : "小程序版本",
- "example" : "0.0.1"
- },
- "builded_package_size" : {
- "type" : "string",
- "description" : "已经构建过的amr包大小,单位是字节,建议如实填写",
- "example" : "20"
- },
- "builded_package_url" : {
- "type" : "string",
- "description" : "已经构建的包地址,目前主要自行构建的场景使用",
- "example" : "产物包地址"
- },
- "builded_plugin_size" : {
- "type" : "string",
- "description" : "构建好的插件包amr大小",
- "example" : "100"
- },
- "builded_plugin_url" : {
- "type" : "string",
- "description" : "构建好的插件包地址",
- "example" : "构建好的插件包地址"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "一个端的标识,用于区分不同的客户端,每接入一个客户端,都需要向小程序应用中心申请bundleId入驻",
- "example" : "com.alipay.alipaywallet"
- },
- "components" : {
- "type" : "string",
- "description" : "组件参数",
- "example" : "{}"
- },
- "inst_code" : {
- "type" : "string",
- "description" : "上传调试版的接入租户类型",
- "example" : "taobao"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2017122101357757"
- },
- "new_builded_package_size" : {
- "type" : "string",
- "description" : "2.0已经构建过的amr包大小,单位是字节,主要是给自行构建的场景使用",
- "example" : "100"
- },
- "new_builded_package_url" : {
- "type" : "string",
- "description" : "2.0产物包地址",
- "example" : "2.0产物包地址"
- },
- "new_builded_plugin_size" : {
- "type" : "string",
- "description" : "构建好的插件包amr大小",
- "example" : "100"
- },
- "new_builded_plugin_url" : {
- "type" : "string",
- "description" : "构建好的插件包地址",
- "example" : "构建好的插件包地址"
- },
- "no_sign" : {
- "type" : "boolean",
- "description" : "否免加签, true的时候代表传过来的是加签后的包地址",
- "example" : "true"
- },
- "plugin_refs" : {
- "type" : "array",
- "description" : "小程序代码中引用的插件列表,包含插件id和插件版本信息,业务方需要自行解析源码包的app.json里面的plugins信息",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppPluginReference"
- }
- },
- "sub_packages" : {
- "type" : "array",
- "description" : "构建好的分包信息",
- "items" : {
- "$ref" : "#/components/schemas/SubPackageInfo"
- }
- }
- }
- },
- "AlipayOpenMiniInnerversionNobuildUploadResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionOfflinePublishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionOfflinePublishModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "版本号",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
- "example" : "2019****"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序所属PID",
- "example" : "2088*****"
- }
- }
- },
- "AlipayOpenMiniInnerversionOfflinePublishResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionOnlineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ONLINE_FAILURE", "PARAMS_VALID_ERROR", "MINI_APP_VERSION_NOT_EXISTS", "MINI_APP_VERSION_STATUS_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionOnlineModel" : {
- "type" : "object",
- "properties" : {
- "app_offline_version" : {
- "type" : "string",
- "description" : "下架版本",
- "example" : "0.0.5"
- },
- "app_online_version" : {
- "type" : "string",
- "description" : "上架版本",
- "example" : "0.0.6"
- },
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "ASTORE"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "一个端的标识,用于区分不同的客户端,每接入一个客户端,都需要向小程序应用中心申请bundelId入驻",
- "example" : "com.alipay.alipaywallet"
- },
- "inst_code" : {
- "type" : "string",
- "description" : "租户code,alipay or taobao",
- "example" : "taobao"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID",
- "example" : "2018012201365222"
- }
- }
- },
- "AlipayOpenMiniInnerversionOnlinePublishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionOnlinePublishModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- },
- "downgrade" : {
- "type" : "boolean",
- "description" : "否服务降级,如果降级,拉包策略如果端上有本地包,则使用本地包打开,同时异步下载新包,待下次打开则使用新包",
- "example" : "true"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数",
- "example" : "2019*****"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序所属PID",
- "example" : "2088****"
- },
- "release_type" : {
- "type" : "string",
- "description" : "normal默认普通发布,high 高保发布",
- "example" : "normal/high"
- }
- }
- },
- "AlipayOpenMiniInnerversionOnlinePublishResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionOnlineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionPackageCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionPackageCreateModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "支付宝:com.alipay.alipaywallet 高德:com.amap.app"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
- "example" : "2019****"
- },
- "package_type" : {
- "type" : "string",
- "description" : "打包类型。预发包和覆盖率包",
- "example" : "PRE_ONLINE"
- },
- "pid" : {
- "type" : "string",
- "description" : "pid. 伙伴链路(app_origin='HUOBAN')时必填",
- "example" : "2019****"
- }
- }
- },
- "AlipayOpenMiniInnerversionPackageCreateResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionSyncModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务参数来源",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "推送的小程序版本号",
- "example" : "1.0.0"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息",
- "example" : "com.alipay.alipaywallet"
- },
- "dev_id" : {
- "type" : "string",
- "description" : "操作人ID",
- "example" : "2088******"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,仅特殊场景使用,普通业务方无需关注该参数。",
- "example" : "2019*******"
- },
- "sync_type" : {
- "type" : "string",
- "description" : "同送方式",
- "example" : "global:全量,recent:定向"
- }
- }
- },
- "AlipayOpenMiniInnerversionSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionTemplatedUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionTemplatedUploadModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入。",
- "example" : "AAA"
- },
- "app_version" : {
- "type" : "string",
- "description" : "格式为: x.y.z,其中x、y、z均为整型数字,版本不能重复构建,且新版本号必须高于旧版本",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端id",
- "example" : "com.alipay.alipaywallet"
- },
- "ext" : {
- "type" : "string",
- "description" : "模板的配置参数,完整内容请参见:https://docs.alipay.com/mini/isv/ortga1",
- "example" : "{\"extEnable\": true, \"extPages\": {\"pages/face/index\": {\"defaultTitle\": \"默认页面标题\"}},\"window\": {\"defaultTitle\": \"默认标题\"}}"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
- "example" : "2019051464523527"
- },
- "template_id" : {
- "type" : "string",
- "description" : "模板id,模板必须已经处于上架/下架状态",
- "example" : "2019032163637014"
- },
- "template_version" : {
- "type" : "string",
- "description" : "模板版本,必须处于上架/下架状态。如果为空,默认取当前在架,或者最新下架的版本。",
- "example" : "0.0.1"
- }
- }
- },
- "AlipayOpenMiniInnerversionTemplatedUploadResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionUpgradeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionUpgradeModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "来源类型,新接入方需要向支付宝申请专用来源,否则不予接入。",
- "example" : "AAA"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端ID,多端场景下区分不同端",
- "example" : "com.alipay.alipaywallet"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID,特殊场景专用,普通业务方无需关注该参数。",
- "example" : "2019032163637016"
- },
- "template_id" : {
- "type" : "string",
- "description" : "用于升级的模板id",
- "example" : "2019032163637014"
- },
- "template_version" : {
- "type" : "string",
- "description" : "用于升级的模板版本号,版本号必须满足 x.y.z, 且均为数字",
- "example" : "0.0.3"
- }
- }
- },
- "AlipayOpenMiniInnerversionUpgradeResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniInnerversionUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionUploadModel" : {
- "type" : "object",
- "properties" : {
- "app_origin" : {
- "type" : "string",
- "description" : "业务来源,新接入方需要向支付宝申请专用来源,否则不予接入。https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang",
- "example" : "https://yuque.antfin-inc.com/tinyapp-all/qddncu/bidushixiang"
- },
- "build_app_type" : {
- "type" : "string",
- "description" : "IDE开发打包类型,写死tinyApp",
- "example" : "tinyApp"
- },
- "build_extra_info" : {
- "type" : "string",
- "description" : "扩展信息,比如adaptorName、tinycliVersion、tinycliName、import-module、allowPrecompile、extJson、allowInstallDependency、aggregationMainAppId,如果没有特殊要求,tinycliVersion版本请用最新的:\thttps://registry.npm.alibaba-inc.com/@alipay/tiny-cli/huoban-prod",
- "example" : "{\"tinycliVersion\":\"1.5.20200213201649\"}"
- },
- "build_extra_mini_project_config" : {
- "type" : "string",
- "description" : "用于覆盖开发者配置字段,实现止血和灰度逻辑",
- "example" : "{\"enableAppxNg\":\"YES\"}"
- },
- "build_js_permission" : {
- "type" : "string",
- "description" : "jsapi 权限文件,钉钉外请勿传",
- "example" : "{\"permissionJSON\":[1, 2, 3, 4, 5]}"
- },
- "build_main_url" : {
- "type" : "string",
- "description" : "小程序页面主入口。/index.html#page/component/index,该值需要和extendInfo中的page参数保持一致",
- "example" : "/index.html#page/component/index"
- },
- "build_max_android_client_version" : {
- "type" : "string",
- "description" : "最大Android客户端版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题",
- "example" : "100.0.0"
- },
- "build_max_ios_client_version" : {
- "type" : "string",
- "description" : "最大iOS客户单版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题",
- "example" : "100.0.0"
- },
- "build_min_android_client_version" : {
- "type" : "string",
- "description" : "最小Android客户端版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题",
- "example" : "10.1.35"
- },
- "build_min_ios_client_version" : {
- "type" : "string",
- "description" : "最小iOS客户单版本号,禁止使用,如果需要使用请联系小程序平台评估,否则端上会出现问题",
- "example" : "10.1.35"
- },
- "build_package_md_5" : {
- "type" : "string",
- "description" : "源码包文件流的MD5字符串",
- "example" : "源码包"
- },
- "build_package_name" : {
- "type" : "string",
- "description" : "包名称",
- "example" : "dist.amr"
- },
- "build_package_stream" : {
- "type" : "string",
- "description" : "base64编码后的小程序源码包文件流",
- "example" : "小程序源码包"
- },
- "build_qcloud_info" : {
- "type" : "string",
- "description" : "打包平台扩展信息",
- "example" : "{\"launchParams\":{\"enableTabBar\":\"YES\",\"enableJSC\":\"YES\",\"page\":\"page/component/index\",\"enableKeepAlive\":\"YES\",\"enableWK\":\"YES\"}}"
- },
- "build_signed_pkg_url" : {
- "type" : "string",
- "description" : "已经构建加签过的包地址",
- "example" : "已经构建加签过的包地址"
- },
- "build_source_pkg_size" : {
- "type" : "string",
- "description" : "源码包大小",
- "example" : "10000"
- },
- "build_source_pkg_url" : {
- "type" : "string",
- "description" : "源码包地址,源码包大小不能超过20M且地址必须永久有效,若超20M,将限制业务来源调用。将源码文件夹整个用zip格式压缩成后缀amr文件传至文件服务器",
- "example" : "http://alipay-offline.cn-hangzhou.alipay.aliyun-inc.com/pkgcore/DMDjCdOCtERoGgyrJZzq.amr"
- },
- "build_sub_url" : {
- "type" : "string",
- "description" : "子入口",
- "example" : "/index.html#pages/todos/todos"
- },
- "build_version" : {
- "type" : "string",
- "description" : "小程序版本",
- "example" : "0.0.1"
- },
- "builded_package_size" : {
- "type" : "string",
- "description" : "已经构建过的包大小,单位是字节,主要是给自行构建的场景使用",
- "example" : "10000"
- },
- "builded_package_url" : {
- "type" : "string",
- "description" : "已经构建的包地址,目前主要自行构建的场景使用",
- "example" : "已经构建的包地址"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "一个端的标识,用于区分不同的客户端,每接入一个客户端,都需要向小程序应用中心申请bundleId入驻",
- "example" : "com.alipay.alipaywallet"
- },
- "client_type" : {
- "type" : "string",
- "description" : "多端类型,除了钉钉外其他业务方禁止使用",
- "example" : "DINGDING"
- },
- "inst_code" : {
- "type" : "string",
- "description" : "上传调试版的接入租户类型。",
- "example" : "taobao"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID",
- "example" : "2017122101357757"
- },
- "plugin_refs" : {
- "type" : "array",
- "description" : "小程序代码中引用的插件列表,包含插件id和插件版本信息,业务方需要自行解析源码包的app.json里面的plugins信息",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppPluginReference"
- }
- }
- }
- },
- "AlipayOpenMiniInnerversionUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "build_info" : {
- "type" : "string",
- "description" : "构建信息",
- "example" : "构建信息"
- },
- "build_package_url" : {
- "type" : "string",
- "description" : "包地址",
- "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar"
- },
- "build_status" : {
- "type" : "string",
- "description" : "构建状态",
- "example" : "构建状态"
- },
- "build_version" : {
- "type" : "string",
- "description" : "构建版本",
- "example" : "0.0.5"
- },
- "need_rotation" : {
- "type" : "string",
- "description" : "是否需要轮询",
- "example" : "TRUE"
- },
- "new_build_package_url" : {
- "type" : "string",
- "description" : "appx构建返回值",
- "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar"
- },
- "package_id" : {
- "type" : "string",
- "description" : "包管理包ID",
- "example" : "34845"
- },
- "version_created" : {
- "type" : "string",
- "description" : "版本创建结果",
- "example" : "TRUE"
- }
- }
- },
- "AlipayOpenMiniInnerversionUploadstatusQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "POLLING_BUILD_VERSION_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniInnerversionUploadstatusQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "build_info" : {
- "type" : "string",
- "description" : "构建信息",
- "example" : "构建信息"
- },
- "build_package_url" : {
- "type" : "string",
- "description" : "构建好的包地址",
- "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar"
- },
- "build_status" : {
- "type" : "string",
- "description" : "构建状态",
- "example" : "构建状态"
- },
- "log_url" : {
- "type" : "string",
- "description" : "构建日志地址",
- "example" : "https://tfapi.alipay.com/logs/5c1ac74d0c5e1d85b8c618dd"
- },
- "need_rotation" : {
- "type" : "string",
- "description" : "是否需要轮询",
- "example" : "TRUE"
- },
- "new_build_package_url" : {
- "type" : "string",
- "description" : "构建好的appx2.0包地址",
- "example" : "http://alipay-rmsdeploy-image.cn-hangzhou.alipay.aliyun-inc.com/qcloud/build-target-c1d90a3bcf354803ad01b28cdccd83a4.tar"
- },
- "new_result_url" : {
- "type" : "string",
- "description" : "构建的结果地址",
- "example" : "https://tfapi.alipay.com/logs/5c1ac75f4b6ce5884ced6f00"
- },
- "result_url" : {
- "type" : "string",
- "description" : "构建的结果地址",
- "example" : "https://tfapi.alipay.com/logs/5c1ac75f4b6ce5884ced6f00"
- },
- "version_created" : {
- "type" : "string",
- "description" : "创建版本结果",
- "example" : "TRUE"
- }
- }
- },
- "AlipayOpenMiniIsvCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniIsvCreateModel" : {
- "type" : "object",
- "properties" : {
- "create_mini_request" : {
- "$ref" : "#/components/schemas/CreateMiniRequest"
- }
- }
- },
- "AlipayOpenMiniIsvCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_no" : {
- "type" : "string",
- "description" : "小程序代创建订单号",
- "example" : "2387429847238743"
- }
- }
- },
- "AlipayOpenMiniIsvFastregisterCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_MINI_APP_NAME_LENGTH", "ILLEGAL_PARAMS", "PRECREATE_MINI_ERROR", "OPENCORE_APP_NAME_EXIST", "PROVIDER_ROLE_INVALID", "SYSTEM_ERROR", "OPENID_QUERY_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniIsvFastregisterCreateModel" : {
- "type" : "object",
- "properties" : {
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称,昵称半自动设定,强制后缀“的试用小程序”。且该参数会进行关键字检查,如果命中品牌关键字则会报错。\t如遇到品牌大客户要用试用小程序,建议用户先换个名字,认证后再修改成品牌名。",
- "example" : "张三的小程序"
- },
- "auth_notify_url" : {
- "type" : "string",
- "description" : "授权确认成功后回调h5链接或小程序页面",
- "example" : "pages/notify/index"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "外部订单号",
- "example" : "202132131232131231231231231"
- },
- "uid" : {
- "type" : "string",
- "description" : "商户2088",
- "example" : "20881232424234234234234"
- }
- }
- },
- "AlipayOpenMiniIsvFastregisterCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "authorize_url" : {
- "type" : "string",
- "description" : "授权确认跳转url",
- "example" : "alipays://xxxxxxxxxxxxxxxx"
- },
- "order_no" : {
- "type" : "string",
- "description" : "代创建试用小程序单号",
- "example" : "2022120716532186600070121"
- }
- }
- },
- "AlipayOpenMiniIsvFastregisterQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION", "ILLEGAL_PARAMS", "SYSTEM_ERROR", "ORDER_NOT_EXIST", "ORDER_TYPE_NOT_MATCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniIsvFastregisterQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_name" : {
- "type" : "string",
- "description" : "小程序应用名",
- "example" : "张三的试用小程序"
- },
- "isv_app_id" : {
- "type" : "string",
- "description" : "appid",
- "example" : "202212121324324343"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序appid",
- "example" : "20212323243534535"
- },
- "order_no" : {
- "type" : "string",
- "description" : "代创建试用小程序单号",
- "example" : "2202324344343435353"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户传入的外部订单号",
- "example" : "23948392483253534535"
- },
- "status" : {
- "type" : "string",
- "description" : "WAIT_CONFIRM待确认创建,\tCONFIRM_TIMEOUT待创建确认授权超时,\tCREATE_MINI_APP_SUCCESS创建应用成功,CREATE_MINI_APP_FAILED创建应用失败,CANCELLED已注销,CERTIFY_SUCCESS认证成功,CERTIFY_FAILED认证失败,CERTIFY_OPERATOR管理员认证中,CERTIFY_MERCHANT法人认证中",
- "example" : "WAIT_CONFIRM"
- }
- }
- },
- "AlipayOpenMiniIsvQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMS", "SYSTEM_ERROR", "PERMISSION_DENIED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniIsvQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "min_app_id" : {
- "type" : "string",
- "description" : "小程序appId,商家确认后非空,若商家未确认或超时返回空",
- "example" : "20218324729872"
- },
- "order_no" : {
- "type" : "string",
- "description" : "订单号",
- "example" : "239238834234344"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "外部订单号,开发者帐号+外部订单号维度来控制请求务幂等",
- "example" : "23948392483253534535"
- },
- "pid" : {
- "type" : "string",
- "description" : "商户pid",
- "example" : "2088002306330746"
- },
- "status" : {
- "type" : "string",
- "description" : "PROCESS处理中,TIMEOUT超时,AGREED同意, REJECTED拒绝",
- "example" : "PROCESS"
- }
- }
- },
- "AlipayOpenMiniMiniappBrandCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniMiniappBrandCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniMiniappBrandQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniMiniappBrandQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "merchant_brand_list_result" : {
- "$ref" : "#/components/schemas/MerchantBrandListResult"
- },
- "miniapp_brand_audit_result" : {
- "$ref" : "#/components/schemas/MiniappBrandAuditResult"
- }
- }
- },
- "AlipayOpenMiniMiniappBrandSubmitErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniMiniappBrandSubmitModel" : {
- "type" : "object",
- "properties" : {
- "apply_type" : {
- "type" : "string",
- "description" : "申请的资质类型\tSELF_BRAND_APPLY 自有品牌申请(当需要一个新的品牌时选择此项)\tAUTHORIZE_BRAND_APPLY 授权品牌申请(当需要授权一个已有的品牌给商户时选择此项)\tEXIST_BRAND_BIND 品牌绑定,适用于品牌已申请成功的情况(当需要将已有品牌绑定到无品牌小程序时选择此项)",
- "example" : "AUTHORIZE_BRAND_APPLY"
- },
- "authorize_info" : {
- "$ref" : "#/components/schemas/AuthorizeInfo"
- },
- "brand_id" : {
- "type" : "string",
- "description" : "商户已有品牌Id(只有申请的资质类型为EXIST_BRAND_BIND 时需要填写)",
- "example" : "brand2020091614782813"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "品牌名称",
- "example" : "CR7合作"
- },
- "brand_registration_info" : {
- "$ref" : "#/components/schemas/BrandRegistrationInfo"
- },
- "id_materials" : {
- "type" : "array",
- "description" : "申请人身份证明材料(当前只支持图片类型,请调用alipay.open.mini.miniapp.brand.upload接口上传图片,可以上传多个身份证明材料)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\",\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\"]"
- }
- }
- },
- "AlipayOpenMiniMiniappBrandSubmitResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniMiniappBrandUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniMiniappBrandUploadModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniMiniappBrandUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "file_key" : {
- "type" : "string",
- "description" : "图片上传成功后的图片存储键(可用于填写调用alipay.open.mini.miniapp.brand.submit时需要的图片类型的字段)",
- "example" : "A*BTRVJSTHEBRE784685"
- }
- }
- },
- "AlipayOpenMiniMiniappServiceconfigModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniMiniappServiceconfigModifyModel" : {
- "type" : "object",
- "properties" : {
- "home_open" : {
- "type" : "boolean",
- "description" : "云客服是否在小程序首页透出,true-开启,false-不开启",
- "example" : "true"
- },
- "service_config" : {
- "type" : "string",
- "description" : "客服方式,目前支持ANTCLOUD-云客服",
- "example" : "ANTCLOUD"
- }
- }
- },
- "AlipayOpenMiniMiniappServiceconfigModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniQrcodeBindErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniQrcodeBindModel" : {
- "type" : "object",
- "properties" : {
- "mode" : {
- "type" : "string",
- "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,可唤起小程序)。",
- "example" : "FUZZY"
- },
- "page_redirection" : {
- "type" : "string",
- "description" : "小程序功能页,配置扫描二维码后打开的小程序功能页面路径",
- "example" : "pages/index/index"
- },
- "route_pattern" : {
- "type" : "string",
- "description" : "模式,用于描述通用的路由url格式,适用于同一个host下面存在大量路由的场景,主要用于提升路由性能,其中{0}、{1} 代表路径中的变量",
- "example" : "http://yoursite.com/merchant/{0}/shop/{1}"
- },
- "route_url" : {
- "type" : "string",
- "description" : "二维码域名,须通过ICP备案验证,支持http、https、ftp开头的链接",
- "example" : "https://www.yoursite.com/"
- }
- }
- },
- "AlipayOpenMiniQrcodeBindResponseModel" : {
- "type" : "object",
- "properties" : {
- "route_group" : {
- "type" : "string",
- "description" : "路由规则组,用于唯一标记一条路由规则",
- "example" : "78b59c5b6b2946448bc77e17e544b813"
- }
- }
- },
- "AlipayOpenMiniQrcodeQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PAGE_PARAM_NULL_FAIL", "PAGE_SIZE_OUT_LIMIT_FAIL", "PAGE_PARAM_MIN_LIMIT_FAIL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniQrcodeQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "qr_code_route_groups" : {
- "type" : "array",
- "description" : "规则路由数据列表",
- "items" : {
- "$ref" : "#/components/schemas/QrCodeRouteGroup"
- }
- },
- "total_items" : {
- "type" : "integer",
- "description" : "数据总数",
- "example" : "20"
- }
- }
- },
- "AlipayOpenMiniQrcodeUnbindErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAM", "TINY_APP_NOT_EXIST", "ROUTE_GROUP_NOT_EXIST", "NO_PERMISSION", "QRCODE_ROUTE_PATTERN_DELETE_NOT_SUPPORT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniQrcodeUnbindModel" : {
- "type" : "object",
- "properties" : {
- "route_group" : {
- "type" : "string",
- "description" : "路由规则组,用于唯一标记一条路由规则。调用 https://opendocs.alipay.com/apis/00rkye 接口关联普通二维码后的返回值。",
- "example" : "78b59c5b6b2946448bc77e17e544b813"
- }
- }
- },
- "AlipayOpenMiniQrcodeUnbindResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniResourcePromotionsourceNotifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_APP_ID_IS_BLANK", "PARAM_PROMOTION_ID_IS_BLANK", "PARAM_PROMOTION_NAME_IS_BLANK", "RESOURCE_SOURCE_IS_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniResourcePromotionsourceNotifyModel" : {
- "type" : "object",
- "properties" : {
- "author_id" : {
- "type" : "string",
- "description" : "媒体唤起时传入的支付宝id",
- "example" : "201***********"
- },
- "params" : {
- "type" : "string",
- "description" : "媒体唤起时提供的额外参数值列表,这里可能有多个值,打平以后拼入。即url_decode(authcbparams)",
- "example" : "app_id=1024562&a=1&b=2&c=3&bind_entry=12"
- },
- "promotion_id" : {
- "type" : "string",
- "description" : "推广位id",
- "example" : "mm_mm_123213123123131_21"
- },
- "promotion_name" : {
- "type" : "string",
- "description" : "推广位名称",
- "example" : "推广位名称"
- },
- "source" : {
- "type" : "string",
- "description" : "媒体来源,标识调用方",
- "example" : "zfb_xcx"
- }
- }
- },
- "AlipayOpenMiniResourcePromotionsourceNotifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniResourceRecordNotifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_APP_ID_IS_BLANK", "PARAM_TAOBAO_ID_IS_BLANK", "PARAM_TAOBAO_NICK_IS_BLANK", "RESOURCE_SOURCE_IS_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniResourceRecordNotifyModel" : {
- "type" : "object",
- "properties" : {
- "author_id" : {
- "type" : "string",
- "description" : "媒体唤起时传入的支付宝id",
- "example" : "2121******"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "支付宝appid,代表一个小程序的唯一标识",
- "example" : "201***********"
- },
- "params" : {
- "type" : "string",
- "description" : "媒体唤起时提供的额外参数值列表,这里可能有多个值,打平以后拼入。即url_decode(authcbparams)",
- "example" : "app_id=1024562&a=1&b=2&c=3&bind_entry=12"
- },
- "site_id" : {
- "type" : "string",
- "description" : "回调的siteid 淘宝账号唯一",
- "example" : "12323232"
- },
- "source" : {
- "type" : "string",
- "description" : "媒体来源,标识调用方",
- "example" : "zfb_xcx"
- },
- "taobao_id" : {
- "type" : "string",
- "description" : "淘宝id",
- "example" : "1***********"
- },
- "taobao_nick" : {
- "type" : "string",
- "description" : "淘宝昵称",
- "example" : "**昵称"
- }
- }
- },
- "AlipayOpenMiniResourceRecordNotifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniSafedomainCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniSafedomainCreateModel" : {
- "type" : "object",
- "properties" : {
- "safe_domain" : {
- "type" : "string",
- "description" : "服务器域名白名单。支付宝小程序在HTTP请求、上传文件等场景只能与域名白名单中的域名进行通讯 。\t新添加域白名单后需重新上传应用版本(模板模式下小程序模板及商家应用都需重新上传、实例化版本)才会生效。老版本应用继续使用老版本名单。\t每个应用最多可添加30个 URL。",
- "example" : "example.com"
- }
- }
- },
- "AlipayOpenMiniSafedomainCreateResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniSafedomainDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "SAFE_DOMAIN_IS_BLANK" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniSafedomainDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniTemplateMarketingCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTemplateMarketingCreateModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "营销活动id",
- "example" : "2022xxxx"
- },
- "gmt_end" : {
- "type" : "string",
- "description" : "活动结束时间",
- "example" : "2022-01-10 22:00:00"
- },
- "gmt_start" : {
- "type" : "string",
- "description" : "活动开始时间",
- "example" : "2022-01-01 10:00:00"
- },
- "template_ids" : {
- "type" : "array",
- "description" : "消息模板id列表,最多50个模板id",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"a\",\"b\",\"c\"]"
- },
- "title" : {
- "type" : "string",
- "description" : "消息运营位名称,不填默认使用券名称",
- "example" : "优惠活动xxx"
- }
- }
- },
- "AlipayOpenMiniTemplateMarketingCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "detail_id" : {
- "type" : "string",
- "description" : "投放详情主键id",
- "example" : "MDDdejifjeifjoe30fr4j3ifo3f3f3"
- }
- }
- },
- "AlipayOpenMiniTemplateUsageQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTemplateUsageQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_ids" : {
- "type" : "array",
- "description" : "小程序appId列表",
- "items" : {
- "type" : "string"
- },
- "example" : "208812345678"
- },
- "template_usage_info_list" : {
- "type" : "array",
- "description" : "模板使用信息",
- "items" : {
- "$ref" : "#/components/schemas/TemplateUsageInfo"
- }
- }
- }
- },
- "AlipayOpenMiniTemplatemessageUsertemplateApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "MESSAGE_LIBRARY_ILLEGAL", "MESSAGE_TEMPLATE_KEYWORD_ILLEGAL", "KEYWORDS_NUMBER_INVALID", "USER_TEMPLATE_OVER_LIMIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTemplatemessageUsertemplateApplyModel" : {
- "type" : "object",
- "properties" : {
- "keyword_list" : {
- "type" : "string",
- "description" : "开发者自行组合好的模板关键词列表,关键词之间使用英文的逗号“,”进行分割,关键词顺序可以自由搭配,最多支持10个关键词组合,这里组织的关键词,在发送模板消息接口中,按照这里的顺序进行占位符替换",
- "example" : "1,2,3"
- },
- "template_library_id" : {
- "type" : "string",
- "description" : "模板库id,可登录小程序后台查看获取",
- "example" : "AT0001"
- }
- }
- },
- "AlipayOpenMiniTemplatemessageUsertemplateApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "user_template_id" : {
- "type" : "string",
- "description" : "开发者申请的模板id号,使用该模板id号,开发者可以调用alipay.open.app.mini.templatemessage.send接口进行模板消息发送",
- "example" : "MDI4YzIxMDE2M2I5YTQzYjUxNWE4MjA4NmU1MTIyYmM="
- }
- }
- },
- "AlipayOpenMiniTemplatemsgMaketingBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PAG_NUM_NOT_VALID", "PAG_SIZE_NOT_VALID", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTemplatemsgMaketingBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "分页查询页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页展示条数,最大支持50个",
- "example" : "10"
- }
- }
- },
- "AlipayOpenMiniTemplatemsgMaketingBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "marketing_delivery_detail_list" : {
- "type" : "array",
- "description" : "投放详情列表",
- "items" : {
- "$ref" : "#/components/schemas/MarketingDeliveryDetail"
- }
- },
- "total" : {
- "type" : "integer",
- "description" : "投放详情总条数",
- "example" : "100"
- }
- }
- },
- "AlipayOpenMiniTemplatemsgMaketingstatusModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTemplatemsgMaketingstatusModifyModel" : {
- "type" : "object",
- "properties" : {
- "detail_id" : {
- "type" : "string",
- "description" : "营销投放详情id",
- "example" : "MDDadsfeeijdfiedfef32r3jkdeaqee"
- },
- "status" : {
- "type" : "string",
- "description" : "投放详情状态值,如:INIT:下线状态,ON_LINE:上线状态,DELETED:删除状态",
- "example" : "DELETED"
- }
- }
- },
- "AlipayOpenMiniTemplatemsgMaketingstatusModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniTemplatemsgTinypayswitchConfirmErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "APPINFO_NOT_EXIST", "BIZ_CONTENT_IS_NULL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTemplatemsgTinypayswitchConfirmResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniTipsDeliveryBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTipsDeliveryBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "page_number" : {
- "type" : "string",
- "description" : "每页记录条数,最小1,最大20",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "查询的页数,从1开始,最大1000",
- "example" : "5"
- }
- }
- },
- "AlipayOpenMiniTipsDeliveryBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "tips_delivery_list" : {
- "type" : "array",
- "description" : "收藏引导活动信息列表。根据活动状态排序,顺序为:生效中,暂停,审核中,白名单生效中,初始化,审核失败,结束。相同状态优先展示状态更新时间最迟的活动。",
- "items" : {
- "$ref" : "#/components/schemas/TipsDelivery"
- }
- },
- "total_pages" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "1"
- },
- "total_size" : {
- "type" : "integer",
- "description" : "收藏引导数据总数量",
- "example" : "20"
- }
- }
- },
- "AlipayOpenMiniTipsDeliveryCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "EXIST_INDEX_TIPS_DELIVERY", "EXIST_TARGET_TIPS_DELIVERY", "TIPS_DELIVERY_EXCEED_LIMIT", "SYSTEM_ERROR", "INVALID_DELIVERY_TIME", "INVALID_MATCH_URL", "INVALID_MATCH_TYPE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTipsDeliveryCreateModel" : {
- "type" : "object",
- "properties" : {
- "delivery_content" : {
- "type" : "string",
- "description" : "收藏引导文案内容,不得超过14个字",
- "example" : "点击收藏,下次使用更方便"
- },
- "delivery_name" : {
- "type" : "string",
- "description" : "收藏引导活动名称",
- "example" : "收藏引导首页投放活动"
- },
- "end_time" : {
- "type" : "string",
- "description" : "活动结束时间",
- "example" : "2022-12-31 15:23:43"
- },
- "match_type" : {
- "type" : "string",
- "description" : "匹配类型:GLOBAL为全局生效,TARGETURL为目标页面生效,需配置相应页面地址match_url。",
- "example" : "TARGETURL"
- },
- "match_url" : {
- "type" : "string",
- "description" : "目标页面地址",
- "example" : "/page/web"
- },
- "start_time" : {
- "type" : "string",
- "description" : "活动开始时间",
- "example" : "2021-11-25 15:23:43"
- }
- }
- },
- "AlipayOpenMiniTipsDeliveryCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "delivery_id" : {
- "type" : "string",
- "description" : "收藏引导活动ID",
- "example" : "20211111000000797023"
- }
- }
- },
- "AlipayOpenMiniTipsDeliveryModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "DELIVER_NOT_EXIST", "TIPS_DELIVERY_AUDITING", "SAME_MODIFY_OPERATION_TYPE", "INVALID_OPERATE_TYPE", "STATUS_NOT_ALLOWED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTipsDeliveryModifyModel" : {
- "type" : "object",
- "properties" : {
- "delivery_id" : {
- "type" : "string",
- "description" : "收藏引导投放活动ID",
- "example" : "20211114000003057595"
- },
- "operate_type" : {
- "type" : "string",
- "description" : "活动投放操作类型。枚举值:恢复-RESUME,暂停-PAUSE,终止-STOP",
- "example" : "RESUME"
- }
- }
- },
- "AlipayOpenMiniTipsDeliveryModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniTipsDeliveryQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "DELIVER_NOT_EXIST", "NO_PERMISSION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTipsDeliveryQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "delivery_content" : {
- "type" : "string",
- "description" : "收藏引导文案内容",
- "example" : "点击收藏,下次访问更方便"
- },
- "delivery_id" : {
- "type" : "string",
- "description" : "收藏引导投放活动ID",
- "example" : "20211114000003057595"
- },
- "delivery_name" : {
- "type" : "string",
- "description" : "收藏引导配置投放活动的名称",
- "example" : "收藏引导配置投放活动"
- },
- "end_time" : {
- "type" : "string",
- "description" : "活动结束时间",
- "example" : "2021-11-12 14:31:13"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "文案审核驳回理由,仅AUDIT_REJECTED生效",
- "example" : "当前文案语义不通顺,请修改"
- },
- "match_type" : {
- "type" : "string",
- "description" : "匹配类型:GLOBAL为全局生效,TARGETURL为目标页面生效,需配置相应页面地址match_url",
- "example" : "TARGETURL"
- },
- "match_url" : {
- "type" : "string",
- "description" : "目标页面地址",
- "example" : "/page/web"
- },
- "start_time" : {
- "type" : "string",
- "description" : "活动开始时间",
- "example" : "2021-11-11 14:31:13"
- },
- "status" : {
- "type" : "string",
- "description" : "活动状态。 枚举值: INIT: 初始化;AUDITING: 审核中;AUDIT_REJECTED:审核驳回;WORKING: 生效中;PUASE: 暂停;FINISHED 已结束;",
- "example" : "WORKING"
- }
- }
- },
- "AlipayOpenMiniTipsStatisticQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_QUERY_DELIVERY_ID", "INVALID_QUERY_TYPE", "INVALID_QUERY_TIME", "DELIVER_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniTipsStatisticQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_collect_cnt" : {
- "type" : "integer",
- "description" : "昨日(接口调用当日的前一天)小程序收藏人数,时间内未创建投放活动,则响应时不传出参数。",
- "example" : "4798780"
- },
- "app_uv" : {
- "type" : "integer",
- "description" : "昨日(接口调用当日的前一天)小程序访问人数。当小程序日访问量为0,或以活动维度查询,或时间内未创建投放活动,则响应时不传出参数。",
- "example" : "3080000"
- },
- "delivery_content" : {
- "type" : "string",
- "description" : "收藏文案内容(仅以app维度查询时为空),仅活动维度查询成功时返回。",
- "example" : "点击收藏,下次使用更方便"
- },
- "delivery_id" : {
- "type" : "string",
- "description" : "收藏引导投放活动ID(仅以app维度查询时为空),仅活动维度查询成功时返回。",
- "example" : "2018092061468502"
- },
- "tips_collect_rate" : {
- "type" : "string",
- "description" : "昨日(接口调用当日的前一天)收藏引导文案收藏转化率,数据为小数字符串类型,取小数点后两位,单位为百分比。小程序曝光数为0,或时间内未创建投放活动,则响应时不传出参数。",
- "example" : "33.33"
- },
- "tips_collect_uv" : {
- "type" : "integer",
- "description" : "昨日(接口调用当日的前一天)收藏引导文案收藏用户数,时间内未创建投放活动,则响应时不传出参数。",
- "example" : "440000"
- },
- "tips_expo_uv" : {
- "type" : "integer",
- "description" : "昨日(接口调用当日的前一天)收藏引导文案曝光用户数,时间内未创建投放活动,则响应时不传出参数。",
- "example" : "434000"
- },
- "total_app_collect_cnt" : {
- "type" : "integer",
- "description" : "时间段内累计小程序收藏人数,时间内未创建投放活动,则响应时不传出参数。",
- "example" : "7800000"
- },
- "total_app_uv" : {
- "type" : "integer",
- "description" : "时间段内累计小程序访问人数。当小程序日访问量为0,或以活动维度查询,或时间内未创建投放活动,则响应时不传出参数。",
- "example" : "79980000"
- },
- "total_tips_collect_rate" : {
- "type" : "string",
- "description" : "时间段内收藏引导文案收藏转化率,数据为小数字符串类型,取小数点后两位,单位为百分比。小程序曝光数为0,或时间内未创建投放活动,则响应时不传出参数。",
- "example" : "33.33"
- },
- "total_tips_collect_uv" : {
- "type" : "integer",
- "description" : "时间段内累计收藏引导文案收藏用户数,时间内未创建投放活动,则响应时不传出参数。",
- "example" : "5030000"
- },
- "total_tips_expo_uv" : {
- "type" : "integer",
- "description" : "时间段内累计收藏引导文案曝光用户数,仅当小程序/活动投放活动时返回。时间内未创建投放活动,则响应时不传出参数。",
- "example" : "2333900"
- }
- }
- },
- "AlipayOpenMiniVersionAuditApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionAuditApplyModel" : {
- "type" : "object",
- "properties" : {
- "app_category_ids" : {
- "type" : "string",
- "description" : "小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。",
- "example" : "11_12;12_13"
- },
- "app_desc" : {
- "type" : "string",
- "description" : "小程序描述,长度限制 20~400 个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息",
- "example" : "一家专注做潮流女装的店铺,带给消费者价格便宜、质量上乘的衣服"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序应用英文名称,长度限制 3~30 个字符;仅支持英文和数字。\t如果不填默认采用当前小程序应用英文名称,如无默认值则必填,不可为空。",
- "example" : "demoexample"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称,长度限制 3~30 个字符,仅支持包含中文、数字、英文、下划线、+、-。\t如果不填默认采用当前小程序应用名称,如无默认值则必填,不可为空。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息",
- "example" : "杭州支小宝潮流女装店"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "小程序简介,一句话描述小程序功能,长度限制 10~32个字符。\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。可通过https://opendocs.alipay.com/mini/03l21r查询当前小程序信息",
- "example" : "专注潮流女装20年"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本号,请选择开发版本执行提交审核操作。",
- "example" : "0.0.1"
- },
- "audit_rule" : {
- "type" : "string",
- "description" : "审核类型:\tNONE: 不拆分准入、营销(默认)\tBASE_PROMOTE:准入、营销拆分审核\t建议设置成“BASE_PROMOTE”,小程序将会更容易上架。将小程序发布审核拆分成“准入”、“营销”。原先小程序需要两个环节都审核通过才能上架,现在小程序只需要准入通过即可上架,但是无法在营销场景(支付宝泛搜、支付宝首页推荐等)展现给用户,小程序可通过精搜或者扫码等方式使用。如果小程序需要进行营销,可发布新版本,当准入&营销都通过后,小程序也可被营销。点击查看支付宝小程序营销规范:https://opendocs.alipay.com/b/03al2q",
- "example" : "BASE_PROMOTE"
- },
- "auto_online" : {
- "type" : "string",
- "description" : "审核通过后是否自动上架,\t自动上架:true;不自动上架(默认):false。\t如果小程序上架前无需特殊处理,建议设置成true,平台将会在小程序审核通过时自动将其上架",
- "example" : "true"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数。例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- },
- "license_name" : {
- "type" : "string",
- "description" : "营业执照名称,部分小程序类目需要提交,可通过https://opendocs.alipay.com/mini/03l8c8 查询类目是否需要上传营业执照信息。参照https://opendocs.alipay.com/mini/operation/material 要求填写营业执照信息。\t如果选择的类目不需要该信息,则可不填。如果选择的类目需要该信息,如果商户之前在平台上传过该信息,也允许不填",
- "example" : "营业执照名称"
- },
- "license_no" : {
- "type" : "string",
- "description" : "营业执照证件号,部分小程序类目需要提交,可通过https://opendocs.alipay.com/mini/03l8c8 查询类目是否需要上传营业执照信息。参照https://opendocs.alipay.com/mini/operation/material 要求填写营业执照信息。\t\t如果选择的类目不需要该信息,则可不填。如果选择的类目需要该信息,如果商户之前在平台上传过该信息,也允许不填",
- "example" : "licenseNo"
- },
- "license_valid_date" : {
- "type" : "string",
- "description" : "营业执照有效期,格式为 yyyy-MM-dd,9999-12-31表示长期有效。\t部分小程序类目需要提交,可通过https://opendocs.alipay.com/mini/03l8c8 查询类目是否需要上传营业执照信息。参照https://opendocs.alipay.com/mini/operation/material 要求填写营业执照信息。\t如果选择的类目不需要该信息,则可不填。如果选择的类目需要该信息,如果商户之前在平台上传过该信息,也允许不填",
- "example" : "9999-12-31"
- },
- "memo" : {
- "type" : "string",
- "description" : "小程序备注,小程序备注最多500字符。",
- "example" : "小程序示例"
- },
- "mini_category_ids" : {
- "type" : "string",
- "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注意:个人开发者不得使用企业类目。",
- "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
- },
- "region_type" : {
- "type" : "string",
- "description" : "小程序服务区域类型,支持:\tGLOBAL-全球\tCHINA-中国\t如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。\tLOCATION-指定区域",
- "example" : "CHINA"
- },
- "service_email" : {
- "type" : "string",
- "description" : "小程序客服邮箱,如果不填默认采用当前小程序的应用客服邮箱,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为可选字段,请按可选开发。",
- "example" : "example@mail.com"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "小程序客服电话,长度限制5~30个字符,仅支持包含数字和-。如果不填默认采用当前小程序的应用客服电话,小程序客服电话和邮箱至少输入一个。如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。\t注意:2021年7月1日后,该字段将逐步灰度为必填字段,请按必填开发。",
- "example" : "13110101010"
- },
- "service_region_info" : {
- "type" : "array",
- "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如果前期已经设置过该信息,本次可不填,平台将会为你默认上传该信息。如果前期没有设置过该信息,则本次为必填。",
- "items" : {
- "$ref" : "#/components/schemas/RegionInfo"
- }
- },
- "speed_up" : {
- "type" : "string",
- "description" : "如果有审核加急权益,是否使用审核加急权益加速审核:\t加速(默认):true\t不加速:false",
- "example" : "true"
- },
- "test_accout" : {
- "type" : "string",
- "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",
- "example" : "12122"
- },
- "test_password" : {
- "type" : "string",
- "description" : "测试账号密码",
- "example" : "12121"
- },
- "version_desc" : {
- "type" : "string",
- "description" : "小程序版本描述,30-500个字符。",
- "example" : "本次版本更新优化了3项功能,修复了5个BUG"
- }
- }
- },
- "AlipayOpenMiniVersionAuditApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "speed_up" : {
- "type" : "string",
- "description" : "是否加速审核\t加速:true;\t不加速:false",
- "example" : "true"
- },
- "speed_up_memo" : {
- "type" : "string",
- "description" : "提审加速审核说明",
- "example" : "绿通权益使用限流"
- }
- }
- },
- "AlipayOpenMiniVersionAuditCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionAuditCancelModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家小程序审核中的版本号, 不传默认撤消正在审核中的版本。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- }
- }
- },
- "AlipayOpenMiniVersionAuditCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniVersionAuditedCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionAuditedCancelModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家小程序版本号。可将已过审、审核被驳回的小程序版本退回到开发中的状态。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- }
- }
- },
- "AlipayOpenMiniVersionAuditedCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniVersionBuildQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionBuildQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "build_status" : {
- "type" : "string",
- "description" : "构建的状态,0-构建排队中;1-正在构建;2-构建成功;3-构建失败;5-构建超时",
- "example" : "0"
- },
- "create_status" : {
- "type" : "string",
- "description" : "创建版本的状态,状态说明如下:\t0:构建排队中;\t1:正在构建;\t2:构建成功;\t3:构建失败;\t5:构建超时;\t6:版本创建成功。",
- "example" : "6"
- },
- "need_rotation" : {
- "type" : "string",
- "description" : "是否需要轮询",
- "example" : "\"true\""
- },
- "version_created" : {
- "type" : "string",
- "description" : "是否创建版本",
- "example" : "\"true\""
- }
- }
- },
- "AlipayOpenMiniVersionDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionDeleteModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : " 小程序版本号。只有状态为开发中的版本才能被删除。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- }
- }
- },
- "AlipayOpenMiniVersionDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniVersionDetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "APP_VERSION_IS_BLANK", "BUNDLE_ID_NOT_EXIST", "VERSION_IS_BLANK" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionDetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_desc" : {
- "type" : "string",
- "description" : "小程序应用描述",
- "example" : "小程序demo的相关示例"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序应用英文名称",
- "example" : "demoexample"
- },
- "app_logo" : {
- "type" : "string",
- "description" : "小程序应用logo图标",
- "example" : "http://image.aaaa.alipay.com"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序应用名称",
- "example" : "小程序demo"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "小程序应用简介,一句话描述小程序功能",
- "example" : "小程序demo简介"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本号",
- "example" : "0.0.1"
- },
- "base_audit" : {
- "type" : "string",
- "description" : "准入审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
- "example" : "PASS"
- },
- "base_audit_record" : {
- "$ref" : "#/components/schemas/MiniAppAuditReason"
- },
- "can_release" : {
- "type" : "string",
- "description" : "是否可上架-true/false\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
- "example" : "true"
- },
- "gmt_apply_audit" : {
- "type" : "string",
- "description" : "小程序版本提交审核的时间",
- "example" : "2017-12-12 12:00:00"
- },
- "gmt_audit_end" : {
- "type" : "string",
- "description" : "小程序版本审核结束时间",
- "example" : "2017-12-12 12:00:00"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "小程序版本创建时间",
- "example" : "2017-12-12 12:00:00"
- },
- "gmt_offline" : {
- "type" : "string",
- "description" : "小程序版本下架时间",
- "example" : "2017-12-12 12:00:00"
- },
- "gmt_online" : {
- "type" : "string",
- "description" : "小程序版本上架时间",
- "example" : "2017-12-12 12:00:00"
- },
- "gray_strategy" : {
- "type" : "string",
- "description" : "小程序灰度比例值,p10-10%的用户,p30-30%的用户,p50-50%的用户",
- "example" : "p10"
- },
- "memo" : {
- "type" : "string",
- "description" : "小程序备注",
- "example" : "这是一个demo示例"
- },
- "mini_app_category_info_list" : {
- "type" : "array",
- "description" : "小程序类目列表",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppCategoryInfo"
- }
- },
- "mini_category_info_list" : {
- "type" : "array",
- "description" : "新小程序类目列表",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppCategoryInfo"
- }
- },
- "package_info_list" : {
- "type" : "array",
- "description" : "小程序功能包列表",
- "items" : {
- "$ref" : "#/components/schemas/MiniPackageInfo"
- }
- },
- "promote_audit" : {
- "type" : "string",
- "description" : "营销审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
- "example" : "PASS"
- },
- "promote_audit_record" : {
- "$ref" : "#/components/schemas/MiniAppAuditReason"
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "审核驳回原因",
- "example" : "名称太宽泛"
- },
- "scan_result" : {
- "type" : "string",
- "description" : "安全扫描结果,True-安全扫描通过,False-安全扫描不通过,NAN-扫描中",
- "example" : "True"
- },
- "screen_shot_list" : {
- "type" : "array",
- "description" : "小程序版本截图,多个截图以逗号隔开",
- "items" : {
- "type" : "string"
- },
- "example" : "http://image.aaa.alipay.com"
- },
- "service_email" : {
- "type" : "string",
- "description" : "客服邮箱",
- "example" : "example@mail.com"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "客服电话",
- "example" : "13110101010"
- },
- "service_region_info" : {
- "type" : "array",
- "description" : "小程序服务区域信息,当服务区域类型是LOCATION时,这里明确指出具体的服务区域信息",
- "items" : {
- "$ref" : "#/components/schemas/RegionInfo"
- }
- },
- "service_region_type" : {
- "type" : "string",
- "description" : "小程序服务区域类型,GLOBLE-全球,CHINA-中国,LOCATION-指定区域",
- "example" : "LOCATION"
- },
- "status" : {
- "type" : "string",
- "description" : "小程序版本状态,INIT-开发中,AUDITING-审核中,WAIT_RELEASE-待上架,BASE_AUDIT_PASS-准入不可营销,AUDIT_REJECT-审核驳回,RELEASE-已上架,GRAY-灰度中,OFFLINE-已下架,AUDIT_OFFLINE-已被强制下架",
- "example" : "INIT"
- },
- "version_desc" : {
- "type" : "string",
- "description" : "小程序版本描述",
- "example" : "这是一个简单的版本描述"
- }
- }
- },
- "AlipayOpenMiniVersionGrayCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionGrayCancelModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家灰度中的小程序版本号,结束灰度后小程序将回到审核通过状态。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- }
- }
- },
- "AlipayOpenMiniVersionGrayCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniVersionGrayOnlineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionGrayOnlineModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家小程序版本号,需为审核通过状态的小程序版本。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- },
- "gray_strategy" : {
- "type" : "string",
- "description" : "小程序灰度策略值。枚举支持:p10、p30、p50。其中 p10 代表 10% 的用户,p30 代表 30% 的用户,p50 代表 50% 的用户。",
- "example" : "p10"
- }
- }
- },
- "AlipayOpenMiniVersionGrayOnlineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniVersionListQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "APPLICATION_TYPE_NOT_MINIAPP", "NO_TEMPLATE_INSTANTIATE_RELATION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionListQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_version_infos" : {
- "type" : "array",
- "description" : "版本列表,根据版本号倒叙排列,即版本号大的在前面;如果不存在任何版本,返回空列表",
- "items" : {
- "$ref" : "#/components/schemas/AppVersionInfo"
- }
- },
- "app_versions" : {
- "type" : "array",
- "description" : "小程序支付宝端每个状态的最新版本号列表(历史返回值,已不推荐使用,逐渐废弃)",
- "items" : {
- "type" : "string"
- },
- "example" : "0.0.1"
- }
- }
- },
- "AlipayOpenMiniVersionOfflineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionOfflineModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家小程序已上架版本号。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- }
- }
- },
- "AlipayOpenMiniVersionOfflineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniVersionOnlineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionOnlineModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家小程序版本号,需为审核通过状态或灰度中版本。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- }
- }
- },
- "AlipayOpenMiniVersionOnlineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniVersionRollbackErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionRollbackModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家小程序已上架版本。下架后将自动回滚至上一(已上架)小程序版本。\t例如:商家小程序有 0.01(上一上架版本)、0.02(未上架版本)、0.03(当前上架版本) 三个版本,回滚时需传入商家小程序版本 0.03 表示将 0.03 版本回滚至上一个已上架版本即此处 0.01 版本,同时 0.03 版本将自动下架,0.01 版本自动上架(无需审核)。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数,例如投放到支付宝钱包是支付宝端。默认支付宝端。支持:\tcom.alipay.alipaywallet:支付宝端;\tcom.alipay.iot.xpaas:支付宝IoT端。",
- "example" : "com.alipay.alipaywallet"
- }
- }
- },
- "AlipayOpenMiniVersionRollbackResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenMiniVersionUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniVersionUploadModel" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家小程序版本号。版本号必须满足 x.y.z, 且均为数字。要求版本号比商户之前最新的版本号高。",
- "example" : "0.0.1"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "小程序投放的端参数,默认支付宝端 。支持:com.alipay.alipaywallet:支付宝端。\tcom.alipay.iot.xpaas:支付宝IoT端。\t例如投放到支付宝钱包是支付宝端。",
- "example" : "com.alipay.alipaywallet"
- },
- "ext" : {
- "type" : "string",
- "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> 做兼容处理)。",
- "example" : "{\"extEnable\": true, \"extPages\": {\"pages/face/index\": {\"defaultTitle\": \"哈哈哈哈\"}},\"window\": {\"defaultTitle\": \"AI2\"}}"
- },
- "template_id" : {
- "type" : "string",
- "description" : "小程序模板 APPID。",
- "example" : "1"
- },
- "template_version" : {
- "type" : "string",
- "description" : "小程序模板版本号。版本号必须满足 x.y.z, 且均为数字。不传默认使用最新在架(已上架)模板版本。",
- "example" : "0.0.1"
- }
- }
- },
- "AlipayOpenMiniVersionUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "build_status" : {
- "type" : "string",
- "description" : "构建的状态,0-构建排队中;1-正在构建;2-构建成功;3-构建失败;5-构建超时",
- "example" : "0"
- },
- "create_status" : {
- "type" : "string",
- "description" : "创建版本的状态,0-构建排队中;1-正在构建;2-构建成功;3-构建失败;5-构建超时;6-版本创建成功",
- "example" : "6"
- },
- "need_rotation" : {
- "type" : "string",
- "description" : "是否需要轮询",
- "example" : "\"true\""
- },
- "version_created" : {
- "type" : "string",
- "description" : "是否创建了版本",
- "example" : "true"
- }
- }
- },
- "AlipayOpenMiniWidgetDataSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniWidgetDataSyncModel" : {
- "type" : "object",
- "properties" : {
- "activity_list" : {
- "type" : "array",
- "description" : "活动信息列表",
- "items" : {
- "$ref" : "#/components/schemas/WidgetActivityInfo"
- }
- },
- "data_type" : {
- "type" : "string",
- "description" : "数据类型,可选值:ACTIVITY(活动数据)、GOODS(商品数据)",
- "example" : "ACTIVITY"
- },
- "goods_list" : {
- "type" : "array",
- "description" : "商品信息列表",
- "items" : {
- "$ref" : "#/components/schemas/WidgetGoodsInfo"
- }
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "商家小程序ID",
- "example" : "2017072607907880"
- },
- "pid" : {
- "type" : "string",
- "description" : "小程序背后的商家,和mini_app_id要求对应",
- "example" : "2088xxxxxxxxx"
- }
- }
- },
- "AlipayOpenMiniWidgetDataSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "commit_id" : {
- "type" : "string",
- "description" : "同步接口生成的唯一标识,用于查询提交数据的审核状态",
- "example" : "20220829000000000101"
- }
- }
- },
- "AlipayOpenMiniWidgetGoodsModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniWidgetGoodsModifyModel" : {
- "type" : "object",
- "properties" : {
- "buying_url" : {
- "type" : "string",
- "description" : "需要修改的商品小程序购买链接",
- "example" : "alipays://platformapi/startapp?appId= 2017072607907880&page=pages/index/index?param=xxxx"
- },
- "goods_brand" : {
- "type" : "string",
- "description" : "需要修改的商品品牌",
- "example" : "肯德基"
- },
- "goods_comment" : {
- "type" : "string",
- "description" : "需要修改的商品辅助说明文案",
- "example" : "这是一个商品辅助说明文案"
- },
- "goods_description_label" : {
- "type" : "string",
- "description" : "需要修改的商品说明标签(如-随心退)",
- "example" : "随心退"
- },
- "goods_id" : {
- "type" : "string",
- "description" : "商品的唯一标识,根据该字段修改商品",
- "example" : "8948968498"
- },
- "goods_label" : {
- "type" : "string",
- "description" : "需要修改的商品营销标签(如-限量特价),每个商品仅支持一个营销标签",
- "example" : "限量特价"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "需要修改的商品名称",
- "example" : "这是一个商品名称"
- },
- "goods_type" : {
- "type" : "string",
- "description" : "需要修改的商品所属品类",
- "example" : "服装"
- },
- "main_pic_url" : {
- "type" : "string",
- "description" : "需要修改的商品主图片地址",
- "example" : "https://xxx.xxx.com/xxx.jpg"
- },
- "need_public_promo" : {
- "type" : "boolean",
- "description" : "是否需要进行公域推广",
- "example" : "true"
- },
- "order_number" : {
- "type" : "integer",
- "description" : "需要修改的商品排序,自然整数, 数字越小越靠前",
- "example" : "1"
- },
- "original_price" : {
- "type" : "string",
- "description" : "需要修改的商品原价,单位\"元\",传入数字,不需要传入\"元\"",
- "example" : "88.88"
- },
- "publish_cities" : {
- "type" : "string",
- "description" : "需要修改的商品投放城市的列表,详见https://www.mca.gov.cn/article/sj/xzqh/2020/2020/202007170301.html,有多个用英文,分隔。如果没有限制则不传入",
- "example" : "110000"
- },
- "sell_price" : {
- "type" : "string",
- "description" : "需要修改的商品售价,位\"元\",传入数字,不需要传入\"元\"",
- "example" : "66.66"
- },
- "sell_tag_list" : {
- "type" : "array",
- "description" : "需要修改的商品卖点标签",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"特惠\",\"热卖\"]"
- }
- }
- },
- "AlipayOpenMiniWidgetGoodsModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "commit_id" : {
- "type" : "string",
- "description" : "商品修改返回的提交ID,用于查询商品信息的审核状态",
- "example" : "20220829000000000101"
- }
- }
- },
- "AlipayOpenMiniWidgetGoodsQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "GOODS_PAGE_SIZE_LIMIT", "PAGE_NUM_NO_LESS_ONE", "PARAM_IS_NULL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniWidgetGoodsQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "data_list" : {
- "type" : "array",
- "description" : "商品信息列表",
- "items" : {
- "$ref" : "#/components/schemas/GoodsQueryResponse"
- }
- },
- "page_num" : {
- "type" : "integer",
- "description" : "查询第几页",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "查询页面数量",
- "example" : "10"
- },
- "total" : {
- "type" : "integer",
- "description" : "查询结果总数",
- "example" : "10"
- }
- }
- },
- "AlipayOpenMiniWidgetGoodsUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenMiniWidgetGoodsUploadModel" : {
- "type" : "object",
- "properties" : {
- "goods_list" : {
- "type" : "array",
- "description" : "商品信息列表",
- "items" : {
- "$ref" : "#/components/schemas/WidgetGoodsInfo"
- }
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "用于承接品的商家小程序ID",
- "example" : "2017072607907880"
- },
- "pid" : {
- "type" : "string",
- "description" : "品的售卖商家,即承接该品的小程序背后的商家。和mini_app_id要求对应",
- "example" : "2088xxxxxxxxx"
- }
- }
- },
- "AlipayOpenMiniWidgetGoodsUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "commit_id" : {
- "type" : "string",
- "description" : "商品提交生成的唯一标识,用于查询商品信息的审核状态",
- "example" : "20220829000000000101"
- }
- }
- },
- "AlipayOpenOperationOpenbizmockTestpathkeyQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "LALALA" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenOperationOpenbizmockTestpathkeyQueryModel" : {
- "type" : "object",
- "properties" : {
- "d" : {
- "type" : "string",
- "description" : "4",
- "example" : "d"
- }
- }
- },
- "AlipayOpenOperationOpenbizmockTestpathkeyQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "string",
- "description" : "测试",
- "example" : "success"
- }
- }
- },
- "AlipayOpenPublicAccountCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicAccountCreateModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "账户添加成功,在支付宝与其对应的协议号。如果账户重复添加,接口保证幂等依然视为添加成功,返回此前该账户在支付宝对应的协议号。其他异常该字段不存在。",
- "example" : "29022222"
- },
- "bind_account_no" : {
- "type" : "string",
- "description" : "绑定帐号,建议在开发者的系统中保持唯一性",
- "example" : "test001"
- },
- "display_name" : {
- "type" : "string",
- "description" : "开发者期望在服务窗首页看到的关于该用户的显示信息,最长10个字符",
- "example" : "test001"
- },
- "from_user_id" : {
- "type" : "string",
- "description" : "要绑定的商户会员对应的支付宝userid,2088开头长度为16位的字符串",
- "example" : "2088801234567890"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户的唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "real_name" : {
- "type" : "string",
- "description" : "要绑定的商户会员的真实姓名,最长10个汉字",
- "example" : "张三"
- },
- "remark" : {
- "type" : "string",
- "description" : "备注信息,开发者可以通过该字段纪录其他的额外信息",
- "example" : "备注信息"
- }
- }
- },
- "AlipayOpenPublicAccountCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "协议号,商户会员在支付宝服务窗账号中的唯一标识",
- "example" : "29022222"
- }
- }
- },
- "AlipayOpenPublicAccountDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "OPEN_ID_IS_ILLEGAL", "ACCOUNT_PARAMS_NOT_ENOUGH", "FORBIT_REMOVE_BIND_ACCOUNT", "REMOVE_BIND_ACCOUNT_FAIL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicAccountDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicAccountQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "OPEN_ID_IS_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicAccountQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "public_bind_accounts" : {
- "type" : "array",
- "description" : "绑定账户列表",
- "items" : {
- "$ref" : "#/components/schemas/StdPublicBindAccount"
- }
- }
- }
- },
- "AlipayOpenPublicAccountResetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicAccountResetModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "需要重置的协议号,商户会员在支付宝生活号账号中的唯一标识。",
- "example" : "29022222"
- },
- "bind_account_no" : {
- "type" : "string",
- "description" : "绑定帐号,建议在开发者的系统中保持唯一性",
- "example" : "test002"
- },
- "display_name" : {
- "type" : "string",
- "description" : "商户期望在生活号首页看到的关于该用户的显示信息,最长10个字符。\t",
- "example" : "test002"
- },
- "from_user_id" : {
- "type" : "string",
- "description" : "要绑定的商户会员对应的支付宝唯一标识,2088开头长度为16位的字符串。\t",
- "example" : "2088801234567890"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户的唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "real_name" : {
- "type" : "string",
- "description" : "要绑定的商户会员的真实姓名,最长10个汉字",
- "example" : "张三"
- },
- "remark" : {
- "type" : "string",
- "description" : "备注信息,开发者可以通过该字段纪录其他的额外信息",
- "example" : "备注信息"
- }
- }
- },
- "AlipayOpenPublicAccountResetResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "重置后的协议号,商户会员在支付宝服务窗账号中的唯一标识",
- "example" : "29022223"
- }
- }
- },
- "AlipayOpenPublicAdvertBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "BUSINESS_ERROR", "APP_NO_AVAIABLE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicAdvertBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "advert_list" : {
- "type" : "array",
- "description" : "广告位列表 。目前只有一个广告位。",
- "items" : {
- "$ref" : "#/components/schemas/Advert"
- }
- },
- "count" : {
- "type" : "integer",
- "description" : "广告组数量",
- "example" : "1"
- }
- }
- },
- "AlipayOpenPublicAdvertCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicAdvertCreateModel" : {
- "type" : "object",
- "properties" : {
- "advert_items" : {
- "type" : "array",
- "description" : " 广告位轮播内容列表。数量限制:大于1个,小于5个。广告位轮播内容顺序:与接口传入的顺序排列一致。",
- "items" : {
- "$ref" : "#/components/schemas/AdvertItem"
- }
- }
- }
- },
- "AlipayOpenPublicAdvertCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "advert_group" : {
- "type" : "string",
- "description" : "广告分组标识",
- "example" : "default"
- },
- "advert_id" : {
- "type" : "string",
- "description" : "广告位id",
- "example" : "123"
- }
- }
- },
- "AlipayOpenPublicAdvertDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "PUBLIC_ADVERT_ID_INVALID", "PUBLIC_ADVERT_NOT_EXISTS", "SYSTEM_ERROR", "BUSINESS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicAdvertDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicAdvertModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicAdvertModifyModel" : {
- "type" : "object",
- "properties" : {
- "advert_id" : {
- "type" : "string",
- "description" : "广告位id,通过<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.advert.create\">alipay.open.public.advert.create</a>(生活号广告位添加接口)添加广告位获取。",
- "example" : "123"
- },
- "advert_items" : {
- "type" : "array",
- "description" : "广告位轮播内容列表。数量限制:大于1个,小于5个。广告位轮播内容顺序:与接口传入的顺序排列一致。",
- "items" : {
- "$ref" : "#/components/schemas/AdvertItem"
- }
- }
- }
- },
- "AlipayOpenPublicAdvertModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicArticlesummaryDataBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicArticlesummaryDataBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "begin_date" : {
- "type" : "string",
- "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。",
- "example" : "20171101"
- },
- "end_date" : {
- "type" : "string",
- "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。",
- "example" : "20171108"
- }
- }
- },
- "AlipayOpenPublicArticlesummaryDataBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "data_list" : {
- "type" : "array",
- "description" : "文章分析数据列表",
- "items" : {
- "$ref" : "#/components/schemas/ArticleSummaryAnalysisData"
- }
- }
- }
- },
- "AlipayOpenPublicContactFollowBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "QUERY_CONTACT_FOLLOWER_FORBIDDEN", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicContactFollowBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "contact_follow_list" : {
- "type" : "array",
- "description" : "联系人关注者列表",
- "items" : {
- "$ref" : "#/components/schemas/ContactFollower"
- }
- }
- }
- },
- "AlipayOpenPublicDefaultExtensionCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicDefaultExtensionCreateModel" : {
- "type" : "object",
- "properties" : {
- "areas" : {
- "type" : "array",
- "description" : "默认扩展区列表,最多包含3个扩展区",
- "items" : {
- "$ref" : "#/components/schemas/ExtensionArea"
- }
- }
- }
- },
- "AlipayOpenPublicDefaultExtensionCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "extension_key" : {
- "type" : "string",
- "description" : "一套扩展区的key,创建一套扩展区成功后,支付宝会将该字段返回,后续对扩展区进行删除等操作都会用到这个值。",
- "example" : "10000"
- }
- }
- },
- "AlipayOpenPublicFollowBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "QUERY_FOLLOWER_FORBIDDEN", "OPENID_INVALID", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicFollowBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "next_user_id" : {
- "type" : "string",
- "description" : "当关注者数量超过10000时使用,本次拉取数据中第一个用户的userId,从上次接口调用返回值中获取。第一次调用置空",
- "example" : "2088102146158132"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户的唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }
- },
- "AlipayOpenPublicFollowBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "count" : {
- "type" : "string",
- "description" : "本次调用获取的userId个数,最大值为10000",
- "example" : "10000"
- },
- "next_user_id" : {
- "type" : "string",
- "description" : "查询分组的userid",
- "example" : "2088102123322367"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户的",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "open_id_list" : {
- "type" : "array",
- "description" : "支付宝用户的唯一标识列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
- },
- "user_id_list" : {
- "type" : "array",
- "description" : "用户的userId列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088102146158132\",\"2088102150429794\",\"2088102150477652\" ]"
- }
- }
- },
- "AlipayOpenPublicGroupBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicGroupBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "groups" : {
- "type" : "array",
- "description" : "用户分组列表,包含每个分组的id、name、以及规则模型",
- "items" : {
- "$ref" : "#/components/schemas/QueryGroup"
- }
- }
- }
- },
- "AlipayOpenPublicGroupCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicGroupCreateModel" : {
- "type" : "object",
- "properties" : {
- "label_rule" : {
- "type" : "array",
- "description" : "标签规则,满足该规则的粉丝将被圈定,标签id不能重复",
- "items" : {
- "$ref" : "#/components/schemas/ComplexLabelRule"
- }
- },
- "name" : {
- "type" : "string",
- "description" : "分组名称,仅支持中文、字母、数字、下划线的组合。",
- "example" : "测试分组"
- }
- }
- },
- "AlipayOpenPublicGroupCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "group_id" : {
- "type" : "string",
- "description" : "分组id",
- "example" : "10000"
- }
- }
- },
- "AlipayOpenPublicGroupCrowdQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicGroupCrowdQueryModel" : {
- "type" : "object",
- "properties" : {
- "label_rule" : {
- "type" : "array",
- "description" : "用户分组的规则项列表,规则项之间元素是与的逻辑,每个规则项内部用多个值表示或的逻辑",
- "items" : {
- "$ref" : "#/components/schemas/ComplexLabelRule"
- }
- }
- }
- },
- "AlipayOpenPublicGroupCrowdQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "count" : {
- "type" : "string",
- "description" : "分组圈出的人群数量",
- "example" : "2000000"
- }
- }
- },
- "AlipayOpenPublicGroupDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "GROUP_ID_INVALID", "GROUP_NOT_EXISTED", "GROUP_NOT_ALLOW_DELETE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicGroupDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicGroupModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicGroupModifyModel" : {
- "type" : "object",
- "properties" : {
- "group_id" : {
- "type" : "string",
- "description" : "分组ID,通过<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.group.create\">alipay.open.public.group.create</a>(用户分组创建接口)\t创建用户分组获取。",
- "example" : "100"
- },
- "label_rule" : {
- "type" : "array",
- "description" : "标签规则,满足该规则的粉丝将被圈定,标签id不能重复",
- "items" : {
- "$ref" : "#/components/schemas/ComplexLabelRule"
- }
- },
- "name" : {
- "type" : "string",
- "description" : "分组名称,仅支持中文、字母、数字、下划线的组合。",
- "example" : "测试分组"
- }
- }
- },
- "AlipayOpenPublicGroupModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicInfoModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicInfoModifyModel" : {
- "type" : "object",
- "properties" : {
- "app_name" : {
- "type" : "string",
- "description" : "生活号名称,2-20个字之间。注意:\t* 不得含有违反法律法规和公序良俗的相关信息;\t* 不得侵害他人名誉权、知识产权、商业秘密等合法权利;\t* 不得以太过广泛的、或产品、行业词组来命名,如:女装、皮革批发;\t* 不得以实名认证的媒体资质账号创建服务窗,或媒体相关名称命名服务窗,如:XX电视台、XX杂志等。",
- "example" : "生活号名称"
- },
- "auth_pic" : {
- "type" : "string",
- "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回填与此处。",
- "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
- },
- "background_url" : {
- "type" : "string",
- "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回填与此处。",
- "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
- },
- "introduction" : {
- "type" : "string",
- "description" : "简介",
- "example" : "生活号简介"
- },
- "license_url" : {
- "type" : "string",
- "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回填与此处。",
- "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
- },
- "logo_url" : {
- "type" : "string",
- "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回填与此处。",
- "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "public_greeting" : {
- "type" : "string",
- "description" : "欢迎语",
- "example" : "欢迎光临"
- },
- "shop_pics" : {
- "type" : "array",
- "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回填与此处。",
- "items" : {
- "type" : "string"
- },
- "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
- }
- }
- },
- "AlipayOpenPublicInfoModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "audit_desc" : {
- "type" : "string",
- "description" : "服务窗审核状态描述",
- "example" : "审核中"
- },
- "audit_status" : {
- "type" : "string",
- "description" : "服务窗审核状态,申请成功后返回AUDITING,等待风控审核",
- "example" : "AUDITING"
- }
- }
- },
- "AlipayOpenPublicInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "APP_NOT_PUBLICAPP" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "app_name" : {
- "type" : "string",
- "description" : "生活号名称",
- "example" : "生活号名称"
- },
- "audit_desc" : {
- "type" : "string",
- "description" : "最新审核状态描述,如果审核驳回则有相关的驳回理由",
- "example" : "logo图片不符合规范"
- },
- "audit_status" : {
- "type" : "string",
- "description" : "最新审核状态,对于系统商而言,只有四个状态,AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过,AUDIT_NORMAL:无审核状态(当前没有处于审核过程的工单)",
- "example" : "AUDITING"
- },
- "audit_status_list" : {
- "type" : "array",
- "description" : "审核状态表,目前支持名称、头像、名称与头像、简介审核状态",
- "items" : {
- "$ref" : "#/components/schemas/PublicAuditStatus"
- }
- },
- "background_url" : {
- "type" : "string",
- "description" : "背景图片地址",
- "example" : "http://dl.django.t.taobao.com/rest/1.0/image?fileIds=V9rfg69SSimLZg5wDA3yEgAAACMA"
- },
- "introduction" : {
- "type" : "string",
- "description" : "生活号简介",
- "example" : "简介"
- },
- "is_online" : {
- "type" : "string",
- "description" : "生活号是否上线,T表示上线,F表示未上线",
- "example" : "T"
- },
- "is_release" : {
- "type" : "string",
- "description" : "生活号是否上架,T表示上架,上架即可在支付宝客户端被搜索到,F表示未上架",
- "example" : "F"
- },
- "logo_url" : {
- "type" : "string",
- "description" : "生活号头像地址",
- "example" : "http://pic.alipayobjects.com/e/201311/1ZQ"
- },
- "mcc_code_desc" : {
- "type" : "string",
- "description" : "商家经营类目,详情参见 <a href=\"https://opendocs.alipay.com/open/01n22g\">商家经营类目</a>",
- "example" : "房地产开发商"
- },
- "public_greeting" : {
- "type" : "string",
- "description" : "欢迎语",
- "example" : "欢迎光临"
- }
- }
- },
- "AlipayOpenPublicLabelCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLabelCreateModel" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string",
- "description" : "标签名",
- "example" : "测试标签01"
- }
- }
- },
- "AlipayOpenPublicLabelCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "description" : "支付宝返回的标签ID,开发者后续通过该ID进行标签的查询、修改、删除等操作",
- "example" : "100513"
- },
- "name" : {
- "type" : "string",
- "description" : "开发者传入name的值",
- "example" : "测试标签01"
- }
- }
- },
- "AlipayOpenPublicLabelQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLabelQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "label_list" : {
- "type" : "array",
- "description" : "该服务窗拥有的标签列表",
- "items" : {
- "$ref" : "#/components/schemas/PublicLabel"
- }
- }
- }
- },
- "AlipayOpenPublicLabelUserQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "OPEN_ID_IS_ILLEGAL", "FORBIT_QUERY_USER_LABEL", "PUBLIC_ID_IS_EMPTY", "USER_ID_IS_EMPTY", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLabelUserQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "label_ids" : {
- "type" : "string",
- "description" : "用户标签id列表,以英文逗号分隔",
- "example" : "100509,100510,100511,100512"
- }
- }
- },
- "AlipayOpenPublicLifeAboardApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLifeAboardApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "string",
- "description" : "上架成功后返回的提示",
- "example" : "上架成功"
- }
- }
- },
- "AlipayOpenPublicLifeAgentcreateQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_OUT_BIZ_NO", "LIFE_NO_EXIST_OUT_BIZ_NO", "LIFE_ILLEGAL_ISV_APP_ID", "BUSINESS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLifeAgentcreateQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "life_app_id" : {
- "type" : "string",
- "description" : "只有审核通过,且商户在支付宝发送的授权邮件中确认授权,此时生活号才会正式创建,查询才会返回该值",
- "example" : "2017062501320531"
- },
- "merchant_pid" : {
- "type" : "string",
- "description" : "商户pid",
- "example" : "2088302109396986"
- },
- "order_status_biz_desc" : {
- "type" : "string",
- "description" : "支付宝商户入驻申请单状态,申请单状态包括:暂存、审核中、待商户确认、成功、失败。\t说明:暂存是审核前的中间状态,如出现暂存状态请再次提交代创建生活号申请。",
- "example" : "审核成功"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "由开发者创建的外部入驻申请单据号",
- "example" : "2016070788301823878"
- },
- "refused_reason" : {
- "type" : "string",
- "description" : "只有审核失败才会返回该值",
- "example" : "提供的资质证明不符合要求,请重新上传再试"
- }
- }
- },
- "AlipayOpenPublicLifeDebarkApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "LIFE_ALREADY_DEBARK", "LIFE_ILLEGAL_ISV_APP_ID", "BUSINESS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLifeDebarkApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "string",
- "description" : "下架成功后返回的提示",
- "example" : "下架成功"
- }
- }
- },
- "AlipayOpenPublicLifeLabelBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLifeLabelBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "labels" : {
- "type" : "array",
- "description" : "标签列表",
- "items" : {
- "$ref" : "#/components/schemas/LifeLabel"
- }
- }
- }
- },
- "AlipayOpenPublicLifeLabelCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLifeLabelCreateModel" : {
- "type" : "object",
- "properties" : {
- "data_type" : {
- "type" : "string",
- "description" : "标签值类型,不填默认为 string 类型。\t注意:目前只支持 string(字符串类型)。",
- "example" : "string"
- },
- "label_name" : {
- "type" : "string",
- "description" : "自定义标签名。\t注意:每个生活号最多创建 100 个自定义标签。",
- "example" : "职业"
- }
- }
- },
- "AlipayOpenPublicLifeLabelCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "label_id" : {
- "type" : "string",
- "description" : "标签id",
- "example" : "10000"
- }
- }
- },
- "AlipayOpenPublicLifeLabelDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "DEL_LABEL_ID_IS_EMPTY", "LABEL_NOT_EXISTS", "LABEL_IS_USED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLifeLabelDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicLifeLabelModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLifeLabelModifyModel" : {
- "type" : "object",
- "properties" : {
- "label_id" : {
- "type" : "string",
- "description" : "标签 id,只支持生活号自定义标签。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)创建自定义标签后获取。",
- "example" : "10000"
- },
- "label_name" : {
- "type" : "string",
- "description" : "标签名",
- "example" : "职业"
- }
- }
- },
- "AlipayOpenPublicLifeLabelModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicLifeMsgRecallErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLifeMsgRecallModel" : {
- "type" : "object",
- "properties" : {
- "message_id" : {
- "type" : "string",
- "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>接口时会返回,请注意保存留用。",
- "example" : "2016000000000000"
- }
- }
- },
- "AlipayOpenPublicLifeMsgRecallResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicLifeMsgSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicLifeMsgSendModel" : {
- "type" : "object",
- "properties" : {
- "category" : {
- "type" : "string",
- "description" : "消息分类,请传入对应分类编码值",
- "example" : "c001"
- },
- "content" : {
- "type" : "string",
- "description" : "消息正文,html原文或纯文本",
- "example" : "多云转晴,10°-21°"
- },
- "desc" : {
- "type" : "string",
- "description" : "消息概述",
- "example" : "多云转晴,13-21°"
- },
- "msg_type" : {
- "type" : "string",
- "description" : "媒体资讯类生活号消息类型",
- "example" : "IMAGE-CONTENT: 生活号新图文消息(单条),VIDEO:生活号视频消息(单条)"
- },
- "source_ext_info" : {
- "type" : "string",
- "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):文章的失效时间,单位秒",
- "example" : "{\"is_recommended\":\"true\",\"is_news\":\"true\"}"
- },
- "title" : {
- "type" : "string",
- "description" : "消息标题",
- "example" : "杭州天气预报"
- },
- "unique_msg_id" : {
- "type" : "string",
- "description" : "来源方消息唯一标识;若不为空,根据此id和生活号id对消息去重;若为空,不去重",
- "example" : "2016042810221362"
- },
- "video_length" : {
- "type" : "string",
- "description" : "生活号消息视频时长,单位:秒(视频类消息必填)",
- "example" : "120"
- },
- "video_samples" : {
- "type" : "array",
- "description" : "视频类型消息中视频抽样关键帧截图,视频类消息选填",
- "items" : {
- "type" : "string"
- },
- "example" : "https://os.alipayobjects.com/rmsportal/SbMPIcOBQLFUXGg.jpg"
- },
- "video_size" : {
- "type" : "string",
- "description" : "视频大小,单位:KB(视频类消息必填)",
- "example" : "1024"
- },
- "video_source" : {
- "type" : "string",
- "description" : "视频资源来源id(视频类消息必填),取值限定youku, miaopai, taobao, sina中的一个",
- "example" : "youku"
- },
- "video_temporary_url" : {
- "type" : "string",
- "description" : "视频的临时链接(优酷来源的视频消息,该字段不能为空)",
- "example" : "https://openhome.alipay.com/platform/home.htm"
- },
- "video_url" : {
- "type" : "string",
- "description" : "生活号视频类消息视频id或url(视频类消息必填,根据来源区分)",
- "example" : "https://open.alipay.com/platform/home.htm"
- }
- }
- },
- "AlipayOpenPublicLifeMsgSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "alipay_msg_id" : {
- "type" : "string",
- "description" : "生活号消息唯一标识",
- "example" : "2016042811340001"
- }
- }
- },
- "AlipayOpenPublicMatchuserLabelCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMatchuserLabelCreateModel" : {
- "type" : "object",
- "properties" : {
- "label_id" : {
- "type" : "string",
- "description" : "标签 id,只支持生活号自定义标签。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)创建自定义标签后获取。",
- "example" : "10000"
- },
- "label_value" : {
- "type" : "string",
- "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参数的限定。",
- "example" : "浙江"
- },
- "matchers" : {
- "type" : "array",
- "description" : "支付宝用户匹配器列表,最多传入10条",
- "items" : {
- "$ref" : "#/components/schemas/Matcher"
- }
- }
- }
- },
- "AlipayOpenPublicMatchuserLabelCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "error_count" : {
- "type" : "integer",
- "description" : "用户打标失败数量",
- "example" : "1"
- },
- "error_matchers" : {
- "type" : "array",
- "description" : "出错的匹配器列表",
- "items" : {
- "$ref" : "#/components/schemas/ErrorMatcher"
- }
- }
- }
- },
- "AlipayOpenPublicMatchuserLabelDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMatchuserLabelDeleteModel" : {
- "type" : "object",
- "properties" : {
- "label_id" : {
- "type" : "string",
- "description" : "标签 id,只支持生活号自定义标签。通过 <a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.life.label.create\">alipay.open.public.life.label.create</a>(创建标签接口)创建自定义标签后获取。",
- "example" : "10000"
- },
- "matchers" : {
- "type" : "array",
- "description" : "支付宝用户匹配器列表,最多传入10条",
- "items" : {
- "$ref" : "#/components/schemas/Matcher"
- }
- }
- }
- },
- "AlipayOpenPublicMatchuserLabelDeleteResponseModel" : {
- "type" : "object",
- "properties" : {
- "error_count" : {
- "type" : "integer",
- "description" : "用户打标失败数量",
- "example" : "1"
- },
- "error_matchers" : {
- "type" : "array",
- "description" : "出错的匹配器列表",
- "items" : {
- "$ref" : "#/components/schemas/ErrorMatcher"
- }
- }
- }
- },
- "AlipayOpenPublicMenuBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMenuBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "count" : {
- "type" : "string",
- "description" : "菜单数量,包括默认菜单和个性化菜单",
- "example" : "5"
- },
- "menus" : {
- "type" : "array",
- "description" : "菜单列表",
- "items" : {
- "$ref" : "#/components/schemas/QueryMenu"
- }
- }
- }
- },
- "AlipayOpenPublicMenuCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMenuCreateModel" : {
- "type" : "object",
- "properties" : {
- "button" : {
- "type" : "array",
- "description" : "一级菜单列表。说明:\t* 如果是文本菜单,最多有4个一级菜单,若开发者在后台打开了\"咨询反馈\"的开关,则只能有3个一级菜单。\t* 如果是 ICON 菜单信息,最多有80个一级菜单(忽略二级菜单)。",
- "items" : {
- "$ref" : "#/components/schemas/ButtonObject"
- }
- },
- "type" : {
- "type" : "string",
- "description" : "菜单类型,不填时默认为 text(文本型菜单)。枚举值如下:\t* text:文本型菜单。\t* icon:表示 icon 型菜单,当传值为\"icon\"时,菜单节点的icon字段必传。",
- "example" : "text"
- }
- }
- },
- "AlipayOpenPublicMenuCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "menu_key" : {
- "type" : "string",
- "description" : "默认菜单菜单key,文本菜单为“default”,icon菜单为“iconDefault”",
- "example" : "default"
- }
- }
- },
- "AlipayOpenPublicMenuDataBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMenuDataBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "begin_date" : {
- "type" : "string",
- "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。",
- "example" : "20171101"
- },
- "end_date" : {
- "type" : "string",
- "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。",
- "example" : "20171108"
- }
- }
- },
- "AlipayOpenPublicMenuDataBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "data_list" : {
- "type" : "array",
- "description" : "菜单分析数据列表",
- "items" : {
- "$ref" : "#/components/schemas/MenuAnalysisData"
- }
- }
- }
- },
- "AlipayOpenPublicMenuModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMenuModifyModel" : {
- "type" : "object",
- "properties" : {
- "button" : {
- "type" : "array",
- "description" : "一级菜单列表。说明:\t* 如果是文本菜单,最多有4个一级菜单,若开发者在后台打开了\"咨询反馈\"的开关,则只能有3个一级菜单。\t* 如果是 ICON 菜单信息,最多有80个一级菜单(忽略二级菜单)。",
- "items" : {
- "$ref" : "#/components/schemas/ButtonObject"
- }
- },
- "type" : {
- "type" : "string",
- "description" : "菜单类型,不填时默认为 text(文本型菜单)。枚举值如下:\t* text:文本型菜单。\t* icon:表示 icon 型菜单,当传值为\"icon\"时,菜单节点的icon字段必传。",
- "example" : "icon"
- }
- }
- },
- "AlipayOpenPublicMenuModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicMenuQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "MENU_NOT_SET", "MENU_NOT_EXIST", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMenuQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "menu_content" : {
- "type" : "string",
- "description" : "一级菜单数组,个数应为1~4个",
- "example" : "{\"button\":[{\"actionParam\":\"menu_v01_pay\",\"actionType\":\"in\",\"name\":\"支付\"}]}"
- }
- }
- },
- "AlipayOpenPublicMessageContentCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMessageContentCreateModel" : {
- "type" : "object",
- "properties" : {
- "benefit" : {
- "type" : "string",
- "description" : "活动利益点,最多10个字符。仅 ctype 为 activity 类型时才需传入。",
- "example" : "满**减**"
- },
- "content" : {
- "type" : "string",
- "description" : "消息正文(支持富文本)",
- "example" : "<html>示例</html>"
- },
- "could_comment" : {
- "type" : "string",
- "description" : "是否允许评论。枚举支持:\t*T:允许。\t*F:不允许,默认不允许。",
- "example" : "T"
- },
- "cover" : {
- "type" : "string",
- "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 。",
- "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
- },
- "ctype" : {
- "type" : "string",
- "description" : "图文类型,不填默认普通图文。还支持 activity(活动图文)。",
- "example" : "activity"
- },
- "ext_tags" : {
- "type" : "string",
- "description" : "关键词列表,英文逗号分隔,最多不超过5个",
- "example" : "关键,热度"
- },
- "login_ids" : {
- "type" : "string",
- "description" : "可预览支付宝账号列表,需要预览时才填写, 英文逗号分隔,最多不超过10个",
- "example" : "13434343432,xxx@163.com"
- },
- "title" : {
- "type" : "string",
- "description" : "标题",
- "example" : "标题"
- }
- }
- },
- "AlipayOpenPublicMessageContentCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "content_id" : {
- "type" : "string",
- "description" : "内容id",
- "example" : "201410323232dsadjada-dsa-1234dsada"
- },
- "content_url" : {
- "type" : "string",
- "description" : "内容详情内链url",
- "example" : "alipays://xxxx"
- }
- }
- },
- "AlipayOpenPublicMessageContentModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMessageContentModifyModel" : {
- "type" : "object",
- "properties" : {
- "benefit" : {
- "type" : "string",
- "description" : "活动利益点,图文类型ctype为activity类型时才需要传,最多10个字符",
- "example" : "满**减**"
- },
- "content" : {
- "type" : "string",
- "description" : "消息正文(支持富文本)",
- "example" : "<html>示例</html>"
- },
- "content_id" : {
- "type" : "string",
- "description" : "内容id",
- "example" : "20141032434dsdsada-dsadas-2e32"
- },
- "could_comment" : {
- "type" : "string",
- "description" : "是否允许评论 T:允许 F:不允许,默认不允许",
- "example" : "T"
- },
- "cover" : {
- "type" : "string",
- "description" : "封面图url, 尺寸为996*450,最大不超过3M,支持格式:.jpg、.png ,请先调用<ahref=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url。",
- "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
- },
- "ctype" : {
- "type" : "string",
- "description" : "图文类型 activity: 活动图文,不填默认普通图文",
- "example" : "activity"
- },
- "ext_tags" : {
- "type" : "string",
- "description" : "关键词列表,英文逗号分隔,最多不超过5个",
- "example" : "关键,热度"
- },
- "login_ids" : {
- "type" : "string",
- "description" : "可预览支付宝账号列表,需要预览时才填写, 英文逗号分隔,最多不超过10个",
- "example" : "13434343432,xxx@163.com"
- },
- "title" : {
- "type" : "string",
- "description" : "标题",
- "example" : "标题"
- }
- }
- },
- "AlipayOpenPublicMessageContentModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "content_id" : {
- "type" : "string",
- "description" : "内容id",
- "example" : "201410323232dsadjada-dsa-1234dsada"
- },
- "content_url" : {
- "type" : "string",
- "description" : "内容详情内链url",
- "example" : "alipays://xxxx"
- }
- }
- },
- "AlipayOpenPublicMessageCustomSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMessageCustomSendModel" : {
- "type" : "object",
- "properties" : {
- "articles" : {
- "type" : "array",
- "description" : "msg_type为image-text,本参数必填。\t",
- "items" : {
- "$ref" : "#/components/schemas/Article"
- }
- },
- "chat" : {
- "type" : "string",
- "description" : "是否为聊天消息。枚举支持:\t*0:代表非聊天消息,消息显示在生活号主页,默认为 0。\t*1:代表是聊天消息,消息显示在咨询反馈列表页。",
- "example" : "0"
- },
- "event_type" : {
- "type" : "string",
- "description" : "触发消息的事件类型,默认为空。代表商户未改造。如果是follow,代表关注消息。click代表菜单点击,enter_ppchat代表进入事件;请注意事件类型的大小写",
- "example" : "follow"
- },
- "msg_type" : {
- "type" : "string",
- "description" : "消息类型。枚举支持:\t* text:表示文本消息;\t* image-text:表示图文消息。",
- "example" : "text"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户的唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "text" : {
- "$ref" : "#/components/schemas/Text"
- },
- "to_user_id" : {
- "type" : "string",
- "description" : "消息接收用户的userid",
- "example" : "2088283746283746"
- }
- }
- },
- "AlipayOpenPublicMessageCustomSendResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicMessageGroupSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMessageGroupSendModel" : {
- "type" : "object",
- "properties" : {
- "articles" : {
- "type" : "array",
- "description" : "图文消息,当 msg_type为image-text,本参数必填。",
- "items" : {
- "$ref" : "#/components/schemas/Article"
- }
- },
- "group_id" : {
- "type" : "string",
- "description" : "分组ID,通过<a href=\"https://opendocs.alipay.com/apis/api_6/alipay.open.public.group.create\">alipay.open.public.group.create</a>(用户分组创建接口)\t创建用户分组获取。",
- "example" : "10000"
- },
- "image" : {
- "$ref" : "#/components/schemas/Image"
- },
- "msg_type" : {
- "type" : "string",
- "description" : "消息类型。枚举支持:\t* text:表示文本消息;\t* image-text:表示图文消息。\t",
- "example" : "text"
- },
- "text" : {
- "$ref" : "#/components/schemas/Text"
- }
- }
- },
- "AlipayOpenPublicMessageGroupSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "message_id" : {
- "type" : "string",
- "description" : "2013121100055554f1000b64-3f05-4581-a5e1-16e29d242950",
- "example" : "消息ID"
- }
- }
- },
- "AlipayOpenPublicMessageLabelSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMessageLabelSendModel" : {
- "type" : "object",
- "properties" : {
- "filter" : {
- "$ref" : "#/components/schemas/Filter"
- },
- "material" : {
- "$ref" : "#/components/schemas/Material"
- }
- }
- },
- "AlipayOpenPublicMessageLabelSendResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicMessageSingleSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMessageSingleSendModel" : {
- "type" : "object",
- "properties" : {
- "template" : {
- "$ref" : "#/components/schemas/Template"
- },
- "to_open_id" : {
- "type" : "string",
- "description" : "支付宝openId,用于支付宝用户在当前应用下的用户标识。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "to_user_id" : {
- "type" : "string",
- "description" : "消息接收用户的支付宝用户id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "example" : "2088202882050410"
- }
- }
- },
- "AlipayOpenPublicMessageSingleSendResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicMessageTotalSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "MSG_TYPE_ILLEGAL", "OPEN_ID_IS_ILLEGAL", "ILLEGAL_ARGUMENT_PARAMS", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicMessageTotalSendModel" : {
- "type" : "object",
- "properties" : {
- "articles" : {
- "type" : "array",
- "description" : "图文消息,当 msg_type为image-text,本参数必填。\t",
- "items" : {
- "$ref" : "#/components/schemas/Article"
- }
- },
- "msg_type" : {
- "type" : "string",
- "description" : "消息类型。枚举支持:\t* text:表示文本消息;\t* image-text:表示图文消息。",
- "example" : "text"
- },
- "text" : {
- "$ref" : "#/components/schemas/Text"
- }
- }
- },
- "AlipayOpenPublicMessageTotalSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "message_id" : {
- "type" : "string",
- "description" : "消息ID",
- "example" : "2013121100055554f1000b64-3f05-4581-a5e1-16e29d242950"
- }
- }
- },
- "AlipayOpenPublicPayeeBindCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "AYEEBIND_USER_INVALID", "PAYEEBIND_APP_INVALID", "PAYEEBIND_NOT_SAME_SUBJECT", "PAYEEBIND_LOGIN_ID_HAS_BIND", "PAYEEBIND_COUNT_OVER", "PARAM_NOT_ALLOW_COEXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicPayeeBindCreateModel" : {
- "type" : "object",
- "properties" : {
- "login_id" : {
- "type" : "string",
- "description" : "收款账号,需要绑定的收款支付宝账号,请勿与 pid 同时传入。",
- "example" : "13429393030"
- },
- "pid" : {
- "type" : "string",
- "description" : "支付宝用户id,2088开头的16位长度字符串,请勿与 login_id 同时传入。",
- "example" : "2088344343289143"
- }
- }
- },
- "AlipayOpenPublicPayeeBindCreateResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicPayeeBindDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PAYEEBIND_BIND_NOT_EXIST", "PARAM_NOT_ALLOW_COEXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicPayeeBindDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicPersonalizedExtensionBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicPersonalizedExtensionBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "count" : {
- "type" : "integer",
- "description" : "扩展区套数",
- "example" : "10"
- },
- "extensions" : {
- "type" : "array",
- "description" : "扩展区信息",
- "items" : {
- "$ref" : "#/components/schemas/QueryExtension"
- }
- }
- }
- },
- "AlipayOpenPublicPersonalizedExtensionCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicPersonalizedExtensionCreateModel" : {
- "type" : "object",
- "properties" : {
- "areas" : {
- "type" : "array",
- "description" : "扩展区列表,最大条数为3",
- "items" : {
- "$ref" : "#/components/schemas/ExtensionArea"
- }
- },
- "label_rule" : {
- "type" : "array",
- "description" : "标签规则,目前限定只能传入1条,在扩展区上线后,满足该标签规则的用户进入生活号首页,将看到该套扩展区。生成标签及打标详情参见<a href=\"https://opendocs.alipay.com/fw/api/106877\">标签管理</a>。",
- "items" : {
- "$ref" : "#/components/schemas/LabelRule"
- }
- }
- }
- },
- "AlipayOpenPublicPersonalizedExtensionCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "extension_key" : {
- "type" : "string",
- "description" : "扩展区套id。创建个性化扩展区成功后,支付宝会将该字段返回,后续扩展区上下线或者扩展区删除都会用到这个值。",
- "example" : "10000"
- }
- }
- },
- "AlipayOpenPublicPersonalizedExtensionDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "EXTENSION_KEY_IS_EMPTY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicPersonalizedExtensionDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicPersonalizedMenuCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicPersonalizedMenuCreateModel" : {
- "type" : "object",
- "properties" : {
- "button" : {
- "type" : "array",
- "description" : "一级菜单列表。说明:\t* 如果是文本菜单,最多有4个一级菜单,若开发者在后台打开了\"咨询反馈\"的开关,则只能有3个一级菜单。\t* 如果是 ICON 菜单信息,最多有80个一级菜单(忽略二级菜单)。",
- "items" : {
- "$ref" : "#/components/schemas/ButtonObject"
- }
- },
- "group_id" : {
- "type" : "string",
- "description" : "人群分组id。分组创建及管理接入详情参见 <a href=\"https://opendocs.alipay.com/fw/api/106931\">分组管理</a>。\t注意:group_id 与 label_rule(标签规则)不能同时为空。",
- "example" : "RQ20190917100100000001"
- },
- "label_rule" : {
- "type" : "array",
- "description" : "标签规则,目前限定只能传入1条,在个性化菜单创建成功后,满足该标签规则的用户进入生活号首页,将看到该套菜单。生成标签及打标详情参见<a href=\"https://opendocs.alipay.com/fw/api/106877\">标签管理</a>。\t注意:group_id(人群分组id) 与 label_rule 不能同时为空。",
- "items" : {
- "$ref" : "#/components/schemas/LabelRule"
- }
- },
- "mobile_client_type" : {
- "type" : "string",
- "description" : "手机客户端类型,枚举支持:\t*iphone;\t*android;\t*wp;\t说明:不填为不区分机型。",
- "example" : "android"
- },
- "type" : {
- "type" : "string",
- "description" : "菜单类型,不填时默认为 text(文本型菜单)。枚举值如下:\t* text:文本型菜单。\t* icon:表示 icon 型菜单,当传值为\"icon\"时,菜单节点的icon字段必传。",
- "example" : "text"
- }
- }
- },
- "AlipayOpenPublicPersonalizedMenuCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "menu_key" : {
- "type" : "string",
- "description" : "该套个性化菜单key",
- "example" : "100000"
- }
- }
- },
- "AlipayOpenPublicPersonalizedMenuDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "MENU_KEY_IS_EMPTY", "MENU_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicPersonalizedMenuDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicQrcodeCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARSE_XML_JSON_ERROR", "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicQrcodeCreateModel" : {
- "type" : "object",
- "properties" : {
- "code_info" : {
- "$ref" : "#/components/schemas/CodeInfo"
- },
- "code_type" : {
- "type" : "string",
- "description" : "二维码类型,目前只支持两种类型:\r\tTEMP:临时的(默认);\r\tPERM:永久的",
- "example" : "TEMP"
- },
- "expire_second" : {
- "type" : "string",
- "description" : "临时码过期时间,以秒为单位,最大不超过1800秒;\r\t永久码置空",
- "example" : "1000"
- },
- "show_logo" : {
- "type" : "string",
- "description" : "二维码中间是否显示服务窗logo,Y:显示;N:不显示(默认)",
- "example" : "N"
- }
- }
- },
- "AlipayOpenPublicQrcodeCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "code_img" : {
- "type" : "string",
- "description" : "二维码图片地址,可跳转到实际图片",
- "example" : "https://mobilecodec.alipay.com/show.htm?code=ppx086640jutnzjgx5ghxf7&picSize=M"
- },
- "expire_second" : {
- "type" : "string",
- "description" : "二维码有效时间,单位(秒)。永久码暂时忽略该信息",
- "example" : "1800"
- }
- }
- },
- "AlipayOpenPublicSettingCategoryQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicSettingCategoryQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "primary_category" : {
- "type" : "string",
- "description" : "已设置的一级行业分类名称。\t",
- "example" : "电子商务"
- },
- "secondary_category" : {
- "type" : "string",
- "description" : "已设置的二级行业分类名称。",
- "example" : "酒店"
- }
- }
- },
- "AlipayOpenPublicShortlinkCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicShortlinkCreateModel" : {
- "type" : "object",
- "properties" : {
- "remark" : {
- "type" : "string",
- "description" : "对于场景 ID 的描述,由商户自定义。",
- "example" : "球房1支付推广"
- },
- "scene_id" : {
- "type" : "string",
- "description" : "短链接对应的场景 ID。由商户自定义,仅支持数字、字母及下划线。",
- "example" : "store_pay_01"
- }
- }
- },
- "AlipayOpenPublicShortlinkCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "shortlink" : {
- "type" : "string",
- "description" : "生成的带参推广短链接",
- "example" : "http://t.alipay.com/I/Ev62jVRm"
- }
- }
- },
- "AlipayOpenPublicSinglearticleDataBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicSinglearticleDataBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "begin_date" : {
- "type" : "string",
- "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。",
- "example" : "20171101"
- },
- "end_date" : {
- "type" : "string",
- "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。",
- "example" : "20171108"
- }
- }
- },
- "AlipayOpenPublicSinglearticleDataBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "data_list" : {
- "type" : "array",
- "description" : "单篇文章分析数据列表",
- "items" : {
- "$ref" : "#/components/schemas/SingleArticleAnalysisData"
- }
- }
- }
- },
- "AlipayOpenPublicTemplateMessageGetErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicTemplateMessageGetResponseModel" : {
- "type" : "object",
- "properties" : {
- "msg_template_id" : {
- "type" : "string",
- "description" : "消息模板id--商户领取母版后生成的唯一模板id",
- "example" : "14330d60f0ab4516853a0900827cee35"
- },
- "template" : {
- "type" : "string",
- "description" : "模板内容",
- "example" : "{\"appId\":\"${ALIPAY.appId}\",\"createTime\":${ALIPAY.createTime},\"toUserId\":\"${ALIPAY.toUserId}\",\"msgType\":\"text\",\"push\":\"true\"}"
- }
- }
- },
- "AlipayOpenPublicTemplateMessageIndustryModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicTemplateMessageIndustryModifyModel" : {
- "type" : "object",
- "properties" : {
- "primary_industry_code" : {
- "type" : "string",
- "description" : "服务窗消息模板所属主行业一/二级编码,参见 <a href=\"https://alipay.open.taobao.com/doc2/detail?treeId=197&docType=1&articleId=105043\">查看行业信息</a>。",
- "example" : "10001/20102"
- },
- "primary_industry_name" : {
- "type" : "string",
- "description" : "服务窗消息模板所属主行业一/二级名称,参见 <a href=\"https://alipay.open.taobao.com/doc2/detail?treeId=197&docType=1&articleId=105043\">查看行业信息</a>。",
- "example" : "IT科技/IT软件与服务"
- },
- "secondary_industry_code" : {
- "type" : "string",
- "description" : "服务窗消息模板所属副行业一/二级编码,参见 <a href=\"https://alipay.open.taobao.com/doc2/detail?treeId=197&docType=1&articleId=105043\">查看行业信息</a>。",
- "example" : "10001/20102"
- },
- "secondary_industry_name" : {
- "type" : "string",
- "description" : "服务窗消息模板所属副行业一/二级名称,参见 <a href=\"https://alipay.open.taobao.com/doc2/detail?treeId=197&docType=1&articleId=105043\">查看行业信息</a>。",
- "example" : "IT科技/IT软件与服务"
- }
- }
- },
- "AlipayOpenPublicTemplateMessageIndustryModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicTopicBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "BUSINESS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicTopicBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "topic_list" : {
- "type" : "array",
- "description" : "营销位列表",
- "items" : {
- "$ref" : "#/components/schemas/Topic"
- }
- }
- }
- },
- "AlipayOpenPublicTopicCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicTopicCreateModel" : {
- "type" : "object",
- "properties" : {
- "img_url" : {
- "type" : "string",
- "description" : "营销位图片url, 尺寸为996*450,最大不超过5M,支持格式:.jpg、.png ,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url。营销位需要展示头图时,必须填写该参数。",
- "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
- },
- "link_type" : {
- "type" : "string",
- "description" : "跳转类型,网页:HTTP、小程序:APP,不传默认HTTP",
- "example" : "HTTP"
- },
- "link_url" : {
- "type" : "string",
- "description" : "营销位跳转地址,点击营销位头图跳到的链接url。营销位需要展示头图时,必须填写该参数。",
- "example" : "https://www.alipay.com"
- },
- "sub_title" : {
- "type" : "string",
- "description" : "营销位描述。营销位需要展示头图时,必须填写该参数。",
- "example" : "营销位描述"
- },
- "title" : {
- "type" : "string",
- "description" : "营销位名称",
- "example" : "营销位名称"
- },
- "topic_items" : {
- "type" : "array",
- "description" : "营销位内容,数量限制:大于4个,小于8个",
- "items" : {
- "$ref" : "#/components/schemas/TopicItem"
- }
- }
- }
- },
- "AlipayOpenPublicTopicCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "topic_id" : {
- "type" : "string",
- "description" : "营销位id",
- "example" : "123"
- }
- }
- },
- "AlipayOpenPublicTopicDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "TOPIC_ID_INVALID", "TOPIC_NOT_EXISTS", "SYSTEM_ERROR", "BUSINESS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicTopicDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicTopicModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicTopicModifyModel" : {
- "type" : "object",
- "properties" : {
- "img_url" : {
- "type" : "string",
- "description" : "营销位图片url, 尺寸为996*450,最大不超过5M,支持格式:.jpg、.png ,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url。营销位需要展示头图时,必须填写该参数。",
- "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
- },
- "link_type" : {
- "type" : "string",
- "description" : "跳转类型,网页:HTTP、小程序:APP,不传默认HTTP",
- "example" : "HTTP"
- },
- "link_url" : {
- "type" : "string",
- "description" : "营销位跳转地址,点击营销位头图跳到的链接url。营销位需要展示头图时,必须填写该参数。",
- "example" : "https://www.alipay.com"
- },
- "sub_title" : {
- "type" : "string",
- "description" : "营销位描述。营销位需要展示头图时,必须填写该参数",
- "example" : "营销位描述"
- },
- "title" : {
- "type" : "string",
- "description" : "营销位名称",
- "example" : "营销位名称"
- },
- "topic_id" : {
- "type" : "string",
- "description" : "营销位id",
- "example" : "123"
- },
- "topic_items" : {
- "$ref" : "#/components/schemas/TopicItem"
- }
- }
- },
- "AlipayOpenPublicTopicModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenPublicUserDataBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "QUERY_DATE_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicUserDataBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "begin_date" : {
- "type" : "string",
- "description" : "数据开始日期,时间格式为 \"yyyyMMdd\" 。\t",
- "example" : "20171101"
- },
- "end_date" : {
- "type" : "string",
- "description" : "数据结束日期,时间格式为\"yyyyMMdd\"。查询数据开始日期/结束日期时间跨度最大30天。",
- "example" : "20171108"
- }
- }
- },
- "AlipayOpenPublicUserDataBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "data_list" : {
- "type" : "array",
- "description" : "用户分析数据",
- "items" : {
- "$ref" : "#/components/schemas/UserAnalysisData"
- }
- }
- }
- },
- "AlipayOpenPublicUserFollowQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_BIZ_PARAMS", "SYSTEM_ERROR", "BUSINESS_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenPublicUserFollowQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "is_follow" : {
- "type" : "string",
- "description" : "用户是否关注。枚举值如下:\t*T:代表已关注。\t*F:代表未关注。",
- "example" : "T"
- }
- }
- },
- "AlipayOpenSearchAbilityBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchAbilityBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "biz_data" : {
- "$ref" : "#/components/schemas/SearchOperPageQueryRequest"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "表示修改内容的业务类型",
- "example" : "SEARCH_ABILITY_BATCH_QUERY"
- },
- "opt_type" : {
- "type" : "string",
- "description" : "进行具体操作的类型比如:query",
- "example" : "query"
- }
- }
- },
- "AlipayOpenSearchAbilityBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/AbilityPageQueryDTO"
- }
- }
- },
- "AlipayOpenSearchAppkeywordApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "KEYWORDS_EXCEED_MAX_LIMIT", "INVALID_PARAMETER", "SYSTEM_ERROR", "OPERATE_TOO_FAST", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchAppkeywordApplyModel" : {
- "type" : "object",
- "properties" : {
- "config_id" : {
- "type" : "string",
- "description" : "关键词id,(仅修改时传入,修改时仅能传一个关键词)",
- "example" : "20221108000000245181"
- },
- "key_words" : {
- "type" : "array",
- "description" : "提报的关键词",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"关键词1\",\"关键词2\"]"
- },
- "target_appid" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2021001120654127"
- }
- }
- },
- "AlipayOpenSearchAppkeywordApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_no" : {
- "type" : "string",
- "description" : "提报之后的后台审核工单的id",
- "example" : "20220524000000113288"
- }
- }
- },
- "AlipayOpenSearchAppkeywordBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchAppkeywordBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "key_word_info" : {
- "type" : "array",
- "description" : "审核通过关键词明细",
- "items" : {
- "$ref" : "#/components/schemas/KeyWordInfo"
- }
- },
- "page_number" : {
- "type" : "integer",
- "description" : "第几页",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页条数",
- "example" : "10"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总条数",
- "example" : "1234"
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "123"
- }
- }
- },
- "AlipayOpenSearchAppkeywordDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "INVALID_STATUS", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchAppkeywordDeleteModel" : {
- "type" : "object",
- "properties" : {
- "config_id" : {
- "type" : "string",
- "description" : "关键词配置ID",
- "example" : "20220513000000165607"
- },
- "key_words" : {
- "type" : "array",
- "description" : "需要删除的生效关键词",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"关键词1\",\"关键词2\"]"
- },
- "target_appid" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2021001120654127"
- }
- }
- },
- "AlipayOpenSearchAppkeywordDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenSearchAppkeywordQuerystatusErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "OPERATE_TOO_FAST", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchAppkeywordQuerystatusResponseModel" : {
- "type" : "object",
- "properties" : {
- "key_words" : {
- "type" : "array",
- "description" : "关键词工单审核状态返回值",
- "items" : {
- "$ref" : "#/components/schemas/KeyWordInfo"
- }
- }
- }
- },
- "AlipayOpenSearchAppkeywordquotaQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "OPERATE_TOO_FAST", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchAppkeywordquotaQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "quota_num" : {
- "type" : "string",
- "description" : "剩余可配置额度数量,返回具体数字",
- "example" : "1"
- }
- }
- },
- "AlipayOpenSearchBaseorderModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "SYSTEM_ERROR", "INVALID_PARAMETER", "SYSTEM_BUSY", "NOT_ALLOWED_OPERATE", "SEARCH_KEYWORD_CONFIG_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBaseorderModifyModel" : {
- "type" : "object",
- "properties" : {
- "biz_data" : {
- "$ref" : "#/components/schemas/SearchBaseOrderCreateApiRequest"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "表示修改内容的业务类型",
- "example" : "SEARCH_ORDER_CREATE"
- },
- "opt_type" : {
- "type" : "string",
- "description" : "操作的具体类型",
- "example" : "set"
- }
- }
- },
- "AlipayOpenSearchBaseorderModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "工单id",
- "example" : "23343434********"
- }
- }
- },
- "AlipayOpenSearchBoxApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxApplyModel" : {
- "type" : "object",
- "properties" : {
- "area_keywords" : {
- "type" : "array",
- "description" : "小程序直达配置的常用服务中带有球房信息时,可添加简称触发词",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"简称触发词\"]"
- },
- "box_desc" : {
- "type" : "string",
- "description" : "品牌介绍,5-15个中文字符。\t小程序直达不支持设置此项",
- "example" : "品牌介绍"
- },
- "brand_id" : {
- "type" : "string",
- "description" : "品牌id,参考<a href=\"https://opendocs.alipay.com/rules/029uy4\"> 品牌认证说明 </a>",
- "example" : "1000467882"
- },
- "business_benefit_switch" : {
- "type" : "boolean",
- "description" : "可通过配置来开启商圈权益模块,关闭后搜索直达不展示商圈权益模块",
- "example" : "true"
- },
- "business_district_ids" : {
- "type" : "array",
- "description" : "小程序已关联商圈时,可添加商圈id(目前仅对品牌直达开放,小程序直达暂未开放)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"商圈id\"]"
- },
- "custom_keywords" : {
- "type" : "array",
- "description" : "自定义触发词,最多可配置6个,限1-8个中文字符。\t小程序直达不支持设置此项",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"自定义触发词\"]"
- },
- "image_id" : {
- "type" : "string",
- "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小程序直达不支持设置此项。",
- "example" : "A*oZQmT4xTBPUAAAAAAAAAAAAAAQAAAQ"
- },
- "image_name" : {
- "type" : "string",
- "description" : "氛围图片名。\t小程序直达不支持设置此项",
- "example" : "氛围图1"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- },
- "related_accounts" : {
- "type" : "array",
- "description" : "关联账号信息,1-2个。\t内部字段均需设置。当为品牌直达时,数组中的第1个账号会被设置为\"账号1\",也就是将作为搜索直达专区头部的跳转地址",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxAppInfo"
- }
- },
- "service_infos" : {
- "type" : "array",
- "description" : "服务信息,服务必须审核通过才能申请搜索直达。品牌直达最多可配置同一品牌认证下的小程序4个,小程序直达最多可配置2个。\t内部字段均需设置。",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxServiceInfo"
- }
- },
- "target_appid" : {
- "type" : "string",
- "description" : "小程序id,小程序直达时必传,需要和申请的商户主体保持一致,且符合<a href=\"https://opendocs.alipay.com/b/03al6e\"> 准入类目 </a>",
- "example" : "2018092561507369"
- }
- }
- },
- "AlipayOpenSearchBoxApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达配置id",
- "example" : "20220117000000112680"
- }
- }
- },
- "AlipayOpenSearchBoxBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INPUT_ARGUMENT_NULL", "INPUT_ARGUMENT_ILLEGAL", "ISV_NOT_AUTH", "NO_PERMISSION", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- },
- "page_number" : {
- "type" : "integer",
- "description" : "分页查询的当前页号,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页查询的数量,默认10,不得超过50",
- "example" : "10"
- }
- }
- },
- "AlipayOpenSearchBoxBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "box_infos" : {
- "type" : "array",
- "description" : "搜索直达基础信息",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxBasicInfo"
- }
- },
- "page_number" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页记录数",
- "example" : "10"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总记录数",
- "example" : "100"
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "5"
- }
- }
- },
- "AlipayOpenSearchBoxConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ISV_NOT_AUTH", "INPUT_ARGUMENT_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxConsultModel" : {
- "type" : "object",
- "properties" : {
- "area_keywords" : {
- "type" : "string",
- "description" : "小程序直达配置的常用服务中带有球房信息时,可添加简称触发词",
- "example" : "简称触发词"
- },
- "box_desc" : {
- "type" : "string",
- "description" : "品牌介绍,5-15个中文字符。 \t小程序直达不支持设置此项",
- "example" : "品牌介绍"
- },
- "brand_id" : {
- "type" : "string",
- "description" : "品牌id,参考<a href=\"https://opendocs.alipay.com/rules/029uy4\">品牌认证说明</a>",
- "example" : "1000467882"
- },
- "business_benefit_switch" : {
- "type" : "boolean",
- "description" : "可通过配置来开启商圈权益模块,关闭后搜索直达不展示商圈权益模块",
- "example" : "true"
- },
- "business_district_ids" : {
- "type" : "array",
- "description" : "小程序已关联商圈时,可添加商圈id(目前仅对品牌直达开放,小程序直达暂未开放)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"商圈id\"]"
- },
- "custom_keywords" : {
- "type" : "array",
- "description" : "自定义触发词,最多可配置6个,限1-8个中文字符。 \t小程序直达不支持设置此项",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"自定义触发词\"]"
- },
- "image_id" : {
- "type" : "string",
- "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小程序直达不支持设置此项。",
- "example" : "A*oZQmT4xTBPUAAAAAAAAAAAAAAQAAAQ"
- },
- "image_name" : {
- "type" : "string",
- "description" : "氛围图片名。 \t小程序直达不支持设置此项",
- "example" : "氛围图1"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- },
- "related_accounts" : {
- "type" : "array",
- "description" : "关联账号信息,1-2个。 内部字段均需设置。",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxAppInfo"
- }
- },
- "service_infos" : {
- "type" : "array",
- "description" : "服务信息,服务必须审核通过才能申请搜索直达。 内部字段均需设置。",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxServiceInfo"
- }
- },
- "target_appid" : {
- "type" : "string",
- "description" : "小程序id,小程序直达时必传,需要和申请的商户主体保持一致,且符合<a href=\"https://opendocs.alipay.com/b/03al6e\">准入类目</a>",
- "example" : "2018092561XXXXXX"
- }
- }
- },
- "AlipayOpenSearchBoxConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "access" : {
- "type" : "boolean",
- "description" : "是否准入,false代表不准入",
- "example" : "true"
- },
- "not_pass_items" : {
- "type" : "array",
- "description" : "不准入项列表。不准入项用字符串描述,可参照接口文档和<a href=\"https://opendocs.alipay.com/pre-open/0311q3#%E5%87%86%E5%85%A5%E6%9D%A1%E4%BB%B6\">准入条件</a>,进行调整以达到申请要求",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"小程序未设置搜索可见\"]"
- }
- }
- },
- "AlipayOpenSearchBoxModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxModifyModel" : {
- "type" : "object",
- "properties" : {
- "area_keywords" : {
- "type" : "array",
- "description" : "小程序直达配置的常用服务中带有球房信息时,可添加简称触发词",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"简称触发词\"]"
- },
- "box_desc" : {
- "type" : "string",
- "description" : "品牌介绍,5-15个中文字符。当修改品牌介绍模块(module_type=BOX_EXCLUSIVE_BASE)时传入。\t小程序直达时不支持设置",
- "example" : "品牌介绍"
- },
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达配置id",
- "example" : "20220308000000128693"
- },
- "brand_id" : {
- "type" : "string",
- "description" : "品牌id,参考<a href=\"https://opendocs.alipay.com/rules/029uy4\"> 品牌认证说明 </a>",
- "example" : "1000467882"
- },
- "business_benefit_switch" : {
- "type" : "boolean",
- "description" : "可通过配置来开启商圈权益模块,关闭后搜索直达不展示商圈权益模块",
- "example" : "false"
- },
- "business_district_ids" : {
- "type" : "array",
- "description" : "小程序已关联商圈时,可添加商圈id(目前仅对品牌直达开放,小程序直达暂未开放)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"商圈id\"]"
- },
- "custom_keywords" : {
- "type" : "string",
- "description" : "自定义关键词,最多可配置6个,限1-8个中文字符。当修改触发词模块时(module_type=BOX_EXCLUSIVE_KEYWORD)传入。\t小程序直达不支持设置",
- "example" : "[\"自定义关键词\"]"
- },
- "image_id" : {
- "type" : "string",
- "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小程序直达不支持设置此项。",
- "example" : "A*oZQmT4xTBPUAAAAAAAAAAAAAAQAAAQ"
- },
- "image_name" : {
- "type" : "string",
- "description" : "氛围图片名,当修改氛围图模块(module_type=BOX_ATMOSPHERE_IMAGE)时传入。\t小程序直达不支持设置",
- "example" : "搜索直达氛围图1"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- },
- "module_id" : {
- "type" : "string",
- "description" : "搜索直达模块配置id,新增模块时可不传,更新模块时必传。从alipay.open.search.box.query详情接口查询可获取已存在模块的配置id",
- "example" : "20220308000000168465"
- },
- "module_type" : {
- "type" : "string",
- "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-氛围图",
- "example" : "BOX_EXCLUSIVE_KEYWORD"
- },
- "related_accounts" : {
- "type" : "array",
- "description" : "关联账号信息,可配置1-2个。传入账号需归属于商家主体。品牌直达修改官方账号(module_type=BOX_EXCLUSIVE_ACCOUNTS)时传入,小程序直达修改常用服务模块时也需传值。\t当为品牌直达时,数组中的第1个账号会被设置为\"账号1\",也就是将作为搜索直达专区头部的跳转地址。",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxAppInfo"
- }
- },
- "service_infos" : {
- "type" : "array",
- "description" : "服务信息,服务必须审核通过才能申请搜索直达,可配置1-4个。当修改常用服务模块(module_type=BOX_EXCLUSIVE_FUNCTIONS)时传入",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxServiceInfo"
- }
- },
- "target_appid" : {
- "type" : "string",
- "description" : "小程序id,小程序直达时必传,需要和申请的商户主体保持一致,且符合<a href=\"https://opendocs.alipay.com/b/03al6e\"> 准入类目 </a>",
- "example" : "2018092561507369"
- }
- }
- },
- "AlipayOpenSearchBoxModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "module_id" : {
- "type" : "string",
- "description" : "搜索直达模块配置id",
- "example" : "20220116000000130147"
- }
- }
- },
- "AlipayOpenSearchBoxOfflineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "INPUT_ARGUMENT_NULL", "ISV_NOT_AUTH", "NO_PERMISSION", "RELATED_ACCOUNT_NO_TINY_APP", "SYSTEM_ERROR", "STATUS_NOT_ALLOWED_OPERATE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxOfflineModel" : {
- "type" : "object",
- "properties" : {
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达配置id",
- "example" : "20211130000000100415"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- }
- }
- },
- "AlipayOpenSearchBoxOfflineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenSearchBoxOnlineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxOnlineModel" : {
- "type" : "object",
- "properties" : {
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达配置id",
- "example" : "20211130000000100415"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- }
- }
- },
- "AlipayOpenSearchBoxOnlineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenSearchBoxQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "NO_PERMISSION", "SYSTEM_ERROR", "ISV_NOT_AUTH", "INPUT_ARGUMENT_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_module" : {
- "$ref" : "#/components/schemas/SearchBoxAccountModule"
- },
- "area_keyword_module" : {
- "$ref" : "#/components/schemas/SearchBoxAreaKeyWordModule"
- },
- "basic_info_module" : {
- "$ref" : "#/components/schemas/SearchBoxBasicInfoModule"
- },
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达配置id",
- "example" : "20220308000000128693"
- },
- "box_status" : {
- "type" : "string",
- "description" : "搜索直达配置状态,AUDIT-审核中/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架",
- "example" : "ONLINE"
- },
- "business_district_module" : {
- "$ref" : "#/components/schemas/BoxBusinessDistrictModule"
- },
- "default_keywords" : {
- "type" : "array",
- "description" : "搜索直达默认触发词,由系统生成,无法修改",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"默认触发词\"]"
- },
- "keyword_module" : {
- "$ref" : "#/components/schemas/SearchBoxKeyWordModule"
- },
- "latest_audit_image" : {
- "$ref" : "#/components/schemas/SearchBoxImageModule"
- },
- "service_module" : {
- "$ref" : "#/components/schemas/SearchBoxServiceModule"
- },
- "valid_image" : {
- "$ref" : "#/components/schemas/SearchBoxImageModule"
- }
- }
- },
- "AlipayOpenSearchBoxactivityApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxactivityApplyModel" : {
- "type" : "object",
- "properties" : {
- "action_url" : {
- "type" : "string",
- "description" : "活动链接,必须为关联的小程序的页面链接(链接以 alipays 开头),可参考<a href=\"https://opendocs.alipay.com/support/01rb18\"> 小程序scheme链接介绍 </a>",
- "example" : "alipays://platformapi/startapp?appId=2021001198637195&pages/kaq_maid/kaq_maid"
- },
- "background_word" : {
- "type" : "string",
- "description" : "创建banner活动时,可添加底纹推广词,有机会在首页搜索框内展示,提升banner活动曝光机会",
- "example" : "搜索底纹推广词"
- },
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达配置id",
- "example" : "20211130000000100415"
- },
- "end_time" : {
- "type" : "string",
- "description" : "活动结束时间,开始和结束时间之间不得超过90天",
- "example" : "2022-09-30 23:59:59"
- },
- "material_id" : {
- "type" : "string",
- "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>",
- "example" : "A*oZQmT4xTBPUAAAAAAAAAAAAAAQAAAQ"
- },
- "material_type" : {
- "type" : "string",
- "description" : "IMAGE-图片/VIDEO-视频",
- "example" : "IMAGE"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- },
- "start_time" : {
- "type" : "string",
- "description" : "活动开始时间,开始和结束时间之间不得超过90天",
- "example" : "2022-02-10 08:00:00"
- },
- "target_appid" : {
- "type" : "string",
- "description" : "跳转应用ID",
- "example" : "2021001191699651"
- },
- "target_appname" : {
- "type" : "string",
- "description" : "跳转小程序名称",
- "example" : "跳转小程序名称"
- },
- "target_regions" : {
- "type" : "array",
- "description" : "投放目标区域列表",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryTargetRegion"
- }
- },
- "title" : {
- "type" : "string",
- "description" : "活动标题",
- "example" : "活动标题"
- },
- "video_info" : {
- "$ref" : "#/components/schemas/SearchBoxActivityVideoInfo"
- }
- }
- },
- "AlipayOpenSearchBoxactivityApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "box_activity_id" : {
- "type" : "string",
- "description" : "搜索直达活动ID",
- "example" : "20211223000000100000"
- }
- }
- },
- "AlipayOpenSearchBoxactivityBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "INPUT_ARGUMENT_NULL", "ISV_NOT_AUTH", "NO_PERMISSION", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxactivityBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达id",
- "example" : "20211130000000100415"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- },
- "page_number" : {
- "type" : "integer",
- "description" : "分页查询的当前页号,从1开始",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页查询的数量,默认10,不超过50",
- "example" : "10"
- }
- }
- },
- "AlipayOpenSearchBoxactivityBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "models" : {
- "type" : "array",
- "description" : "活动明细列表",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxActivity"
- }
- },
- "page_number" : {
- "type" : "string",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "每页记录数",
- "example" : "10"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总记录数",
- "example" : "100"
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "5"
- }
- }
- },
- "AlipayOpenSearchBoxactivityModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxactivityModifyModel" : {
- "type" : "object",
- "properties" : {
- "action_url" : {
- "type" : "string",
- "description" : "活动链接,必须为关联的小程序的页面链接(链接以 alipays 开头),可参考<a href=\"https://opendocs.alipay.com/support/01rb18\"> 小程序scheme链接介绍 </a>",
- "example" : "alipays://platformapi/startapp?appId=2021001198637195&pages/kaq_maid/kaq_maid"
- },
- "background_word" : {
- "type" : "string",
- "description" : "创建banner活动时,可添加底纹推广词,有机会在首页搜索框内展示,提升banner活动曝光机会",
- "example" : "搜索底纹推广词"
- },
- "box_activity_id" : {
- "type" : "string",
- "description" : "搜索直达活动id",
- "example" : "20220308000000168465"
- },
- "end_time" : {
- "type" : "string",
- "description" : "活动结束时间,开始时间和结束时间之间不能超过90天",
- "example" : "2022-09-30 23:59:59"
- },
- "material_id" : {
- "type" : "string",
- "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>。",
- "example" : "20211206OB020010034807196034"
- },
- "material_type" : {
- "type" : "string",
- "description" : "IMAGE-图片/VIDEO-视频",
- "example" : "IMAGE"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- },
- "start_time" : {
- "type" : "string",
- "description" : "活动开始时间,开始时间和结束时间之间不能超过90天",
- "example" : "2022-02-10 08:00:00"
- },
- "target_appid" : {
- "type" : "string",
- "description" : "跳转应用ID",
- "example" : "2021001191699651"
- },
- "target_appname" : {
- "type" : "string",
- "description" : "跳转小程序名称",
- "example" : "跳转小程序名称"
- },
- "target_regions" : {
- "type" : "array",
- "description" : "投放目标区域列表",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryTargetRegion"
- }
- },
- "title" : {
- "type" : "string",
- "description" : "活动标题",
- "example" : "活动标题"
- },
- "video_info" : {
- "$ref" : "#/components/schemas/SearchBoxActivityVideoInfo"
- }
- }
- },
- "AlipayOpenSearchBoxactivityModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenSearchBoxactivityOfflineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "INPUT_ARGUMENT_NULL", "NO_PERMISSION", "STATUS_NOT_ALLOWED_OPERATE", "SYSTEM_ERROR", "ISV_NOT_AUTH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxactivityOfflineModel" : {
- "type" : "object",
- "properties" : {
- "box_activity_id" : {
- "type" : "string",
- "description" : "搜索直达活动id",
- "example" : "20211223000000100000"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id,代运营模式下传入。代运营模式,需要服务商已获得商家\"运营支付宝小程序\"授权。",
- "example" : "2088xxxxxxxxxxxx"
- }
- }
- },
- "AlipayOpenSearchBoxactivityOfflineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenSearchBoxactivityQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INPUT_ARGUMENT_ILLEGAL", "INPUT_ARGUMENT_NULL", "ISV_NOT_AUTH", "NO_PERMISSION", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchBoxactivityQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "background_word" : {
- "type" : "string",
- "description" : "底纹词",
- "example" : "底纹词"
- },
- "background_word_info" : {
- "$ref" : "#/components/schemas/BackgroundWordInfo"
- },
- "box_activity_id" : {
- "type" : "string",
- "description" : "搜索直达活动id",
- "example" : "20211223000000100000"
- },
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达id",
- "example" : "20211130000000100415"
- },
- "end_time" : {
- "type" : "string",
- "description" : "活动结束时间",
- "example" : "2022-09-30 23:59:59"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "审核失败原因",
- "example" : "审核失败原因"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "更新时间",
- "example" : "2022-02-10 08:00:00"
- },
- "material_type" : {
- "type" : "string",
- "description" : "IMAGE-图片/VIDEO-视频",
- "example" : "IMAGE"
- },
- "material_url" : {
- "type" : "string",
- "description" : "当material_type=\"IMAGE\"时,为图片url;当material_type=\"VIDEO\"时,为视频url",
- "example" : "http://mdn.alipayobjects.com/mrch_spc/afts/img/A*0XA2Qo_omj4AAAAAAAAAAAAADsF1AQ/original"
- },
- "run_status" : {
- "type" : "string",
- "description" : "运行状态,INITIAL-初始/ONLINE-已上架/EXPIRE-已失效/OFFLINE-已下架",
- "example" : "ONLINE"
- },
- "start_time" : {
- "type" : "string",
- "description" : "活动开始时间",
- "example" : "2022-02-10 08:00:00"
- },
- "status" : {
- "type" : "string",
- "description" : "配置状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效",
- "example" : "AUDIT"
- },
- "target_appid" : {
- "type" : "string",
- "description" : "跳转应用ID",
- "example" : "2021001191699651"
- },
- "target_appname" : {
- "type" : "string",
- "description" : "目标小程序名",
- "example" : "目标小程序名"
- },
- "target_regions" : {
- "type" : "array",
- "description" : "投放目标区域",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryTargetRegion"
- }
- },
- "title" : {
- "type" : "string",
- "description" : "活动标题",
- "example" : "活动标题"
- },
- "video_info" : {
- "$ref" : "#/components/schemas/SearchBoxActivityVideoInfo"
- }
- }
- },
- "AlipayOpenSearchOrderdetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchOrderdetailQueryModel" : {
- "type" : "object",
- "properties" : {
- "biz_data" : {
- "$ref" : "#/components/schemas/SearchOrderRequest"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "表示修改内容的业务类型",
- "example" : "SEARCH_ORDER_DETAIL_QUERY"
- },
- "opt_type" : {
- "type" : "string",
- "description" : "进行具体操作的类型比如:create、mod、cancel",
- "example" : "query"
- }
- }
- },
- "AlipayOpenSearchOrderdetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/SearchOrderDetailData"
- }
- }
- },
- "AlipayOpenSearchServiceorderBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchServiceorderBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "biz_data" : {
- "$ref" : "#/components/schemas/SearchApplyPageQueryRequest"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "表示查询内容的类型",
- "example" : "SEARCH_ORDER_BATCH_QUERY"
- },
- "opt_type" : {
- "type" : "string",
- "description" : "操作的类型,如query",
- "example" : "query"
- }
- }
- },
- "AlipayOpenSearchServiceorderBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "$ref" : "#/components/schemas/OrderPageQueryDTO"
- }
- }
- },
- "AlipayOpenSearchSubservicekeywordApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchSubservicekeywordApplyModel" : {
- "type" : "object",
- "properties" : {
- "config_id" : {
- "type" : "string",
- "description" : "关键词id,(仅修改时传入,修改时仅能传一个关键词)",
- "example" : "20221108000000245181"
- },
- "key_words" : {
- "type" : "array",
- "description" : "关键词,提报服务关键词,人工录入",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"a\",\"b\"]"
- },
- "sub_service_code" : {
- "type" : "string",
- "description" : "子服务code,提报服务关键词,alipay.open.app.service.list.query(服务批量查询)这个接口可以获取",
- "example" : "2020071621000604578858"
- },
- "target_appid" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2021001112626071"
- }
- }
- },
- "AlipayOpenSearchSubservicekeywordApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_no" : {
- "type" : "string",
- "description" : "审核工单id,唯一,提报服务关键词,提报服务关键词返回该id",
- "example" : "20220524000000113287"
- }
- }
- },
- "AlipayOpenSearchSubservicekeywordBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UN_SUPPORT_SEARCH_BOX_STATUS", "NO_PERMISSION", "INVALID_PARAMETER", "SYSTEM_ERROR", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchSubservicekeywordBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "page_number" : {
- "type" : "integer",
- "description" : "第几页",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页条数",
- "example" : "2"
- },
- "subservice_keyword_info" : {
- "type" : "array",
- "description" : "关键词明细",
- "items" : {
- "$ref" : "#/components/schemas/SubServiceKeyWordInfo"
- }
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总条数",
- "example" : "12"
- },
- "total_page_count" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "6"
- }
- }
- },
- "AlipayOpenSearchSubservicekeywordDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "OPERATE_TOO_FAST", "INVALID_STATUS", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchSubservicekeywordDeleteModel" : {
- "type" : "object",
- "properties" : {
- "config_id" : {
- "type" : "string",
- "description" : "关键词配置ID",
- "example" : "20220513000000165607"
- },
- "target_appid" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2021001112626071"
- }
- }
- },
- "AlipayOpenSearchSubservicekeywordDeleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenSearchSubservicekeywordQuerystatusErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION", "APP_NOT_ONLINE", "MINI_APP_CAN_NOT_SEARCH", "SYSTEM_ERROR", "INVALID_PARAMETER", "OPERATE_TOO_FAST", "SYSTEM_BUSY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSearchSubservicekeywordQuerystatusResponseModel" : {
- "type" : "object",
- "properties" : {
- "key_words" : {
- "type" : "array",
- "description" : "关键词工单审核状态返回值",
- "items" : {
- "$ref" : "#/components/schemas/KeyWordInfo"
- }
- }
- }
- },
- "AlipayOpenServicemarketCommodityShopOfflineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMS_ERROR", "NO_PERMISSION_OFFLINE_SHOP", "COMMODITY_SHOP_NOT_EXIST", "SYSTEM_ERROR", "SHOP_STATUS_NOT_SUPPORT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketCommodityShopOfflineModel" : {
- "type" : "object",
- "properties" : {
- "commodity_id" : {
- "type" : "string",
- "description" : "服务商户ID",
- "example" : "20160010200000000033400"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "球房ID",
- "example" : "2015052000077000000000182140"
- }
- }
- },
- "AlipayOpenServicemarketCommodityShopOfflineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenServicemarketCommodityShopOnlineErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION_ONLINE_SHOP", "SHOP_TYPE_ALREADY_ONLINE", "COMMODITY_SHOP_NOT_EXIST", "PARAMS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketCommodityShopOnlineModel" : {
- "type" : "object",
- "properties" : {
- "commodity_id" : {
- "type" : "string",
- "description" : "服务插件ID",
- "example" : "201511020002630060"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "店铺ID",
- "example" : "2015052000077000000000182140"
- }
- }
- },
- "AlipayOpenServicemarketCommodityShopOnlineResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenServicemarketOrderAcceptErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION_ACCETP_ORDER", "COMMODITY_ORDER_STATUS_INVALID", "ORDER_NOT_EXIST", "PARAMS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketOrderAcceptModel" : {
- "type" : "object",
- "properties" : {
- "commodity_order_id" : {
- "type" : "string",
- "description" : "服务商品订单ID",
- "example" : "201604060043410106"
- }
- }
- },
- "AlipayOpenServicemarketOrderAcceptResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenServicemarketOrderCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketOrderCreateModel" : {
- "type" : "object",
- "properties" : {
- "app_category_ids" : {
- "type" : "string",
- "description" : "11_12;12_13。小程序类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目,详细类目可以参考https://docs.alipay.com/isv/10325",
- "example" : "107397_107223"
- },
- "app_desc" : {
- "type" : "string",
- "description" : "小程序官方示例Demo,展示已支持的接口能力及组件。",
- "example" : "小程序应用描述"
- },
- "app_english_name" : {
- "type" : "string",
- "description" : "小程序应用英文名称",
- "example" : "demoexample"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序应用名称",
- "example" : "小程序示例"
- },
- "app_origin" : {
- "type" : "string",
- "description" : "来源的业务方,需要申请",
- "example" : "AA"
- },
- "app_slogan" : {
- "type" : "string",
- "description" : "小程序应用简介,一句话描述小程序功能",
- "example" : "提供小程序示例功能"
- },
- "market_code" : {
- "type" : "string",
- "description" : "订购的服务商品ID所在的市场编码。新接入场景必须传递,具体值请联系产品分配。",
- "example" : "SERVICE_MAEKET"
- },
- "merchandise_id" : {
- "type" : "string",
- "description" : "订购的服务商品ID",
- "example" : "I1060100001000050361"
- },
- "merchant_pid" : {
- "type" : "string",
- "description" : "商户PID",
- "example" : "2088101118588888"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "一二方支持传入appId",
- "example" : "123123"
- },
- "mini_category_ids" : {
- "type" : "string",
- "description" : "新小程序前台类目,格式为 第一个一级类目_第一个二级类目;第二个一级类目_第二个二级类目_第二个三级类目,详细类目可以通过 https://docs.open.alipay.com/api_49/alipay.open.mini.category.query接口查询mini_category_list,如果不填默认采用当前小程序应用类目。使用默认应用类目后不需要再次上传营业执照号、营业执照名、营业执照截图、营业执照有效期。使用后不再读取app_category_ids值,老前台类目将废弃",
- "example" : "XS1001_XS2001_XS3002;XS1011_XS2089;XS1002_XS2008_XS3024"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "比如某种业务标准外部订单号,比如交易外部订单号,代表商户端自己订单号",
- "example" : "2018072600000015692246"
- },
- "service_email" : {
- "type" : "string",
- "description" : "小程序客服邮箱",
- "example" : "example@mail.com"
- },
- "service_phone" : {
- "type" : "string",
- "description" : "小程序客服电话",
- "example" : "13110101010"
- }
- }
- },
- "AlipayOpenServicemarketOrderCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "commodity_order_id" : {
- "type" : "string",
- "description" : "订单号",
- "example" : "2018071900000015585789"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "支付宝分配给开发者的应用ID",
- "example" : "2014072300007148"
- }
- }
- },
- "AlipayOpenServicemarketOrderItemCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMS_ERROR", "NO_PERMISSION_CANCEL_ORDER_ITEM", "COMMODITY_ORDER_ITEM_NOT_EXIST", "ITEM_STATUS_NOT_ALLOW" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketOrderItemCancelModel" : {
- "type" : "object",
- "properties" : {
- "cancel_reason" : {
- "type" : "string",
- "description" : "当前球房区域不支持实施",
- "example" : "该球房暂无法实施完成"
- },
- "commodity_order_id" : {
- "type" : "string",
- "description" : "订购服务订单ID,通过支付宝发送的 https://opendocs.alipay.com/apis/api_3/alipay.open.servicemarket.order.notify(服务市场商户确认订购通知) 通知获取。",
- "example" : "20160010200000000033400"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "商家订购服务选择的某一小程序的APPID,如果该订单为蚂蚁服务市场发布的小程序插件服务所产生的订单,则此字段必填",
- "example" : "2017121800945174"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "商家订购服务选择的某一球房的ID。若该订单: \t为支付宝服务市场发布的服务所产生订单则该参数可选。 \t为口碑服务市场发布的服务所产生的订单,则此字段必填。口碑服务市场参见 http://fuwu.koubei.com/commodity/v2/merchandise/index.htm。",
- "example" : "2015052000077000000000182140"
- }
- }
- },
- "AlipayOpenServicemarketOrderItemCancelResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenServicemarketOrderItemCompleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMS_ERROR", "NO_PERMISSION_OPERATION", "COMMODITY_ORDER_ITEM_NOT_EXIST", "ITEM_STATUS_NOT_ALLOW", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketOrderItemCompleteModel" : {
- "type" : "object",
- "properties" : {
- "commodity_order_id" : {
- "type" : "string",
- "description" : "订购服务插件订单号",
- "example" : "20160010200000000033400"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "商家订购服务选择的某一小程序的APPID,如果该订单为蚂蚁服务市场发布的小程序插件服务所产生的订单,则此字段必填",
- "example" : "2017121800945174"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "商家订购服务选择的某一球房的ID。若该订单:\t为支付宝服务市场发布的服务所产生订单则该参数可选。\t为口碑服务市场发布的服务所产生的订单,则此字段必填。口碑服务市场参见 http://fuwu.koubei.com/commodity/v2/merchandise/index.htm。",
- "example" : "2015052000077000000000182140"
- }
- }
- },
- "AlipayOpenServicemarketOrderItemCompleteResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenServicemarketOrderItemConfirmErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NO_PERMISSION_COMFIRM_ORDERITEM", "ITEM_STATUS_NOT_ALLOW", "COMMODITY_ORDER_ITEM_NOT_EXIST", "PARAMS_ERROR", "SYSTEM_ERROR", "CONFIRM_CHARGE_ITEM_NOT_ALLOW" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketOrderItemConfirmModel" : {
- "type" : "object",
- "properties" : {
- "commodity_order_id" : {
- "type" : "string",
- "description" : "订购服务插件订单号",
- "example" : "20160010200000000033400"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "商家订购服务选择的某一小程序的APPID,如果该订单为蚂蚁服务市场发布的小程序插件服务所产生的订单,则此字段必填",
- "example" : "2017121800945174"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "商家订购服务选择的某一球房的ID。若该订单: \t为支付宝(蚂蚁)服务市场发布的服务所产生订单则该参数可选。 \t为口碑服务市场发布的服务所产生的订单,则此字段必填。口碑服务市场参见 http://fuwu.koubei.com/commodity/v2/merchandise/index.htm。",
- "example" : "2015052000077000000000182140"
- }
- }
- },
- "AlipayOpenServicemarketOrderItemConfirmResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenServicemarketOrderNotifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketOrderNotifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenServicemarketOrderQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "QUERY_FAILD", "NOPERMISSION_QUERY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketOrderQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "auto_upgrade" : {
- "type" : "boolean",
- "description" : "true:开启;false:关闭;需要同步校验commodity_id,如果没有查询到订购信息的话,忽略该字段返回值",
- "example" : "true"
- },
- "commodity_id" : {
- "type" : "string",
- "description" : "订购服务商品ID",
- "example" : "201604290086730119"
- },
- "current_page" : {
- "type" : "integer",
- "description" : "当前查询页(本接口支持最多查询100条记录)",
- "example" : "1"
- },
- "order_items" : {
- "type" : "array",
- "description" : "订单明细列表",
- "items" : {
- "$ref" : "#/components/schemas/OrderItem"
- }
- },
- "specifications" : {
- "type" : "string",
- "description" : "用于区分同一个服务的不同版本",
- "example" : "标准版、试用版"
- },
- "status" : {
- "type" : "string",
- "description" : "MERCHANT_ORDED(待服务商接单)",
- "example" : "MERCHANT_ORDED"
- },
- "total_size" : {
- "type" : "integer",
- "description" : "总记录数",
- "example" : "1000"
- }
- }
- },
- "AlipayOpenServicemarketOrderRejectErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMS_ERROR", "NO_PERMISSION_REJECT_ORDER", "ORDER_NOT_EXIST", "COMMODITY_ORDER_STATUS_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketOrderRejectModel" : {
- "type" : "object",
- "properties" : {
- "commodity_order_id" : {
- "type" : "string",
- "description" : "订购服务商品订单ID",
- "example" : "20160010200000000033400"
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "拒绝接单原因",
- "example" : "暂不支持该地区服务"
- }
- }
- },
- "AlipayOpenServicemarketOrderRejectResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenServicemarketPromotiontaskRelationQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAMS_ERROR", "QUERY_FAILD" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenServicemarketPromotiontaskRelationQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "current_page" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页数量",
- "example" : "10"
- },
- "promotion_relations" : {
- "type" : "array",
- "description" : "推广服务商信息列表",
- "items" : {
- "$ref" : "#/components/schemas/PromotionTaskRelation"
- }
- },
- "total_size" : {
- "type" : "integer",
- "description" : "总记录数",
- "example" : "1000"
- }
- }
- },
- "AlipayOpenSpBlueseaactivityCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpBlueseaactivityCreateModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "详细地址。\t该资质是否必传请参见<a href='https://opendocs.alipay.com/open/01hd83'>报名资质要求</a>。",
- "example" : "万塘路18号黄龙时代广场B座"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "蓝海活动的场景,支持场景如下:\t* 直连餐饮(BLUE_SEA_FOOD_APPLY);\t* 直连快消(BLUE_SEA_FMCG_APPLY);\t* 间连餐饮(BLUE_SEA_FOOD_INDIRECT_APPLY);\t* 间连快消(BLUE_SEA_FMCG_INDIRECT_APPLY)。",
- "example" : "BLUE_SEA_FOOD_APPLY"
- },
- "business_lic" : {
- "type" : "string",
- "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>。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "city_code" : {
- "type" : "string",
- "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>)",
- "example" : "310001"
- },
- "district_code" : {
- "type" : "string",
- "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>)",
- "example" : "310006"
- },
- "food_business_lic" : {
- "type" : "string",
- "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>。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_circulate_lic" : {
- "type" : "string",
- "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>。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_health_lic" : {
- "type" : "string",
- "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>。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_production_lic" : {
- "type" : "string",
- "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>。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_service_lic" : {
- "type" : "string",
- "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>。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "indoor_pic" : {
- "type" : "string",
- "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>。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "merchant_logon" : {
- "type" : "string",
- "description" : "参与蓝海活动的商户支付宝账号,只有当参与直连蓝海活动场景(BLUE_SEA_FOOD_APPLY/BLUE_SEA_FMCG_APPLY)时必填,间连场景可空。",
- "example" : "13200132000"
- },
- "province_code" : {
- "type" : "string",
- "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>)",
- "example" : "310000"
- },
- "shop_entrance_pic" : {
- "type" : "string",
- "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>。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "sub_merchant_id" : {
- "type" : "string",
- "description" : "参与蓝海活动的间连商户账号,只有当参与间连蓝海活动场景(BLUE_SEA_FOOD_INDIRECT_APPLY/BLUE_SEA_FMCG_INDIRECT_APPLY)时必填,直连场景可空。",
- "example" : "2088100010001000"
- },
- "tobacco_lic" : {
- "type" : "string",
- "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>。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- }
- }
- },
- "AlipayOpenSpBlueseaactivityCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "申请单Id",
- "example" : "0581"
- }
- }
- },
- "AlipayOpenSpBlueseaactivityModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpBlueseaactivityModifyModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "详细地址",
- "example" : "万塘路18号黄龙时代广场B座"
- },
- "business_lic" : {
- "type" : "string",
- "description" : "营业执照,要求证件文本信息清晰可见。 请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "310001"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "310006"
- },
- "food_business_lic" : {
- "type" : "string",
- "description" : "食品经营许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_circulate_lic" : {
- "type" : "string",
- "description" : "食品流通许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_health_lic" : {
- "type" : "string",
- "description" : "食品卫生许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_production_lic" : {
- "type" : "string",
- "description" : "食品生产许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_service_lic" : {
- "type" : "string",
- "description" : "餐饮服务许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "indoor_pic" : {
- "type" : "string",
- "description" : "门头照,要求内景照片清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "order_id" : {
- "type" : "string",
- "description" : "申请单 id。通过 <a href=\"https://opendocs.alipay.com/apis/01ebig\">alipay.open.sp.blueseaactivity.create</a>接口获取。",
- "example" : "0581"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "310000"
- },
- "shop_entrance_pic" : {
- "type" : "string",
- "description" : "门头照,要求店铺外观照片清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "tobacco_lic" : {
- "type" : "string",
- "description" : "烟草专卖零售许可证,要求证件文本信息清晰可见。请上传照片的image_id,传参明细请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- }
- }
- },
- "AlipayOpenSpBlueseaactivityModifyResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenSpBlueseaactivityQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_PARAMS", "SYSTEM_ERROR", "NO_PERMISSION", "BLUESEA_ORDER_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpBlueseaactivityQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "详细地址",
- "example" : "万塘路18号黄龙时代广场B座"
- },
- "biz_scene" : {
- "type" : "string",
- "description" : "蓝海活动的场景,包括直连餐饮(BLUE_SEA_FOOD_APPLY)、直连快消(BLUE_SEA_FMCG_APPLY)、间连餐饮(BLUE_SEA_FOOD_INDIRECT_APPLY)、间连快消(BLUE_SEA_FMCG_INDIRECT_APPLY)场景",
- "example" : "BLUE_SEA_FOOD_APPLY"
- },
- "business_lic" : {
- "type" : "string",
- "description" : "营业执照,要求证件文本信息清晰可见。 资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "310001"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "310006"
- },
- "food_business_lic" : {
- "type" : "string",
- "description" : "食品经营许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_circulate_lic" : {
- "type" : "string",
- "description" : "食品流通许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_health_lic" : {
- "type" : "string",
- "description" : "食品卫生许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_production_lic" : {
- "type" : "string",
- "description" : "食品生产许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "food_service_lic" : {
- "type" : "string",
- "description" : "餐饮服务许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "indoor_pic" : {
- "type" : "string",
- "description" : "门头照,要求内景照片清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "memo" : {
- "type" : "string",
- "description" : "审核驳回原因,在订单状态为失败时有效",
- "example" : "资质照片和商户名称不一致,请修改一致后,重新申请;其他原因;"
- },
- "merchant_logon" : {
- "type" : "string",
- "description" : "参与蓝海活动的商户支付宝账号,只有当参与直连蓝海活动场景(BLUE_SEA_FOOD_APPLY/BLUE_SEA_FMCG_APPLY)时才返回",
- "example" : "13200132000"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "example" : "310000"
- },
- "shop_entrance_pic" : {
- "type" : "string",
- "description" : "门头照,要求店铺外观照片清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "status" : {
- "type" : "string",
- "description" : "申请单状态,状态机参考(AUDITING:审核中,FAIL:报名失败,PASS:报名成功)",
- "example" : "AUDITING"
- },
- "sub_merchant_id" : {
- "type" : "string",
- "description" : "参与蓝海活动的间连商户账号,只有当参与间连蓝海活动场景(BLUE_SEA_FOOD_INDIRECT_APPLY/BLUE_SEA_FMCG_INDIRECT_APPLY)时才返回",
- "example" : "2088100010001000"
- },
- "tobacco_lic" : {
- "type" : "string",
- "description" : "烟草专卖零售许可证,要求证件文本信息清晰可见。资质信息请参见<a href=\"https://opendocs.alipay.com/open/01hd83\">报名资质要求</a>",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- }
- }
- },
- "AlipayOpenSpImageUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "FILE_SIZE_OUT_LIMIT", "SYSTEM_ERROR", "FILE_SIZE_MIN_LIMIT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpImageUploadModel" : {
- "type" : "object"
- },
- "AlipayOpenSpImageUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "image_id" : {
- "type" : "string",
- "description" : "图片在文件存储平台的标识",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- }
- }
- },
- "AlipayOpenSpIsvBillSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR_BILL_NOT_MATCH", "BIZ_ERROR_INVALID_STATUS", "BIZ_ERROR_BILL_REDUPLICATE_RETURN" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpIsvBillSyncModel" : {
- "type" : "object",
- "properties" : {
- "end_time" : {
- "type" : "string",
- "description" : "账单结束时间",
- "example" : "2021-11-10"
- },
- "generate_time" : {
- "type" : "string",
- "description" : "出账时间,回传出账信息时,必须传递",
- "example" : "2021-10-14 00:00:00"
- },
- "item_code" : {
- "type" : "string",
- "description" : "服务优选商品编码",
- "example" : "SS010301000000001234"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,传isv系统生成的账单号,需要保证唯一",
- "example" : "2021000000000"
- },
- "pay_time" : {
- "type" : "string",
- "description" : "账单支付时间,回传支付数时,必须传递",
- "example" : "2021-10-14 00:00:00"
- },
- "price" : {
- "type" : "string",
- "description" : "账单金额,这里填写的是整数,单位为分,比如1元,那么输入100",
- "example" : "100"
- },
- "promotor_pid" : {
- "type" : "string",
- "description" : "推广服务商(S2)pid",
- "example" : "2088301912341234"
- },
- "start_time" : {
- "type" : "string",
- "description" : "账单开始时间",
- "example" : "2021-10-10"
- },
- "status" : {
- "type" : "string",
- "description" : "GENERATE_BILL代表”已出账“,PAID_BILL代表”已支付“,选择这两者之一",
- "example" : "GENERATE_BILL"
- },
- "sub_promotor_pid" : {
- "type" : "string",
- "description" : "S1回传的S2的操作员工子账号,如果是子账号操作,请回传",
- "example" : "20211011000000"
- }
- }
- },
- "AlipayOpenSpIsvBillSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "success" : {
- "type" : "boolean",
- "description" : "返回true或者flase,ture代表账单回传成功,false表示账单回传失败",
- "example" : "true"
- }
- }
- },
- "AlipayOpenSpIsvOperationSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpIsvOperationSyncModel" : {
- "type" : "object",
- "properties" : {
- "customer_type" : {
- "type" : "string",
- "description" : "客户类型,PERSONAL表示个人,ALIPAY_RECOMMEND表示支付宝推荐",
- "example" : "PERSONAL"
- },
- "ext_info" : {
- "$ref" : "#/components/schemas/OperationResultExtInfo"
- },
- "implement_end_time" : {
- "type" : "string",
- "description" : "实施结束时间",
- "example" : "2021-10-11 00:00:00"
- },
- "implement_object_name" : {
- "type" : "string",
- "description" : "实施对象名称",
- "example" : "浙江省杭州市西湖区西溪路黄焖鸡米饭"
- },
- "implement_place" : {
- "type" : "string",
- "description" : "实施地点",
- "example" : "浙江省杭州市西湖区蚂蚁A空间"
- },
- "implement_result" : {
- "type" : "string",
- "description" : "实施结果,SUCCESS表示实施成功,FAIL表示实施失败",
- "example" : "SUCCESS"
- },
- "implement_result_image" : {
- "type" : "string",
- "description" : "实施结果的照片",
- "example" : "https://os.alipayobjects.com/rmsportal/JxAjrvPKriKOpjf.png"
- },
- "implement_result_remark" : {
- "type" : "string",
- "description" : "实施结果的备注",
- "example" : "失败原因:商户取消购买"
- },
- "implement_start_time" : {
- "type" : "string",
- "description" : "实施开始时间",
- "example" : "2021-10-10 00:00:00"
- },
- "item_code" : {
- "type" : "string",
- "description" : "服务优选商品编码",
- "example" : "SS010301000000001234"
- },
- "item_price" : {
- "type" : "string",
- "description" : "商品价格,这里填写的是整数,单位为分,比如1元,那么输入100",
- "example" : "100"
- },
- "merchant_pid" : {
- "type" : "string",
- "description" : "商户pid",
- "example" : "2088301912341234"
- },
- "mini_appid" : {
- "type" : "string",
- "description" : "商品小程序appid,若推广的商品不为小程序,则不传此参数",
- "example" : "2018082861168647"
- },
- "oppor_id" : {
- "type" : "string",
- "description" : "拓展助手中的商机id",
- "example" : "2021101809775931"
- },
- "order_id" : {
- "type" : "string",
- "description" : "下单订单号",
- "example" : "201811190000000000001100"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,传isv系统生成的账单号,需要保证唯一",
- "example" : "2021000000000"
- },
- "promotor_pid" : {
- "type" : "string",
- "description" : "推广服务商(S2)pid",
- "example" : "2088301912341234"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "店铺id",
- "example" : "2019081500502000000025130577"
- },
- "sub_promotor_pid" : {
- "type" : "string",
- "description" : "推广服务商(S2)子账号pid",
- "example" : "2088301912341234"
- }
- }
- },
- "AlipayOpenSpIsvOperationSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenSpIsvRelationQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_PARAMS", "NO_PERMIT_FOR_OPERATOR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpIsvRelationQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "current_page" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页数量",
- "example" : "10"
- },
- "promotion_relations" : {
- "type" : "array",
- "description" : "推广服务商信息列表",
- "items" : {
- "$ref" : "#/components/schemas/PromotionRelationDTO"
- }
- },
- "total_size" : {
- "type" : "integer",
- "description" : "总记录数",
- "example" : "1000"
- }
- }
- },
- "AlipayOpenSpIsvSalesSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "OPERATION_RESULT_RELATED_FAIL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpIsvSalesSyncModel" : {
- "type" : "object",
- "properties" : {
- "merchant_sales_detail" : {
- "type" : "array",
- "description" : "商户销售数据回传的参数对象,形式为一个列表,每天回传昨日商户的销售数据。",
- "items" : {
- "$ref" : "#/components/schemas/IsvMerchantSalesDetailRequest"
- }
- }
- }
- },
- "AlipayOpenSpIsvSalesSyncResponseModel" : {
- "type" : "object"
- },
- "AlipayOpenSpIsvSignauthCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpIsvSignauthCreateModel" : {
- "type" : "object",
- "properties" : {
- "isv_auth_scene_infos" : {
- "type" : "array",
- "description" : "代运营授权场景信息",
- "items" : {
- "$ref" : "#/components/schemas/IsvAuthSceneInfo"
- }
- },
- "merchant_logon_id" : {
- "type" : "string",
- "description" : "商户登录账号\t支持手机号和邮箱账号;不支持pid",
- "example" : "13181141917"
- },
- "need_app_auth" : {
- "type" : "string",
- "description" : "1表示需要,0表示不需要\t不传参数默认是需要(1)\t是否创建三方应用授权子任务,也就是是否需要给三方应用授权",
- "example" : "1"
- },
- "sign_order_no" : {
- "type" : "string",
- "description" : "签约单号\t可通过alipay.open.agent.confirm接口获取签约单号",
- "example" : "20211015034000100000052128459671"
- }
- }
- },
- "AlipayOpenSpIsvSignauthCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "签约授权一体化主单ID",
- "example" : "20211102034000100000047728652233"
- }
- }
- },
- "AlipayOpenSpIsvSignauthQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_PARAMS", "SIGNAUTH_ORDER_NOT_EXIST", "SIGNAUTH_ISV_NOT_MATCH", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpIsvSignauthQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "签约授权一体化订单ID",
- "example" : "20211102034000100000047728652040"
- },
- "status" : {
- "type" : "string",
- "description" : "签约授权一体化订单状态\tINIT:初始化\tUNCONFIRM:待确认\tFAILURE:失败\tFINISH:成功",
- "example" : "INIT"
- },
- "task_infos" : {
- "type" : "array",
- "description" : "签约授权一体化订单子任务单信息",
- "items" : {
- "$ref" : "#/components/schemas/SubTaskInfo"
- }
- }
- }
- },
- "AlipayOpenSpLeadsExpandCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISV_NOT_IN_WHITELIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpLeadsExpandCreateModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "拓展助手商机地址",
- "example" : "紫金港路与文二西路交叉口向西500米西城广场"
- },
- "city_code" : {
- "type" : "string",
- "description" : "拓展助手商机地址市code",
- "example" : "330100"
- },
- "city_name" : {
- "type" : "string",
- "description" : "拓展助手商机地址市名称",
- "example" : "杭州市"
- },
- "district_code" : {
- "type" : "string",
- "description" : "拓展助手商机地址区code",
- "example" : "330111"
- },
- "district_name" : {
- "type" : "string",
- "description" : "拓展助手商机地址区名称",
- "example" : "西湖区"
- },
- "email" : {
- "type" : "string",
- "description" : "拓展助手商机邮箱",
- "example" : "xxx@qq.com"
- },
- "latitude" : {
- "type" : "string",
- "description" : "拓展助手商机地址纬度",
- "example" : "30.259247"
- },
- "longitude" : {
- "type" : "string",
- "description" : "拓展助手商机地址经度",
- "example" : "120.13042700000001"
- },
- "mcc" : {
- "type" : "string",
- "description" : "mcc行业",
- "example" : "MARKET"
- },
- "merchant_pid" : {
- "type" : "string",
- "description" : "2088账号",
- "example" : "2088401299710003"
- },
- "name" : {
- "type" : "string",
- "description" : "拓展助手商机名称",
- "example" : "名称"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部幂等唯一键",
- "example" : "out_biz_no"
- },
- "phone" : {
- "type" : "string",
- "description" : "拓展助手商机联系电话",
- "example" : "13812312323"
- },
- "province_code" : {
- "type" : "string",
- "description" : "拓展助手商机地址省code",
- "example" : "330000"
- },
- "province_name" : {
- "type" : "string",
- "description" : "拓展助手商机地址省名称",
- "example" : "浙江省"
- },
- "scene" : {
- "type" : "string",
- "description" : "拓展助手场景,参数约定",
- "example" : "IOT_RUYI_EXPAND"
- }
- }
- },
- "AlipayOpenSpLeadsExpandCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "leads_id" : {
- "type" : "string",
- "description" : "商机id",
- "example" : "商机id"
- }
- }
- },
- "AlipayOpenSpMerchantInconsistentApproveErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpMerchantInconsistentApproveModel" : {
- "type" : "object",
- "properties" : {
- "back_card" : {
- "type" : "string",
- "description" : "身份证背面照,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "commitment_letter" : {
- "type" : "string",
- "description" : "实际经营人承诺函照片,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 该资质是否必传请参见报名资质要求。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "front_card" : {
- "type" : "string",
- "description" : "身份证正面照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式. 请传<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "handheld_business_license" : {
- "type" : "string",
- "description" : "手持营业执照合照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 该资质是否必传请参见报名资质要求。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "handheld_card" : {
- "type" : "string",
- "description" : "手持身份证合照,要求证件文本信息清晰可见,图片文件大小在 50K-5M 之间,不限制长宽,支持 png、bmp、gif、jpg、jpeg 格式。 请传入<a href=\"https://opendocs.alipay.com/apis/01ea4t\">alipay.open.sp.image.upload</a>(图片上传接口) 返回的 image_id。 该资质是否必传请参见报名资质要求。",
- "example" : "A*7j1pTrCpV8EAAAAAAAAAAAAAAQAAAA"
- },
- "item_code" : {
- "type" : "string",
- "description" : "服务优选商品编码",
- "example" : "SS010301000000001234"
- },
- "merchant_pid" : {
- "type" : "string",
- "description" : "商家pid",
- "example" : "2088301912341234"
- },
- "mini_appid" : {
- "type" : "string",
- "description" : "商家小程序appId",
- "example" : "2021060612341234"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,需不重复",
- "example" : "2088100010001000"
- },
- "promotor_pid" : {
- "type" : "string",
- "description" : "推广服务商(S2)pid",
- "example" : "2088301912341234"
- }
- }
- },
- "AlipayOpenSpMerchantInconsistentApproveResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_no" : {
- "type" : "string",
- "description" : "申请单据编号",
- "example" : "2021090912341234"
- }
- }
- },
- "AlipayOpenSpOperationApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpOperationApplyModel" : {
- "type" : "object",
- "properties" : {
- "access_product_code" : {
- "type" : "string",
- "description" : "接入的产品编号。 枚举如下:\t* OPENAPI_BIND_DEFAULT:操作类型为账号绑定。\t* OPENAPI_AUTH_DEFAULT:操作类型为代运营授权时。",
- "example" : "OPENAPI_BIND_DEFAULT"
- },
- "alipay_account" : {
- "type" : "string",
- "description" : "支付宝登录账号,通常为手机号或者邮箱。\t间连场景必填。\t直连场景选填,特别注意merchant_no和alipay_account不能同时为空,都有值优先取merchant_no。",
- "example" : "xxx@gmail.com"
- },
- "isv_scene_permissions" : {
- "type" : "string",
- "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:管理激励点数",
- "example" : "SHOP_MANAGE:SHOP_MANAGE_BASE;MINI_APP_OPER:MINI_APP_OPER_BASE;PROMOTION_MANAGE:PROMOTION_MANAGE_BASE;OPERATION_POINTS:OPERATION_POINTS_BASE"
- },
- "merchant_no" : {
- "type" : "string",
- "description" : "支付宝商户号。\t间连场景,merchant_no必填,传入商户smid,特别注意仅支持2088开头的间连商户。\t直连场景,merchant_no选填,传入商户支付宝pid,特别注意merchant_no和alipay_account不能同时为空,优先取merchant_no。",
- "example" : "2088XXXX"
- },
- "operate_type" : {
- "type" : "string",
- "description" : "代运营操作类型。枚举如下:\t* ACCOUNT_BIND:代表绑定支付宝账号,仅对于间连商户。\t* OPERATION_AUTH:代表代运营授权,支持间连和直连商户,其中间连场景包含绑定支付宝账号。",
- "example" : "ACCOUNT_BIND"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部操作流水,ISV自定义。每次操作需要确保唯一。",
- "example" : "2020124234523465636345634"
- }
- }
- },
- "AlipayOpenSpOperationApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "batch_no" : {
- "type" : "string",
- "description" : "支付宝操作批次号",
- "example" : "2020222342342"
- },
- "bind_account" : {
- "$ref" : "#/components/schemas/RecommendAccountDTO"
- },
- "recommend_accounts" : {
- "type" : "array",
- "description" : "只针对服务商代间连商家发起代运营绑定、授权时,如果传递的alipay_account不符合绑定或授权要求,这个字段会返回推荐的商家支付宝账号列表,包括:支付宝账号和名称,为保护商家信息,账号和名称都按照规范脱敏。",
- "items" : {
- "$ref" : "#/components/schemas/RecommendAccountDTO"
- }
- }
- }
- },
- "AlipayOpenSpOperationQrcodeQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpOperationQrcodeQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "batch_no" : {
- "type" : "string",
- "description" : "支付宝操作批次号",
- "example" : "2020222342342"
- },
- "bind_account" : {
- "$ref" : "#/components/schemas/RecommendAccountDTO"
- },
- "qr_code_url" : {
- "type" : "string",
- "description" : "二维码图片地址,urlEncode处理过。\t注意:\t1.有效期为24h;\t2.用户扫码确认授权操作(同意/拒绝)后,支付宝将通过<a href=\"https://opendocs.alipay.com/apis/01lc2d\">alipay.open.sp.operation.result.notify</a>接口发送异步通知给服务商。",
- "example" : "http://qrcode.alipay.com/adadadad.jpg"
- },
- "recommend_account_list" : {
- "type" : "array",
- "description" : "只针对服务商代间连商家发起代运营绑定、授权时,如果传递的alipay_account不符合绑定或授权要求,这个字段会返回推荐的商家支付宝账号列表,包括:支付宝账号和名称,为保护商家信息,账号和名称都按照规范脱敏。",
- "items" : {
- "$ref" : "#/components/schemas/RecommendAccountDTO"
- }
- },
- "recommend_accounts" : {
- "$ref" : "#/components/schemas/RecommendAccountDTO"
- }
- }
- },
- "AlipayOpenSpOperationResultQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpOperationResultQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "bind_user_id" : {
- "type" : "string",
- "description" : "商户支付宝pid。仅间连场景,且存在绑定关系时返回值。",
- "example" : "2088XXXX"
- },
- "handle_status" : {
- "type" : "string",
- "description" : "代运营操作结果。\tSUCCESS:代表成功。\tPROCESS:待商家确认中。\tNO_PERMISSION:表示当前商家支付宝账号无权限操作。需要提醒商家切换成发起授权时指定的支付宝账号。\tNONE:表示不存在代运营绑定或授权关系。\tNONE_ACCOUNT:间连商家推荐支付宝账号列表为空。",
- "example" : "SUCCESS"
- },
- "merchant_no" : {
- "type" : "string",
- "description" : "支付宝商户号。间连场景为商户smid,直连场景为商户支付宝pid",
- "example" : "2088XXX"
- }
- }
- },
- "AlipayOpenSpOpporDetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISV_NOT_IN_WHITELIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpOpporDetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "商机地址",
- "example" : "紫金港路与文二西路交叉口向西500米西城广场"
- },
- "leads_id" : {
- "type" : "string",
- "description" : "商机Id",
- "example" : "2022032304216502"
- },
- "name" : {
- "type" : "string",
- "description" : "商机名称",
- "example" : "智能美业"
- },
- "oppor_id" : {
- "type" : "string",
- "description" : "商机作业Id",
- "example" : "2022041403518351"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部幂等唯一键",
- "example" : "2021110900796459"
- },
- "phone" : {
- "type" : "string",
- "description" : "商机联系电话",
- "example" : "17003802762"
- },
- "status" : {
- "type" : "string",
- "description" : "商机作业状态",
- "example" : "EXPAND_FAILED"
- }
- }
- },
- "AlipayOpenSpOpporFeedbackModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISV_NOT_IN_WHITELIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpOpporFeedbackModifyModel" : {
- "type" : "object",
- "properties" : {
- "expand_result" : {
- "type" : "string",
- "description" : "拓展助手商机拓展结果",
- "example" : "EXPANDED/EXPAND_FAILED"
- },
- "isv_pid" : {
- "type" : "string",
- "description" : "服务商pid",
- "example" : "2088501013445414"
- },
- "leads_id" : {
- "type" : "string",
- "description" : "商机id",
- "example" : "2022032304216502"
- },
- "merchant_pid" : {
- "type" : "string",
- "description" : "拓展助手商机商家pid",
- "example" : "2088341444815673"
- },
- "oppor_id" : {
- "type" : "string",
- "description" : "商机作业id",
- "example" : "2022041403518351"
- },
- "sn" : {
- "type" : "string",
- "description" : "拓展设备sn号",
- "example" : "sn"
- }
- }
- },
- "AlipayOpenSpOpporFeedbackModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "msg" : {
- "type" : "string",
- "description" : "商机拓展结果反馈结果失败描述",
- "example" : "msg"
- },
- "success" : {
- "type" : "boolean",
- "description" : "商机拓展结果反馈结果是否成功",
- "example" : "true"
- }
- }
- },
- "AlipayOpenSpOpporPageQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ISV_NOT_IN_WHITELIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenSpOpporPageQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "current_page" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "1"
- },
- "oppor_list" : {
- "type" : "array",
- "description" : "商机作业记录列表",
- "items" : {
- "$ref" : "#/components/schemas/IsvExpandOpporDTO"
- }
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页数量",
- "example" : "10"
- },
- "total_size" : {
- "type" : "integer",
- "description" : "总记录数",
- "example" : "10"
- }
- }
- },
- "AlipayOpenViolationViolationdetailQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "AUTHORITY_ILLEGAL", "ILLEGAL_PARAMS", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenViolationViolationdetailQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "appeal_dead_line" : {
- "type" : "string",
- "description" : "申诉截止日期。\t即商户可进行申诉的截止日期,若超过该时间未申诉或申诉不通过,平台不提供申诉机会,维持原处罚结果;若该时间内完成申诉且申诉通过,平台将撤销对商户的处罚",
- "example" : "2020-01-01 00:00:01"
- },
- "appeal_reply_records" : {
- "type" : "array",
- "description" : "商家申诉记录",
- "items" : {
- "$ref" : "#/components/schemas/ReplyRecord"
- }
- },
- "can_appeal" : {
- "type" : "boolean",
- "description" : "商家是否可以申诉",
- "example" : "true"
- },
- "can_rectify" : {
- "type" : "boolean",
- "description" : "商家是否可以整改",
- "example" : "true"
- },
- "punish_action" : {
- "type" : "array",
- "description" : "处罚动作及有效期",
- "items" : {
- "type" : "string"
- },
- "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\"]"
- },
- "rectify_dead_line" : {
- "type" : "string",
- "description" : "截止整改时间。即商户可进行整改的截止日期,若超过该时间未整改或整改不通过,平台将对商户进行处罚,若该时间内完成整改且整改通过,平台对商户不处罚",
- "example" : "2020-01-01 00:00:01"
- },
- "rectify_reply_records" : {
- "type" : "array",
- "description" : "商家整改记录",
- "items" : {
- "$ref" : "#/components/schemas/ReplyRecord"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "违规工单状态枚举:\tPUNISH_DONE:处罚生效中\tPUNISH_APPEAL_REVOKED:处罚已撤销\tPUNISH_INVALID_REVOKED:处罚已到期\tWAITING_RECTIFY:待整改 \tRECTIFY_AUDITOR_PROCESSING:整改审核中\tRECTIFY_REJECTED:整改不通过\tRECTIFY_PASSED:整改通过\tRECTIFY_TIMEOUT :整改已超时",
- "example" : "PUNISH_DONE"
- },
- "surplus_appeal_cnt" : {
- "type" : "string",
- "description" : "剩余申诉次数。\t即在申诉截止日期内,平台允许商家申诉的次数,当商户提交申诉但申诉未通过时,剩余申诉次数减1,当整改次数为0,不管是否在整改截止日期内,平台将对商户进行处罚",
- "example" : "3"
- },
- "surplus_rectify_cnt" : {
- "type" : "string",
- "description" : "剩余整改次数。即在整改截止日期内,平台允许商家整改的次数,当商户提交整改但整改未通过时,剩余整改次数减1,当整改次数为0,不管是否在整改截止日期内,平台将对商户进行处罚",
- "example" : "3"
- },
- "target_id" : {
- "type" : "string",
- "description" : "违规对象ID",
- "example" : "2022000000000011"
- },
- "target_name" : {
- "type" : "string",
- "description" : "违规对象名称",
- "example" : "xxx测试小程序"
- },
- "target_type" : {
- "type" : "string",
- "description" : "违规对象类型\t小程序ID:APPID\t生活号ID:PUBLICID",
- "example" : "APPID"
- },
- "violation_evidence" : {
- "type" : "array",
- "description" : "平台判定商家违规凭证",
- "items" : {
- "$ref" : "#/components/schemas/AuditEvidenceInfo"
- }
- },
- "violation_reason" : {
- "type" : "string",
- "description" : "违规原因",
- "example" : "营销推广内容中出现的原价或参考价并无实际销售记录,诱导用户参与或下单交易/服务的行为。"
- },
- "violation_record_id" : {
- "type" : "string",
- "description" : "支付宝侧生成的违规记录唯一标识",
- "example" : "20220524001020000000000001"
- },
- "violation_time" : {
- "type" : "string",
- "description" : "违规时间",
- "example" : "2020-01-01 00:00:01"
- },
- "violation_type" : {
- "type" : "string",
- "description" : "即平台依据平台规范/规则,判定商户的违规类型",
- "example" : "数据和系统安全/敏感参数泄露风险"
- }
- }
- },
- "AlipayOpenViolationViolationeventBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "AUTHORITY_ILLEGAL", "ILLEGAL_PARAMS", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayOpenViolationViolationeventBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "begin_time" : {
- "type" : "string",
- "description" : "查询开始时间 时间格式:yyyy-MM-dd HH:mm:ss 若不填写,则默认当前时间30天前。 注意:begin_time和end_time时间跨度最大一年",
- "example" : "2020-01-01 00:00:01"
- },
- "end_time" : {
- "type" : "string",
- "description" : "查询结束时间 时间格式:yyyy-MM-dd HH:mm:ss 若不填写,则默认当前时间。 注意:begin_time和end_time时间跨度最大一年",
- "example" : "2020-01-01 00:00:01"
- },
- "status" : {
- "type" : "string",
- "description" : "违规工单状态枚举:\tPUNISH_DONE:处罚生效中\tPUNISH_APPEAL_REVOKED:处罚已撤销\tPUNISH_INVALID_REVOKED:处罚已到期\tWAITING_RECTIFY:待整改 \tRECTIFY_AUDITOR_PROCESSING:整改审核中\tRECTIFY_REJECTED:整改不通过\tRECTIFY_PASSED:整改通过\tRECTIFY_TIMEOUT :整改已超时",
- "example" : "PUNISH_DONE"
- }
- }
- },
- "AlipayOpenViolationViolationeventBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "violation_record_infos" : {
- "$ref" : "#/components/schemas/ViolationEvent"
- }
- }
- },
- "AlipayPcreditHuabeiAuthAccumulationQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "CALL_LIMITED", "INVALID_PERIOD" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayPcreditHuabeiAuthAccumulationQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "pay_amount" : {
- "type" : "string",
- "description" : "本周期内支付宝端根据用户消费情况试算出的应付费用,仅供参考使用。",
- "example" : "3.75"
- },
- "total_discount_amount" : {
- "type" : "string",
- "description" : "本周期内用户累计享受的优惠金额",
- "example" : "2.15"
- },
- "total_pay_count" : {
- "type" : "string",
- "description" : "本周期内用户总的消费次数",
- "example" : "2"
- },
- "total_real_pay_amount" : {
- "type" : "string",
- "description" : "本周期内用户累计支付宝付款金额",
- "example" : "3.75"
- }
- }
- },
- "AlipayPcreditHuabeiAuthAgreementCloseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "NOT_ALLOW_CLOSE", "AGREEMENT_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayPcreditHuabeiAuthAgreementCloseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "花芝协议号,支付宝系统中用以唯一标识用户签约记录的编号,即花芝协议号。",
- "example" : "20195609549841482443"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "2088101117955611"
- },
- "open_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号",
- "example" : "2019080910020821390001569835"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088101117955611"
- },
- "quit_type" : {
- "type" : "string",
- "description" : "用户主动意愿退出:USER_CANCEL_QUIT; 商户结算退出:SETTLE_APPLY_QUIT; 默认值为SETTLE_APPLY_QUIT;这个字段会影响用户在芝麻信用合约的状态",
- "example" : "SETTLE_APPLY_QUIT"
- }
- }
- },
- "AlipayPcreditHuabeiAuthAgreementCloseResponseModel" : {
- "type" : "object",
- "properties" : {
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号",
- "example" : "2019080910020821390001569835"
- }
- }
- },
- "AlipayPcreditHuabeiAuthAgreementQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NOT_EXIST", "CALL_LIMITED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayPcreditHuabeiAuthAgreementQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_name" : {
- "type" : "string",
- "description" : "协议名称",
- "example" : "花呗先享会员"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花芝轻会员协议号。",
- "example" : "20185513447859192007"
- },
- "agreement_status" : {
- "type" : "string",
- "description" : "协议状态。Y表示状态有效,N表示状态失效",
- "example" : "Y"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "2088302424419340"
- },
- "auth_scene" : {
- "type" : "string",
- "description" : "花芝轻会员签约场景,商户和支付宝签约时确定,商户接入时需要咨询技术支持。",
- "example" : "EXTERNAL_PCARD"
- },
- "external_logon_id" : {
- "type" : "string",
- "description" : "用户在商户网站的登录账号",
- "example" : "sample@126.com"
- },
- "gmt_sign" : {
- "type" : "string",
- "description" : "签约时间。如果是在签状态,返回签约时间。",
- "example" : "2018-09-15 11:23:04"
- },
- "gmt_unsign" : {
- "type" : "string",
- "description" : "花芝轻会员协议解约时间。如果是解约状态,才返回该字段。",
- "example" : "2018-09-15 11:23:04"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_biz_type" : {
- "type" : "string",
- "description" : "外部业务类型,用于区分本次业务交互在商户侧具体的业务类别,提供给商家进行特定逻辑的处理",
- "example" : "NORMAL_BIZ_TYPE"
- },
- "out_sign_no" : {
- "type" : "string",
- "description" : "外部签约号,由商户提供,花芝轻会员协议中标识用户的唯一签约号(确保在商户系统中唯一)。由商户签约时传入,最终返回给商户。",
- "example" : "2018053100073208416400000002"
- },
- "rest_freeze_amount" : {
- "type" : "string",
- "description" : "用户在本花芝轻会员协议中,剩余的总冻结额度(资金池总余额),数值能实时准确,可以用于核对。两位小数,单位元。",
- "example" : "200.00"
- }
- }
- },
- "AlipayPcreditHuabeiAuthOrderQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "ORDER_NOT_EXIST", "CALL_LIMITED", "UNSUPPORT_OPERATION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayPcreditHuabeiAuthOrderQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花呗先享协议号。",
- "example" : "20185513447859192007"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "2088302424419340"
- },
- "auth_opt_id" : {
- "type" : "string",
- "description" : "支付宝侧花呗冻结解冻操作单据id",
- "example" : "2018081010020817070009689955"
- },
- "gmt_trans" : {
- "type" : "string",
- "description" : "业务操作完成时间",
- "example" : "2018-09-15 11:23:04"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "order_title" : {
- "type" : "string",
- "description" : "商户业务订单的简单描述,如商品名称等,长度不超过100个字母或50个汉字",
- "example" : "饿了么花呗先享超级会员续费冻结"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号",
- "example" : "8077735255938032"
- },
- "rest_freeze_amount" : {
- "type" : "string",
- "description" : "完成本次操作时,用户资金池余额快照。仅作提示用,请勿用于核对,并发情况下数值有可能不准确。两位小数,单位元。",
- "example" : "200.00"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "商户的支付宝用户id",
- "example" : "2088102146225135"
- },
- "trans_amount" : {
- "type" : "string",
- "description" : "冻结或者解冻金额",
- "example" : "操作金额"
- },
- "trans_status" : {
- "type" : "string",
- "description" : "业务操作状态,Y表示成功结束;N表示失败结束;I表示进行中。",
- "example" : "Y"
- },
- "trans_type" : {
- "type" : "string",
- "description" : "操作类型,FREEZE表示冻结操作;UNFREEZE表示解冻操作;PAY表示支付操作;SETTLE表示结算操作",
- "example" : "FREEZE"
- }
- }
- },
- "AlipayPcreditHuabeiAuthOrderUnfreezeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayPcreditHuabeiAuthOrderUnfreezeModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花呗先享协议号",
- "example" : "20185513447859192007"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "2088101117955611"
- },
- "need_terminated" : {
- "type" : "string",
- "description" : "true表示需要解约。false或者不填写表示仅解冻。",
- "example" : "'false'"
- },
- "open_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "order_title" : {
- "type" : "string",
- "description" : "商户业务订单的简单描述,如商品名称等,长度不超过100个字母或50个汉字",
- "example" : "饿了么花呗先享超级会员撤销"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号,用于标识请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
- "example" : "8077735255938032"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "商户的支付宝用户id。如果该值为空,则默认为商户签约账号对应的支付宝用户ID。",
- "example" : "2088102146225135"
- },
- "unfreeze_amount" : {
- "type" : "string",
- "description" : "需要解冻的金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "3.00"
- }
- }
- },
- "AlipayPcreditHuabeiAuthOrderUnfreezeResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花呗先享协议号",
- "example" : "20185513447859192007"
- },
- "agreement_status" : {
- "type" : "string",
- "description" : "协议状态。Y表示状态有效,N表示状态失效",
- "example" : "Y"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "2088101117955611"
- },
- "auth_opt_id" : {
- "type" : "string",
- "description" : "支付宝侧花呗冻结解冻操作单据id",
- "example" : "2018081010020817070009689955"
- },
- "gmt_trans" : {
- "type" : "string",
- "description" : "解冻成功时间",
- "example" : "2014-09-15 11:23:04"
- },
- "open_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号,用于标识请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。由商户传入,最终返回给商户。",
- "example" : "8077735255938032"
- },
- "rest_freeze_amount" : {
- "type" : "string",
- "description" : "完成本次操作时,用户资金池余额快照。仅作提示用,请勿用于核对,并发情况下数值有可能不准确。两位小数,单位元。",
- "example" : "200.00"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "商户的支付宝用户id",
- "example" : "2088411663864410"
- },
- "trans_status" : {
- "type" : "string",
- "description" : "业务操作状态,Y表示成功;N表示失败。",
- "example" : "Y"
- },
- "unfreeze_amount" : {
- "type" : "string",
- "description" : "解冻金额",
- "example" : "3.00"
- }
- }
- },
- "AlipayPcreditHuabeiAuthRefundApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayPcreditHuabeiAuthRefundApplyModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "签约花芝的业务协议号,在签约成功、结算成功等通知中回回传给商户。",
- "example" : "20205105001164318008"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "支付宝用户ID",
- "example" : "2088302841345600"
- },
- "auth_opt_id" : {
- "type" : "string",
- "description" : "支付宝侧授权操作单据id,在结算扣款成功的通知消息中会回传。在周期扣款场景下,和trade_no必传其中一个值。",
- "example" : "2018041721001001230571065758"
- },
- "memo" : {
- "type" : "string",
- "description" : "本次退款说明",
- "example" : "退款"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号",
- "example" : "99202005050100930053707258"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088302424614288"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "退款金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "3.00"
- },
- "refund_type" : {
- "type" : "string",
- "description" : "MEMBER_FEE_REFUND 会员费结算退款\tWITHHOLD_FEE_REFUND 周期扣款金额退款\t默认为MEMBER_FEE_REFUND",
- "example" : "MEMBER_FEE_REFUND"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号,在结算扣款成功的通知中会回传。\t在周期扣款场景下,和auth_opt_id必传其中一个值。",
- "example" : "2013112011001004330000121536"
- }
- }
- },
- "AlipayPcreditHuabeiAuthRefundApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "auth_opt_id" : {
- "type" : "string",
- "description" : "授权支付单ID",
- "example" : "2018041721001001230571065758"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "退款操作错误原因描述",
- "example" : "退款金额超限"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号",
- "example" : "99202005050100930053707258"
- },
- "retry" : {
- "type" : "boolean",
- "description" : "是否可重试",
- "example" : "true"
- }
- }
- },
- "AlipayPcreditHuabeiAuthSettleApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayPcreditHuabeiAuthSettleApplyModel" : {
- "type" : "object",
- "properties" : {
- "action_type" : {
- "type" : "string",
- "description" : "操作类型,默认为 MERCHANT_SETTLE(结算)。枚举值如下:\t* MERCHANT_SETTLE:结算(需要主动退出在发起结算);\t* QUIT_SETTLE:退出协议(解约协议);\t* PERIOD_SETTLE:分阶段结算(不解约协议)。",
- "example" : "PERIOD_SETTLE"
- },
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
- "example" : "20170502000610755993"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "example" : "2088101117955611"
- },
- "extend_params" : {
- "$ref" : "#/components/schemas/ExtraParams"
- },
- "need_terminated" : {
- "type" : "string",
- "description" : "是否解约,该参数控制结算完成之后的操作,为空则表示结算后解约。枚举值如下:\t* true:代表解约,默认为true。\t* false:代表不解约。",
- "example" : "true"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户在支付宝的唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
- "example" : "8077735255938032"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "需要支付的金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "3.00"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "支付宝商家ID,即商家账号在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。\t说明:若该值为空,则默认为商户签约账号对应的支付宝用户ID。",
- "example" : "2088102146225135"
- }
- }
- },
- "AlipayPcreditHuabeiAuthSettleApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "fail_reason" : {
- "type" : "string",
- "description" : "根据商户传入的轻会员协议结算周期内累计消费数据与支付宝端轻会员协议结算周期内消费数据比对之后,若数据不一致,则会返回对应的异常数据比对结果。",
- "example" : "累计支付宝支付金额不一致,支付宝:100.00元,商户:150.00元"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
- "example" : "8077735255938032"
- }
- }
- },
- "AlipaySecurityDataSssCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "MANJIANG_UNIFY_TEST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipaySecurityDataSssCreateModel" : {
- "type" : "object",
- "properties" : {
- "area_code" : {
- "type" : "string",
- "description" : "body,可选,无openid,有枚举值,注意事项",
- "example" : "aaa"
- },
- "f" : {
- "$ref" : "#/components/schemas/JinyoutestopenidThree"
- }
- }
- },
- "AlipaySecurityDataSssCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "c" : {
- "type" : "string",
- "description" : "区",
- "example" : "1"
- },
- "c_open_id" : {
- "type" : "string",
- "description" : "区",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }
- },
- "AlipaySecurityProdSssQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SECURITY_CHECK_FAILED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipaySecurityProdSssQueryModel" : {
- "type" : "object",
- "properties" : {
- "tesst" : {
- "type" : "array",
- "description" : "stst",
- "items" : {
- "$ref" : "#/components/schemas/PromiseDetail"
- }
- },
- "xxx" : {
- "$ref" : "#/components/schemas/JinyouTestFive"
- }
- }
- },
- "AlipaySecurityProdSssQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "ccc" : {
- "type" : "string",
- "description" : "1",
- "example" : "23"
- },
- "ccc_open_id" : {
- "type" : "string",
- "description" : "1",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }
- },
- "AlipaySecurityProdTianwutestModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "XXX" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipaySecurityProdTianwutestModifyModel" : {
- "type" : "object",
- "properties" : {
- "tianwutest" : {
- "type" : "string",
- "description" : "测试",
- "example" : "1"
- }
- }
- },
- "AlipaySecurityProdTianwutestModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "ceshi" : {
- "type" : "string",
- "description" : "测试",
- "example" : "test"
- }
- }
- },
- "AlipaySecurityRiskCustomerriskSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipaySecurityRiskCustomerriskSendModel" : {
- "type" : "object",
- "properties" : {
- "bank_card_no" : {
- "type" : "string",
- "description" : "交易对应的银行卡的卡号(支付宝直连和间连合作伙伴均可回传此参数)",
- "example" : "421234234234234000"
- },
- "business_license_no" : {
- "type" : "string",
- "description" : "该账号对应的营业执照号码(支付宝直连和间连合作伙伴均可回传此参数)",
- "example" : "34xggdf345"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "该用户对应的身份证号码(支付宝直连和间连合作伙伴均可回传此参数)",
- "example" : "659004198009128344"
- },
- "email_address" : {
- "type" : "string",
- "description" : "账户注册时填写的邮箱地址(适用于支付宝直连商户回传此信息)",
- "example" : "12345@abcd.com"
- },
- "external_id" : {
- "type" : "string",
- "description" : "适用于间连业务场景下,商户在银行被分配的ID(适用于支付宝间连合作伙伴回传此信息)",
- "example" : "2088011993690428"
- },
- "merch_name" : {
- "type" : "string",
- "description" : "该笔风险交易购买的具体商品名称(适用于支付宝直连商户回传此信息)",
- "example" : "游戏道具"
- },
- "mobile" : {
- "type" : "string",
- "description" : "手机(支付宝直连和间连合作伙伴均可回传此参数)",
- "example" : "1359892324"
- },
- "mobile_ip" : {
- "type" : "string",
- "description" : "该账号登录合作伙伴平台时的IP地址(适用于支付宝直连商户回传此信息)",
- "example" : "10.253.231.22"
- },
- "order_ip" : {
- "type" : "string",
- "description" : "该账户在商户平台下单时的MAC地址或IP地址(适用于支付宝直连商户回传此信息)",
- "example" : "00000000-01010000-10111010"
- },
- "pid" : {
- "type" : "string",
- "description" : "适用于直连商户场景下的支付宝合作伙伴ID(适用于支付宝直连合作伙伴回传此信息)",
- "example" : "2088123456789012"
- },
- "plat_account" : {
- "type" : "string",
- "description" : "指第三方在商户平台注册成功后,平台给予的账户号(适用于支付宝直连商户回传此信息)",
- "example" : "abc123"
- },
- "process_code" : {
- "type" : "string",
- "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多重处理结果可调用多次,每次回传一种处理结果",
- "example" : "01"
- },
- "smid" : {
- "type" : "string",
- "description" : "指间连交易场景下商家被支付宝分配的ID(适用于支付宝间连合作伙伴回传此信息)",
- "example" : "17022079254"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝推送的风险消息中的交易号(支付宝直连和间连合作伙伴均需回传此参数)",
- "example" : "2017113021001004640000000000"
- }
- }
- },
- "AlipaySecurityRiskCustomerriskSendResponseModel" : {
- "type" : "object"
- },
- "AlipaySecurityRiskVerifyidentityMiniappConfirmErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PARAM_TAMPERED", "INVALID_ARGUMENTS", "SYSTEM_ERROR", "VERIFY_STATE_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipaySecurityRiskVerifyidentityMiniappConfirmModel" : {
- "type" : "object",
- "properties" : {
- "challenge" : {
- "type" : "string",
- "description" : "业务的业务流水号,例如订单id",
- "example" : "00123456"
- },
- "open_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID,验证时会与做身份认证时候会话中的openid做比对,如不相符核验结果不通过",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID,验证时会与做身份认证时候会话中的userId做比对,如不相符核验结果不通过",
- "example" : "2088302857831249"
- },
- "verify_id" : {
- "type" : "string",
- "description" : "核身校验id,是一次核身校验服务中唯一性的id",
- "example" : "0xa213nfdajbav17521"
- }
- }
- },
- "AlipaySecurityRiskVerifyidentityMiniappConfirmResponseModel" : {
- "type" : "object",
- "properties" : {
- "error_code" : {
- "type" : "string",
- "description" : "身份核实校验结果失败时,返回的失败错误码",
- "example" : "SYSTEM_ERROR"
- },
- "error_msg" : {
- "type" : "string",
- "description" : "身份核实校验结果失败时,返回的失败错误原因说明",
- "example" : "系统繁忙,请稍后再试"
- },
- "verify_result" : {
- "type" : "boolean",
- "description" : "身份核验结果",
- "example" : "true"
- }
- }
- },
- "AlipaySocialBaseContentlibStandardcontentBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "CONTENT_NOT_EXISTS", "NO_PERMISSION", "SYSTEM_ERROR", "PUBLIC_NOT_UPGRADE", "PUBLIC_NOT_EXISTS", "BUSINESS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipaySocialBaseContentlibStandardcontentBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "need_detail" : {
- "type" : "boolean",
- "description" : "指示是否返回内容详情, 默认为false\tfalse: 仅返回内容ID列表\ttrue:返回 content_details",
- "example" : "true"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "当页分页,默认为1",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页记录数,最大20,默认20",
- "example" : "20"
- },
- "public_id" : {
- "type" : "string",
- "description" : "生活号+号ID,只有MCN机构为达人号ID查询内容才需要传入",
- "example" : "2030000013518xxx"
- },
- "status" : {
- "type" : "string",
- "description" : "内容状态,默认查询所有状态\t0-审核中 \t1-发布成功 \t2-审核不通过 \t3-己删除",
- "example" : "1"
- }
- }
- },
- "AlipaySocialBaseContentlibStandardcontentBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "content_details" : {
- "type" : "array",
- "description" : "内容详情列表",
- "items" : {
- "$ref" : "#/components/schemas/SourceContentInfo"
- }
- },
- "content_ids" : {
- "type" : "array",
- "description" : "内容ID列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"20211022OB02001003220004xxxx\"]"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "当前分页",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页记录数",
- "example" : "20"
- },
- "total" : {
- "type" : "integer",
- "description" : "总记录数",
- "example" : "100"
- }
- }
- },
- "AlipaySystemOauthTokenErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipaySystemOauthTokenModel" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "授权码,用户对应用授权后得到。本参数在 grant_type 为 authorization_code 时必填;为 refresh_token 时不填。",
- "example" : "4b203fe6c11548bcabd8da5bb087a83b"
- },
- "grant_type" : {
- "type" : "string",
- "description" : "授权方式。支持:\t1.authorization_code,表示换取使用用户授权码code换取授权令牌access_token。\t2.refresh_token,表示使用refresh_token刷新获取新授权令牌。",
- "example" : "authorization_code"
- },
- "refresh_token" : {
- "type" : "string",
- "description" : "刷新令牌,上次换取访问令牌时得到。本参数在 grant_type 为 authorization_code 时不填;为 refresh_token 时必填,且该值来源于此接口的返回值 app_refresh_token(即至少需要通过 grant_type=authorization_code 调用此接口一次才能获取)。",
- "example" : "201208134b203fe6c11548bcabd8da5bb087a83b"
- }
- }
- },
- "AlipaySystemOauthTokenResponseModel" : {
- "type" : "object",
- "properties" : {
- "access_token" : {
- "type" : "string",
- "description" : "访问令牌。通过该令牌调用需要授权类接口",
- "example" : "20120823ac6ffaa4d2d84e7384bf983531473993"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "已废弃,请勿使用",
- "example" : "已废弃,请勿使用"
- },
- "auth_start" : {
- "type" : "string",
- "description" : "授权token开始时间,作为有效期计算的起点",
- "example" : "2010-11-11 11:11:11"
- },
- "auth_token_type" : {
- "type" : "string",
- "description" : "令牌类型,permanent表示返回的access_token和refresh_token永久有效,非永久令牌不返回该字段",
- "example" : "permanent"
- },
- "expires_in" : {
- "type" : "string",
- "description" : "访问令牌的有效时间,单位是秒。",
- "example" : "3600"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "re_expires_in" : {
- "type" : "string",
- "description" : "刷新令牌的有效时间,单位是秒。",
- "example" : "3600"
- },
- "refresh_token" : {
- "type" : "string",
- "description" : "刷新令牌。通过该令牌可以刷新access_token",
- "example" : "20120823ac6ffdsdf2d84e7384bf983531473993"
- },
- "union_id" : {
- "type" : "string",
- "description" : "union_id是支付宝用户在开放平台的唯一标识符,在配置应用分组后会返回该值。\t同一用户的union_id在同一分组内应用保持一致。",
- "example" : "092aSPrsmhTbexLh9zgoYb2uvZNC4D8izCpGKTem8QiIOQb"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户的唯一标识。以2088开头的16位数字。",
- "example" : "2088102150477652"
- }
- }
- },
- "AlipayTradeAdvanceConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "USER_STAUTS_ERROR", "USER_NOT_EXIST", "BUYER_NOT_SUPPORT_ADVANCEPAY", "ILLEGAL_AGREEMENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeAdvanceConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "refer_result" : {
- "type" : "boolean",
- "description" : "true 代表当前时间点,用户允许垫资\tfalse 代表当前时间,用户不允许垫资",
- "example" : "true"
- },
- "result_code" : {
- "type" : "string",
- "description" : "用户被注销",
- "example" : "USER_NOT_EXIST"
- },
- "result_message" : {
- "type" : "string",
- "description" : "返回用户不准入原因",
- "example" : "用户不准入"
- },
- "risk_level" : {
- "type" : "string",
- "description" : "订单风险评估等级,在单笔订单风险预评估时返回。当基础风险校验通过时,可通过该值获取业务风险评估等级。取值:2-高风险;1-低风险。",
- "example" : "1"
- },
- "user_risk_prediction" : {
- "$ref" : "#/components/schemas/UserRiskPrediction"
- },
- "wait_repayment_amount" : {
- "type" : "string",
- "description" : "用户剩余的总待还金额,无论当前用户是否允许垫资,都会返回该属性。",
- "example" : "2.48"
- },
- "wait_repayment_order_count" : {
- "type" : "integer",
- "description" : "用户总的未还的垫资笔数,无论用户是否允许垫资,都会返回该属性",
- "example" : "6"
- },
- "wait_repayment_order_infos" : {
- "type" : "array",
- "description" : "待还订单列表,无论用户当前状态是否允许垫资,都会返回当前用户在商户下的待还订单信息",
- "items" : {
- "$ref" : "#/components/schemas/WaitRepaymentOrderInfo"
- }
- }
- }
- },
- "AlipayTradeApplepayAuthenticationSubmitErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeApplepayAuthenticationSubmitModel" : {
- "type" : "object",
- "properties" : {
- "authentication_results" : {
- "type" : "array",
- "description" : "ApplePay核身鉴权结果,包括:支付密码、用户确认、数字签名",
- "items" : {
- "$ref" : "#/components/schemas/AuthenticationResult"
- }
- },
- "device_identifier" : {
- "type" : "string",
- "description" : "Apple端的设备ID",
- "example" : "mKS9uBWMBT4Vv4+mgVLy7ZbMYer0XMHMfdqnOBVVr+b/iqNagFVjVWSGeSGOhDBi"
- },
- "dpan_identifier" : {
- "type" : "string",
- "description" : "Apple绑定的BundleId",
- "example" : "DAPLSM20191217003050010000320000001002"
- },
- "transaction_identifier" : {
- "type" : "string",
- "description" : "交易标识",
- "example" : "2020040422001424181400075556"
- }
- }
- },
- "AlipayTradeApplepayAuthenticationSubmitResponseModel" : {
- "type" : "object",
- "properties" : {
- "authentication_error" : {
- "type" : "string",
- "description" : "核身错误信息",
- "example" : "PINMaximumTriesExceeded"
- },
- "fallback_authentication_mechanisms" : {
- "type" : "array",
- "description" : "失败时的鉴权重试机制",
- "items" : {
- "type" : "string"
- },
- "example" : "PaymentPINInput"
- },
- "response_header" : {
- "$ref" : "#/components/schemas/OpenApiResponseHeader"
- },
- "retry_authentication_mechanisms" : {
- "type" : "array",
- "description" : "鉴权重试机制",
- "items" : {
- "type" : "string"
- },
- "example" : "PaymentPINInput"
- },
- "signing_certificate" : {
- "type" : "string",
- "description" : "base64之后的证书",
- "example" : "R2VuZXJhdGVkIENlcnRpZmljYXRlIERhdGE="
- },
- "updated_authentication_details" : {
- "$ref" : "#/components/schemas/UpdatedAuthenticationDetails"
- },
- "updated_transaction_status" : {
- "type" : "string",
- "description" : "交易状态",
- "example" : "Pending"
- }
- }
- },
- "AlipayTradeBatchSettleErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeBatchSettleModel" : {
- "type" : "object",
- "properties" : {
- "biz_product" : {
- "type" : "string",
- "description" : "收单产品码,商家和支付宝签约的产品码",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "extend_params" : {
- "type" : "string",
- "description" : "扩展参数",
- "example" : "{\"key\":\"value\"}"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "结算请求外部流水号,32个字符以内、可包含字母、数字、下划线;需保证在商户端不重复,如果重复则返回该流水号对应的结算单据的状态。",
- "example" : "20180101"
- },
- "settle_clauses" : {
- "type" : "array",
- "description" : "结算明细条款",
- "items" : {
- "$ref" : "#/components/schemas/SettleClause"
- }
- },
- "settle_type" : {
- "type" : "string",
- "description" : "结算方式,目前仅支持提前放款结算quickSettlement,提前放款结算需要商户开通快收服务,不填则为普通结算方式",
- "example" : "quickSettlement"
- }
- }
- },
- "AlipayTradeBatchSettleQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BATCH_SETTLE_NOT_EXIST", "SYSTEM_ERROR", "OPENID_APPID_NOT_MATCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeBatchSettleQueryModel" : {
- "type" : "object",
- "properties" : {
- "extend_params" : {
- "type" : "string",
- "description" : "扩展参数",
- "example" : "{\"key\":\"value\"}"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "批量结算时传入的外部流水号,与settle_no二者必填其一。 out_request_no和settle_no如果同时存在,优先取settle_no",
- "example" : "20180101"
- },
- "settle_no" : {
- "type" : "string",
- "description" : "结算单据号,与out_request_no二者必填其一",
- "example" : "2019050510032002040000053220"
- }
- }
- },
- "AlipayTradeBatchSettleQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "out_request_no" : {
- "type" : "string",
- "description" : "批量结算时传入的外部流水号",
- "example" : "20190101"
- },
- "settle_detail" : {
- "type" : "array",
- "description" : "批量结算详情",
- "items" : {
- "$ref" : "#/components/schemas/BatchSettleDetail"
- }
- },
- "settle_no" : {
- "type" : "string",
- "description" : "结算单据号",
- "example" : "2019050510032002040000053220"
- }
- }
- },
- "AlipayTradeBatchSettleResponseModel" : {
- "type" : "object",
- "properties" : {
- "gmt_create" : {
- "type" : "string",
- "description" : "结算受理时间",
- "example" : "2014-11-27 15:45:57"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "结算请求外部流水号",
- "example" : "201811"
- },
- "result_code" : {
- "type" : "string",
- "description" : "业务结果码。\r\t\r\tACCEPT_SUCCESS:受理成功;\r\tACCEPT_FAIL:受理失败;\r\tSUCCESS:结算处理成功;\r\tFAIL:结算处理失败;\r\tSYSTEM_EXCEPTION:系统异常",
- "example" : "ACCEPT_SUCCESS"
- },
- "settle_no" : {
- "type" : "string",
- "description" : "结算单据号。仅当业务结果码为ACCEPT_SUCCESS 或 SUCCESS时,settle_no有效",
- "example" : "2018032310032002040000053220"
- }
- }
- },
- "AlipayTradeBatchTransferErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeBatchTransferModel" : {
- "type" : "object",
- "properties" : {
- "extend_params" : {
- "type" : "string",
- "description" : "业务扩展参数",
- "example" : "{\"key\":\"value\"}"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "结算请求外部流水号,32个字符以内、可包含字母、数字、下划线;需保证在商户端不重复",
- "example" : "20180101"
- },
- "royalty_parameters" : {
- "type" : "array",
- "description" : "分账条款明细\t特别注意:最好一次只传一个分账条款。\t如果传多个,则要求出账方只能有一个,\t举例:A分给B+A分给C+A分给D=OK\tA分给B+C分给D=不行",
- "items" : {
- "$ref" : "#/components/schemas/RoyaltyDetailInfo"
- }
- }
- }
- },
- "AlipayTradeBatchTransferQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "BATCH_SETTLE_NOT_EXIST", "SYSTEM_ERROR", "OPENID_APPID_NOT_MATCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeBatchTransferQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "out_request_no" : {
- "type" : "string",
- "description" : "批量结算时传入的外部流水号",
- "example" : "20008"
- },
- "royalty_detail" : {
- "type" : "array",
- "description" : "批量结算详情",
- "items" : {
- "$ref" : "#/components/schemas/BatchRoyaltyDetail"
- }
- },
- "settle_no" : {
- "type" : "string",
- "description" : "结算单据号",
- "example" : "2019050510032002040000053220"
- }
- }
- },
- "AlipayTradeBatchTransferResponseModel" : {
- "type" : "object",
- "properties" : {
- "gmt_create" : {
- "type" : "string",
- "description" : "分账受理时间",
- "example" : "2014-11-27 15:45:57"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "分账请求外部流水号",
- "example" : "2008121"
- },
- "result_code" : {
- "type" : "string",
- "description" : "业务结果码。 ACCEPT_SUCCESS:受理成功; ACCEPT_FAIL:受理失败; SUCCESS:结算处理成功; FAIL:结算处理失败; SYSTEM_EXCEPTION:系统异常",
- "example" : "ACCEPT_SUCCESS"
- },
- "settle_no" : {
- "type" : "string",
- "description" : "分账单据号",
- "example" : "2018032310032002040000053220"
- }
- }
- },
- "AlipayTradeCancelErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeCancelModel" : {
- "type" : "object",
- "properties" : {
- "out_trade_no" : {
- "type" : "string",
- "description" : "原支付请求的商户订单号,和支付宝交易号不能同时为空",
- "example" : "20150320010101001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号,和商户订单号不能同时为空",
- "example" : "2014112611001004680073956707"
- }
- }
- },
- "AlipayTradeCancelResponseModel" : {
- "type" : "object",
- "properties" : {
- "action" : {
- "type" : "string",
- "description" : "本次撤销触发的交易动作,接口调用成功且交易存在时返回。可能的返回值:\tclose:交易未支付,触发关闭交易动作,无退款;\trefund:交易已支付,\b触发交易退款动作;\t未返回:未查询到交易,或接口调用失败;",
- "example" : "close"
- },
- "gmt_refund_pay" : {
- "type" : "string",
- "description" : "当撤销产生了退款时,返回退款时间;\t 只在银行间联交易场景下返回该信息;",
- "example" : "2016-11-27 15:45:57"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号",
- "example" : "6823789339978248"
- },
- "refund_settlement_id" : {
- "type" : "string",
- "description" : "当撤销产生了退款时,返回的退款清算编号,用于清算对账使用;\r\t只在银行间联交易场景下返回该信息;",
- "example" : "2018101610032004620239146945"
- },
- "retry_flag" : {
- "type" : "string",
- "description" : "是否需要重试",
- "example" : "N"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号;\t当发生交易关闭或交易退款时返回;",
- "example" : "2013112011001004330000121536"
- }
- }
- },
- "AlipayTradeCloseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.TRADE_NOT_EXIST", "ACQ.TRADE_STATUS_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.REASON_TRADE_STATUS_INVALID", "ACQ.REASON_ILLEGAL_STATUS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeCloseModel" : {
- "type" : "object",
- "properties" : {
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "operator_id" : {
- "type" : "string",
- "description" : "商家操作员编号 id,由商家自定义。",
- "example" : "YX01"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "订单支付时传入的商户订单号,和支付宝交易号不能同时为空。 trade_no,out_trade_no如果同时存在优先取trade_no",
- "example" : "HZ0120131127001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "该交易在支付宝系统中的交易流水号。最短 16 位,最长 64 位。和out_trade_no不能同时为空,如果同时传了 out_trade_no和 trade_no,则以 trade_no为准。",
- "example" : "2013112611001004680073956707"
- }
- }
- },
- "AlipayTradeCloseResponseModel" : {
- "type" : "object",
- "properties" : {
- "out_trade_no" : {
- "type" : "string",
- "description" : "创建交易传入的商户订单号",
- "example" : "YX_001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2013112111001004500000675971"
- }
- }
- },
- "AlipayTradeCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeCreateModel" : {
- "type" : "object",
- "properties" : {
- "alipay_store_id" : {
- "type" : "string",
- "description" : "支付宝店铺编号。\t指商户创建球房后支付宝生成的球房ID。",
- "example" : "2016041400077000000003314986"
- },
- "bkagent_req_info" : {
- "$ref" : "#/components/schemas/BkAgentReqInfo"
- },
- "body" : {
- "type" : "string",
- "description" : "订单附加信息。\t如果请求时传递了该参数,将在异步通知、对账单中原样返回,同时会在商户和用户的pc账单详情中作为交易描述展示",
- "example" : "Iphone6 16G"
- },
- "business_params" : {
- "$ref" : "#/components/schemas/BusinessParams"
- },
- "buyer_id" : {
- "type" : "string",
- "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注:交易的买家与卖家不能相同。",
- "example" : "2088102146225135"
- },
- "buyer_logon_id" : {
- "type" : "string",
- "description" : "买家支付宝登录账号。\tbuyer_logon_id和buyer_id两者传其一,和buyer_id不能同时为空,建议通过buyer_id来传递买家信息。",
- "example" : "15901825620"
- },
- "buyer_open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "disable_pay_channels" : {
- "type" : "string",
- "description" : "禁用渠道,用户不可用指定渠道支付,多个渠道以逗号分割\r\t注,与enable_pay_channels互斥\r\t<a href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>",
- "example" : "pcredit,moneyFund,debitCardExpress"
- },
- "discountable_amount" : {
- "type" : "string",
- "description" : "可打折金额。\t参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
- "example" : "80.00"
- },
- "enable_pay_channels" : {
- "type" : "string",
- "description" : "指定支付渠道。\t用户只能使用指定的渠道进行支付,多个渠道以逗号分割。\t与disable_pay_channels互斥,支持传入的值:<a target=\"_blank\" href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>。\t注:如果传入了指定支付渠道,则用户只能用指定内的渠道支付,包括营销渠道也要指定才能使用。该参数可能导致用户支付受限,慎用。",
- "example" : "pcredit,moneyFund,debitCardExpress"
- },
- "ext_user_info" : {
- "$ref" : "#/components/schemas/ExtUserInfo"
- },
- "extend_params" : {
- "$ref" : "#/components/schemas/ExtendParams"
- },
- "goods_detail" : {
- "type" : "array",
- "description" : "订单包含的商品列表信息,json格式。",
- "items" : {
- "$ref" : "#/components/schemas/GoodsDetail"
- }
- },
- "logistics_detail" : {
- "$ref" : "#/components/schemas/LogisticsDetail"
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "商户的原始订单号",
- "example" : "20161008001"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "operator_id" : {
- "type" : "string",
- "description" : "商户操作员编号。",
- "example" : "Yx_001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号。\t由商家自定义,64个字符以内,仅支持字母、数字、下划线且需保证在商户端不重复。",
- "example" : "20150320010101001"
- },
- "passback_params" : {
- "type" : "string",
- "description" : "公用回传参数。\t如果请求时传递了该参数,支付宝会在异步通知时将该参数原样返回。",
- "example" : "merchantBizType%3d3C%26merchantBizNo%3d2016010101111"
- },
- "product_code" : {
- "type" : "string",
- "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。",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "query_options" : {
- "type" : "array",
- "description" : "返回参数选项。 商户通过传递该参数来定制需要额外返回的信息字段,数组格式。包括但不限于:[\"enterprise_pay_info\",\"hyb_amount\"]",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"enterprise_pay_info\",\"hyb_amount\"]"
- },
- "receiver_address_info" : {
- "$ref" : "#/components/schemas/ReceiverAddressInfo"
- },
- "royalty_info" : {
- "$ref" : "#/components/schemas/RoyaltyInfo"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "卖家支付宝用户ID。\t当需要指定收款账号时,通过该参数传入,如果该值为空,则默认为商户签约账号对应的支付宝用户ID。\t收款账号优先级规则:球房绑定的收款账户>请求传入的seller_id>商户签约账号对应的支付宝用户ID;\t注:直付通和机构间联场景下seller_id无需传入或者保持跟pid一致;\t如果传入的seller_id与pid不一致,需要联系支付宝小二配置收款关系;",
- "example" : "2088102146225135"
- },
- "settle_info" : {
- "$ref" : "#/components/schemas/SettleInfo"
- },
- "store_id" : {
- "type" : "string",
- "description" : "商户球房编号。\t指商户创建球房时输入的球房编号。",
- "example" : "NJ_001"
- },
- "sub_merchant" : {
- "$ref" : "#/components/schemas/SubMerchant"
- },
- "subject" : {
- "type" : "string",
- "description" : "订单标题。\t注意:不可使用特殊字符,如 /,=,& 等。",
- "example" : "Iphone6 16G"
- },
- "terminal_id" : {
- "type" : "string",
- "description" : "商户机具终端编号。",
- "example" : "NJ_T_001"
- },
- "time_expire" : {
- "type" : "string",
- "description" : "订单绝对超时时间。\t格式为yyyy-MM-dd HH:mm:ss。\t注:time_expire和timeout_express两者只需传入一个或者都不传,如果两者都传,优先使用time_expire。",
- "example" : "2021-12-31 10:05:00"
- },
- "timeout_express" : {
- "type" : "string",
- "description" : "订单相对超时时间。从交易创建时间开始计算。\t该笔订单允许的最晚付款时间,逾期将关闭交易。取值范围:1m~15d。m-分钟,h-小时,d-天,1c-当天(1c-当天的情况下,无论交易何时创建,都在0点关闭)。 该参数数值不接受小数点, 如 1.5h,可转换为 90m。\t当面付场景默认值为3h。\t注:time_expire和timeout_express两者只需传入一个或者都不传,如果两者都传,优先使用time_expire。",
- "example" : "90m"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单总金额。\t单位为元,精确到小数点后两位,取值范围:[0.01,100000000] 。",
- "example" : "88.88"
- },
- "undiscountable_amount" : {
- "type" : "string",
- "description" : "不可打折金额。\t不参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
- "example" : "8.88"
- }
- }
- },
- "AlipayTradeCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号",
- "example" : "20150423001001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2015042321001004720200028594"
- }
- }
- },
- "AlipayTradeCustomsDeclareErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeCustomsDeclareModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "报关金额,单位为人民币“元”,精确到小数点后2位。",
- "example" : "2"
- },
- "buyer_info" : {
- "$ref" : "#/components/schemas/CustomsDeclareBuyerInfo"
- },
- "customs_place" : {
- "type" : "string",
- "description" : "海关编号(大小写皆可)。参见“ <a href=\"https://opendocs.alipay.com/pre-open/01x3kh#%E6%B5%B7%E5%85%B3%E7%BC%96%E5%8F%B7\">海关编号</a>”。",
- "example" : "ZONGSHU"
- },
- "declare_mode" : {
- "type" : "integer",
- "description" : "报关模式,默认可空,1表示需要强校验买家和支付人的身份信息。",
- "example" : "1"
- },
- "deposit_trade_no" : {
- "type" : "string",
- "description" : "定金在支付宝系统中的交易流水号,最长64位。当该参数不为空时,代表为”定金+尾款“报关场景。",
- "example" : "2022110322001431071435352949"
- },
- "is_split" : {
- "type" : "string",
- "description" : "商户控制本单是否拆单的报关参数。\r\t仅当该参数传值为T或者t时,才会触发拆单。",
- "example" : "T"
- },
- "merchant_customs_code" : {
- "type" : "string",
- "description" : "商户在海关备案的编号。",
- "example" : "737203458"
- },
- "merchant_customs_name" : {
- "type" : "string",
- "description" : "商户海关备案名称。",
- "example" : "龙腾国际贸易有限公司"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "国际站商户标识",
- "example" : "2188120005907173"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "报关流水号。商户生成的用于唯一标识一次报关操作的业务编号。\t建议生成规则:yyyymmdd型8位日期拼接4位序列号。每个报关请求号仅允许传入:数字、英文字母、下划线”_”、短横线”-” 。长度6-64位前后不能有空格",
- "example" : "9193457120563834"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "国际站外部订单号",
- "example" : "1422534255340818295"
- },
- "sub_out_biz_no" : {
- "type" : "string",
- "description" : "拆单报关的商户子订单号。 用于区别拆单时不同子单。拆单时必须传入,否则会报INVALID_PARAMETER错误码。",
- "example" : "2015080811223212345453"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号。该交易在支付宝系统中的交易流水号,最长64位。",
- "example" : "2015051446800462"
- }
- }
- },
- "AlipayTradeCustomsDeclareResponseModel" : {
- "type" : "object",
- "properties" : {
- "alipay_declare_no" : {
- "type" : "string",
- "description" : "支付宝报关流水号。",
- "example" : "2013112611001004680073956707"
- },
- "currency" : {
- "type" : "string",
- "description" : "币种",
- "example" : "142"
- },
- "identity_check" : {
- "type" : "string",
- "description" : "订购人身份信息和支付人的身份信息验证结果。T表示商户传入的订购人姓名和身份证号和支付人的姓名和身份证号一致。F代表商户传入的订购人姓名和身份证号和支付人的姓名和身份证号不一致。对于同一笔报关单支付宝只会校验一次,如果多次重推不会返回此参数。",
- "example" : "T"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "国际站外部订单号",
- "example" : "1422534255340818295"
- },
- "pay_code" : {
- "type" : "string",
- "description" : "支付机构注册号",
- "example" : "31222699S7"
- },
- "pay_transaction_id" : {
- "type" : "string",
- "description" : "清算流水号",
- "example" : "2019032011082610277150475"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "交易总金额(单位:分)",
- "example" : "133000"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝推送到海关的支付单据号。",
- "example" : "2013111511001004390000105126"
- },
- "ver_dept" : {
- "type" : "string",
- "description" : "清算机构标志(1-cup,2-null,3-other)",
- "example" : "1"
- }
- }
- },
- "AlipayTradeCustomsQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "MAX_OUT_REQUEST_NO_EXCEEDED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeCustomsQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "not_found" : {
- "type" : "string",
- "description" : "不存在记录的报关请求号。多个值用逗号分隔,单次最多10个;每个报关请求号String(32)",
- "example" : "201506010001,201506010002,201506010003"
- },
- "records" : {
- "type" : "array",
- "description" : "匹配到的列表。每个记录代表一条报关记录",
- "items" : {
- "$ref" : "#/components/schemas/CustomsDeclareRecordInfo"
- }
- }
- }
- },
- "AlipayTradeFastpayRefundQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "TRADE_NOT_EXIST", "ACQ.TRADE_NOT_EXIST", "ACQ.ENTERPRISE_PAY_BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeFastpayRefundQueryModel" : {
- "type" : "object",
- "properties" : {
- "org_pid" : {
- "type" : "string",
- "description" : "银行间联模式下有用,其它场景请不要使用;\r\t双联通过该参数指定需要查询的交易所属收单机构的pid;",
- "example" : "2088101117952222"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "退款请求号。\t请求退款接口时,传入的退款请求号,如果在退款请求时未传入,则该值为创建交易时的商户订单号。",
- "example" : "HZ01RF001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号。\t订单支付时传入的商户订单号,和支付宝交易号不能同时为空。 trade_no,out_trade_no如果同时存在优先取trade_no",
- "example" : "2014112611001004680073956707"
- },
- "query_options" : {
- "type" : "array",
- "description" : "查询选项,商户通过上送该参数来定制同步需要额外返回的信息字段,数组格式。枚举支持:\trefund_detail_item_list:本次退款使用的资金渠道;\tgmt_refund_pay:退款执行成功的时间;\tdeposit_back_info:银行卡冲退信息;",
- "items" : {
- "type" : "string"
- },
- "example" : "refund_detail_item_list"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号。\t和商户订单号不能同时为空",
- "example" : "2021081722001419121412730660"
- }
- }
- },
- "AlipayTradeFastpayRefundQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "deposit_back_info" : {
- "$ref" : "#/components/schemas/DepositBackInfo"
- },
- "enterprise_pay_info" : {
- "$ref" : "#/components/schemas/EnterprisePayInfo"
- },
- "error_code" : {
- "type" : "string",
- "description" : "退款失败错误码。只在使用异步退款接口情况下才会返回该字段",
- "example" : "SELLER_BALANCE_NOT_ENOUGH"
- },
- "gmt_refund_pay" : {
- "type" : "string",
- "description" : "退款时间。默认不返回该信息,需要在入参的query_options中指定\"gmt_refund_pay\"值时才返回该字段信息。",
- "example" : "2014-11-27 15:45:57"
- },
- "industry_sepc_detail" : {
- "type" : "string",
- "description" : "行业特殊信息(例如在医保卡支付退款中,医保局向商户返回医疗信息)。",
- "example" : "[{\"bizType\":\"REFUND\",\"modelName\":\"tradeCancelContext\",\"contextData\":{\"response_content\":\"{\\\"WxResToll\\\":{\\\"dealID\\\":\\\"\\\",}}\"}}]"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "本笔退款对应的退款请求号",
- "example" : "20150320010101001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "创建交易传入的商户订单号",
- "example" : "20150320010101001"
- },
- "present_refund_buyer_amount" : {
- "type" : "string",
- "description" : "本次退款金额中买家退款金额。单位:元。\t该字段默认不返回;",
- "example" : "88.88"
- },
- "present_refund_discount_amount" : {
- "type" : "string",
- "description" : "本次退款金额中平台优惠退款金额。单位:元。\t该字段默认不返回;",
- "example" : "88.88"
- },
- "present_refund_mdiscount_amount" : {
- "type" : "string",
- "description" : "本次退款金额中商家优惠退款金额。单位:元。\t该字段默认不返回;",
- "example" : "88.88"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "本次退款请求,对应的退款金额。单位:元。",
- "example" : "12.33"
- },
- "refund_channel_list" : {
- "type" : "string",
- "description" : "若支付渠道包含医保统筹、个账,则显示退款的渠道信息。如统筹OUTSIDEGOVCARD,个账OUTSIDEACCCARD",
- "example" : "OUTSIDEGOVCARD"
- },
- "refund_channel_status" : {
- "type" : "string",
- "description" : "若支付渠道包含医保统筹、个账,全渠道退款成功时返回SUCCESS,全失败时返回FAIL,部分成功时返回PART_SUCCESS",
- "example" : "SUCCESS"
- },
- "refund_charge_amount" : {
- "type" : "string",
- "description" : "本次退款针对收款方的退收费金额;单位:元。\t只在机构间联模式下返回,其它场景下不返回该字段;",
- "example" : "8.88"
- },
- "refund_charge_info_list" : {
- "type" : "array",
- "description" : "退费信息",
- "items" : {
- "$ref" : "#/components/schemas/RefundChargeInfo"
- }
- },
- "refund_detail_item_list" : {
- "type" : "array",
- "description" : "本次退款使用的资金渠道;\t默认不返回该信息,需要在入参的query_options中指定\"refund_detail_item_list\"值时才返回该字段信息。",
- "items" : {
- "$ref" : "#/components/schemas/TradeFundBill"
- }
- },
- "refund_hyb_amount" : {
- "type" : "string",
- "description" : "本次退款金额中退惠营宝的金额。单位:元。",
- "example" : "10.24"
- },
- "refund_reason" : {
- "type" : "string",
- "description" : "发起退款时,传入的退款原因",
- "example" : "用户退款请求"
- },
- "refund_royaltys" : {
- "type" : "array",
- "description" : "退分账明细信息,当前仅在直付通产品中返回。",
- "items" : {
- "$ref" : "#/components/schemas/RefundRoyaltyResult"
- }
- },
- "refund_settlement_id" : {
- "type" : "string",
- "description" : "退款清算编号,用于清算对账使用;\t只在机构间联模式下返回,其它场景下不返回该字段;",
- "example" : "2018101610032004620239146945"
- },
- "refund_status" : {
- "type" : "string",
- "description" : "退款状态。枚举值:\tREFUND_SUCCESS 退款处理成功;\t未返回该字段表示退款请求未收到或者退款失败;\t注:如果退款查询发起时间早于退款时间,或者间隔退款发起时间太短,可能出现退款查询时还没处理成功,后面又处理成功的情况,建议商户在退款发起后间隔10秒以上再发起退款查询请求。",
- "example" : "REFUND_SUCCESS"
- },
- "send_back_fee" : {
- "type" : "string",
- "description" : "本次商户实际退回金额;单位:元。\t默认不返回该信息,需要在入参的query_options中指定\"refund_detail_item_list\"值时才返回该字段信息。",
- "example" : "88"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "该笔退款所对应的交易的订单金额。单位:元。",
- "example" : "100.20"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2014112611001004680073956707"
- }
- }
- },
- "AlipayTradeOrderPayErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeOrderPayModel" : {
- "type" : "object",
- "properties" : {
- "advance_payment_type" : {
- "type" : "string",
- "description" : "垫资支付模式。支付时需要垫资的场景才传入。具体传参需与支付宝约定。\tCREDIT_FULFILLMENT_ZM 表示先用后付产品履约动作支持芝麻垫资。",
- "example" : "CREDIT_FULFILLMENT_ZM"
- },
- "buyer_id" : {
- "type" : "string",
- "description" : "买家的支付宝用户id\r\t\r\t注:\r\t1.用于校验与已存交易中的买家是否相等",
- "example" : "2088202954065786"
- },
- "buyer_open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户唯一标识\t\t注:\t1.用于校验与已存交易中的买家是否相等",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "buyer_pay_detail" : {
- "type" : "array",
- "description" : "买家支付明细\r\t\r\t目前支持的支付渠道为:\r\t- offline_pos:本次买家使用的是pos刷卡支付\r\t\r\t注:\r\t各支付工具金额总和=订单总金额",
- "items" : {
- "$ref" : "#/components/schemas/BuyerPayDetail"
- }
- },
- "fulfillment_amount" : {
- "type" : "string",
- "description" : "本次履约支付金额,单位为元,精确到小数点后两位。履约支付场景才需要传入。",
- "example" : "88.88"
- },
- "is_async_pay" : {
- "type" : "boolean",
- "description" : "是否异步支付,传入true时,表明本次期望走异步支付,会先将支付请求受理下来,再异步推进。商户可以通过交易的异步通知或者轮询交易的状态来确定最终的交易结果",
- "example" : "true"
- },
- "order_pay_mode" : {
- "type" : "string",
- "description" : "订单支付模式。特殊支付场景才需要传入。具体传参需与支付宝约定。\tCREDIT_FULFILLMENT_ZM表示基于芝麻授信的履约支付模式,比如芝麻先用后付产品。",
- "example" : "CREDIT_FULFILLMENT_ZM"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户请求号,标识一次请求的唯一id,用于幂等控制。",
- "example" : "20200320010101001"
- },
- "product_code" : {
- "type" : "string",
- "description" : "销售产品码",
- "example" : "SETTLE_OFFLINE_GROUP"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单总金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]\r\t\r\t注:\r\t1.用于校验与已存交易中的金额是否相等",
- "example" : "88.88"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2018062721001004150200645134"
- }
- }
- },
- "AlipayTradeOrderPayResponseModel" : {
- "type" : "object",
- "properties" : {
- "async_payment_mode" : {
- "type" : "string",
- "description" : "异步支付模式。订单使用异步支付模式时才有值。\t目前有五种值: ASYNC_DELAY_PAY(异步延时付款); ASYNC_REALTIME_PAY(异步准实时付款); SYNC_DIRECT_PAY(同步直接扣款); NORMAL_ASYNC_PAY(纯异步付款); QUOTA_OCCUPYIED_ASYNC_PAY(异步支付并且预占了先享后付额度);",
- "example" : "NORMAL_ASYNC_PAY"
- },
- "gmt_payment" : {
- "type" : "string",
- "description" : "交易支付时间",
- "example" : "2021-03-17 09:45:57"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户请求号",
- "example" : "20180623001001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号",
- "example" : "20180623001001"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单总金额。元为单元,精确到2位小数。",
- "example" : "120.88"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2018062721001004150200645134"
- }
- }
- },
- "AlipayTradeOrderSettleErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeOrderSettleModel" : {
- "type" : "object",
- "properties" : {
- "extend_params" : {
- "$ref" : "#/components/schemas/SettleExtendParams"
- },
- "operator_id" : {
- "type" : "string",
- "description" : "操作员 ID,商家自定义操作员编号。",
- "example" : "A0001"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "结算请求流水号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
- "example" : "20160727001"
- },
- "royalty_mode" : {
- "type" : "string",
- "description" : "分账模式,目前有两种分账同步执行sync,分账异步执行async,不传默认同步执行",
- "example" : "async"
- },
- "royalty_parameters" : {
- "type" : "array",
- "description" : "分账明细信息。\t注意:商家分账场景下分账收入方 trans_in 只支持支付宝账户,不支持使用 cardAliasNo 卡编号。",
- "items" : {
- "$ref" : "#/components/schemas/OpenApiRoyaltyDetailInfoPojo"
- }
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝订单号",
- "example" : "2014030411001007850000672009"
- }
- }
- },
- "AlipayTradeOrderSettleQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "MERCHANT_TRADE_NOT_MATCH", "OPENID_APPID_NOT_MATCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeOrderSettleQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "operation_dt" : {
- "type" : "string",
- "description" : "分账受理时间",
- "example" : "2021-07-30 12:00:00"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户分账请求单号",
- "example" : "20210727001"
- },
- "royalty_detail_list" : {
- "type" : "array",
- "description" : "分账明细",
- "items" : {
- "$ref" : "#/components/schemas/RoyaltyDetail"
- }
- }
- }
- },
- "AlipayTradeOrderSettleResponseModel" : {
- "type" : "object",
- "properties" : {
- "settle_no" : {
- "type" : "string",
- "description" : "支付宝分账单号,可以根据该单号查询单次分账请求执行结果",
- "example" : "20210718002530070036530006474222"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2015070921001004130000127422"
- }
- }
- },
- "AlipayTradeOrderinfoSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.TRADE_NOT_EXIST", "ACQ.NOTIFY_STATUS_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeOrderinfoSyncModel" : {
- "type" : "object",
- "properties" : {
- "biz_type" : {
- "type" : "string",
- "description" : "交易信息同步对应的业务类型,具体值与支付宝约定;\r\t信用授权场景下传CREDIT_AUTH\r\t信用代扣场景下传CREDIT_DEDUCT",
- "example" : "CREDIT_AUTH"
- },
- "order_biz_info" : {
- "type" : "string",
- "description" : "商户传入同步信息,具体值要和支付宝约定;用于芝麻信用租车、单次授权等信息同步场景,格式为json格式。\r\t状态枚举如下:\r\t\r\tCOMPLETE:同步用户已履约\r\t适用场景:发起扣款后,芝麻生成待履约记录,如果用户通过其他方式完成订单支付,请反馈该状态,芝麻将完结待履约记录对用户形成一条良好履约记录;\r\t\r\tCLOSED: 同步履约已取消\r\t适用场景:发起扣款后,芝麻生成待履约记录,如果发现该笔扣款无效需要取消,请反馈该状态,芝麻将取消用户待履约记录;\r\t\r\tVIOLATED: 用户已违约\r\t适用场景:如果用户在约定时间(具体根据行业约定,有一定宽限期)内未完成订单支付,反馈该状态,芝麻将对用户记录一条负面记录,请谨慎使用;",
- "example" : "{\"status\":\"COMPLETE\"}"
- },
- "orig_request_no" : {
- "type" : "string",
- "description" : "原始业务请求单号。如对某一次退款进行履约时,该字段传退款时的退款请求号",
- "example" : "HZ01RF001"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号,商家自定义。标识一笔交易多次请求,同一笔交易多次信息同步时需要保证唯一。",
- "example" : "HZ01RF001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2018061021001004680073956707"
- }
- }
- },
- "AlipayTradeOrderinfoSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "buyer_open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "buyer_user_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "2088101117955611"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号",
- "example" : "20180610010101001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "20180610121001004680073956707"
- }
- }
- },
- "AlipayTradeOverseasSettleErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeOverseasSettleModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "跨境结算的人民币金额,单位为元;等于交易金额 (实际为实收金额),加上净补差金额,减去已退款金额,减去净收费金额,再减去净分账金额,",
- "example" : "3.14"
- },
- "extend_params" : {
- "$ref" : "#/components/schemas/OverseasExtendParams"
- },
- "foreign_settle_currency" : {
- "type" : "string",
- "description" : "跨境结算的外币币种",
- "example" : "USD"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号,开发者自行生成并保证唯一性,作为业务幂等性控制",
- "example" : "20160727001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2020121921001004130000127421"
- }
- }
- },
- "AlipayTradeOverseasSettleResponseModel" : {
- "type" : "object",
- "properties" : {
- "exchange_rate" : {
- "type" : "string",
- "description" : "本笔跨境结算使用的汇率,精度 8 位小数",
- "example" : "6.83950000"
- },
- "foreign_settle_amount" : {
- "type" : "string",
- "description" : "本次跨境结算的实际结算外币金额",
- "example" : "1.00"
- },
- "foreign_settle_currency" : {
- "type" : "string",
- "description" : "本笔跨境结算实际结算的外币币种",
- "example" : "USD"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "请求流水号,开发者自行生成并保证唯一性,作为业务幂等性控制",
- "example" : "20160727001"
- },
- "settle_amount" : {
- "type" : "string",
- "description" : "本次跨境结算的实际结算人民币金额",
- "example" : "6.00"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2020121921001004130000127421"
- }
- }
- },
- "AlipayTradePayErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradePayModel" : {
- "type" : "object",
- "properties" : {
- "advance_payment_type" : {
- "type" : "string",
- "description" : "支付模式类型,若值为ENJOY_PAY_V2表示当前交易允许走先享后付2.0垫资",
- "example" : "ENJOY_PAY_V2"
- },
- "agreement_params" : {
- "$ref" : "#/components/schemas/AgreementParams"
- },
- "alipay_store_id" : {
- "type" : "string",
- "description" : "支付宝店铺编号。\t指商户创建球房后支付宝生成的球房ID。",
- "example" : "2016041400077000000003314986"
- },
- "auth_code" : {
- "type" : "string",
- "description" : "支付授权码。\t当面付场景传买家的付款码(25~30开头的长度为16~24位的数字,实际字符串长度以开发者获取的付款码长度为准)或者刷脸标识串(fp开头的35位字符串);\t周期扣款或代扣场景无需传入,协议号通过agreement_params参数传递; \t支付宝预授权和新当面资金授权场景无需传入,授权订单号通过 auth_no字段传入。\t注:交易的买家与卖家不能相同。",
- "example" : "28763443825664394"
- },
- "auth_confirm_mode" : {
- "type" : "string",
- "description" : "预授权确认模式。\t适用于支付宝预授权和新当面资金授权场景。枚举值:\tCOMPLETE:转交易完成后解冻剩余冻结金额;\tNOT_COMPLETE:转交易完成后不解冻剩余冻结金额;\t默认值为NOT_COMPLETE。",
- "example" : "COMPLETE"
- },
- "auth_no" : {
- "type" : "string",
- "description" : "资金预授权单号。\t支付宝预授权和新当面资金授权场景下必填。",
- "example" : "2016110310002001760201905725"
- },
- "bkagent_req_info" : {
- "$ref" : "#/components/schemas/BkAgentReqInfo"
- },
- "body" : {
- "type" : "string",
- "description" : "订单附加信息。\t如果请求时传递了该参数,将在异步通知、对账单中原样返回,同时会在商户和用户的pc账单详情中作为交易描述展示",
- "example" : "Iphone6 16G"
- },
- "business_params" : {
- "$ref" : "#/components/schemas/BusinessParams"
- },
- "buyer_id" : {
- "type" : "string",
- "description" : "买家支付宝用户ID。\t支付宝预授权和新当面资金授权场景下必填,其它场景不需要传入。",
- "example" : "2088202954065786"
- },
- "buyer_open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "disable_pay_channels" : {
- "type" : "string",
- "description" : "禁用支付渠道。\t多个渠道以逗号分割,如同时禁用信用支付类型和积分,则传入:\"credit_group,point\"。\t支持传入的值:<a target=\"_blank\" href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>",
- "example" : "credit_group"
- },
- "discountable_amount" : {
- "type" : "string",
- "description" : "可打折金额。\t参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
- "example" : "80.00"
- },
- "ext_user_info" : {
- "$ref" : "#/components/schemas/ExtUserInfo"
- },
- "extend_params" : {
- "$ref" : "#/components/schemas/ExtendParams"
- },
- "goods_detail" : {
- "type" : "array",
- "description" : "订单包含的商品列表信息,json格式。",
- "items" : {
- "$ref" : "#/components/schemas/GoodsDetail"
- }
- },
- "is_async_pay" : {
- "type" : "boolean",
- "description" : "是否异步支付,传入true时,表明本次期望走异步支付,会先将支付请求受理下来,再异步推进。商户可以通过交易的异步通知或者轮询交易的状态来确定最终的交易结果。\t只在代扣场景下有效,其它场景无需传入。",
- "example" : "false"
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "商户的原始订单号",
- "example" : "201008123456789"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "operator_id" : {
- "type" : "string",
- "description" : "商户操作员编号。",
- "example" : "yx_001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号。\t由商家自定义,64个字符以内,仅支持字母、数字、下划线且需保证在商户端不重复。",
- "example" : "20150320010101001"
- },
- "passback_params" : {
- "type" : "string",
- "description" : "公用回传参数。\t如果请求时传递了该参数,支付宝会在异步通知时将该参数原样返回。",
- "example" : "merchantBizType%3d3C%26merchantBizNo%3d2016010101111"
- },
- "pay_params" : {
- "$ref" : "#/components/schemas/PayParams"
- },
- "product_code" : {
- "type" : "string",
- "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注意:非当面付产品使用本接口时,本参数必填。请传入对应产品码。",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "promo_params" : {
- "$ref" : "#/components/schemas/PromoParam"
- },
- "query_options" : {
- "type" : "array",
- "description" : "返回参数选项。\t商户通过传递该参数来定制同步需要额外返回的信息字段,数组格式。包括但不限于:[\"fund_bill_list\",\"voucher_detail_list\",\"enterprise_pay_info\",\"discount_goods_detail\",\"discount_amount\",\"mdiscount_amount\"]",
- "items" : {
- "type" : "string"
- },
- "example" : "voucher_detail_list"
- },
- "request_org_pid" : {
- "type" : "string",
- "description" : "收单机构(例如银行)的标识,填写该机构在支付宝的pid。只在机构间联场景下传递该值。",
- "example" : "2088201916734621"
- },
- "royalty_info" : {
- "$ref" : "#/components/schemas/RoyaltyInfo"
- },
- "scene" : {
- "type" : "string",
- "description" : "支付场景。枚举值:\tbar_code:当面付条码支付场景;\tsecurity_code:当面付刷脸支付场景,对应的auth_code为fp开头的刷脸标识串;\t周期扣款或代扣场景无需传入,协议号通过agreement_params参数传递; \t支付宝预授权和新当面资金授权场景无需传入,授权订单号通过 auth_no字段传入。\t默认值为bar_code。",
- "example" : "bar_code"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "卖家支付宝用户ID。\t当需要指定收款账号时,通过该参数传入,如果该值为空,则默认为商户签约账号对应的支付宝用户ID。\t收款账号优先级规则:球房绑定的收款账户>请求传入的seller_id>商户签约账号对应的支付宝用户ID;\t注:直付通和机构间联场景下seller_id无需传入或者保持跟pid一致;\t如果传入的seller_id与pid不一致,需要联系支付宝小二配置收款关系;\t支付宝预授权和新当面资金授权场景下必填。",
- "example" : "2088102146225135"
- },
- "settle_currency" : {
- "type" : "string",
- "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",
- "example" : "USD"
- },
- "settle_info" : {
- "$ref" : "#/components/schemas/SettleInfo"
- },
- "store_id" : {
- "type" : "string",
- "description" : "商户球房编号。\t指商户创建球房时输入的球房编号。",
- "example" : "NJ_001"
- },
- "sub_merchant" : {
- "$ref" : "#/components/schemas/SubMerchant"
- },
- "subject" : {
- "type" : "string",
- "description" : "订单标题。\t注意:不可使用特殊字符,如 /,=,& 等。",
- "example" : "Iphone6 16G"
- },
- "terminal_id" : {
- "type" : "string",
- "description" : "商户机具终端编号。",
- "example" : "NJ_T_001"
- },
- "terminal_params" : {
- "type" : "string",
- "description" : "IOT设备信息。\t通过集成IOTSDK的机具发起的交易时传入,取值为IOTSDK生成的业务签名值。",
- "example" : "{\"terminalType\":\"IOT\",\"signature\":\"EXXXX\",\"apdidToken\":\"iBfdgYbXXX\",\"hardToken\":\"06014698AEFXXX\",\"time\":\"1533061133\",\"bizCode\":\"11002200020\",\"bizTid\":\"0100200mWXXX\",\"signedKeys\":\"authCode,totalAmount,apdidToken,hardToken,time,bizCode,bizTid\"}"
- },
- "time_expire" : {
- "type" : "string",
- "description" : "订单绝对超时时间。\t格式为yyyy-MM-dd HH:mm:ss。超时时间范围:1m~15d。\t注:time_expire和timeout_express两者只需传入一个或者都不传,如果两者都传,优先使用time_expire。",
- "example" : "2021-12-31 10:05:00"
- },
- "timeout_express" : {
- "type" : "string",
- "description" : "订单相对超时时间。从交易创建时间开始计算。\t\t该笔订单允许的最晚付款时间,逾期将关闭交易。取值范围:1m~15d。m-分钟,h-小时,d-天,1c-当天(1c-当天的情况下,无论交易何时创建,都在0点关闭)。 该参数数值不接受小数点, 如 1.5h,可转换为 90m。\t\t当面付场景默认值为3h;\t\t其它场景默认值为15d;",
- "example" : "90m"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单总金额。\t单位为元,精确到小数点后两位,取值范围:[0.01,100000000] 。",
- "example" : "88.88"
- },
- "trans_currency" : {
- "type" : "string",
- "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",
- "example" : "USD"
- },
- "undiscountable_amount" : {
- "type" : "string",
- "description" : "不可打折金额。\t不参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
- "example" : "8.88"
- }
- }
- },
- "AlipayTradePayResponseModel" : {
- "type" : "object",
- "properties" : {
- "advance_amount" : {
- "type" : "string",
- "description" : "先享后付2.0垫资金额,不返回表示没有走垫资,非空表示垫资支付的金额",
- "example" : "88.8"
- },
- "async_payment_mode" : {
- "type" : "string",
- "description" : "异步支付模式,目前有五种值:\tASYNC_DELAY_PAY(异步延时付款);\tASYNC_REALTIME_PAY(异步准实时付款);\tSYNC_DIRECT_PAY(同步直接扣款);\tNORMAL_ASYNC_PAY(纯异步付款);\tQUOTA_OCCUPYIED_ASYNC_PAY(异步支付并且预占了先享后付额度);",
- "example" : "SYNC_DIRECT_PAY"
- },
- "auth_trade_pay_mode" : {
- "type" : "string",
- "description" : "预授权支付模式,该参数仅在信用预授权支付场景下返回。信用预授权支付:CREDIT_PREAUTH_PAY",
- "example" : "CREDIT_PREAUTH_PAY"
- },
- "bkagent_resp_info" : {
- "$ref" : "#/components/schemas/BkAgentRespInfo"
- },
- "business_params" : {
- "type" : "string",
- "description" : "商户传入业务信息,具体值要和支付宝约定\r\t将商户传入信息分发给相应系统,应用于安全,营销等参数直传场景\r\t格式为json格式",
- "example" : "{\"data\":\"123\"}"
- },
- "buyer_logon_id" : {
- "type" : "string",
- "description" : "买家支付宝账号",
- "example" : "159****5620"
- },
- "buyer_open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "buyer_pay_amount" : {
- "type" : "string",
- "description" : "买家付款的金额",
- "example" : "8.88"
- },
- "buyer_user_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "2088101117955611"
- },
- "buyer_user_name" : {
- "type" : "string",
- "description" : "买家名称;\r\t买家为个人用户时为买家姓名,买家为企业用户时为企业名称;\r\t默认不返回该信息,需与支付宝约定后配置返回;",
- "example" : "菜鸟网络有限公司"
- },
- "buyer_user_type" : {
- "type" : "string",
- "description" : "买家用户类型。CORPORATE:企业用户;PRIVATE:个人用户。",
- "example" : "PRIVATE"
- },
- "can_turn_to_app_pay" : {
- "type" : "string",
- "description" : "是否可以转为app支付,仅当商户代扣失败场景才会返回该字段信息",
- "example" : "true"
- },
- "card_balance" : {
- "type" : "string",
- "description" : "支付宝卡余额",
- "example" : "98.23"
- },
- "charge_amount" : {
- "type" : "string",
- "description" : "该笔交易针对收款方的收费金额;\t只在机构间联模式下返回,其它场景下不返回该字段;",
- "example" : "8.88"
- },
- "charge_flags" : {
- "type" : "string",
- "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注:只在机构间联模式下返回,其它场景下不返回该字段;",
- "example" : "industry_special_00"
- },
- "charge_info_list" : {
- "$ref" : "#/components/schemas/ChargeInfo"
- },
- "credit_biz_order_id" : {
- "type" : "string",
- "description" : "信用业务单号。信用支付场景才有值。先用后付产品里是芝麻订单号。",
- "example" : "ZMCB99202103310000450000041833"
- },
- "credit_pay_mode" : {
- "type" : "string",
- "description" : "信用支付模式。表示订单是采用信用支付方式(支付时买家没有出资,需要后续履约)。\"creditAdvanceV2\"表示芝麻先用后付模式,用户后续需要履约扣款。 此字段只有信用支付场景才有值,商户需要根据字段值单独处理。此字段以后可能扩展其他值,建议商户使用白名单方式识别,对于未识别的值做失败处理,并联系支付宝技术支持人员。",
- "example" : "creditAdvanceV2"
- },
- "discount_amount" : {
- "type" : "string",
- "description" : "平台优惠金额",
- "example" : "88.88"
- },
- "discount_goods_detail" : {
- "type" : "string",
- "description" : "本次交易支付所使用的单品券优惠的商品优惠信息。\t只有在query_options中指定时才返回该字段信息。",
- "example" : "[{\"goods_id\":\"STANDARD1026181538\",\"goods_name\":\"雪碧\",\"discount_amount\":\"100.00\",\"voucher_id\":\"2015102600073002039000002D5O\"}]"
- },
- "enterprise_pay_info" : {
- "$ref" : "#/components/schemas/EnterprisePayInfo"
- },
- "fund_bill_list" : {
- "type" : "array",
- "description" : "交易支付使用的资金渠道。\t只有在签约中指定需要返回资金明细,或者入参的query_options中指定时才返回该字段信息。",
- "items" : {
- "$ref" : "#/components/schemas/TradeFundBill"
- }
- },
- "gmt_payment" : {
- "type" : "string",
- "description" : "交易支付时间",
- "example" : "2014-11-27 15:45:57"
- },
- "hyb_amount" : {
- "type" : "string",
- "description" : "惠营宝回票金额",
- "example" : "10.24"
- },
- "invoice_amount" : {
- "type" : "string",
- "description" : "交易中可给用户开具发票的金额",
- "example" : "12.50"
- },
- "mdiscount_amount" : {
- "type" : "string",
- "description" : "商家优惠金额",
- "example" : "88.88"
- },
- "open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户号,该参数已废弃,请不要使用",
- "example" : "2088102122524333"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号",
- "example" : "6823789339978248"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "支付币种订单金额",
- "example" : "580.04"
- },
- "pay_currency" : {
- "type" : "string",
- "description" : "支付币种",
- "example" : "CNY"
- },
- "point_amount" : {
- "type" : "string",
- "description" : "使用集分宝付款的金额",
- "example" : "8.12"
- },
- "receipt_amount" : {
- "type" : "string",
- "description" : "实收金额",
- "example" : "88.88"
- },
- "receipt_currency_type" : {
- "type" : "string",
- "description" : "收款资金类型,当交易收款资金为数字人民币时返回值为“DC”,否则不返回该字段。",
- "example" : "DC"
- },
- "settle_amount" : {
- "type" : "string",
- "description" : "结算币种订单金额",
- "example" : "88.88"
- },
- "settle_currency" : {
- "type" : "string",
- "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",
- "example" : "USD"
- },
- "settle_trans_rate" : {
- "type" : "string",
- "description" : "结算币种兑换标价币种汇率",
- "example" : "1"
- },
- "settlement_id" : {
- "type" : "string",
- "description" : "支付清算编号,用于清算对账使用;\t只在机构间联模式下返回,其它场景下不返回该字段;",
- "example" : "2018101610032004620239146945"
- },
- "store_name" : {
- "type" : "string",
- "description" : "发生支付交易的商户球房名称",
- "example" : "证大五道口店"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "交易金额",
- "example" : "120.88"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2013112011001004330000121536"
- },
- "trans_currency" : {
- "type" : "string",
- "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",
- "example" : "USD"
- },
- "trans_pay_rate" : {
- "type" : "string",
- "description" : "标价币种兑换支付币种汇率",
- "example" : "6.5261"
- },
- "voucher_detail_list" : {
- "type" : "array",
- "description" : "本交易支付时使用的所有优惠券信息。\t只有在query_options中指定时才返回该字段信息。",
- "items" : {
- "$ref" : "#/components/schemas/VoucherDetail"
- }
- }
- }
- },
- "AlipayTradePrecreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradePrecreateModel" : {
- "type" : "object",
- "properties" : {
- "alipay_store_id" : {
- "type" : "string",
- "description" : "支付宝店铺编号。\t指商户创建球房后支付宝生成的球房ID。",
- "example" : "2016052600077000000015640104"
- },
- "bkagent_req_info" : {
- "$ref" : "#/components/schemas/BkAgentReqInfo"
- },
- "body" : {
- "type" : "string",
- "description" : "订单附加信息。\t如果请求时传递了该参数,将在异步通知、对账单中原样返回,同时会在商户和用户的pc账单详情中作为交易描述展示",
- "example" : "Iphone6 16G"
- },
- "business_params" : {
- "$ref" : "#/components/schemas/BusinessParams"
- },
- "buyer_logon_id" : {
- "type" : "string",
- "description" : "买家支付宝账号",
- "example" : "15901825620"
- },
- "code_type" : {
- "type" : "string",
- "description" : "码类型,如果请求时传入了share_code,将在响应参数返回吱口令;如果为空,则默认为订单码",
- "example" : "share_code"
- },
- "disable_pay_channels" : {
- "type" : "string",
- "description" : "禁用渠道,用户不可用指定渠道支付,多个渠道以逗号分割\t注,与enable_pay_channels互斥\t<a href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>",
- "example" : "pcredit,moneyFund,debitCardExpress"
- },
- "discountable_amount" : {
- "type" : "string",
- "description" : "可打折金额。\t参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
- "example" : "80.00"
- },
- "enable_pay_channels" : {
- "type" : "string",
- "description" : "指定支付渠道。\t用户只能使用指定的渠道进行支付,多个渠道以逗号分割。\t与disable_pay_channels互斥,支持传入的值:<a target=\"_blank\" href=\"https://docs.open.alipay.com/common/wifww7\">渠道列表</a>。\t注:如果传入了指定支付渠道,则用户只能用指定内的渠道支付,包括营销渠道也要指定才能使用。该参数可能导致用户支付受限,慎用。",
- "example" : "pcredit,moneyFund,debitCardExpress"
- },
- "ext_user_info" : {
- "$ref" : "#/components/schemas/ExtUserInfo"
- },
- "extend_params" : {
- "$ref" : "#/components/schemas/ExtendParams"
- },
- "goods_detail" : {
- "type" : "array",
- "description" : "订单包含的商品列表信息.json格式. 其它说明详见:“商品明细说明”",
- "items" : {
- "$ref" : "#/components/schemas/GoodsDetail"
- }
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "商户的原始订单号",
- "example" : "20161008001"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "operator_id" : {
- "type" : "string",
- "description" : "商户操作员编号。",
- "example" : "yx_001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号。\t由商家自定义,64个字符以内,仅支持字母、数字、下划线且需保证在商户端不重复。",
- "example" : "20150320010101001"
- },
- "passback_params" : {
- "type" : "string",
- "description" : "公用回传参数。\t如果请求时传递了该参数,支付宝会在异步通知时将该参数原样返回。",
- "example" : "merchantBizType%3d3C%26merchantBizNo%3d2016010101111"
- },
- "product_code" : {
- "type" : "string",
- "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。",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "qr_code_timeout_express" : {
- "type" : "string",
- "description" : "二维码订单相对超时时间。\t该笔订单允许的最晚付款时间,逾期将关闭交易,从生成二维码开始计时。 取值范围:1m~15d。m-分钟,h-小时,d-天,1c-当天(1c-当天的情况下,无论交易何时创建,都在0点关闭)。 该参数数值不接受小数点, 如 1.5h,可转换为 90m。\t注:二维码最长有效期是2小时,不管该参数传递的值是多少,超过2小时后二维码都将失效不能再进行扫码支付。",
- "example" : "90m"
- },
- "query_options" : {
- "type" : "array",
- "description" : "返回参数选项。 商户通过传递该参数来定制需要额外返回的信息字段,数组格式。包括但不限于:[\"hyb_amount\",\"enterprise_pay_info\"]",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"hyb_amount\",\"enterprise_pay_info\"]"
- },
- "royalty_info" : {
- "$ref" : "#/components/schemas/RoyaltyInfo"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "卖家支付宝用户ID。\t当需要指定收款账号时,通过该参数传入,如果该值为空,则默认为商户签约账号对应的支付宝用户ID。\t收款账号优先级规则:球房绑定的收款账户>请求传入的seller_id>商户签约账号对应的支付宝用户ID;\t注:直付通和机构间联场景下seller_id无需传入或者保持跟pid一致;\t如果传入的seller_id与pid不一致,需要联系支付宝小二配置收款关系;",
- "example" : "2088102146225135"
- },
- "settle_info" : {
- "$ref" : "#/components/schemas/SettleInfo"
- },
- "store_id" : {
- "type" : "string",
- "description" : "商户球房编号。\t指商户创建球房时输入的球房编号。",
- "example" : "NJ_001"
- },
- "sub_merchant" : {
- "$ref" : "#/components/schemas/SubMerchant"
- },
- "subject" : {
- "type" : "string",
- "description" : "订单标题。\t注意:不可使用特殊字符,如 /,=,& 等。",
- "example" : "Iphone6 16G"
- },
- "terminal_id" : {
- "type" : "string",
- "description" : "商户机具终端编号。",
- "example" : "NJ_T_001"
- },
- "time_expire" : {
- "type" : "string",
- "description" : "订单绝对超时时间。\t格式为yyyy-MM-dd HH:mm:ss。\t注:time_expire和timeout_express两者只需传入一个或者都不传,如果两者都传,优先使用time_expire。",
- "example" : "2021-12-31 10:05:00"
- },
- "timeout_express" : {
- "type" : "string",
- "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。",
- "example" : "90m"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单总金额。\t单位为元,精确到小数点后两位,取值范围:[0.01,100000000] 。",
- "example" : "88.88"
- },
- "undiscountable_amount" : {
- "type" : "string",
- "description" : "不可打折金额。\t不参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0.01,100000000]。 \t如果同时传入了【可打折金额】、【不可打折金额】和【订单总金额】,则必须满足如下条件:【订单总金额】=【可打折金额】+【不可打折金额】。\t如果订单金额全部参与优惠计算,则【可打折金额】和【不可打折金额】都无需传入。",
- "example" : "8.88"
- }
- }
- },
- "AlipayTradePrecreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户的订单号",
- "example" : "6823789339978248"
- },
- "qr_code" : {
- "type" : "string",
- "description" : "当前预下单请求生成的二维码码串,有效时间2小时,可以用二维码生成工具根据该码串值生成对应的二维码",
- "example" : "https://qr.alipay.com/bavh4wjlxf12tper3a"
- },
- "share_code" : {
- "type" : "string",
- "description" : "当前预下单请求生成的吱口令码串,有效时间2小时,可以在支付宝app端访问对应内容",
- "example" : "chb4n8A94Qc"
- }
- }
- },
- "AlipayTradeQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ACQ.SYSTEM_ERROR", "ACQ.INVALID_PARAMETER", "ACQ.TRADE_NOT_EXIST", "ACQ.ENTERPRISE_PAY_BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeQueryModel" : {
- "type" : "object",
- "properties" : {
- "org_pid" : {
- "type" : "string",
- "description" : "银行间联模式下有用,其它场景请不要使用;\r\t双联通过该参数指定需要查询的交易所属收单机构的pid;",
- "example" : "2088101117952222"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "订单支付时传入的商户订单号,和支付宝交易号不能同时为空。\r\ttrade_no,out_trade_no如果同时存在优先取trade_no",
- "example" : "20150320010101001"
- },
- "query_options" : {
- "type" : "array",
- "description" : "查询选项,商户传入该参数可定制本接口同步响应额外返回的信息字段,数组格式。支持枚举如下:trade_settle_info:返回的交易结算信息,包含分账、补差等信息;\tfund_bill_list:交易支付使用的资金渠道;\tvoucher_detail_list:交易支付时使用的所有优惠券信息;\tdiscount_goods_detail:交易支付所使用的单品券优惠的商品优惠信息;\tmdiscount_amount:商家优惠金额;",
- "items" : {
- "type" : "string"
- },
- "example" : "trade_settle_info"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号,和商户订单号不能同时为空",
- "example" : "2014112611001004680 073956707"
- }
- }
- },
- "AlipayTradeQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "alipay_store_id" : {
- "type" : "string",
- "description" : "支付宝店铺编号",
- "example" : "2015040900077001000100001232"
- },
- "alipay_sub_merchant_id" : {
- "type" : "string",
- "description" : "间连商户在支付宝端的商户编号;\t 只在银行间联交易场景下返回该信息;",
- "example" : "2088301372182171"
- },
- "auth_trade_pay_mode" : {
- "type" : "string",
- "description" : "预授权支付模式,该参数仅在信用预授权支付场景下返回。信用预授权支付:CREDIT_PREAUTH_PAY",
- "example" : "CREDIT_PREAUTH_PAY"
- },
- "bkagent_resp_info" : {
- "$ref" : "#/components/schemas/BkAgentRespInfo"
- },
- "body" : {
- "type" : "string",
- "description" : "订单描述;\t只在银行间联交易场景下返回该信息;",
- "example" : "Iphone6 16G"
- },
- "buyer_logon_id" : {
- "type" : "string",
- "description" : "买家支付宝账号",
- "example" : "159****5620"
- },
- "buyer_open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户唯一标识",
- "example" : "01501o8f93I3nJAGB1jG4ONxtxV25DCN3Gec3uggnC4CJU0"
- },
- "buyer_pay_amount" : {
- "type" : "string",
- "description" : "买家实付金额,单位为元,两位小数。该金额代表该笔交易买家实际支付的金额,不包含商户折扣等金额",
- "example" : "8.88"
- },
- "buyer_user_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "2088101117955611"
- },
- "buyer_user_name" : {
- "type" : "string",
- "description" : "买家名称;\r\t买家为个人用户时为买家姓名,买家为企业用户时为企业名称;\r\t默认不返回该信息,需与支付宝约定后配置返回;",
- "example" : "菜鸟网络有限公司"
- },
- "buyer_user_type" : {
- "type" : "string",
- "description" : "买家用户类型。CORPORATE:企业用户;PRIVATE:个人用户。",
- "example" : "PRIVATE"
- },
- "charge_amount" : {
- "type" : "string",
- "description" : "该笔交易针对收款方的收费金额;单位:元。\t 只在银行间联交易场景下返回该信息;",
- "example" : "8.88"
- },
- "charge_flags" : {
- "type" : "string",
- "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注:只在机构间联模式下返回,其它场景下不返回该字段; ",
- "example" : "bluesea_1"
- },
- "charge_info_list" : {
- "type" : "array",
- "description" : "计费信息列表",
- "items" : {
- "$ref" : "#/components/schemas/ChargeInfo"
- }
- },
- "credit_biz_order_id" : {
- "type" : "string",
- "description" : "信用业务单号。信用支付场景才有值,先用后付产品里是芝麻订单号。",
- "example" : "ZMCB99202103310000450000041833"
- },
- "credit_pay_mode" : {
- "type" : "string",
- "description" : "信用支付模式。表示订单是采用信用支付方式(支付时买家没有出资,需要后续履约)。\"creditAdvanceV2\"表示芝麻先用后付模式,用户后续需要履约扣款。 此字段只有信用支付场景才有值,商户需要根据字段值单独处理。此字段以后可能扩展其他值,建议商户使用白名单方式识别,对于未识别的值做失败处理,并联系支付宝技术支持人员。",
- "example" : "creditAdvanceV2"
- },
- "discount_amount" : {
- "type" : "string",
- "description" : "平台优惠金额。单位:元。",
- "example" : "88.88"
- },
- "discount_goods_detail" : {
- "type" : "string",
- "description" : "本次交易支付所使用的单品券优惠的商品优惠信息。\t只有在query_options中指定时才返回该字段信息。",
- "example" : "[{\"goods_id\":\"STANDARD1026181538\",\"goods_name\":\"雪碧\",\"discount_amount\":\"100.00\",\"voucher_id\":\"2015102600073002039000002D5O\"}]"
- },
- "enterprise_pay_info" : {
- "$ref" : "#/components/schemas/EnterprisePayInfo"
- },
- "ext_infos" : {
- "type" : "string",
- "description" : "交易额外信息,特殊场景下与支付宝约定返回。\tjson格式。",
- "example" : "{\"action\":\"cancel\"}"
- },
- "fund_bill_list" : {
- "type" : "array",
- "description" : "交易支付使用的资金渠道。\t只有在签约中指定需要返回资金明细,或者入参的query_options中指定时才返回该字段信息。",
- "items" : {
- "$ref" : "#/components/schemas/TradeFundBill"
- }
- },
- "hb_fq_pay_info" : {
- "$ref" : "#/components/schemas/HbFqPayInfo"
- },
- "hyb_amount" : {
- "type" : "string",
- "description" : "惠营宝回票金额。单位:元。",
- "example" : "10.24"
- },
- "industry_sepc_detail" : {
- "type" : "string",
- "description" : "行业特殊信息(例如在医保卡支付业务中,向用户返回医疗信息)。",
- "example" : "{\"registration_order_pay\":{\"brlx\":\"1\",\"cblx\":\"1\"}}"
- },
- "industry_sepc_detail_acc" : {
- "type" : "string",
- "description" : "行业特殊信息-个账相关",
- "example" : "{\"registration_order_pay\":{\"brlx\":\"1\",\"cblx\":\"1\"}}"
- },
- "industry_sepc_detail_gov" : {
- "type" : "string",
- "description" : "行业特殊信息-统筹相关",
- "example" : "{\"registration_order_pay\":{\"brlx\":\"1\",\"cblx\":\"1\"}}"
- },
- "invoice_amount" : {
- "type" : "string",
- "description" : "交易中用户支付的可开具发票的金额,单位为元,两位小数。该金额代表该笔交易中可以给用户开具发票的金额",
- "example" : "12.11"
- },
- "mdiscount_amount" : {
- "type" : "string",
- "description" : "商家优惠金额。单位:元。",
- "example" : "88.88"
- },
- "open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户号,该字段将废弃,不要使用",
- "example" : "2088102122524333"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商家订单号",
- "example" : "6823789339978248"
- },
- "passback_params" : {
- "type" : "string",
- "description" : "公用回传参数。\t返回支付时传入的passback_params参数信息",
- "example" : "merchantBizType%3d3C%26merchantBizNo%3d2016010101111"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "支付币种订单金额",
- "example" : "8.88"
- },
- "pay_currency" : {
- "type" : "string",
- "description" : "订单支付币种",
- "example" : "CNY"
- },
- "point_amount" : {
- "type" : "string",
- "description" : "积分支付的金额,单位为元,两位小数。该金额代表该笔交易中用户使用积分支付的金额,比如集分宝或者支付宝实时优惠等",
- "example" : "10"
- },
- "receipt_amount" : {
- "type" : "string",
- "description" : "实收金额,单位为元,两位小数。该金额为本笔交易,商户账户能够实际收到的金额",
- "example" : "15.25"
- },
- "receipt_currency_type" : {
- "type" : "string",
- "description" : "收款资金类型,当交易收款资金为数字人民币时返回值为“DC”,否则不返回该字段。",
- "example" : "DC"
- },
- "send_pay_date" : {
- "type" : "string",
- "description" : "本次交易打款给卖家的时间",
- "example" : "2014-11-27 15:45:57"
- },
- "settle_amount" : {
- "type" : "string",
- "description" : "结算币种订单金额",
- "example" : "2.96"
- },
- "settle_currency" : {
- "type" : "string",
- "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",
- "example" : "USD"
- },
- "settle_trans_rate" : {
- "type" : "string",
- "description" : "结算币种兑换标价币种汇率",
- "example" : "30.025"
- },
- "settlement_id" : {
- "type" : "string",
- "description" : "支付清算编号,用于清算对账使用;\r\t只在银行间联交易场景下返回该信息;",
- "example" : "2018101610032004620239146945"
- },
- "store_id" : {
- "type" : "string",
- "description" : "商户球房编号",
- "example" : "NJ_S_001"
- },
- "store_name" : {
- "type" : "string",
- "description" : "请求交易支付中的商户店铺的名称",
- "example" : "证大五道口店"
- },
- "subject" : {
- "type" : "string",
- "description" : "订单标题;\t 只在银行间联交易场景下返回该信息;",
- "example" : "Iphone6 16G"
- },
- "terminal_id" : {
- "type" : "string",
- "description" : "商户机具终端编号",
- "example" : "NJ_T_001"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "交易的订单金额,单位为元,两位小数。该参数的值为支付时传入的total_amount",
- "example" : "88.88"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2013112011001004330000121536"
- },
- "trade_settle_info" : {
- "$ref" : "#/components/schemas/TradeSettleInfo"
- },
- "trade_status" : {
- "type" : "string",
- "description" : "交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款)",
- "example" : "TRADE_CLOSED"
- },
- "trans_currency" : {
- "type" : "string",
- "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",
- "example" : "TWD"
- },
- "trans_pay_rate" : {
- "type" : "string",
- "description" : "标价币种兑换支付币种汇率",
- "example" : "0.264"
- },
- "voucher_detail_list" : {
- "type" : "array",
- "description" : "本交易支付时使用的所有优惠券信息。\t只有在query_options中指定时才返回该字段信息。",
- "items" : {
- "$ref" : "#/components/schemas/VoucherDetail"
- }
- }
- }
- },
- "AlipayTradeRefundApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeRefundApplyModel" : {
- "type" : "object",
- "properties" : {
- "extend_params" : {
- "type" : "string",
- "description" : "商户传入业务信息,具体值要和支付宝约定,格式为json格式。\r\t医保退款场景下,DESIGNATED_REFUND_ASSET为INNER_ASSET表示只退自费部分,DESIGNATED_REFUND_ASSET为OUTSIDE_ASSET表示只退医保部分,医保部分不支持部分退。退医保资金必需传cancel_bill_no和cancel_serial_no。",
- "example" : "{\"DESIGNATED_REFUND_ASSET\" :\"OUTSIDE_ASSET\",\"cancel_bill_no\":\"ZF26039675\",\"cancel_serial_no\":\"77640503\"}"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "operator_id" : {
- "type" : "string",
- "description" : "商户的操作员编号",
- "example" : "OP001"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "标识一次退款请求,同一笔交易多次退款需要保证唯一,如需部分退款,则此参数必传。",
- "example" : "HZ01RF001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "订单支付时传入的商户订单号,不能和 trade_no同时为空",
- "example" : "20150320010101001"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "需要退款的金额,该金额不能大于订单金额,单位为元,支持两位小数",
- "example" : "200.12"
- },
- "refund_fund_details" : {
- "type" : "array",
- "description" : "退款资金明细\r\t注:目前只有SETTLE_OFFLINE_GROUP产品的退款支持该字段",
- "items" : {
- "$ref" : "#/components/schemas/OpenApiRefundFundDetailPojo"
- }
- },
- "refund_reason" : {
- "type" : "string",
- "description" : "退款的原因说明",
- "example" : "正常退款"
- },
- "store_id" : {
- "type" : "string",
- "description" : "商户的球房编号",
- "example" : "NJ_S_001"
- },
- "terminal_id" : {
- "type" : "string",
- "description" : "商户的终端编号",
- "example" : "NJ_T_001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号,和商户订单号不能同时为空",
- "example" : "2014112611001004680073956707"
- }
- }
- },
- "AlipayTradeRefundApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "out_request_no" : {
- "type" : "string",
- "description" : "本笔退款对应的退款请求号",
- "example" : "HZ01RF001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号",
- "example" : "20150320010101001"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "本次退款请求,对应的退款金额",
- "example" : "200.12"
- },
- "refund_status" : {
- "type" : "string",
- "description" : "REFUND_PROCESSING 退款处理中;REFUND_SUCCESS 退款处理成功;REFUND_FAIL 退款失败",
- "example" : "REFUND_PROCESSING"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2014112611001004680073956707"
- }
- }
- },
- "AlipayTradeRefundErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeRefundModel" : {
- "type" : "object",
- "properties" : {
- "goods_detail" : {
- "type" : "array",
- "description" : "退款包含的商品列表信息,Json格式。",
- "items" : {
- "$ref" : "#/components/schemas/GoodsDetail"
- }
- },
- "operator_id" : {
- "type" : "string",
- "description" : "商户的操作员编号",
- "example" : "OP001"
- },
- "org_pid" : {
- "type" : "string",
- "description" : "银行间联模式下有用,其它场景请不要使用;\r\t双联通过该参数指定需要退款的交易所属收单机构的pid;",
- "example" : "2088101117952222"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "退款请求号。\t标识一次退款请求,需要保证在交易号下唯一,如需部分退款,则此参数必传。\t注:针对同一次退款请求,如果调用接口失败或异常了,重试时需要保证退款请求号不能变更,防止该笔交易重复退款。支付宝会保证同样的退款请求号多次请求只会退一次。",
- "example" : "HZ01RF001"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号。\t订单支付时传入的商户订单号,商家自定义且保证商家系统中唯一。与支付宝交易号 trade_no 不能同时为空。",
- "example" : "20150320010101001"
- },
- "query_options" : {
- "type" : "array",
- "description" : "查询选项。\t商户通过上送该参数来定制同步需要额外返回的信息字段,数组格式。支持:refund_detail_item_list:退款使用的资金渠道;deposit_back_info:触发银行卡冲退信息通知;",
- "items" : {
- "type" : "string"
- },
- "example" : "refund_detail_item_list"
- },
- "refund_advance_account" : {
- "type" : "string",
- "description" : "指定垫资退款账号主体,可能是用户id或登录名",
- "example" : "loginname@alitest.com"
- },
- "refund_advance_account_type" : {
- "type" : "string",
- "description" : "指定垫资退款账号的类型,取值范围:default,userId,loginName",
- "example" : "loginName"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "退款金额。\t需要退款的金额,该金额不能大于订单金额,单位为元,支持两位小数。\t注:如果正向交易使用了营销,该退款金额包含营销金额,支付宝会按业务规则分配营销和买家自有资金分别退多少,默认优先退买家的自有资金。如交易总金额100元,用户支付时使用了80元自有资金和20元无资金流的营销券,商家实际收款80元。如果首次请求退款60元,则60元全部从商家收款资金扣除退回给用户自有资产;如果再请求退款40元,则从商家收款资金扣除20元退回用户资产以及把20元的营销券退回给用户(券是否可再使用取决于券的规则配置)。",
- "example" : "200.12"
- },
- "refund_currency" : {
- "type" : "string",
- "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",
- "example" : "USD"
- },
- "refund_goods_detail" : {
- "type" : "array",
- "description" : "退款包含的商品列表信息",
- "items" : {
- "$ref" : "#/components/schemas/RefundGoodsDetail"
- }
- },
- "refund_reason" : {
- "type" : "string",
- "description" : "退款原因说明。\t商家自定义,将在会在商户和用户的pc退款账单详情中展示",
- "example" : "正常退款"
- },
- "refund_royalty_parameters" : {
- "type" : "array",
- "description" : "退分账明细信息。\t 注: 1.当面付且非直付通模式无需传入退分账明细,系统自动按退款金额与订单金额的比率,从收款方和分账收入方退款,不支持指定退款金额与退款方。 \t2.直付通模式,电脑网站支付,手机 APP 支付,手机网站支付产品,须在退款请求中明确是否退分账,从哪个分账收入方退,退多少分账金额;如不明确,默认从收款方退款,收款方余额不足退款失败。不支持系统按比率退款。",
- "items" : {
- "$ref" : "#/components/schemas/OpenApiRoyaltyDetailInfoPojo"
- }
- },
- "store_id" : {
- "type" : "string",
- "description" : "商户球房编号,由商家自定义。需保证当前商户下唯一。",
- "example" : "NJ_S_001"
- },
- "terminal_id" : {
- "type" : "string",
- "description" : "商户的终端编号",
- "example" : "NJ_T_001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号。\t和商户订单号 out_trade_no 不能同时为空。",
- "example" : "2014112611001004680073956707"
- }
- }
- },
- "AlipayTradeRefundResponseModel" : {
- "type" : "object",
- "properties" : {
- "buyer_logon_id" : {
- "type" : "string",
- "description" : "用户的登录id",
- "example" : "159****5620"
- },
- "buyer_open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户唯一标识",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "buyer_user_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "2088101117955611"
- },
- "fund_change" : {
- "type" : "string",
- "description" : "本次退款是否发生了资金变化",
- "example" : "Y"
- },
- "gmt_refund_pay" : {
- "type" : "string",
- "description" : "退款支付时间",
- "example" : "2014-11-27 15:45:57"
- },
- "has_deposit_back" : {
- "type" : "string",
- "description" : "是否有银行卡冲退,仅当query_options中传入deposit_back_info时返回",
- "example" : "true"
- },
- "open_id" : {
- "type" : "string",
- "description" : "买家支付宝用户号,该参数已废弃,请不要使用",
- "example" : "2088102122524333"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号",
- "example" : "6823789339978248"
- },
- "present_refund_buyer_amount" : {
- "type" : "string",
- "description" : "本次退款金额中买家退款金额;单位:元。\t该字段默认不返回;",
- "example" : "88.88"
- },
- "present_refund_discount_amount" : {
- "type" : "string",
- "description" : "本次退款金额中平台优惠退款金额;单位:元。\t该字段默认不返回;",
- "example" : "88.88"
- },
- "present_refund_mdiscount_amount" : {
- "type" : "string",
- "description" : "本次退款金额中商家优惠退款金额;单位:元。\t该字段默认不返回;",
- "example" : "88.88"
- },
- "refund_charge_amount" : {
- "type" : "string",
- "description" : "本次退款针对收款方的退收费金额;单位:元。\t只在机构间联模式下返回,其它场景下不返回该字段;",
- "example" : "8.88"
- },
- "refund_charge_info_list" : {
- "type" : "array",
- "description" : "退费信息",
- "items" : {
- "$ref" : "#/components/schemas/RefundChargeInfo"
- }
- },
- "refund_currency" : {
- "type" : "string",
- "description" : "退款币种信息",
- "example" : "USD"
- },
- "refund_detail_item_list" : {
- "type" : "array",
- "description" : "退款使用的资金渠道。\t只有在签约中指定需要返回资金明细,或者入参的query_options中指定时才返回该字段信息。",
- "items" : {
- "$ref" : "#/components/schemas/TradeFundBill"
- }
- },
- "refund_fee" : {
- "type" : "string",
- "description" : "退款总金额。单位:元。\t指该笔交易累计已经退款成功的金额。",
- "example" : "88.88"
- },
- "refund_hyb_amount" : {
- "type" : "string",
- "description" : "本次请求退惠营宝金额。单位:元。",
- "example" : "10.24"
- },
- "refund_preset_paytool_list" : {
- "$ref" : "#/components/schemas/PresetPayToolInfo"
- },
- "refund_settlement_id" : {
- "type" : "string",
- "description" : "退款清算编号,用于清算对账使用;\t只在机构间联模式下返回,其它场景下不返回该字段;",
- "example" : "2018101610032004620239146945"
- },
- "send_back_fee" : {
- "type" : "string",
- "description" : "本次商户实际退回金额。单位:元。\t说明:如需获取该值,需在入参query_options中传入 refund_detail_item_list。",
- "example" : "1.8"
- },
- "store_name" : {
- "type" : "string",
- "description" : "交易在支付时候的球房名称",
- "example" : "望湘园联洋店"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "2013112011001004330000121536",
- "example" : "支付宝交易号"
- }
- }
- },
- "AlipayTradeRoyaltyRateQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "PRODUCT_UNSIGN", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeRoyaltyRateQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "max_ratio" : {
- "type" : "integer",
- "description" : "最大分账比例,百分比整数,取值范围0~100",
- "example" : "80"
- },
- "user_id" : {
- "type" : "string",
- "description" : "当前商户userId",
- "example" : "2088XXXX1234"
- }
- }
- },
- "AlipayTradeRoyaltyRelationBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "PRODUCT_UNSIGN", "SYSTEM_ERROR", "OPENID_APPID_NOT_MATCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeRoyaltyRelationBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
- "example" : "2019032200000001"
- },
- "page_num" : {
- "type" : "integer",
- "description" : "几页,起始页为 1。不填默认为 1。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "页面大小。每页记录数,取值范围是(0,100]。不填默认为20",
- "example" : "20"
- }
- }
- },
- "AlipayTradeRoyaltyRelationBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "current_page_num" : {
- "type" : "integer",
- "description" : "当前页数",
- "example" : "1"
- },
- "current_page_size" : {
- "type" : "integer",
- "description" : "当前页面大小",
- "example" : "20"
- },
- "receiver_list" : {
- "type" : "array",
- "description" : "分账收款方列表",
- "items" : {
- "$ref" : "#/components/schemas/RoyaltyEntity"
- }
- },
- "result_code" : {
- "type" : "string",
- "description" : "业务结果码。SUCCESS:分账关系查询成功;FAIL:分账关系查询失败。",
- "example" : "SUCCESS"
- },
- "total_page_num" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "10"
- },
- "total_record_num" : {
- "type" : "integer",
- "description" : "分账关系记录总数",
- "example" : "480"
- }
- }
- },
- "AlipayTradeRoyaltyRelationBindErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeRoyaltyRelationBindModel" : {
- "type" : "object",
- "properties" : {
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
- "example" : "2019032200000001"
- },
- "receiver_list" : {
- "type" : "array",
- "description" : "分账接收方列表,单次传入最多20个",
- "items" : {
- "$ref" : "#/components/schemas/RoyaltyEntity"
- }
- }
- }
- },
- "AlipayTradeRoyaltyRelationBindResponseModel" : {
- "type" : "object",
- "properties" : {
- "result_code" : {
- "type" : "string",
- "description" : "SUCCESS:分账关系绑定成功;\tFAIL:分账关系绑定失败。",
- "example" : "SUCCESS"
- }
- }
- },
- "AlipayTradeRoyaltyRelationUnbindErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "PRODUCT_UNSIGN", "USER_NOT_EXIST", "SYSTEM_ERROR", "RECEIVER_LIST_EMPTY", "RECEIVER_LIST_OVERLOAD", "INVALID_RECEIVER_TYPE", "USERNAME_NOT_MATCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeRoyaltyRelationUnbindModel" : {
- "type" : "object",
- "properties" : {
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号,由商家自定义。32个字符以内,仅可包含字母、数字、下划线。需保证在商户端不重复。",
- "example" : "2019032200000001"
- },
- "receiver_list" : {
- "type" : "array",
- "description" : "分账接收方列表,单次传入最多 20 个信息。",
- "items" : {
- "$ref" : "#/components/schemas/RoyaltyEntity"
- }
- }
- }
- },
- "AlipayTradeRoyaltyRelationUnbindResponseModel" : {
- "type" : "object",
- "properties" : {
- "result_code" : {
- "type" : "string",
- "description" : "业务结果码。SUCCESS:分账关系解绑成功;\tFAIL:分账关系解绑失败。",
- "example" : "SUCCESS"
- }
- }
- },
- "AlipayTradeSettleConfirmErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeSettleConfirmModel" : {
- "type" : "object",
- "properties" : {
- "extend_params" : {
- "$ref" : "#/components/schemas/SettleConfirmExtendParams"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "确认结算请求流水号,开发者自行生成并保证唯一性,作为业务幂等性控制",
- "example" : "20160727001"
- },
- "settle_info" : {
- "$ref" : "#/components/schemas/SettleInfo"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2015070921001004130000127421"
- }
- }
- },
- "AlipayTradeSettleConfirmResponseModel" : {
- "type" : "object",
- "properties" : {
- "out_request_no" : {
- "type" : "string",
- "description" : "确认结算请求流水号,开发者自行生成并保证唯一性,作为业务幂等性控制",
- "example" : "20160727001"
- },
- "settle_amount" : {
- "type" : "string",
- "description" : "本次确认结算的实际结算金额,单位为元。",
- "example" : "0.1"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2015070921001004130000127421"
- }
- }
- },
- "AlipayTradeSettleReceivablesQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SUB_MERCHANT_NOT_EXIST", "SUB_MERCHANT_BELONG_ERROR", "SUB_MERCHANT_ACCOUNT_NOT_EXIST", "SYSTEM_ERROR", "QUERY_NOT_SUPPORT", "ILLEGAL_SETTLE_STATUS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayTradeSettleReceivablesQueryModel" : {
- "type" : "object",
- "properties" : {
- "biz_product" : {
- "type" : "string",
- "description" : "收单产品码,商家和支付宝签约的产品码",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "extend_params" : {
- "type" : "string",
- "description" : "扩展参数",
- "example" : "{\"key\":\"value\"}"
- },
- "merchant_info" : {
- "$ref" : "#/components/schemas/SettleEntity"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号,32个字符以内,可包含字母、数字、下划线。",
- "example" : "2019040100000001"
- },
- "query_his_date" : {
- "type" : "string",
- "description" : "当trade_no不为空时,该字段不生效。\t查询历史日期,格式为 yyyyMMdd ,取值范围为昨日起至往前30日内;\t不传入时,查询实时待结算余额返回;\t传入过去某一天日期,查询对应日期的日终待结算余额返回(注意:日常场景下,昨日日终待结算余额只可在当天 02:00 后查询,在当天 02:00 前查询返回查询错误;大促场景下昨日日终可查时间会适当延后);\t传入过去某一天非近30天内,返回参数错误。",
- "example" : "20200313"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号,当该笔交易为直付通账期模式,查询该笔交易待确认结算金额时必传",
- "example" : "2022081722001432461452204877"
- }
- }
- },
- "AlipayTradeSettleReceivablesQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "on_settle_amount" : {
- "type" : "string",
- "description" : "直付通请款模式下的结算在途金额,发起结算后 T+N 日到账场景下的处理中金额,人民币,单位为元",
- "example" : "10000.00"
- },
- "unsettled_amount" : {
- "type" : "string",
- "description" : "待结算金额,人民币,单位为元",
- "example" : "10000.00"
- }
- }
- },
- "AlipayUserAgreementExecutionplanModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_EXECUTION_TIME", "ILLEGAL_AGREEMENT", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAgreementExecutionplanModifyModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "周期性扣款产品,授权免密支付协议号",
- "example" : "20185909000458725113"
- },
- "deduct_time" : {
- "type" : "string",
- "description" : "商户下一次扣款时间",
- "example" : "2019-05-12"
- },
- "memo" : {
- "type" : "string",
- "description" : "具体修改原因",
- "example" : "用户已购买半年包,需延期扣款时间"
- }
- }
- },
- "AlipayUserAgreementExecutionplanModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "周期性扣款产品,授权免密支付协议号",
- "example" : "20185909000458725113"
- },
- "deduct_time" : {
- "type" : "string",
- "description" : "商户下一次扣款时间,格式 \"yyyy-MM-dd\"。\t例如:用户在1月1日开通了连续包月,使用了10天又另行购买了“季度包”,如果此时商户希望“季度包”立即优先生效,在季度包结束后能继续使用连续包月,那么原定的周期就被延后了。此时可以通过本接口将预计扣款时间推后“季度包”的时长。",
- "example" : "2020-05-12"
- }
- }
- },
- "AlipayUserAgreementMigrateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "MERCHANT_NOT_SUPPORT", "AGREEMENT_ALREADY_MIGRATED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAgreementMigrateModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 )",
- "example" : "20170322450983769228"
- },
- "target_app_id" : {
- "type" : "string",
- "description" : "需要迁移的目标商户应用id",
- "example" : "2014072300007148"
- },
- "target_invoke_app_id" : {
- "type" : "string",
- "description" : "需要迁移的目标商户调用应用id",
- "example" : "2014072300007148"
- },
- "target_partner_id" : {
- "type" : "string",
- "description" : "需要迁移的目标商户id",
- "example" : "2088101122675263"
- }
- }
- },
- "AlipayUserAgreementMigrateResponseModel" : {
- "type" : "object"
- },
- "AlipayUserAgreementPermissionCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_PARAMS", "USER_AGREEMENT_NOT_EXIST", "NOT_SUPPORT_MERCHANT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAgreementPermissionCreateModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 )",
- "example" : "20170322450983769228"
- },
- "business_params" : {
- "$ref" : "#/components/schemas/BusinessParamsMap"
- },
- "notice_template" : {
- "type" : "string",
- "description" : "目前共两种类型SERVIOCE_NOTICE和DEFAULT_PERMISSION,如果是服务变更提醒,需传入SERVIOCE_NOTICE",
- "example" : "SERVIOCE_NOTICE"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户请求号。 由商家自定义,64个字符以内,仅支持字母、数字、下划线且需保证在商户端不重复。",
- "example" : "6823789339978248"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单总金额。 单位为元,精确到小数点后两位,取值范围:[0.01,100000000] 。",
- "example" : "88.88"
- }
- }
- },
- "AlipayUserAgreementPermissionCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "deduct_permission" : {
- "type" : "string",
- "description" : "商户代扣扣款许可",
- "example" : "2021571176714791277815457854545"
- },
- "effective_time_end" : {
- "type" : "string",
- "description" : "商户代扣扣款许可生效结束时间",
- "example" : "yyyyMMddHHmmss"
- },
- "effective_time_start" : {
- "type" : "string",
- "description" : "商户代扣扣款许可生效开始时间",
- "example" : "yyyyMMddHHmmss"
- },
- "is_success_send" : {
- "type" : "boolean",
- "description" : "消息是否发送成功",
- "example" : "true"
- }
- }
- },
- "AlipayUserAgreementQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAgreementQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "用户签约成功后的协议号",
- "example" : "20170322450983769228"
- },
- "alipay_logon_id" : {
- "type" : "string",
- "description" : "返回脱敏的支付宝账号",
- "example" : "test***ali@alipay.net"
- },
- "credit_auth_mode" : {
- "type" : "string",
- "description" : "授信模式,取值:DEDUCT_HUAZHI-花芝GO。目前只在花芝代扣(即花芝go)协议时才会返回",
- "example" : "DEDUCT_HUAZHI"
- },
- "device_id" : {
- "type" : "string",
- "description" : "设备Id",
- "example" : "RSED235F875932"
- },
- "external_agreement_no" : {
- "type" : "string",
- "description" : "代扣协议中标示用户的唯一签约号(确保在商户系统中唯一)",
- "example" : "test"
- },
- "external_logon_id" : {
- "type" : "string",
- "description" : "外部登录Id",
- "example" : "2088101118392209"
- },
- "invalid_time" : {
- "type" : "string",
- "description" : "协议失效时间,格式为 yyyy-MM-dd HH:mm:ss。",
- "example" : "2117-05-24 00:00:00"
- },
- "last_deduct_time" : {
- "type" : "string",
- "description" : "周期扣协议,上次扣款成功时间",
- "example" : "2022-05-15"
- },
- "next_deduct_time" : {
- "type" : "string",
- "description" : "周期扣协议,预计下次扣款时间",
- "example" : "2022-06-15"
- },
- "personal_product_code" : {
- "type" : "string",
- "description" : "协议产品码,商户和支付宝签约时确定,不同业务场景对应不同的签约产品码。",
- "example" : "GENERAL_WITHHOLDING_P"
- },
- "pricipal_type" : {
- "type" : "string",
- "description" : "签约主体类型。\r\tCARD:支付宝账号\r\tCUSTOMER:支付宝用户",
- "example" : "CARD"
- },
- "principal_id" : {
- "type" : "string",
- "description" : "签约主体标识。\r\t当principal_type为CARD 时,该字段为支付宝用户号;\r\t当principal_type为 CUSTOMER 时,该字段为支付宝用户标识。一个用户 可能有多个支付宝账号,即多个支付宝用户号,但只有一个是支付宝用户标识。\r\t一个支付宝账号对应一个支付宝唯一用户号(以2088开头的16位纯数字组成)。",
- "example" : "2088101122675263"
- },
- "principal_open_id" : {
- "type" : "string",
- "description" : "签约主体标识。\t当principal_type为CARD 时,该字段为支付宝用户号;\t当principal_type为 CUSTOMER 时,该字段为支付宝用户标识。一个用户 可能有多个支付宝账号,即多个支付宝用户号,但只有一个是支付宝用户标识。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "sign_scene" : {
- "type" : "string",
- "description" : "签约协议的场景。",
- "example" : "INDUSTRY|CARRENTAL"
- },
- "sign_time" : {
- "type" : "string",
- "description" : "协议签约时间,格式为 yyyy-MM-dd HH:mm:ss。",
- "example" : "2017-05-24 15:00:40"
- },
- "single_quota" : {
- "type" : "string",
- "description" : "单笔代扣额度",
- "example" : "100.00"
- },
- "status" : {
- "type" : "string",
- "description" : "协议当前状态\r\t1. TEMP:暂存,协议未生效过;\r\t2. NORMAL:正常;\r\t3. STOP:暂停",
- "example" : "NORMAL"
- },
- "third_party_type" : {
- "type" : "string",
- "description" : "签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。\r\t取值范围:\r\t1. PARTNER(平台商户);\r\t2. MERCHANT(集团商户),集团下子商户可共享用户签约内容;\r\t默认为PARTNER。",
- "example" : "PARTNER"
- },
- "valid_time" : {
- "type" : "string",
- "description" : "协议生效时间,格式为 yyyy-MM-dd HH:mm:ss。",
- "example" : "2017-05-24 15:00:40"
- },
- "zm_open_id" : {
- "type" : "string",
- "description" : "用户的芝麻信用 openId,供商 户查询用户芝麻信用使用。",
- "example" : "268816057852461313538942792"
- }
- }
- },
- "AlipayUserAgreementTransferErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAgreementTransferModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ),如果传了该参数,其他参数会被忽略",
- "example" : "20170322450983769228"
- },
- "period_rule_params" : {
- "$ref" : "#/components/schemas/PeriodRuleParams"
- },
- "target_product_code" : {
- "type" : "string",
- "description" : "协议产品码,商户和支付宝签约时确定,不同业务场景对应不同的签约产品码。这里指的是需要修改目标产品码的值",
- "example" : "CYCLE_PAY_AUTH_P"
- }
- }
- },
- "AlipayUserAgreementTransferResponseModel" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "单次金额限制",
- "example" : "100"
- },
- "execute_time" : {
- "type" : "string",
- "description" : "执行时间",
- "example" : "2019-01-23"
- },
- "period" : {
- "type" : "string",
- "description" : "周期",
- "example" : "7"
- },
- "period_type" : {
- "type" : "string",
- "description" : "周期类型",
- "example" : "DAY"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "总金额限制",
- "example" : "600"
- },
- "total_payments" : {
- "type" : "string",
- "description" : "总支付次数",
- "example" : "12"
- }
- }
- },
- "AlipayUserAgreementUnsignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAgreementUnsignModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号(用户签约成功后的协议号 ),如果传了该参数,其他参数会被忽略\t。\t本参数与 external_agreement_no 不可同时为空。",
- "example" : "20170322450983769228"
- },
- "alipay_logon_id" : {
- "type" : "string",
- "description" : "用户的支付宝登录账号,支持邮箱或手机号码格式。本参数与alipay_user_id 不可同时为空,若都填写,则以alipay_user_id 为准。",
- "example" : "abx@alitest.com"
- },
- "alipay_open_id" : {
- "type" : "string",
- "description" : "用户的支付宝账号对应的支付宝唯一用户号,\t本参数与alipay_logon_id 不可同时为空,若都填写,则以本参数为准,优先级高于alipay_logon_id。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "用户的支付宝账号对应的支付宝唯一用户号,以2088 开头的 16 位纯数字 组成;\r\t本参数与alipay_logon_id 不可同时为空,若都填写,则以本参数为准,优先级高于alipay_logon_id。",
- "example" : "2088101143488930"
- },
- "extend_params" : {
- "type" : "string",
- "description" : "扩展参数",
- "example" : "{\"UNSIGN_ERROR_CODE\": \"USER_OWE_MONEY\",\"UNSIGN_ERROR_INFO\":\"10.00\"}"
- },
- "external_agreement_no" : {
- "type" : "string",
- "description" : "代扣协议中标示用户的唯一签约号(确保在商户系统中\t唯一)。\t格式规则:支持大写小写字母和数字,最长 32 位。\t注意:若调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时传入 external_agreement_no 则该值必填且需与签约接口传入值相同。",
- "example" : "test"
- },
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- },
- "operate_type" : {
- "type" : "string",
- "description" : "操作类型:confirm(解约确认);invalid(解约作废)。\t注意:仅异步解约需传入,其余情况无需传递本参数。",
- "example" : "confirm"
- },
- "personal_product_code" : {
- "type" : "string",
- "description" : "协议产品码,商户和支付宝签约时确定,不同业务场景对应不同的签约产品码。",
- "example" : "GENERAL_WITHHOLDING_P"
- },
- "sign_scene" : {
- "type" : "string",
- "description" : "签约协议场景,该值需要与系统/页面签约接口调用时传入的值保持一 致。如:周期扣款场景,需与调用 alipay.user.agreement.page.sign(支付宝个人协议页面签约接口) 签约时的 sign_scene 相同。\t当传入商户签约号 external_agreement_no时,场景不能为空或默认值 DEFAULT|DEFAULT。\t",
- "example" : "INDUSTRY|MEDICA"
- },
- "third_party_type" : {
- "type" : "string",
- "description" : "签约第三方主体类型。对于三方协议,表示当前用户和哪一类的第三方主体进行签约。\r\t取值范围:\r\t1. PARTNER(平台商户);\r\t2. MERCHANT(集团商户),集团下子商户可共享用户签约内容;\r\t默认为PARTNER。",
- "example" : "PARTNER"
- }
- }
- },
- "AlipayUserAgreementUnsignResponseModel" : {
- "type" : "object"
- },
- "AlipayUserAgreementUserverifyApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "USER_AGREEMENT_NOT_EXIST", "AGREEMENT_NO_IS_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAgreementUserverifyApplyModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "协议号",
- "example" : "20170502000610755993"
- }
- }
- },
- "AlipayUserAgreementUserverifyApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_token" : {
- "type" : "string",
- "description" : "用户验证申请token,其格式和内容,由支付宝定义。在鉴权确认的过程中,商户可根据申请操作成功时返回的申请token,获取后续的买家结果",
- "example" : "MDEDUCT0068292ca377d1d44b65fa24ec9cd89132f"
- }
- }
- },
- "AlipayUserAgreementUserverifyQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "USER_AGREEMENT_NOT_EXIST", "AGREEMENT_NO_IS_INVALID", "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_NO_IS_NOT_MATCH", "APPLY_TOKEN_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAgreementUserverifyQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "user_match" : {
- "type" : "boolean",
- "description" : "用户信息是否匹配",
- "example" : "true"
- }
- }
- },
- "AlipayUserAlipaypointBudgetlibQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BUDGET_NOT_EXIST", "BUDGET_NOT_MATCH_PARTNER", "PARAM_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAlipaypointBudgetlibQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "budget_code" : {
- "type" : "string",
- "description" : "集分宝预算库编码",
- "example" : "20201107050844"
- },
- "budget_desc" : {
- "type" : "string",
- "description" : "预算库的中文描述",
- "example" : "签到活动预算库"
- },
- "cumulative_amount" : {
- "type" : "integer",
- "description" : "预算库累计积分数",
- "example" : "1000"
- },
- "enabled" : {
- "type" : "boolean",
- "description" : "预算库是否为生效状态标识,true-生效中,false-已失效",
- "example" : "true"
- },
- "end_time" : {
- "type" : "string",
- "description" : "预算库结束时间, yyyy-MM-dd HH:mm:ss",
- "example" : "2022-11-07 05:08:45"
- },
- "remain_amount" : {
- "type" : "integer",
- "description" : "预算库当前剩余积分数",
- "example" : "10"
- },
- "start_time" : {
- "type" : "string",
- "description" : "预算库开始时间, yyyy-MM-dd HH:mm:ss",
- "example" : "2020-11-07 05:08:45"
- }
- }
- },
- "AlipayUserAlipaypointSendErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserAlipaypointSendModel" : {
- "type" : "object",
- "properties" : {
- "budget_code" : {
- "type" : "string",
- "description" : "签约商户的集分宝的预算库,扣除此预算库的集分宝发放给用户。会校验budgetcode和业务方appId的签约商户pid的关联关系,若无关则发放失败。",
- "example" : "02559A591572"
- },
- "memo" : {
- "type" : "string",
- "description" : "商户关于该笔发放的描述或者信息补充,仅存储,无实际校验功能,该信息会在\"集分宝\"小程序的\"集分宝明细\"中展示给用户。",
- "example" : "商户小程序签到送集分宝"
- },
- "open_id" : {
- "type" : "string",
- "description" : "被发放集分宝用户ID,商户app_id维度下的用户标识,与user_account字段二选一。 建议优先使该字段指定发放用户,接口性能更佳",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "partner_biz_no" : {
- "type" : "string",
- "description" : "接入方自己交易的唯一流水ID号,不同交易请保证幂等号唯一性,集分宝服务将依据该字段来进行幂等控制,重试请求不要更换幂等号,需要慎重传递,否则可能会造成损失。",
- "example" : "011022222222212"
- },
- "point_amount" : {
- "type" : "integer",
- "description" : "发放给用户的集分宝个数。个数区间为 [1,10000000],需为整数。",
- "example" : "1"
- },
- "user_account" : {
- "type" : "string",
- "description" : "被发放集分宝用户的支付宝登录号,邮箱地址或者手机号均可,与user_id字段二选一,在有user_id时,优先使用user_id字段。",
- "example" : "user_logon_id@test.com/1860000001"
- },
- "user_id" : {
- "type" : "string",
- "description" : "被发放集分宝用户的蚂蚁统一会员ID,与user_account字段二选一。\t建议优先使用user_id,接口性能更佳,user_id和user_account都传递时,系统优先使用本字段。",
- "example" : "2088000000000001"
- }
- }
- },
- "AlipayUserAlipaypointSendResponseModel" : {
- "type" : "object",
- "properties" : {
- "record_id" : {
- "type" : "string",
- "description" : "发放记录号。",
- "example" : "无"
- },
- "transaction_id" : {
- "type" : "string",
- "description" : "对账中心关联订单,一般场景无需关注",
- "example" : "2022062910022100195147193863"
- }
- }
- },
- "AlipayUserCertdocCertverifyConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT", "IDENTITY_VERIFY_CACHE_EXPIRED", "REQUIRED_PARAM_MISSING", "GUARDIAN_LIMIT_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserCertdocCertverifyConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "fail_params" : {
- "type" : "string",
- "description" : "具体哪些字段不一致。与预授权的输入字段对应,类型为字符串列表的JSON格式。",
- "example" : "[\"user_name\"]"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "校验不一致时,描述不一致的原因",
- "example" : "姓名不一致"
- },
- "passed" : {
- "type" : "string",
- "description" : "校验是否一致:T-一致、F-不一致",
- "example" : "F"
- }
- }
- },
- "AlipayUserCertdocCertverifyPreconsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT", "REQUIRED_PARAM_MISSING", "GUARDIAN_LIMIT_ERROR", "CERT_TYPE_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserCertdocCertverifyPreconsultModel" : {
- "type" : "object",
- "properties" : {
- "cert_no" : {
- "type" : "string",
- "description" : "证件号",
- "example" : "230100199901010001"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "证件类型。暂仅支持 IDENTITY_CARD (身份证)。",
- "example" : "IDENTITY_CARD"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "拓展字段,JSON格式",
- "example" : "{}"
- },
- "logon_id" : {
- "type" : "string",
- "description" : "支付宝登录名",
- "example" : "sample@sample.com"
- },
- "mobile" : {
- "type" : "string",
- "description" : "手机号码",
- "example" : "13812345678"
- },
- "user_name" : {
- "type" : "string",
- "description" : "真实姓名",
- "example" : "张三"
- }
- }
- },
- "AlipayUserCertdocCertverifyPreconsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "verify_id" : {
- "type" : "string",
- "description" : "申请验证ID。有效期为 2 小时,过期后在校验接口使用会报错 \"校验信息已过期\"。",
- "example" : "671ffcda5447bc87e9ed2f669eb143d4"
- }
- }
- },
- "AlipayUserCertifyOpenInitializeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "ARRANGEMENT_STATUS_ERROR", "UNKNOWN_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserCertifyOpenInitializeModel" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "认证场景码。入参支持的认证场景码和商户签约的认证场景相关,取值如下:\tFACE:多因子人脸认证\tCERT_PHOTO:多因子证照认证\tCERT_PHOTO_FACE :多因子证照和人脸认证\tSMART_FACE:多因子快捷认证",
- "example" : "FACE"
- },
- "face_contrast_picture" : {
- "type" : "string",
- "description" : "自定义人脸比对图片的base64编码格式的string字符串",
- "example" : "xydasf=="
- },
- "identity_param" : {
- "$ref" : "#/components/schemas/OpenCertifyIdentityParam"
- },
- "merchant_config" : {
- "$ref" : "#/components/schemas/OpenCertifyMerchantConfig"
- },
- "outer_order_no" : {
- "type" : "string",
- "description" : "商户请求的唯一标识,商户要保证其唯一性,值为32位长度的字母数字组合。建议:前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列",
- "example" : "ZGYD201809132323000001234"
- }
- }
- },
- "AlipayUserCertifyOpenInitializeResponseModel" : {
- "type" : "object",
- "properties" : {
- "certify_id" : {
- "type" : "string",
- "description" : "本次申请操作的唯一标识,商户需要记录,后续的操作都需要用到",
- "example" : "2109b5e671aa3ff2eb4851816c65828f"
- }
- }
- },
- "AlipayUserCertifyOpenQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UNKNOWN_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "CERTIFY_ID_EXPIRED", "OPEN_CERTIFY_BILL_NOT_EXIST", "OPEN_CERTIFY_BILL_STATUS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserCertifyOpenQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "fail_reason" : {
- "type" : "string",
- "description" : "认证错误原因,扩展字段,默认不返回",
- "example" : "Z1147"
- },
- "identity_info" : {
- "type" : "string",
- "description" : "认证的主体信息,一般的认证场景返回为空",
- "example" : "{}"
- },
- "material_info" : {
- "type" : "string",
- "description" : "认证主体附件信息,主要为图片类材料,一般的认证场景都是返回空",
- "example" : "{}"
- },
- "passed" : {
- "type" : "string",
- "description" : "是否通过,通过为T,不通过为F",
- "example" : "T"
- }
- }
- },
- "AlipayUserDeliverAddress" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "地址",
- "example" : "XX路XX号"
- },
- "address_code" : {
- "type" : "string",
- "description" : "区域编码",
- "example" : "100"
- },
- "default_deliver_address" : {
- "type" : "string",
- "description" : "是否默认收货地址",
- "example" : "T"
- },
- "deliver_area" : {
- "type" : "string",
- "description" : "区/县",
- "example" : "西湖区"
- },
- "deliver_city" : {
- "type" : "string",
- "description" : "市",
- "example" : "杭州"
- },
- "deliver_fullname" : {
- "type" : "string",
- "description" : "收货人全名",
- "example" : "张三"
- },
- "deliver_mobile" : {
- "type" : "string",
- "description" : "收货地址的联系人移动电话",
- "example" : "13833334444"
- },
- "deliver_phone" : {
- "type" : "string",
- "description" : "收货地址的联系人固定电话",
- "example" : "0517-28888888"
- },
- "deliver_province" : {
- "type" : "string",
- "description" : "省",
- "example" : "浙江"
- },
- "zip" : {
- "type" : "string",
- "description" : "邮编",
- "example" : "310000"
- }
- }
- },
- "AlipayUserInfoShareErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserInfoShareResponseModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "详细地址。",
- "example" : "西湖区文三路国际大厦"
- },
- "age" : {
- "type" : "string",
- "description" : "用户年龄,实名认证为T,且证件类型为身份证,则输出年龄字段,否则不输出",
- "example" : "45"
- },
- "area" : {
- "type" : "string",
- "description" : "区县名称。",
- "example" : "西湖区"
- },
- "avatar" : {
- "type" : "string",
- "description" : "用户头像地址。\t注意:如果没有数据(用户未设置)时不会返回该信息,请做好容错。",
- "example" : "http://tfsimg.alipay.com/images/partner/T1uIxXXbpXXXXXXXX"
- },
- "business_scope" : {
- "type" : "string",
- "description" : "经营/业务范围(用户类型是公司类型时才有此字段)。",
- "example" : "餐饮"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "【证件号码】结合证件类型使用.【注意】只is_certified为T的时候才有意义,否则不保证准确性.",
- "example" : "340928109890871722"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "【证件类型】0:身份证 1:护照 2:军官证 3:士兵证 4:回乡证 5:临时身份证 6:户口簿 7:警官证 8:台胞证 9:营业执照10:其它证件 11:港澳居民来往内地通行证 12:台湾居民来往大陆通行证 13:台湾居民居住证 14:港澳居民居住证\t 15:港澳身份证 16:外国人永久居住证【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
- "example" : "7"
- },
- "city" : {
- "type" : "string",
- "description" : "市名称。",
- "example" : "安庆"
- },
- "college_name" : {
- "type" : "string",
- "description" : "学信网返回的学校名称,有可能为空。",
- "example" : "南京大学"
- },
- "country_code" : {
- "type" : "string",
- "description" : "国家码",
- "example" : "CN"
- },
- "degree" : {
- "type" : "string",
- "description" : "学信网返回的学历/学位信息,数据质量一般,请谨慎使用,取值包括:博士研究生、硕士研究生、高升本、专科、博士、硕士、本科、夜大电大函大普通班、专科(高职)、第二学士学位。",
- "example" : "硕士研究生"
- },
- "deliver_addresses" : {
- "type" : "array",
- "description" : "收货地址列表",
- "items" : {
- "$ref" : "#/components/schemas/AlipayUserDeliverAddress"
- }
- },
- "display_name" : {
- "type" : "string",
- "description" : "展示名称,用于展示和识别用户。返回的值是支付宝账户的可用外标之一,根据展示名称产品规则可能返回手机号/邮箱/支付宝号其中的一个。同一个账户在不同的时期返回的展示名称可能随规则变化而变化。",
- "example" : "miracle001"
- },
- "email" : {
- "type" : "string",
- "description" : "优先获取email登录名,如果不存在,则返回mobile登录名",
- "example" : "sss@163.com"
- },
- "enrollment_time" : {
- "type" : "string",
- "description" : "入学时间,yyyy-mm-dd格式",
- "example" : "2016-01-11"
- },
- "ent_license_address" : {
- "type" : "string",
- "description" : "企业证照地址的详细地址(用户类型是公司用户才有该字段)【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
- "example" : "沙河街道庐山北路888号"
- },
- "ent_license_area" : {
- "type" : "string",
- "description" : "企业证照地址所在地区或县(用户类型是公司用户才有该字段)【注意】只有is_certified为T的时候才有意义,否则不保证准确性,目前企业营业执照地址不含县(区),area为空。",
- "example" : "庐山区"
- },
- "ent_license_city" : {
- "type" : "string",
- "description" : "企业证照地址所在市(用户类型是公司用户才有该字段)【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
- "example" : "九江市"
- },
- "ent_license_province" : {
- "type" : "string",
- "description" : "企业证照地址所在省份(用户类型是公司用户才有该字段)【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
- "example" : "江西省"
- },
- "firm_agent_person_cert_expiry_date" : {
- "type" : "string",
- "description" : "企业代理人证件有效期(用户类型是公司类型时才有此字段)。",
- "example" : "20201212"
- },
- "firm_agent_person_cert_no" : {
- "type" : "string",
- "description" : "企业代理人证件号码(用户类型是公司类型时才有此字段)。",
- "example" : "320322197712211890"
- },
- "firm_agent_person_cert_type" : {
- "type" : "string",
- "description" : "企业代理人证件类型, 返回值参考cert_type字段(用户类型是公司类型时才有此字段)。",
- "example" : "0"
- },
- "firm_agent_person_name" : {
- "type" : "string",
- "description" : "企业代理人姓名(用户类型是公司类型时才有此字段)。",
- "example" : "王五"
- },
- "firm_legal_person_cert_expiry_date" : {
- "type" : "string",
- "description" : "企业法人证件有效期(用户类型是公司类型时才有此字段)。",
- "example" : "20200909"
- },
- "firm_legal_person_cert_no" : {
- "type" : "string",
- "description" : "法人证件号码(用户类型是公司类型时才有此字段)。",
- "example" : "320231196408110099"
- },
- "firm_legal_person_cert_type" : {
- "type" : "string",
- "description" : "企业法人证件类型, 返回值参考cert_type字段(用户类型是公司类型时才有此字段)。",
- "example" : "1"
- },
- "firm_legal_person_name" : {
- "type" : "string",
- "description" : "企业法人名称(用户类型是公司类型时才有此字段)。",
- "example" : "李四"
- },
- "firm_legal_person_pictures" : {
- "type" : "array",
- "description" : "企业法人证件图片(用户类型是公司类型时才有此字段)。",
- "items" : {
- "$ref" : "#/components/schemas/AlipayUserPicture"
- }
- },
- "firm_pictures" : {
- "type" : "array",
- "description" : "企业相关证件图片,包含图片地址(目前需要调用alipay.user.certify.image.fetch转换一下)及类型(用户类型是公司类型时才有此字段)。",
- "items" : {
- "$ref" : "#/components/schemas/AlipayUserPicture"
- }
- },
- "firm_type" : {
- "type" : "string",
- "description" : "公司类型,包括(用户类型是公司类型时才有此字段):\r\tCO(公司)\r\tINST(事业单位),\r\tCOMM(社会团体),\r\tNGO(民办非企业组织),\r\tSTATEORGAN(党政国家机关)",
- "example" : "CO"
- },
- "gender" : {
- "type" : "string",
- "description" : "性别。枚举值如下:\tF:女性;\tM:男性。",
- "example" : "F"
- },
- "graduation_time" : {
- "type" : "string",
- "description" : "预期毕业时间,不保证准确性,yyyy-mm-dd格式。",
- "example" : "2021-01-01"
- },
- "identity_card_address" : {
- "type" : "string",
- "description" : "身份证地址信息",
- "example" : "江西省上饶市xxx村34号"
- },
- "identity_card_area" : {
- "type" : "string",
- "description" : "身份证地区信息",
- "example" : "xxx村23号"
- },
- "identity_card_city" : {
- "type" : "string",
- "description" : "身份证市信息",
- "example" : "上饶市"
- },
- "identity_card_province" : {
- "type" : "string",
- "description" : "身份证省信息",
- "example" : "江西省"
- },
- "inst_or_corp" : {
- "type" : "string",
- "description" : "是否是金融机构或特殊单位,\"I\"表示金融机构, \"C\"表示无余额账户的单位账户, \"V\", 表示虚拟主体(类似机构仅内部户无余额户), \"N\"表示非金融机构且非无余额账户的单位账户,\"?\"表示匿名用户",
- "example" : "N"
- },
- "is_adult" : {
- "type" : "string",
- "description" : "T/F, 实名认证为T,且证件类型为身份证,则输出是否成年字段,否则不输出",
- "example" : "F"
- },
- "is_balance_frozen" : {
- "type" : "string",
- "description" : "余额账户是否被冻结。\r\tT--被冻结;F--未冻结",
- "example" : "T"
- },
- "is_blocked" : {
- "type" : "string",
- "description" : "账户是否被冻结,T/F,T冻结,F未冻结",
- "example" : "T"
- },
- "is_certified" : {
- "type" : "string",
- "description" : "是否通过实名认证。T是通过 F是没有实名认证。",
- "example" : "T"
- },
- "is_student_certified" : {
- "type" : "string",
- "description" : "是否是学生",
- "example" : "T"
- },
- "license_expiry_date" : {
- "type" : "string",
- "description" : "营业执照有效期,yyyyMMdd或长期,(用户类型是公司类型时才有此字段)。",
- "example" : "20200101"
- },
- "license_no" : {
- "type" : "string",
- "description" : "企业执照号码(用户类型是公司类型时才有此字段)。",
- "example" : "371702118008810"
- },
- "member_grade" : {
- "type" : "string",
- "description" : "支付宝会员等级",
- "example" : "primary,普通; golden,黄金; platinum,铂金; diamond,钻石unknown,未知。"
- },
- "mobile" : {
- "type" : "string",
- "description" : "手机号码。",
- "example" : "13429199999"
- },
- "nick_name" : {
- "type" : "string",
- "description" : "用户昵称。\t注意:如果没有数据(用户未设置)时不会返回该信息,请做好容错。",
- "example" : "支付宝小二"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户的openId。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "organization_code" : {
- "type" : "string",
- "description" : "组织机构代码(用户类型是公司类型时才有此字段)。",
- "example" : "暂无"
- },
- "person_birthday" : {
- "type" : "string",
- "description" : "个人用户生日。",
- "example" : "19900101"
- },
- "person_birthday_without_year" : {
- "type" : "string",
- "description" : "生日。不包含具体年份,格式MMdd",
- "example" : "0828"
- },
- "person_cert_expiry_date" : {
- "type" : "string",
- "description" : "证件有效期(用户类型是个人的时候才有此字段)。",
- "example" : "20400101"
- },
- "person_cert_issue_date" : {
- "type" : "string",
- "description" : "证件起始日期(用户类型是个人的时候才可能有此字段,不保证准确,同时有可能为空)。",
- "example" : "20220701"
- },
- "person_pictures" : {
- "type" : "array",
- "description" : "个人证件图片(用户类型是个人的时候才有此字段)。",
- "items" : {
- "$ref" : "#/components/schemas/AlipayUserPicture"
- }
- },
- "phone" : {
- "type" : "string",
- "description" : "电话号码。",
- "example" : "0511-26888888"
- },
- "profession" : {
- "type" : "string",
- "description" : "职业",
- "example" : "教师"
- },
- "province" : {
- "type" : "string",
- "description" : "省份名称。",
- "example" : "安徽省"
- },
- "taobao_id" : {
- "type" : "string",
- "description" : "淘宝id",
- "example" : "42143928"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户的userId。",
- "example" : "2088102104794936"
- },
- "user_name" : {
- "type" : "string",
- "description" : "若用户是个人用户,则是用户的真实姓名;若是企业用户,则是企业名称。【注意】只有is_certified为T的时候才有意义,否则不保证准确性.",
- "example" : "张三"
- },
- "user_nation" : {
- "type" : "string",
- "description" : "身份证民族信息",
- "example" : "汉"
- },
- "user_status" : {
- "type" : "string",
- "description" : "用户状态(Q/T/B/W)。\tQ代表快速注册用户\tT代表正常用户\tB代表被冻结账户\tW代表已注册,未激活的账户",
- "example" : "T"
- },
- "user_type" : {
- "type" : "string",
- "description" : "用户类型(1/2)\r\t1代表公司账户2代表个人账户",
- "example" : "1"
- },
- "zip" : {
- "type" : "string",
- "description" : "邮政编码。",
- "example" : "3600"
- }
- }
- },
- "AlipayUserPicture" : {
- "type" : "object",
- "properties" : {
- "picture_type" : {
- "type" : "string",
- "description" : "图片类型,包括身份证正反面、营业执照等"
- },
- "picture_url" : {
- "type" : "string",
- "description" : "用于调用alipay.user.certify.image.fetch接口,获取图片资源"
- }
- }
- },
- "AlipayUserTwostageCommonUseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INPUT_ILLEGAL", "DECODE_FAILED", "INDEX_NOT_EXIST", "SYSTEM_ERROR", "ILLEGAL_CODE", "CODE_EXPIRED", "USER_UN_AUTH", "SENCENO_UN_MATCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserTwostageCommonUseModel" : {
- "type" : "object",
- "properties" : {
- "dynamic_id" : {
- "type" : "string",
- "description" : "商户扫描用户的付款码值。",
- "example" : "286861260475412123"
- },
- "pay_check_strategy" : {
- "type" : "string",
- "description" : "传1表示 校验pid(pay_pid)和来支付的时候的pid一致性;\t传2表示校验pid(pay_pid)和来支付的时候的pid一致性、校验scene_no和来支付时DYNAMIC_TOKEN_OUT_BIZ_NO属性一致; \t不传值和value=2的表现一致",
- "example" : "1"
- },
- "pay_pid" : {
- "type" : "string",
- "description" : "商家进行二阶段支付的PID信息。",
- "example" : "2088702093900999"
- },
- "sence_no" : {
- "type" : "string",
- "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保持一致。",
- "example" : "20170718xxxxxxxx"
- }
- }
- },
- "AlipayUserTwostageCommonUseResponseModel" : {
- "type" : "object",
- "properties" : {
- "open_id" : {
- "type" : "string",
- "description" : "open_id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户userId信息,因为用户已经在客户端给商户的小程序授权了,并且商户要通过userId信息挂接优惠券信息,所以可以无需脱敏返回给商户。",
- "example" : "2088123412341234"
- },
- "user_identity_info" : {
- "$ref" : "#/components/schemas/UserIdentityInfo"
- }
- }
- },
- "AlipayUserTwostageIndirectUseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserTwostageIndirectUseModel" : {
- "type" : "object",
- "properties" : {
- "dynamic_id" : {
- "type" : "string",
- "description" : "商户扫描用户的付款码值。18~24位,25~30开头,例如28开头的18位的数字;或人脸支付的ftoken等。",
- "example" : "28xxxxxxxxxxxxxxxx"
- },
- "org_pid" : {
- "type" : "string",
- "description" : "进件信息中,SMID对应的银行机构的PID信息,一般为2088开头的16位数字。",
- "example" : "2088xxxxxxxxxxx"
- },
- "pay_smid" : {
- "type" : "string",
- "description" : "进件信息中,二级商户ID( sub_merchant_id)信息,一般为2088开头的16位数字。",
- "example" : "2088xxxxxxxxxxx"
- },
- "sence_no" : {
- "type" : "string",
- "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保持一致",
- "example" : "20170718xxxxxxxx"
- },
- "source_pid" : {
- "type" : "string",
- "description" : "进件信息中,SMID对应渠道的PID信息,一般为2088开头的16位数字。",
- "example" : "2088xxxxxxxxxxx"
- }
- }
- },
- "AlipayUserTwostageIndirectUseResponseModel" : {
- "type" : "object",
- "properties" : {
- "user_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID",
- "example" : "2088xxxxxxxxxxx"
- }
- }
- },
- "AlipayUserUserinfoShareErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "isv.invalid-argument", "isv.invalid-token", "aop.unknow-error", "isp.unknow-error" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AlipayUserUserinfoShareResponseModel" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "详细地址。",
- "example" : "西湖区文三路国际大厦"
- },
- "address_code" : {
- "type" : "string",
- "description" : "区域编码,暂时不返回值",
- "example" : "330106"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "支付宝用户ID",
- "example" : "2088156897126906"
- },
- "area" : {
- "type" : "string",
- "description" : "区县名称。",
- "example" : "西湖区"
- },
- "avatar" : {
- "type" : "string",
- "description" : "用户头像",
- "example" : "http://tfsimg.alipay.com/images/partner/T1uIxXXbpXXXXXXXX"
- },
- "balance_freeze_type" : {
- "type" : "string",
- "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 ---- 降级、或查询超时",
- "example" : "SERVER"
- },
- "birthday" : {
- "type" : "string",
- "description" : "用户生日",
- "example" : "19900918"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "证件号码",
- "example" : "340928109890871722"
- },
- "cert_type_value" : {
- "type" : "string",
- "description" : "0:身份证\r\t1:护照\r\t2:军官证\r\t3:士兵证\r\t4:回乡证\r\t5:临时身份证\r\t6:户口簿\r\t7:警官证\r\t8:台胞证\r\t9:营业执照\r\t10其它证件",
- "example" : "7"
- },
- "city" : {
- "type" : "string",
- "description" : "市名称。",
- "example" : "安庆"
- },
- "default_deliver_address" : {
- "type" : "string",
- "description" : "是否默认收货地址,暂时不返回值",
- "example" : "T"
- },
- "deliver_address_list" : {
- "type" : "array",
- "description" : "收货人地址列表",
- "items" : {
- "$ref" : "#/components/schemas/DeliverAddress"
- }
- },
- "deliver_area" : {
- "type" : "string",
- "description" : "收货人所在区县",
- "example" : "西湖区"
- },
- "deliver_city" : {
- "type" : "string",
- "description" : "收货人所在城市",
- "example" : "杭州市"
- },
- "deliver_fullname" : {
- "type" : "string",
- "description" : "收货人全称",
- "example" : "张三"
- },
- "deliver_mobile" : {
- "type" : "string",
- "description" : "收货地址的联系人移动电话。",
- "example" : "13200909090"
- },
- "deliver_phone" : {
- "type" : "string",
- "description" : "收货地址的联系人固定电话。",
- "example" : "13211111111"
- },
- "deliver_province" : {
- "type" : "string",
- "description" : "收货人所在省份",
- "example" : "浙江省"
- },
- "email" : {
- "type" : "string",
- "description" : "用户支付宝账号绑定的邮箱地址",
- "example" : "sss@163.com"
- },
- "family_name" : {
- "type" : "string",
- "description" : "姓氏,取的是realName中的首个字符,对非中文、中文复姓支持较差。",
- "example" : "赵"
- },
- "firm_name" : {
- "type" : "string",
- "description" : "公司名称(用户类型是公司类型时公司名称才有此字段)。",
- "example" : "阿里巴巴"
- },
- "gender" : {
- "type" : "string",
- "description" : "性别(F:女性;M:男性)",
- "example" : "F"
- },
- "is_balance_frozen" : {
- "type" : "string",
- "description" : "T--被冻结;F--未冻结",
- "example" : "T"
- },
- "is_bank_auth" : {
- "type" : "string",
- "description" : "T为是银行卡认证,F为非银行卡认证。",
- "example" : "T"
- },
- "is_certified" : {
- "type" : "string",
- "description" : "是否通过实名认证。T是通过 F是没有实名认证",
- "example" : "T"
- },
- "is_certify_grade_a" : {
- "type" : "string",
- "description" : "T:表示A类实名认证;F:表示非A类实名认证",
- "example" : "T"
- },
- "is_id_auth" : {
- "type" : "string",
- "description" : "T为是身份证认证,F为非身份证认证。",
- "example" : "T"
- },
- "is_licence_auth" : {
- "type" : "string",
- "description" : "T为通过营业执照认证,F为没有通过",
- "example" : "T"
- },
- "is_mobile_auth" : {
- "type" : "string",
- "description" : "T为是手机认证,F为非手机认证。",
- "example" : "T"
- },
- "is_student_certified" : {
- "type" : "string",
- "description" : "是否是学生",
- "example" : "T"
- },
- "mobile" : {
- "type" : "string",
- "description" : "手机号码。",
- "example" : "13429199999"
- },
- "nick_name" : {
- "type" : "string",
- "description" : "用户昵称",
- "example" : "哈哈就是我"
- },
- "phone" : {
- "type" : "string",
- "description" : "电话号码。",
- "example" : "0511-26888888"
- },
- "province" : {
- "type" : "string",
- "description" : "省份名称。",
- "example" : "安徽省"
- },
- "real_name" : {
- "type" : "string",
- "description" : "用户的真实姓名。",
- "example" : "张三"
- },
- "reduced_birthday" : {
- "type" : "string",
- "description" : "生日的月和日,MMdd格式",
- "example" : "0428"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户的userId",
- "example" : "2088102104794936"
- },
- "user_status" : {
- "type" : "string",
- "description" : "用户状态(Q/T/B/W)。\r\tQ代表快速注册用户\r\tT代表已认证用户\r\tB代表被冻结账户\r\tW代表已注册,未激活的账户",
- "example" : "T"
- },
- "user_type_value" : {
- "type" : "string",
- "description" : "用户类型(1/2)\r\t1代表公司账户2代表个人账户",
- "example" : "1"
- },
- "zip" : {
- "type" : "string",
- "description" : "邮政编码。",
- "example" : "3600"
- }
- }
- },
- "AmountTypeData" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string",
- "description" : "累计类型为金额类型的累计名称。为必传入参。",
- "example" : "优惠累计名称001"
- },
- "out_discount_infos" : {
- "type" : "array",
- "description" : "优惠信息。为List类型,支持传入多笔优惠,大部分场景传入一笔。包含:优惠名称,优惠类型,优惠金额(单位元)。\t字段必传场景:\t1.当累计模式为【交易绑定模式】时,为必传入参。\t2.当累计模式为【交易解耦模式】,同时需要累计优惠信息时,为必传入参。",
- "items" : {
- "$ref" : "#/components/schemas/ZMGoOutDiscountInfo"
- }
- },
- "trade_info" : {
- "$ref" : "#/components/schemas/ZMGoTradeInfo"
- }
- }
- },
- "AmountTypeSyncData" : {
- "type" : "object",
- "properties" : {
- "discount_amount" : {
- "type" : "string",
- "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元",
- "example" : "8.75"
- },
- "discount_desc" : {
- "type" : "string",
- "description" : "商户数据回传的优惠信息的名称。",
- "example" : "消费满减优惠001"
- },
- "has_alipay_trade" : {
- "type" : "boolean",
- "description" : "是否为支付宝交易,默认false,表示是否要做支付宝交易关联。此时tradeNo必须传支付宝交易号。",
- "example" : "false"
- },
- "task_amount" : {
- "type" : "string",
- "description" : "用户和商户发生交易的交易单金额,单位元。",
- "example" : "3.57"
- },
- "task_desc" : {
- "type" : "string",
- "description" : "任务描述",
- "example" : "完成一次任务001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "用户和商户发生金额类交易的交易单号。",
- "example" : "2020081722001435461000061785"
- }
- }
- },
- "AntMerchantExpandApprecommendAccountCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandApprecommendAccountCreateModel" : {
- "type" : "object",
- "properties" : {
- "acc_no" : {
- "type" : "string",
- "description" : "待绑定账号PID",
- "example" : "2088001969784501"
- },
- "app_no" : {
- "type" : "string",
- "description" : "待绑定小程序的app_id",
- "example" : "2021000155639069"
- }
- }
- },
- "AntMerchantExpandApprecommendAccountCreateResponseModel" : {
- "type" : "object"
- },
- "AntMerchantExpandApprecommendAccountDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "MER_ARGUMENT_NULL", "APP_ID_NOT_EXIST", "APP_OWNER_ERROR", "ACCOUNT_NOT_EXIST", "ACCOUNT_RECOMMEND_NOT_EXIST", "SYSTEM_ERROR", "THIRD_SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandApprecommendAccountDeleteResponseModel" : {
- "type" : "object"
- },
- "AntMerchantExpandApprecommendAccountQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandApprecommendAccountQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "list" : {
- "type" : "array",
- "description" : "账号列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088001969784501\"]"
- },
- "page_number" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "单页行数",
- "example" : "10"
- },
- "total_pages" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "1"
- },
- "total_size" : {
- "type" : "string",
- "description" : "总行数",
- "example" : "1"
- }
- }
- },
- "AntMerchantExpandApprecommendAvailableQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "QUERY_PAGE_QUERY_NULL", "QUERY_PAGE_SIZE_LARGE", "QUERY_PAGE_SIZE_SMALL", "QUERY_PAGE_NUM_SMALL", "THIRD_SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandApprecommendAvailableQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "list" : {
- "type" : "array",
- "description" : "总页数",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088001969784501\"]"
- },
- "page_number" : {
- "type" : "integer",
- "description" : "当前页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "单页行数",
- "example" : "10"
- },
- "total_pages" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "1"
- },
- "total_size" : {
- "type" : "integer",
- "description" : "总行数",
- "example" : "1"
- }
- }
- },
- "AntMerchantExpandIndirectImageUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "MERCHANT_ILLEGAL_ARGUMENT", "EXCEED_MAX_SIZE", "INVALID_IMAGE_FORMAT", "IMAGE_UNSAFE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandIndirectImageUploadModel" : {
- "type" : "object",
- "properties" : {
- "image_type" : {
- "type" : "string",
- "description" : "图片格式,支持格式:bmp、jpg、jpeg、png、gif.",
- "example" : "jpg"
- }
- }
- },
- "AntMerchantExpandIndirectImageUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "image_id" : {
- "type" : "string",
- "description" : "图片在文件存储平台的标识",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- }
- }
- },
- "AntMerchantExpandInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PERMISSION_IS_ILLEGAL", "MER_ARGUMENT_NULL", "MERCHANT_INPUT_ARGUMENT_ILLEGAL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "merchant_query_result" : {
- "$ref" : "#/components/schemas/MerchantQueryResult"
- }
- }
- },
- "AntMerchantExpandItemCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemCreateModel" : {
- "type" : "object",
- "properties" : {
- "detail_url" : {
- "type" : "string",
- "description" : "详情地址",
- "example" : "https://www.alipay.com/item/detail01.html"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "商品扩展信息:可以解析成 Map<String, String> 的 json string",
- "example" : "{\\\"OIL_GUNS\\\":\\\"[7,8,9,10]\\\", \\\"DISCOUNT\\\":\\\"95\\\"}"
- },
- "external_item_id" : {
- "type" : "string",
- "description" : "外部商品ID",
- "example" : "201909161233534124235231111"
- },
- "front_category_id" : {
- "type" : "string",
- "description" : "前台类目id:target_type + target_id 和 front_category_id 二选一",
- "example" : "2018091300502200002600105884"
- },
- "label_list" : {
- "type" : "array",
- "description" : "商品标签列表",
- "items" : {
- "$ref" : "#/components/schemas/ItemLabelCreateInfo"
- }
- },
- "main_pic" : {
- "type" : "string",
- "description" : "主图地址",
- "example" : "https://img.alicdn.com/imgextra/i4/263168616/O1CN01qp60TQ2DWB06jyvVg_!!263168616.jpg"
- },
- "name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "西红柿炒蛋"
- },
- "scene" : {
- "type" : "string",
- "description" : "场景:GAS_CHARGE(加油)",
- "example" : "GAS_CHARGE"
- },
- "sku_list" : {
- "type" : "array",
- "description" : "商品sku列表,至少有一个",
- "items" : {
- "$ref" : "#/components/schemas/ItemSkuCreateInfo"
- }
- },
- "target_id" : {
- "type" : "string",
- "description" : "商户归属主体id",
- "example" : "2018090600502000000022501261"
- },
- "target_type" : {
- "type" : "string",
- "description" : "商品归属主体类型:target_type + target_id 和 front_category_id 二选一\r\t\r\t商品归属主体类型:\r\t5: 店铺\r\t4: 主站MID\r\t3: 参与者\r\t2: 角色\r\t1: 联系人",
- "example" : "5"
- }
- }
- },
- "AntMerchantExpandItemCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "item_id" : {
- "type" : "string",
- "description" : "商品id",
- "example" : "2018091300502200002600104169"
- }
- }
- },
- "AntMerchantExpandItemDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ITEM_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemDeleteResponseModel" : {
- "type" : "object",
- "properties" : {
- "item_id" : {
- "type" : "string",
- "description" : "商品id",
- "example" : "2018091300502200002600104169"
- }
- }
- },
- "AntMerchantExpandItemModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemModifyModel" : {
- "type" : "object",
- "properties" : {
- "detail_url" : {
- "type" : "string",
- "description" : "商品详情地址",
- "example" : "https://www.alipay.com/item/detail01.html"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "商品扩展信息:可以解析成 Map<String, String> 的 json string",
- "example" : "{\\\"OIL_GUNS\\\":\\\"[7,8,9,10]\\\", \\\"DISCOUNT\\\":\\\"95\\\"}"
- },
- "external_item_id" : {
- "type" : "string",
- "description" : "外部商品ID(item_id不为空时作为普通更新项,item_id为空时作为更新KEY)",
- "example" : "20190916123423654241312"
- },
- "front_category_id" : {
- "type" : "string",
- "description" : "前台类目id, null表示未分类",
- "example" : "2018091300502200002600105884"
- },
- "item_id" : {
- "type" : "string",
- "description" : "商品id(和external_item_id不能同时为空)",
- "example" : "2018091300502200002600104169"
- },
- "label_list" : {
- "type" : "array",
- "description" : "商品标签列表,null表示不修改标签列表,空list表示清空标签",
- "items" : {
- "$ref" : "#/components/schemas/ItemLabelModifyInfo"
- }
- },
- "main_pic" : {
- "type" : "string",
- "description" : "商品主图",
- "example" : "https://img.alicdn.com/imgextra/i4/263168616/O1CN01qp60TQ2DWB06jyvVg_!!263168616.jpg"
- },
- "name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "西红柿炒蛋"
- },
- "op_timestamp" : {
- "type" : "integer",
- "description" : "更新时间戳(只处理时间戳最大的一次请求)",
- "example" : "1234352342353"
- },
- "scene" : {
- "type" : "string",
- "description" : "场景:GAS_CHARGE(加油)",
- "example" : "GAS_CHARGE"
- },
- "sku_list" : {
- "type" : "array",
- "description" : "SKU列表(会和商品已存在SKU做差异化比较后做增删改操作)",
- "items" : {
- "$ref" : "#/components/schemas/ItemSkuModifyInfo"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "商品状态:\r\tEFFECT(有效)、 INVALID(无效)",
- "example" : "EFFECT"
- }
- }
- },
- "AntMerchantExpandItemModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "item_id" : {
- "type" : "string",
- "description" : "商品id",
- "example" : "2018091300502200002600104169"
- }
- }
- },
- "AntMerchantExpandItemOpenBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "NO_PERMISSION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemOpenBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "item_id_list" : {
- "type" : "array",
- "description" : "商品ID列表,单次查询上限为 20。",
- "items" : {
- "type" : "string"
- },
- "example" : "2019073100812219000000100000"
- }
- }
- },
- "AntMerchantExpandItemOpenBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "item_list" : {
- "type" : "array",
- "description" : "商品列表。",
- "items" : {
- "$ref" : "#/components/schemas/CmItemInfo"
- }
- }
- }
- },
- "AntMerchantExpandItemOpenCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "ITEM_CATEGORY_NOT_EXIST", "INFO_SEC_ERROR", "NO_PERMISSION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemOpenCreateModel" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "type" : "string",
- "description" : "商品描述",
- "example" : "精选东北优质非转基因大豆"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "商品扩展信息(具体KEY请参见产品文档)。\t小程序订单中心场景接入参见 <a href=\"https://opendocs.alipay.com/mini/024hj4\">接入指南</a>。",
- "items" : {
- "$ref" : "#/components/schemas/ItemExtInfo"
- }
- },
- "material_list" : {
- "type" : "array",
- "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)",
- "items" : {
- "$ref" : "#/components/schemas/MaterialCreateInfo"
- }
- },
- "name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "西红柿炒蛋"
- },
- "property_list" : {
- "type" : "array",
- "description" : "商品属性列表",
- "items" : {
- "$ref" : "#/components/schemas/ItemPropertyInfo"
- }
- },
- "scene" : {
- "type" : "string",
- "description" : "业务场景码。\t小程序订单中心场景固定为 APP_ORDER。",
- "example" : "APP_ORDER"
- },
- "sku_list" : {
- "type" : "array",
- "description" : "商品SKU列表(至少1个,最多20个)",
- "items" : {
- "$ref" : "#/components/schemas/SkuCreateInfo"
- }
- },
- "standard_category_id" : {
- "type" : "string",
- "description" : "商品所属标准类目ID,标品及非标品都需传入。 请填入 <a href=\"https://opendocs.alipay.com/mini/011lxt\">小程序商品类目表</a> 中三级类目ID。",
- "example" : "2019073100992228000000100000"
- },
- "target_id" : {
- "type" : "string",
- "description" : "商品归属主体ID\t例:商品归属主体类型target_type为店铺,则商品归属主体ID为店铺ID(支付宝侧店铺ID);归属主体类型target_type为小程序,则归属主体ID为小程序ID",
- "example" : "2018090600502000000022501261"
- },
- "target_type" : {
- "type" : "string",
- "description" : "商品归属主体类型。枚举如下:\t5:店铺。\t8:小程序。",
- "example" : "8"
- },
- "type" : {
- "type" : "string",
- "description" : "商品类型。枚举支持:\tSTANDARD_GOODS:标品,一般是具有明确、标准规格、型号、参数的商品,如:手机、数码产品、大多数的家电 。\tNON_STANDARD_GOODS:非标品,则是在这些方面没有统一的行业标准和参数规格的商品,如:服装、鞋袜等。",
- "example" : "STANDARD_GOODS"
- }
- }
- },
- "AntMerchantExpandItemOpenCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "item_id" : {
- "type" : "string",
- "description" : "商品ID",
- "example" : "2018091300502200002600104169"
- }
- }
- },
- "AntMerchantExpandItemOpenDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ITEM_NOT_EXIST", "NO_PERMISSION", "ARGUMENT_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemOpenDeleteResponseModel" : {
- "type" : "object"
- },
- "AntMerchantExpandItemOpenModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "ITEM_NOT_EXIST", "ITEM_CATEGORY_NOT_EXIST", "INFO_SEC_ERROR", "NO_PERMISSION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemOpenModifyModel" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "type" : "string",
- "description" : "商品描述",
- "example" : "精选东北优质非转基因大豆"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "商品扩展信息(覆盖商品已存在扩展信息、具体KEY请参见产品文档)",
- "items" : {
- "$ref" : "#/components/schemas/ItemExtInfo"
- }
- },
- "item_id" : {
- "type" : "string",
- "description" : "商品ID,通过创建商品接口 https://opendocs.alipay.com/apis/api_4/ant.merchant.expand.item.open.create 获取。",
- "example" : "2019073100702219000000100000"
- },
- "material_list" : {
- "type" : "array",
- "description" : "商品素材列表(会和商品已存在素材做差异化比较后做增删改操作)",
- "items" : {
- "$ref" : "#/components/schemas/MaterialModifyInfo"
- }
- },
- "name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "西红柿炒蛋"
- },
- "property_list" : {
- "type" : "array",
- "description" : "商品属性列表(覆盖商品已存在属性)",
- "items" : {
- "$ref" : "#/components/schemas/ItemPropertyInfo"
- }
- },
- "sku_list" : {
- "type" : "array",
- "description" : "SKU列表(会和商品已存在SKU做差异化比较后做增删改操作)",
- "items" : {
- "$ref" : "#/components/schemas/SkuModifyInfo"
- }
- },
- "standard_category_id" : {
- "type" : "string",
- "description" : "商品所属标准类目ID,当 type 为STANDARD_GOODS(标品)时必填。 请填入 https://opendocs.alipay.com/mini/011lxt 小程序商品类目表中三级类目ID。",
- "example" : "2019073100992228000000100000"
- },
- "status" : {
- "type" : "string",
- "description" : "商品状态:EFFECT(有效)、INVALID(无效)",
- "example" : "EFFECT"
- },
- "type" : {
- "type" : "string",
- "description" : "商品类型:STANDARD_GOODS(标品)、NON_STANDARD_GOODS(非标品)",
- "example" : "STANDARD_GOODS"
- }
- }
- },
- "AntMerchantExpandItemOpenModifyResponseModel" : {
- "type" : "object"
- },
- "AntMerchantExpandItemOpenQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL", "NO_PERMISSION" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemOpenQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "item_list" : {
- "type" : "array",
- "description" : "商品列表",
- "items" : {
- "$ref" : "#/components/schemas/CmItemInfo"
- }
- }
- }
- },
- "AntMerchantExpandItemQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ARGUMENT_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "item_list" : {
- "type" : "array",
- "description" : "商品列表",
- "items" : {
- "$ref" : "#/components/schemas/ItemModel"
- }
- }
- }
- },
- "AntMerchantExpandItemStatusModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "DB_ERROR", "ARGUMENT_NULL", "ITEM_NOT_EXIST", "ITEM_ERROR_STATUS" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandItemStatusModifyModel" : {
- "type" : "object",
- "properties" : {
- "item_id" : {
- "type" : "string",
- "description" : "商品ID",
- "example" : "2018091300502200002600104169"
- },
- "status" : {
- "type" : "string",
- "description" : "商品状态:EFFECT、INVALID",
- "example" : "EFFECT"
- }
- }
- },
- "AntMerchantExpandItemStatusModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "item_id" : {
- "type" : "string",
- "description" : "商品id",
- "example" : "2018091300502200002600104169"
- }
- }
- },
- "AntMerchantExpandMccQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "MER_ARGUMENT_NULL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandMccQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "mcc_info_list" : {
- "type" : "array",
- "description" : "mcc查询信息结果列表",
- "items" : {
- "$ref" : "#/components/schemas/MccQueryInfo"
- }
- }
- }
- },
- "AntMerchantExpandOrderQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "NOT_ALLOW_QUERY", "ORDER_ID_EMPTY", "ORDER_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandOrderQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "apply_time" : {
- "type" : "string",
- "description" : "申请单创建时间",
- "example" : "2017-11-11 12:00:00"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "返回申请单相关参数。当前返回内容有cardAliasNo,smid",
- "example" : "{\"cardAliasNo\":\"ab7c65ab96\",\"smid\":\"20881234567890\"}"
- },
- "ip_role_id" : {
- "type" : "array",
- "description" : "商户角色id。间连商户或平台商二级商户业务中,本字段表示smid。审核通过后生成。",
- "items" : {
- "type" : "string"
- },
- "example" : "2088301155943087"
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "商户名称",
- "example" : "蚂蚁金服(杭州)网络技术有限公司"
- },
- "status" : {
- "type" : "string",
- "description" : "申请单状态。枚举支持:\t99:已完结;\t-1:失败;\t031:已提交审核。",
- "example" : "99"
- }
- }
- },
- "AntMerchantExpandShopCloseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "MER_ARGUMENT_NULL", "SHOP_NOT_EXIST", "RELATION_NOT_EXIST", "NOT_ALLOWED_SETTLE", "MER_ARGUMENT_ILLEGAL", "THIRD_SYSTEM_ERROR", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandShopCloseModel" : {
- "type" : "object",
- "properties" : {
- "ip_role_id" : {
- "type" : "string",
- "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。若未传入shop_id 则本参数与store_id均必填。",
- "example" : "2088301155943087"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "支付宝侧蚂蚁店铺 id。传入本参数后可不填 store_id 及 ip_role_id。",
- "example" : "2018011900502000000005124744"
- },
- "store_id" : {
- "type" : "string",
- "description" : "商户侧球房编号。表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号。若未传入 shop_id 则本参数与与ip_role_id均必填。",
- "example" : "NO0001"
- }
- }
- },
- "AntMerchantExpandShopCloseResponseModel" : {
- "type" : "object"
- },
- "AntMerchantExpandShopConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandShopConsultModel" : {
- "type" : "object",
- "properties" : {
- "biz_cards" : {
- "type" : "array",
- "description" : "球房结算卡信息。本业务当前只允许传入一张结算卡。\t说明:本参数仅直付通业务使用,其余业务无需关注。",
- "items" : {
- "$ref" : "#/components/schemas/SettleCardInfo"
- }
- },
- "brand_id" : {
- "type" : "string",
- "description" : "品牌id,非加油站等特殊球房无需关注。",
- "example" : "20181026000001"
- },
- "business_address" : {
- "$ref" : "#/components/schemas/AddressInfo"
- },
- "business_time" : {
- "type" : "array",
- "description" : "店铺经营时间。",
- "items" : {
- "$ref" : "#/components/schemas/ShopBusinessTime"
- }
- },
- "cert_image" : {
- "type" : "string",
- "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商家创建球房,必须传入营业执照图片。",
- "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "cert_name" : {
- "type" : "string",
- "description" : "营业执照名称,填写值为营业执照或统一社会信用代码证上的名称。\t注意:若传入 cert_no,则本参数必填。",
- "example" : "xxxx小卖铺"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "证件号码,请填写店铺营业执照号。\t注意:\t* 蚂蚁球房管理场景可选。\t* 间连 M1、M2商家创建球房,必须传入营业执照号。",
- "example" : "9133010608210550XR"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "证件类型,取值范围:201:营业执照;2011:多证合一(统一社会信用代码)。\t注意:若传入 cert_no,则本参数必填。",
- "example" : "201"
- },
- "contact_infos" : {
- "type" : "array",
- "description" : "联系人信息。如果填写,其中名称必填,手机、固话、email 三选一必填。",
- "items" : {
- "$ref" : "#/components/schemas/ContactInfo"
- }
- },
- "contact_mobile" : {
- "type" : "string",
- "description" : "店铺联系手机,与店铺联系固话二选一必填",
- "example" : "13901390139"
- },
- "contact_phone" : {
- "type" : "string",
- "description" : "店铺的联系固话,和店铺联系手机二选一必填",
- "example" : "010-62286228"
- },
- "ext_infos" : {
- "type" : "array",
- "description" : "扩展信息列表。key值需要向对应行业的bd进行申请。",
- "items" : {
- "$ref" : "#/components/schemas/ShopExtInfo"
- }
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid",
- "example" : "2088301155943087"
- },
- "legal_cert_no" : {
- "type" : "string",
- "description" : "法人身份证号。蚂蚁球房管理场景可选。",
- "example" : "100100198811110001"
- },
- "legal_name" : {
- "type" : "string",
- "description" : "法人名称。蚂蚁球房管理场景可选。",
- "example" : "马云"
- },
- "license_auth_letter_image" : {
- "type" : "string",
- "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蚂蚁球房管理场景可选。",
- "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "out_door_images" : {
- "type" : "string",
- "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蚂蚁球房管理场景可选。",
- "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "qualifications" : {
- "type" : "array",
- "description" : "行业特殊资质。",
- "items" : {
- "$ref" : "#/components/schemas/IndustryQualificationInfo"
- }
- },
- "scene" : {
- "type" : "string",
- "description" : "场景,非加油站等特殊球房无需关注。",
- "example" : "PARK"
- },
- "settle_alipay_logon_id" : {
- "type" : "string",
- "description" : "结算支付宝账号的登录号,需传入小程序归属账号。若需增加收款账号,可在创建球房后登录<a href=\"https://b.alipay.com/index2.htm\">商家中心</a> ,在 账户中心 > 经营信息 > 球房管理 中选择对应球房选择 更多 > 编辑 > 新增收款账号。",
- "example" : "demo@163.com"
- },
- "shop_category" : {
- "type" : "string",
- "description" : "新版球房类目标准二级类目code。类目标准及与原类目映射关系参见 <a href=\"https://ur.alipay.com/4cmn0n\">支付宝球房类目-最新</a> 表格。",
- "example" : "B0001"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "店铺名称。直连开店要保证全局店铺名称+地址唯一,间连开店要保证服务商pid下店铺名称+地址唯一",
- "example" : "肯德基中关村店"
- },
- "shop_type" : {
- "type" : "string",
- "description" : "店铺经营类型,01表示直营,02表示加盟",
- "example" : "01"
- },
- "store_id" : {
- "type" : "string",
- "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号",
- "example" : "NO0001"
- }
- }
- },
- "AntMerchantExpandShopConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "account_audit" : {
- "type" : "boolean",
- "description" : "资金账户是否审核。当调用没有报错时,本值才有参考意义",
- "example" : "true"
- },
- "order_id" : {
- "type" : "string",
- "description" : "咨询申请单id",
- "example" : "2018011900502000000005124744"
- },
- "risk_audit" : {
- "type" : "boolean",
- "description" : "是否风控审核。当调用没有报错时,本值才有参考意义",
- "example" : "true"
- }
- }
- },
- "AntMerchantExpandShopCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandShopCreateModel" : {
- "type" : "object",
- "properties" : {
- "biz_cards" : {
- "type" : "array",
- "description" : "球房结算卡信息。本业务当前只允许传入一张结算卡。\t说明:本参数仅直付通业务使用,其余业务无需关注。",
- "items" : {
- "$ref" : "#/components/schemas/SettleCardInfo"
- }
- },
- "brand_id" : {
- "type" : "string",
- "description" : "品牌id,非加油站等特殊球房无需关注。",
- "example" : "20181026000001"
- },
- "business_address" : {
- "$ref" : "#/components/schemas/AddressInfo"
- },
- "business_time" : {
- "type" : "array",
- "description" : "店铺经营时间。",
- "items" : {
- "$ref" : "#/components/schemas/ShopBusinessTime"
- }
- },
- "cert_image" : {
- "type" : "string",
- "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。",
- "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "cert_name" : {
- "type" : "string",
- "description" : "营业执照名称,填写值为营业执照或统一社会信用代码证上的名称。\t注意:若传入 cert_no,则本参数必填。",
- "example" : "xxxx小卖铺"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "证件号码,请填写店铺营业执照号。",
- "example" : "9133010608210550XR"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "证件类型,取值范围:201:营业执照;2011:多证合一(统一社会信用代码)。\t注意:若传入 cert_no,则本参数必填。",
- "example" : "201"
- },
- "contact_infos" : {
- "type" : "array",
- "description" : "联系人信息。如果填写,其中名称必填,手机、固话、email 三选一必填。",
- "items" : {
- "$ref" : "#/components/schemas/ContactInfo"
- }
- },
- "contact_mobile" : {
- "type" : "string",
- "description" : "店铺联系手机,与店铺联系固话二选一必填",
- "example" : "13901390139"
- },
- "contact_phone" : {
- "type" : "string",
- "description" : "店铺的联系固话,和店铺联系手机二选一必填",
- "example" : "010-62286228"
- },
- "ext_infos" : {
- "type" : "array",
- "description" : "扩展信息列表。key值需要向对应行业的bd进行申请。",
- "items" : {
- "$ref" : "#/components/schemas/ShopExtInfo"
- }
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。特别说明:IoT设备三绑定场景统一填写商户pid",
- "example" : "2088301155943087"
- },
- "legal_cert_no" : {
- "type" : "string",
- "description" : "法人身份证号。通过蚂蚁球房管理能力创建球房时可选。",
- "example" : "100100198811110001"
- },
- "legal_name" : {
- "type" : "string",
- "description" : "法人名称。通过蚂蚁球房管理能力创建球房时可选。",
- "example" : "支小宝"
- },
- "license_auth_letter_image" : {
- "type" : "string",
- "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通过蚂蚁球房管理能力创建球房时可选。",
- "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "out_door_images" : {
- "type" : "array",
- "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通过蚂蚁球房管理能力创建球房时可选。",
- "items" : {
- "type" : "string"
- },
- "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "qualifications" : {
- "type" : "array",
- "description" : "行业特殊资质。",
- "items" : {
- "$ref" : "#/components/schemas/IndustryQualificationInfo"
- }
- },
- "scene" : {
- "type" : "string",
- "description" : "场景,非加油站/酒店等特殊球房无需关注。",
- "example" : "PARK"
- },
- "settle_alipay_logon_id" : {
- "type" : "string",
- "description" : "结算支付宝账号的登录号。",
- "example" : "demo@163.com"
- },
- "shop_category" : {
- "type" : "string",
- "description" : "新版球房类目标准二级类目code。类目标准及与原类目映射关系参见 <a href=\"https://gw.alipayobjects.com/os/bmw-prod/4b3f82df-e53e-4b84-bc41-fe025101e726.xlsx\">支付宝球房类目-最新</a> 表格。",
- "example" : "B0001"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "店铺名称。直连开店要保证全局店铺名称+地址唯一,间连开店要保证服务商pid下店铺名称+地址唯一",
- "example" : "肯德基中关村店"
- },
- "shop_type" : {
- "type" : "string",
- "description" : "店铺经营类型,01表示直营,02表示加盟",
- "example" : "01"
- },
- "store_id" : {
- "type" : "string",
- "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号",
- "example" : "NO0001"
- }
- }
- },
- "AntMerchantExpandShopCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "exist_shop_id" : {
- "type" : "string",
- "description" : "触发幂等时返回已存在的球房shopId",
- "example" : "2022102800077000000039913046"
- },
- "order_id" : {
- "type" : "string",
- "description" : "申请单id",
- "example" : "2018012000502000000005130266"
- }
- }
- },
- "AntMerchantExpandShopModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandShopModifyModel" : {
- "type" : "object",
- "properties" : {
- "biz_cards" : {
- "type" : "array",
- "description" : "球房结算卡信息。本业务当前只允许传入一张结算卡。\t说明:本参数仅直付通业务使用,其余业务无需关注。",
- "items" : {
- "$ref" : "#/components/schemas/SettleCardInfo"
- }
- },
- "brand_id" : {
- "type" : "string",
- "description" : "品牌id。若无需更新本信息项,可以不填写",
- "example" : "20181026000001"
- },
- "business_address" : {
- "$ref" : "#/components/schemas/AddressInfo"
- },
- "business_time" : {
- "type" : "array",
- "description" : "店铺经营时间。若无需更新本信息项,可以不填写",
- "items" : {
- "$ref" : "#/components/schemas/ShopBusinessTime"
- }
- },
- "cert_image" : {
- "type" : "string",
- "description" : "营业执照图片url。其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。若无需更新本信息项,可以不填写",
- "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "cert_name" : {
- "type" : "string",
- "description" : "营业执照名称,填写值为营业执照或统一社会信用代码证上的名称。若无需更新本信息项,可以不填写\t注意:若传入 cert_no 则本参数必填。",
- "example" : "xxxx小卖铺"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "证件号码。请填写店铺营业执照号。若无需更新本信息项,可以不填写,以原有值为准",
- "example" : "9133010608210550XR"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "证件类型,取值范围:201:营业执照;2011:多证合一(统一社会信用代码)。若无需更新本信息项,可以不填写。\t注意:若传入 cert_no 则本参数必填。",
- "example" : "201"
- },
- "contact_infos" : {
- "$ref" : "#/components/schemas/ContactInfo"
- },
- "contact_mobile" : {
- "type" : "string",
- "description" : "店铺联系手机。若无需更新本信息项,可以不填写,以原有值为准",
- "example" : "13901390139"
- },
- "contact_phone" : {
- "type" : "string",
- "description" : "店铺的联系固话。若无需更新本信息项,可以不填写,以原有值为准",
- "example" : "010-62286228"
- },
- "ext_infos" : {
- "type" : "array",
- "description" : "扩展信息列表。key值需要向对应行业的bd进行申请。传入本项时,按key进行更新或补充",
- "items" : {
- "$ref" : "#/components/schemas/ShopExtInfo"
- }
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "商户角色id,表示将要修改的店属于哪个商户角色,和store_id一起定位待修改的球房。对于直连场景,填写商户pid;对于间连场景(线上、线下、直付通),填写商户smid。本接口中,如果没传shop_id,则本字段与store_id均必填。本信息项不可修改",
- "example" : "2088301155943087"
- },
- "legal_cert_no" : {
- "type" : "string",
- "description" : "法人身份证号。如果要更新,必须和legal_name成对传入",
- "example" : "100100198811110001"
- },
- "legal_name" : {
- "type" : "string",
- "description" : "法人名称。如果要更新,必须和legal_cert_no成对传入",
- "example" : "支小宝"
- },
- "license_auth_letter_image" : {
- "type" : "string",
- "description" : "营业执照授权函。其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。若无需更新本信息项,可以不填写",
- "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注。若无需更新本信息项,可以不填写",
- "example" : "备注"
- },
- "out_door_images" : {
- "type" : "array",
- "description" : "门头照,其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key。若无需更新本信息项,可以不填写。若填写则会整体覆盖原有的门头照列表",
- "items" : {
- "type" : "string"
- },
- "example" : "c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "qualifications" : {
- "type" : "array",
- "description" : "行业特殊资质。若无需更新本信息项,可以不填写。填写会按类型进行更新或补充",
- "items" : {
- "$ref" : "#/components/schemas/IndustryQualificationInfo"
- }
- },
- "scene" : {
- "type" : "string",
- "description" : "场景。若无需更新本信息项,可以不填写",
- "example" : "PARK"
- },
- "settle_alipay_logon_id" : {
- "type" : "string",
- "description" : "结算支付宝账号的登录号。若无需更新本信息项,可以不填写",
- "example" : "demo@163.com"
- },
- "shop_category" : {
- "type" : "string",
- "description" : "新版球房类目标准二级类目code。类目标准及与原shop_category映射关系参见表格 https://ur.alipay.com/2qv1f9。若无需更新本信息项,可以不填写",
- "example" : "B0001"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "蚂蚁店铺id,用于查出待修改的球房。填写本参数的话,store_id和ip_role_id可以不填。本信息项不可修改",
- "example" : "2018011900502000000005124744"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "店铺名称。直连开店要保证全局店铺名称+地址唯一,间连开店要保证服务商pid下店铺名称+地址唯一。若无需更新本信息项,可以不填写",
- "example" : "肯德基中关村店"
- },
- "store_id" : {
- "type" : "string",
- "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号。用于查出待修改的球房。本接口中,如果没传shop_id,则本字段与ip_role_id均必填;传入shop_id情况下,以shop_id为准查询球房,并修改本信息项",
- "example" : "NO0001"
- }
- }
- },
- "AntMerchantExpandShopModifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "申请单id",
- "example" : "2018012000502000000005130266"
- }
- }
- },
- "AntMerchantExpandShopPageQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "MER_ARGUMENT_NULL", "NOT_ALLOWED_SETTLE", "MERCHANT_NOT_EXIST", "SYSTEM_ERROR", "ADDRESS_VERSION_CODE_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandShopPageQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "shop_infos" : {
- "type" : "array",
- "description" : "球房详情",
- "items" : {
- "$ref" : "#/components/schemas/ShopQueryOpenApiVO"
- }
- },
- "total_pages" : {
- "type" : "integer",
- "description" : "总页数",
- "example" : "10"
- }
- }
- },
- "AntMerchantExpandShopQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandShopQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "brand_id" : {
- "type" : "string",
- "description" : "品牌id",
- "example" : "20181026000001"
- },
- "business_address" : {
- "$ref" : "#/components/schemas/AddressInfo"
- },
- "business_time" : {
- "type" : "array",
- "description" : "店铺经营时间。",
- "items" : {
- "$ref" : "#/components/schemas/ShopBusinessTime"
- }
- },
- "cert_image" : {
- "type" : "string",
- "description" : "营业执照图片url。返回值为一个有访问时限的链接",
- "example" : "https://mif-pub.alipayobjects.com/c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "cert_name" : {
- "type" : "string",
- "description" : "营业执照名称,值为营业执照或统一社会信用代码证上的名称。",
- "example" : "xxxx小卖铺"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "证件号码",
- "example" : "9133010608210550XR"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "证件类型,取值范围:201:营业执照;2011:多证合一(统一社会信用代码)。",
- "example" : "201"
- },
- "contact_infos" : {
- "type" : "array",
- "description" : "联系人信息。",
- "items" : {
- "$ref" : "#/components/schemas/ContactInfo"
- }
- },
- "contact_mobile" : {
- "type" : "string",
- "description" : "店铺联系手机",
- "example" : "13901390139"
- },
- "contact_phone" : {
- "type" : "string",
- "description" : "店铺的联系固话",
- "example" : "010-62286228"
- },
- "ext_infos" : {
- "type" : "array",
- "description" : "扩展信息列表。key值需要向对应行业的bd进行申请。",
- "items" : {
- "$ref" : "#/components/schemas/ShopExtInfo"
- }
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "商户角色id,表示将要开的店属于哪个商户角色。对于直连开店场景,填写商户pid;对于间连开店场景(线上、线下、直付通),填写商户smid。若未传入shop_id 则本参数与store_id均必填。",
- "example" : "2088301155943087"
- },
- "legal_cert_no" : {
- "type" : "string",
- "description" : "法人身份证号。",
- "example" : "100100198811110001"
- },
- "legal_name" : {
- "type" : "string",
- "description" : "法人名称。",
- "example" : "马云"
- },
- "license_auth_letter_image" : {
- "type" : "string",
- "description" : "营业执照授权函。返回值为一个有访问时限的链接",
- "example" : "https://mif-pub.alipayobjects.com/c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "new_shop_category" : {
- "type" : "string",
- "description" : "新版球房类目标准二级类目code。类目标准及与原shop_category映射关系参见文档https://gw.alipayobjects.com/os/bmw-prod/4b3f82df-e53e-4b84-bc41-fe025101e726.xlsx",
- "example" : "B0001"
- },
- "out_door_images" : {
- "type" : "array",
- "description" : "门头照,返回值为一个有访问时限的链接",
- "items" : {
- "type" : "string"
- },
- "example" : "https://mif-pub.alipayobjects.com/c6c0c7a1-b9d5-4e5d-b9d4-9eed39f00e65.jpg"
- },
- "qualifications" : {
- "type" : "array",
- "description" : "行业特殊资质。",
- "items" : {
- "$ref" : "#/components/schemas/IndustryQualificationInfo"
- }
- },
- "scene" : {
- "type" : "string",
- "description" : "场景",
- "example" : "PARK"
- },
- "settle_alipay_logon_id" : {
- "type" : "string",
- "description" : "结算支付宝账号的登录号",
- "example" : "demo@163.com"
- },
- "shop_category" : {
- "type" : "string",
- "description" : "店铺类目,取值参见文件https://mif-pub.alipayobjects.com/ShopCategory.xlsx 中的三级球房类目",
- "example" : "1001"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "支付宝侧蚂蚁店铺 id。传入本参数后可不填 store_id 及 ip_role_id。",
- "example" : "2018011900502000000005124744"
- },
- "shop_info_status" : {
- "type" : "string",
- "description" : "当前名称、地址、经纬度信息准确一致,可用于数字化经营场景消费(01=已认证,02=待优化,03=审核中,99=未知)",
- "example" : "01"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "店铺名称。",
- "example" : "肯德基中关村店"
- },
- "shop_recommend_info" : {
- "$ref" : "#/components/schemas/ShopRecommendInfo"
- },
- "shop_type" : {
- "type" : "string",
- "description" : "店铺经营类型,01表示直营,02表示加盟",
- "example" : "01"
- },
- "store_id" : {
- "type" : "string",
- "description" : "商户侧球房编号。表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号。若未传入 shop_id 则本参数与与ip_role_id均必填。",
- "example" : "NO0001"
- }
- }
- },
- "AntMerchantExpandShopReceiptaccountSaveErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AntMerchantExpandShopReceiptaccountSaveModel" : {
- "type" : "object",
- "properties" : {
- "promise" : {
- "type" : "string",
- "description" : "是否承诺收单账号信息准确。具体承诺信息可查看 <a href=\"https://gw.alipayobjects.com/os/bmw-prod/922bafa8-a712-4f79-aa32-6f08d7359a5c.docx\">球房信息承诺函</a>。\tY 是\tN 否",
- "example" : "Y"
- },
- "receipt_account_id" : {
- "type" : "string",
- "description" : "收单账号",
- "example" : "2088502344354813"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "店铺ID",
- "example" : "2022062300502007000073505619"
- }
- }
- },
- "AntMerchantExpandShopReceiptaccountSaveResponseModel" : {
- "type" : "object"
- },
- "AnttechOceanbaseTestplatformTaskQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "AnttechOceanbaseTestplatformTaskQueryModel" : {
- "type" : "object",
- "properties" : {
- "end_time" : {
- "type" : "string",
- "description" : "筛选结束时间",
- "example" : "2022-04-18 15:28:52"
- },
- "palyer" : {
- "type" : "string",
- "description" : "参赛选手的名字",
- "example" : "无名选手"
- },
- "run_task_retry" : {
- "type" : "integer",
- "description" : "允许超时任务的重试次数",
- "example" : "3"
- },
- "run_task_time_out_minutes" : {
- "type" : "integer",
- "description" : "获取任务时先获取超时任务,这里传入的是超时的分钟数。默认30分钟。",
- "example" : "30"
- },
- "start_time" : {
- "type" : "string",
- "description" : "获取任务的筛选条件",
- "example" : "2022-04-15 18:36:24"
- },
- "test_cases" : {
- "type" : "string",
- "description" : "二级提测题目",
- "example" : "查询元数据校验select-meta"
- },
- "test_info" : {
- "type" : "string",
- "description" : "测试结果描述、备注信息",
- "example" : "代码风格比较好"
- },
- "test_suite" : {
- "type" : "string",
- "description" : "一级提测题目",
- "example" : "mini-ob"
- }
- }
- },
- "AnttechOceanbaseTestplatformTaskQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "branch" : {
- "type" : "string",
- "description" : "提测代码的分支",
- "example" : "test-miniob"
- },
- "commit_id" : {
- "type" : "string",
- "description" : "提测代码仓库的commit id",
- "example" : "586cbbe560dff2792dcc76e5705367b21fa1df5d"
- },
- "current_retry" : {
- "type" : "string",
- "description" : "当前任务的运行(重试)次数",
- "example" : "1"
- },
- "git_repo" : {
- "type" : "string",
- "description" : "代码仓库的url",
- "example" : "https://github.com/oceanbase/oceanbase.git"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "任务创建的时间戳",
- "example" : "2022-04-15 18:36:24"
- },
- "player" : {
- "type" : "string",
- "description" : "参赛选手的名字",
- "example" : "无名选手"
- },
- "result_type" : {
- "type" : "integer",
- "description" : "提测结果类型 默认1",
- "example" : "1"
- },
- "task_id" : {
- "type" : "integer",
- "description" : "测试任务的Id",
- "example" : "1"
- },
- "test_cases" : {
- "type" : "string",
- "description" : "二级提测题目",
- "example" : "查询元数据校验select-meta"
- },
- "test_info" : {
- "type" : "string",
- "description" : "测试题目",
- "example" : "必做。查询语句中存在不存在的列名、表名等,需要返回失败。需要检查代码,判断是否需要返回错误的地方都返回错误了。"
- },
- "test_suite" : {
- "type" : "string",
- "description" : "一级提测题目",
- "example" : "mini-ob"
- }
- }
- },
- "AppMemberInfo" : {
- "type" : "object",
- "properties" : {
- "gmt_invite" : {
- "type" : "string",
- "description" : "邀请时间",
- "example" : "2017-09-08 12:00:00"
- },
- "gmt_join" : {
- "type" : "string",
- "description" : "加入时间",
- "example" : "2017-08-12"
- },
- "logon_id" : {
- "type" : "string",
- "description" : "支付宝登录账号",
- "example" : "test@example.com"
- },
- "nick_name" : {
- "type" : "string",
- "description" : "昵称",
- "example" : "张三"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "portrait" : {
- "type" : "string",
- "description" : "头像地址",
- "example" : "http://imageg.alipay.com/1"
- },
- "role" : {
- "type" : "string",
- "description" : "角色类型",
- "example" : "DEVELOPER"
- },
- "status" : {
- "type" : "string",
- "description" : "成员的状态,VALID-有效,UNCONFIRMED-未确认,TIMEOUT-已经失效,REFUSED-用户拒绝",
- "example" : "VALID"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户id",
- "example" : "20881234123412341234"
- }
- }
- },
- "AppTokenExchangeSubElement" : {
- "type" : "object",
- "properties" : {
- "app_auth_token" : {
- "type" : "string",
- "description" : "应用授权令牌",
- "example" : "201509BBeff9351ad1874306903e96b91d248A36"
- },
- "app_refresh_token" : {
- "type" : "string",
- "description" : "刷新令牌",
- "example" : "201509BBdcba1e3347de4e75ba3fed2c9abebE36"
- },
- "auth_app_id" : {
- "type" : "string",
- "description" : "授权商户appid",
- "example" : "2013121100055554"
- },
- "expires_in" : {
- "type" : "string",
- "description" : "过期时间",
- "example" : "123456"
- },
- "re_expires_in" : {
- "type" : "string",
- "description" : "刷新令牌过期时间",
- "example" : "123456"
- },
- "user_id" : {
- "type" : "string",
- "description" : "授权商户的user_id",
- "example" : "2088102150527498"
- }
- }
- },
- "AppVersionInfo" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "版本号,一般为x.y.x格式,其中x、y、z都是数字",
- "example" : "0.2.9"
- },
- "base_audit" : {
- "type" : "string",
- "description" : "准入审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
- "example" : "PASS"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端信息,默认为支付宝端",
- "example" : "com.alipay.alipaywallet"
- },
- "can_release" : {
- "type" : "string",
- "description" : "是否可上架\ttrue:可上架\tfalse:不可上架\t(version_status 为PROMOTE_AUDIT_REJECT有值)\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
- "example" : "true"
- },
- "create_time" : {
- "type" : "string",
- "description" : "版本创建时间,精确到秒",
- "example" : "2019-12-11 19:00:12"
- },
- "promote_audit" : {
- "type" : "string",
- "description" : "营销审核结果:\tPASS:通过\tREJECT:驳回\t(提审时 audit_rule 传 BASE_PROMOTE 时有该字段)",
- "example" : "PASS"
- },
- "version_description" : {
- "type" : "string",
- "description" : "版本描述,介绍此版本的主要变更和功能",
- "example" : "该版本新增了XXX功能,修复了XXX的bug,优化了用户体验。"
- },
- "version_status" : {
- "type" : "string",
- "description" : "版本状态,可选值为:INIT: 开发中, AUDITING: 审核中, AUDIT_REJECT: 审核驳回, WAIT_RELEASE: 待上架, BASE_AUDIT_PASS: 准入不可营销, GRAY: 灰度中, RELEASE: 已上架, OFFLINE: 已下架, AUDIT_OFFLINE: 被强制下架;",
- "example" : "AUDITING"
- }
- }
- },
- "ApplyOrderData" : {
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
- "example" : "BRAND_BOX"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称",
- "example" : "小程序名称"
- },
- "appid" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2021001105612404"
- },
- "audit_reason" : {
- "type" : "string",
- "description" : "审核原因",
- "example" : "审核原因"
- },
- "brand_template_id" : {
- "type" : "string",
- "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四",
- "example" : "DEFAULT"
- },
- "create_time" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2020-10-16 12:32:40"
- },
- "is_old_data" : {
- "type" : "boolean",
- "description" : "标识老工单",
- "example" : "false"
- },
- "latest" : {
- "type" : "boolean",
- "description" : "是不是最新的工单",
- "example" : "false"
- },
- "major_status" : {
- "type" : "string",
- "description" : "服务主状态,INITIAL:初始化;VALID:已生效;INVALID:已失效",
- "example" : "INITIAL"
- },
- "order_id" : {
- "type" : "string",
- "description" : "申请单ID",
- "example" : "AP20200212100002488"
- },
- "part_agree_info" : {
- "type" : "array",
- "description" : "审核提效部分剔除数据的信息",
- "items" : {
- "$ref" : "#/components/schemas/SearchPartAgreeInfo"
- }
- },
- "scene_code" : {
- "type" : "string",
- "description" : "场景编码",
- "example" : "HOT_WORD_RANKING"
- },
- "scene_name" : {
- "type" : "string",
- "description" : "场景名称",
- "example" : "场景名称"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务码",
- "example" : "2019121121000102523089"
- },
- "status" : {
- "type" : "string",
- "description" : "申请状态 AGREE、REJECT、EDIT、AUDIT",
- "example" : "AGREE"
- },
- "sub_service_name" : {
- "type" : "string",
- "description" : "子服务名称",
- "example" : "子服务名称"
- }
- }
- },
- "ArInvoiceLineOpenApiResponse" : {
- "type" : "object",
- "properties" : {
- "amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "duty_free_flag" : {
- "type" : "string",
- "description" : "免税标识"
- },
- "incl_tax_unit_amt" : {
- "type" : "integer",
- "description" : "含税单价"
- },
- "invoice_id" : {
- "type" : "string",
- "description" : "关联的发票ID"
- },
- "invoice_line_id" : {
- "type" : "string",
- "description" : "发票行iD"
- },
- "measurement_unit" : {
- "type" : "string",
- "description" : "计量单位"
- },
- "product_name" : {
- "type" : "string",
- "description" : "货物或劳务名称"
- },
- "product_specification" : {
- "type" : "string",
- "description" : "规格型号"
- },
- "quantity" : {
- "type" : "integer",
- "description" : "数量"
- },
- "tax_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "tax_exclusive_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "tax_rate" : {
- "type" : "integer",
- "description" : "税率"
- },
- "unit_amt" : {
- "type" : "integer",
- "description" : "单价"
- }
- }
- },
- "ArInvoiceOpenApiResponse" : {
- "type" : "object",
- "properties" : {
- "ar_invoice_lines" : {
- "type" : "array",
- "description" : "发票行信息集合",
- "items" : {
- "$ref" : "#/components/schemas/ArInvoiceLineOpenApiResponse"
- }
- },
- "buyer_address" : {
- "type" : "string",
- "description" : "购方的地址"
- },
- "buyer_bank_account" : {
- "type" : "string",
- "description" : "购方银行账号"
- },
- "buyer_bank_name" : {
- "type" : "string",
- "description" : "购方开户行名称"
- },
- "buyer_invoice_title" : {
- "type" : "string",
- "description" : "购方发票抬头,用于打印在发票上"
- },
- "buyer_tax_no" : {
- "type" : "string",
- "description" : "购方税号"
- },
- "buyer_telephone" : {
- "type" : "string",
- "description" : "购方的电话号码"
- },
- "can_link" : {
- "type" : "boolean",
- "description" : "是否可以关联账单"
- },
- "creator" : {
- "type" : "string",
- "description" : "创建人"
- },
- "drawer" : {
- "type" : "string",
- "description" : "开票人"
- },
- "elc_invoice_url" : {
- "type" : "string",
- "description" : "电子发票在oss上的存储地址"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间"
- },
- "inst_id" : {
- "type" : "string",
- "description" : "对应发票所在OU的id,用于标示该发票所述的OU。"
- },
- "invoice_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "invoice_channel" : {
- "type" : "string",
- "description" : "开票渠道,01:在线,02:线下"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票编码"
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "发票的开票日期,yyyyMMdd"
- },
- "invoice_id" : {
- "type" : "string",
- "description" : "发票ID,唯一标示一张发票"
- },
- "invoice_material" : {
- "type" : "string",
- "description" : "发票介质,01:电子,02:纸质"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码"
- },
- "invoice_note" : {
- "type" : "string",
- "description" : "发票备注"
- },
- "invoice_status" : {
- "type" : "string",
- "description" : "发票状态:用于标示发票当前的状态,状态类型以及相关含义\r\t01:待开票,02:开票中,03:已开票,04:作废中,05:已作废,06:红冲中,07:已红冲,08:部分红冲,09:无效"
- },
- "invoice_type" : {
- "type" : "string",
- "description" : "发票类型:01:专票,02:普票,03:营业税发票,04:国际形式发票,05:其它发票"
- },
- "ip_id" : {
- "type" : "string",
- "description" : "对应发票商户的ipId,在主站标示mid,在其他环境标示ip_id。"
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "商户结算的ipRoleId,表示商户的结算对象,在主站表示pid。"
- },
- "last_moder" : {
- "type" : "string",
- "description" : "最近修改人"
- },
- "linked_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "mail_status" : {
- "type" : "string",
- "description" : "发票开出后的邮寄状态,具体状态说明\r\t01:待邮寄,02:已邮寄,03:退回中,04:已退回"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注"
- },
- "no_bill_invoice_flag" : {
- "type" : "string",
- "description" : "是否是无账单发票 Y:是 N:不是"
- },
- "online" : {
- "type" : "boolean",
- "description" : "是否为点在发票\r\ttrue:是, false:不是"
- },
- "payee" : {
- "type" : "string",
- "description" : "收款人"
- },
- "recent_mail_id" : {
- "type" : "string",
- "description" : "邮件信息的主键,用于‘根据发票邮寄ID获取当前的邮寄信息’的查询输入。"
- },
- "red" : {
- "type" : "string",
- "description" : "是否红字 Y:红字, N:蓝字"
- },
- "red_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "rel_blue_invoices" : {
- "type" : "array",
- "description" : "发票如果有关联的蓝票则显示发票关联的蓝票信息",
- "items" : {
- "$ref" : "#/components/schemas/ArRelInvoiceOpenApiResponse"
- }
- },
- "rel_red_invoices" : {
- "type" : "array",
- "description" : "如果发票有关联的红票则为关联的红票的信息",
- "items" : {
- "$ref" : "#/components/schemas/ArRelInvoiceOpenApiResponse"
- }
- },
- "reviewer" : {
- "type" : "string",
- "description" : "复核人"
- },
- "seller_address" : {
- "type" : "string",
- "description" : "销方公司地址"
- },
- "seller_bank_account" : {
- "type" : "string",
- "description" : "销方银行账号"
- },
- "seller_bank_name" : {
- "type" : "string",
- "description" : "销方开户行名称"
- },
- "seller_company_name" : {
- "type" : "string",
- "description" : "销方公司名称"
- },
- "seller_tax_no" : {
- "type" : "string",
- "description" : "销方税号,用于打印在发票上"
- },
- "seller_telephone" : {
- "type" : "string",
- "description" : "销方公司电话"
- },
- "tnt_inst_id" : {
- "type" : "string",
- "description" : "租户id"
- }
- }
- },
- "ArInvoiceReceiptOpenApiResponse" : {
- "type" : "object",
- "properties" : {
- "arrangement_no" : {
- "type" : "string",
- "description" : "合约号",
- "example" : "20180410I1019001100551917674"
- },
- "id" : {
- "type" : "string",
- "description" : "可开票单据主键ID",
- "example" : "2016090310122000040400210000000001"
- },
- "inst_id" : {
- "type" : "string",
- "description" : "机构ID",
- "example" : "Z50"
- },
- "inv_dt" : {
- "type" : "string",
- "description" : "开票时间 格式:yyyymm",
- "example" : "201807"
- },
- "inv_mode" : {
- "type" : "string",
- "description" : "开票模式\r\t01:实收开票, 02:应收开票, 03:累计实收开票",
- "example" : "02"
- },
- "invoice_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "invoiced_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "ip_id" : {
- "type" : "string",
- "description" : "结算ip_id",
- "example" : "727407"
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "结算对象ip_role_id",
- "example" : "2088301208226048"
- },
- "last_moder" : {
- "type" : "string",
- "description" : "最后修改人",
- "example" : "李某某"
- },
- "link_invoice_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部单据号,对应开票记录的月账单号",
- "example" : "2017090611122000040400450000091196"
- },
- "out_biz_type" : {
- "type" : "string",
- "description" : "可开票单据来源,01:主站,02:芝麻,03:金融云,04:微贷",
- "example" : "03"
- },
- "pay_way" : {
- "type" : "string",
- "description" : "付款方式,1:资金,5:走量",
- "example" : "1"
- },
- "prod_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "w1010100100000000018"
- },
- "settle_type" : {
- "type" : "string",
- "description" : "结算类型 ,01:实时,02:预收,03:后收,04:周期性,05:按日汇总,09:延期结算",
- "example" : "02"
- },
- "status" : {
- "type" : "string",
- "description" : "开票金额消耗状态:01未开票,02部分开票,03:已开票",
- "example" : "01"
- },
- "tax_rate" : {
- "type" : "integer",
- "description" : "税率",
- "example" : "0.06"
- },
- "tax_type" : {
- "type" : "string",
- "description" : "税收类型01:增值税,02:营业税",
- "example" : "01"
- },
- "tnt_inst_id" : {
- "type" : "string",
- "description" : "租户ID",
- "example" : "ANTGW2CN"
- },
- "type" : {
- "type" : "string",
- "description" : "类型,1:应收,2:返点",
- "example" : "1"
- }
- }
- },
- "ArMonthlyBillDTO" : {
- "type" : "object",
- "properties" : {
- "account_day" : {
- "type" : "string",
- "description" : "出账日",
- "example" : "20180723"
- },
- "accrued_date" : {
- "type" : "string",
- "description" : "应收日期(yyyyMMdd)",
- "example" : "20180723"
- },
- "adjust_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "analysis_dmsn_1" : {
- "type" : "string",
- "description" : "分析维度1",
- "example" : "biz_pd_code=G1010100100000000004"
- },
- "analysis_dmsn_2" : {
- "type" : "string",
- "description" : "分析维度2",
- "example" : "recon_inst=V_F51_SZBK"
- },
- "analysis_dmsn_3" : {
- "type" : "string",
- "description" : "分析维度3",
- "example" : "payer_inst_code=SZBK"
- },
- "analysis_dmsn_4" : {
- "type" : "string",
- "description" : "分析维度4",
- "example" : "groupIpId=123&groupIpRoleId=def"
- },
- "arrangement_no" : {
- "type" : "string",
- "description" : "合约号,商户签约产品对应的合约号",
- "example" : "20180321I1019001104967771632"
- },
- "bill_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "bill_end_date" : {
- "type" : "string",
- "description" : "账单结束日期",
- "example" : "20180723"
- },
- "bill_month" : {
- "type" : "string",
- "description" : "账单月",
- "example" : "201807"
- },
- "bill_no" : {
- "type" : "string",
- "description" : "月账单号,唯一标识月账单的ID",
- "example" : "2016092910122000040400930000000001"
- },
- "bill_start_date" : {
- "type" : "string",
- "description" : "账单开始日期",
- "example" : "20180723"
- },
- "bill_type" : {
- "type" : "string",
- "description" : "账单类型\r\t21:应收月账单\r\t目前仅支持该类型的账单类型",
- "example" : "21"
- },
- "charge_item_code" : {
- "type" : "string",
- "description" : "收费项编码",
- "example" : "CREDIT_QUERY_FEE"
- },
- "charge_type" : {
- "type" : "string",
- "description" : "计费类型\r\t01:云在线计费,02:离线计费,03:老主站计收费,04:芝麻在线计收费",
- "example" : "01"
- },
- "check_status" : {
- "type" : "string",
- "description" : "出账状态\r\t01:账单生成,02:待确认出账,03:已出账,04:客户已对账,05:对账差异,06:部分出账",
- "example" : "03"
- },
- "checked_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "checking_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "clcn_basic_amt" : {
- "type" : "integer",
- "description" : "计算依据",
- "example" : "100"
- },
- "clcn_basic_type" : {
- "type" : "string",
- "description" : "计算依据类型\r\t01:交易金额,02:交易笔数,03:交易张数,04:资费依据扩展,05:其他",
- "example" : "01"
- },
- "clcn_method" : {
- "type" : "string",
- "description" : "计算方法\r\t01:差额累进,02:全额累进,03:按传入金额收费,04:价格包量,05:包时间周期,06:按时间全额累进,07:包时间周期差额累进,08:期间差额累进,09:期间全额累进,10:包时间周期单笔,11:标准单笔计费,12:包时间周期单笔-按照传入金额计费,13:期间靠档差额累进,靠档计息使用,14:自定义",
- "example" : "02"
- },
- "freeze_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间(创建备份时需要)",
- "example" : "1533039333744"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间(创建备份时需要)",
- "example" : "1533039333744"
- },
- "gmt_pay" : {
- "type" : "string",
- "description" : "付款时间",
- "example" : "1533039333744"
- },
- "inst_id" : {
- "type" : "string",
- "description" : "分支机构号",
- "example" : "Z50"
- },
- "invoice_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "invoiced_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "ip_id" : {
- "type" : "string",
- "description" : "结算对象参与者标识",
- "example" : "17998789"
- },
- "ip_name" : {
- "type" : "string",
- "description" : "参与者名字",
- "example" : "ip_name"
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "结算对象参与者角色标识",
- "example" : "2088421727939934"
- },
- "last_moder" : {
- "type" : "string",
- "description" : "最后修改人",
- "example" : "李某某"
- },
- "link_invoice_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "pay_original" : {
- "type" : "string",
- "description" : "付款来源\r\t1:主账务,2:包量,3:预收,4:预存,5:银行,6:积分,7:统一支付,8:支付受理",
- "example" : "1"
- },
- "pay_status" : {
- "type" : "string",
- "description" : "付款状态\r\t01:待结算;02:部分结算;03:结算完成",
- "example" : "01"
- },
- "pay_way" : {
- "type" : "string",
- "description" : "付款方式\r\t1:资金;2:包量",
- "example" : "1"
- },
- "payee_account" : {
- "type" : "string",
- "description" : "收款方账号",
- "example" : "20880013684318990156"
- },
- "payer_account" : {
- "type" : "string",
- "description" : "付款方账号",
- "example" : "20880013684318990156"
- },
- "payer_ip_role_id" : {
- "type" : "string",
- "description" : "扣款对象pid",
- "example" : "2088301287583636"
- },
- "prod_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "w1010100100000000018"
- },
- "received_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "record_id" : {
- "type" : "string",
- "description" : "记录id,账单全局唯一号",
- "example" : "70cf1a075478780bc0c38d1e9e28c001"
- },
- "service_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "settle_type" : {
- "type" : "string",
- "description" : "结算类型\r\t01:实时;02:预收;03:后收;04:周期结算;05:按日汇总结算;09:延期结算",
- "example" : "03"
- },
- "sign_ip_id" : {
- "type" : "string",
- "description" : "签约对象参与者标识",
- "example" : "203668"
- },
- "sign_ip_role_id" : {
- "type" : "string",
- "description" : "签约对象参与者角色标识",
- "example" : "2088101106290325"
- },
- "stl_ip_role_id" : {
- "type" : "string",
- "description" : "结算对象PID",
- "example" : "2088301287583636"
- },
- "tax_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "tax_rate" : {
- "type" : "integer",
- "description" : "税率",
- "example" : "0.01"
- },
- "tax_type" : {
- "type" : "string",
- "description" : "税收类型,01:增值税,02:营业税\r\t营业税已经在大部分行业废弃,要传入需咨询后再确认",
- "example" : "01"
- },
- "to_writeoff_detail_count" : {
- "type" : "integer",
- "description" : "待核销明细数量",
- "example" : "3"
- },
- "type" : {
- "type" : "string",
- "description" : "账单分类 1应收,2返点",
- "example" : "1"
- },
- "writeoff_detail_dount" : {
- "type" : "integer",
- "description" : "核销明细数量",
- "example" : "5"
- },
- "writingoff_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- }
- }
- },
- "ArRelInvoiceOpenApiResponse" : {
- "type" : "object",
- "properties" : {
- "ar_invoice_lines" : {
- "$ref" : "#/components/schemas/ArInvoiceLineOpenApiResponse"
- },
- "buyer_address" : {
- "type" : "string",
- "description" : "购方的地址"
- },
- "buyer_bank_account" : {
- "type" : "string",
- "description" : "购方银行账号"
- },
- "buyer_bank_name" : {
- "type" : "string",
- "description" : "购方开户行名称"
- },
- "buyer_invoice_title" : {
- "type" : "string",
- "description" : "购方发票抬头,用于打印在发票上"
- },
- "buyer_tax_no" : {
- "type" : "string",
- "description" : "购方税号"
- },
- "buyer_telephone" : {
- "type" : "string",
- "description" : "购方的电话号码"
- },
- "can_link" : {
- "type" : "boolean",
- "description" : "是否可以关联账单"
- },
- "creator" : {
- "type" : "string",
- "description" : "创建人"
- },
- "drawer" : {
- "type" : "string",
- "description" : "开票人"
- },
- "elc_invoice_url" : {
- "type" : "string",
- "description" : "电子发票在oss上的存储地址"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间"
- },
- "inst_id" : {
- "type" : "string",
- "description" : "对应发票所在OU的id,用于标示该发票所述的OU。"
- },
- "invoice_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "invoice_channel" : {
- "type" : "string",
- "description" : "开票渠道,01:在线,02:线下"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票编码"
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "发票的开票日期,yyyyMMdd"
- },
- "invoice_id" : {
- "type" : "string",
- "description" : "发票ID,唯一标示一张发票"
- },
- "invoice_material" : {
- "type" : "string",
- "description" : "发票介质,01:电子,02:纸质"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码"
- },
- "invoice_note" : {
- "type" : "string",
- "description" : "发票备注"
- },
- "invoice_status" : {
- "type" : "string",
- "description" : "发票状态:用于标示发票当前的状态,状态类型以及相关含义 01:待开票,02:开票中,03:已开票,04:作废中,05:已作废,06:红冲中,07:已红冲,08:部分红冲,09:无效"
- },
- "invoice_type" : {
- "type" : "string",
- "description" : "发票类型:01:专票,02:普票,03:营业税发票,04:国际形式发票,05:其它发票"
- },
- "ip_id" : {
- "type" : "string",
- "description" : "对应发票商户的ipId,在主站标示mid,在其他环境标示ip_id。"
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "商户结算的ipRoleId,表示商户的结算对象,在主站表示pid。"
- },
- "last_moder" : {
- "type" : "string",
- "description" : "最近修改人"
- },
- "linked_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "mail_status" : {
- "type" : "string",
- "description" : "发票开出后的邮寄状态,具体状态说明 01:待邮寄,02:已邮寄,03:退回中,04:已退回"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注"
- },
- "no_bill_invoice_flag" : {
- "type" : "string",
- "description" : "是否是无账单发票 Y:是 N:不是"
- },
- "online" : {
- "type" : "boolean",
- "description" : "是否为线上发票 true:是, false:不是"
- },
- "payee" : {
- "type" : "string",
- "description" : "收款人"
- },
- "recent_mail_id" : {
- "type" : "string",
- "description" : "邮件信息的主键,用于‘根据发票邮寄ID获取当前的邮寄信息’的查询输入。"
- },
- "red" : {
- "type" : "string",
- "description" : "是否红字 Y:红字, N:蓝字"
- },
- "red_amt" : {
- "$ref" : "#/components/schemas/MultiCurrencyMoneyOpenApi"
- },
- "reviewer" : {
- "type" : "string",
- "description" : "复核人"
- },
- "seller_address" : {
- "type" : "string",
- "description" : "销方公司地址"
- },
- "seller_bank_account" : {
- "type" : "string",
- "description" : "销方银行账号"
- },
- "seller_bank_name" : {
- "type" : "string",
- "description" : "销方开户行名称"
- },
- "seller_company_name" : {
- "type" : "string",
- "description" : "销方公司名称"
- },
- "seller_tax_no" : {
- "type" : "string",
- "description" : "销方税号,用于打印在发票上"
- },
- "seller_telephone" : {
- "type" : "string",
- "description" : "销方公司电话"
- },
- "tnt_inst_id" : {
- "type" : "string",
- "description" : "租户id"
- }
- }
- },
- "Article" : {
- "type" : "object",
- "properties" : {
- "action_name" : {
- "type" : "string",
- "description" : "链接文字"
- },
- "desc" : {
- "type" : "string",
- "description" : "图文消息内容"
- },
- "image_url" : {
- "type" : "string",
- "description" : "图片链接,对于多条图文消息的第一条消息,该字段不能为空; 请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
- },
- "title" : {
- "type" : "string",
- "description" : "图文消息标题"
- },
- "url" : {
- "type" : "string",
- "description" : "点击图文消息跳转的链接"
- }
- }
- },
- "ArticleAttachmentInfo" : {
- "type" : "object",
- "properties" : {
- "file_name" : {
- "type" : "string",
- "description" : "文章附件"
- },
- "key" : {
- "type" : "string",
- "description" : "附件完整Key"
- },
- "url" : {
- "type" : "string",
- "description" : "附件的url"
- }
- }
- },
- "ArticleCategoryInfo" : {
- "type" : "object",
- "properties" : {
- "children" : {
- "type" : "array",
- "description" : "子节点",
- "items" : {
- "type" : "string"
- }
- },
- "description" : {
- "type" : "string",
- "description" : "节点描述"
- },
- "father_id" : {
- "type" : "integer",
- "description" : "父节点ID"
- },
- "id" : {
- "type" : "integer",
- "description" : "类目ID"
- },
- "name" : {
- "type" : "string",
- "description" : "节点名称"
- },
- "tags" : {
- "type" : "array",
- "description" : "标签",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "ArticleInfo" : {
- "type" : "object",
- "properties" : {
- "attachments" : {
- "type" : "array",
- "description" : "文章对应附件集合",
- "items" : {
- "$ref" : "#/components/schemas/ArticleAttachmentInfo"
- }
- },
- "category_id" : {
- "type" : "integer",
- "description" : "所属类目ID",
- "example" : "12"
- },
- "category_name_path" : {
- "type" : "string",
- "description" : "类目名称路径",
- "example" : "知识库-演示"
- },
- "category_path" : {
- "type" : "array",
- "description" : "类目路径",
- "items" : {
- "$ref" : "#/components/schemas/ArticleCategoryInfo"
- }
- },
- "content" : {
- "type" : "string",
- "description" : "内容",
- "example" : "我是文章内容"
- },
- "create_time" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2020-12-31 23:59:59"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建人",
- "example" : "10001"
- },
- "extend_titles" : {
- "type" : "array",
- "description" : "扩展标题",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"支付宝\",\"知识库\"]"
- },
- "id" : {
- "type" : "integer",
- "description" : "文章ID",
- "example" : "1"
- },
- "keywords" : {
- "type" : "array",
- "description" : "标签",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"标签\"]"
- },
- "library_id" : {
- "type" : "integer",
- "description" : "知识库ID",
- "example" : "1"
- },
- "order_no" : {
- "type" : "integer",
- "description" : "排序值",
- "example" : "5"
- },
- "pictures" : {
- "type" : "array",
- "description" : "文章对应图片集合",
- "items" : {
- "$ref" : "#/components/schemas/ArticleAttachmentInfo"
- }
- },
- "publish_end" : {
- "type" : "string",
- "description" : "有效期止",
- "example" : "2022-06-11 16:14:58"
- },
- "publish_start" : {
- "type" : "string",
- "description" : "有效期起始",
- "example" : "2020-06-11 16:14:58"
- },
- "scene_codes" : {
- "type" : "array",
- "description" : "场景ID。1(内部知识库);2(机器人);3(帮助中心);4(无线帮助中心)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"1\",\"2\",\"3\",\"4\"]"
- },
- "source" : {
- "type" : "string",
- "description" : "来源",
- "example" : "网关录入"
- },
- "status" : {
- "type" : "string",
- "description" : "文章状态",
- "example" : "已发布"
- },
- "status_code" : {
- "type" : "string",
- "description" : "文章状态码",
- "example" : "PUBLISHED"
- },
- "title" : {
- "type" : "string",
- "description" : "标题",
- "example" : "我是文章标题"
- },
- "update_time" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2020-12-31 23:59:59"
- },
- "updater_id" : {
- "type" : "string",
- "description" : "修改人",
- "example" : "10001"
- },
- "updater_name" : {
- "type" : "string",
- "description" : "修改人名称",
- "example" : "admin"
- }
- }
- },
- "ArticleSummaryAnalysisData" : {
- "type" : "object",
- "properties" : {
- "avg_read_time" : {
- "type" : "string",
- "description" : "人均阅读时长",
- "example" : "50.39"
- },
- "date" : {
- "type" : "string",
- "description" : "日期",
- "example" : "20171101"
- },
- "deliver_user_cnt" : {
- "type" : "integer",
- "description" : "送达人数",
- "example" : "10"
- },
- "expose_user_cnt" : {
- "type" : "integer",
- "description" : "图文曝光人数",
- "example" : "30"
- },
- "praise_user_cnt" : {
- "type" : "integer",
- "description" : "点赞数",
- "example" : "30"
- },
- "read_user_cnt" : {
- "type" : "integer",
- "description" : "图文阅读人数",
- "example" : "20"
- },
- "reply_user_cnt" : {
- "type" : "integer",
- "description" : "评论数",
- "example" : "30"
- },
- "share_user_cnt" : {
- "type" : "integer",
- "description" : "分享人数",
- "example" : "40"
- }
- }
- },
- "AssetShareSourceInfo" : {
- "type" : "object",
- "properties" : {
- "share_mode" : {
- "type" : "string",
- "description" : "当前规则可用的资产来源类型,搭配source_id_list使用。"
- },
- "source_id_list" : {
- "type" : "array",
- "description" : "资产共享来源id列表,与share_mode配合设置",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "Attachment" : {
- "type" : "object",
- "properties" : {
- "attachment_name" : {
- "type" : "string",
- "description" : "流程附件名称"
- },
- "file_id" : {
- "type" : "string",
- "description" : "流程附件id"
- }
- }
- },
- "AttachmentDetail" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "创建流程时指定的附件code,可能为空。(身份证正反面的固定code:正面:ESIGN_IDCARD,背面:ESIGN_BACK_IDCARD)",
- "example" : "phonePicture"
- },
- "file_name" : {
- "type" : "string",
- "description" : "附件文件名",
- "example" : "手机正面照.pdf"
- },
- "file_url" : {
- "type" : "string",
- "description" : "附件下载地址",
- "example" : "https://asset.tsign.cn/apps/esign-nuxt-website/prod/1.0.7/img/1acc358.png"
- }
- }
- },
- "AttachmentExplain" : {
- "type" : "object",
- "properties" : {
- "allow_more_uploads" : {
- "type" : "boolean",
- "description" : "允许上传更多附件。开启后,除了“附件列表”中指定的内容,签署人可自由上传之多10张图片。默认值为false",
- "example" : "true"
- },
- "description" : {
- "type" : "string",
- "description" : "描述",
- "example" : "请仔细检查手机外观,如有划痕部位请仔细拍摄。"
- },
- "details" : {
- "type" : "array",
- "description" : "附件列表",
- "items" : {
- "$ref" : "#/components/schemas/Detail"
- }
- },
- "title" : {
- "type" : "string",
- "description" : "附件标题(collect_attachement值为true时必填",
- "example" : "请上传手机照片"
- }
- }
- },
- "AttachmentExplainBean" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "type" : "string",
- "description" : "页面展示的任务描(collect_attachement值为true时必填)",
- "example" : "请仔细检查手机外观,如有划痕部位请仔细拍摄。"
- },
- "details" : {
- "type" : "array",
- "description" : "附件列表,用于定义每个附件code的描述及页面展示顺序",
- "items" : {
- "$ref" : "#/components/schemas/DetailBean"
- }
- },
- "title" : {
- "type" : "string",
- "description" : "页面展示的任务标题(collect_attachement值为true时必填)",
- "example" : "请上传手机照片"
- }
- }
- },
- "AuditEvidenceInfo" : {
- "type" : "object",
- "properties" : {
- "file_type" : {
- "type" : "string",
- "description" : "文件类型。包括.jpg .png .jpeg .pdf等",
- "example" : ".jpg"
- },
- "url" : {
- "type" : "string",
- "description" : "文件url",
- "example" : "http://xxx.xxx.xxx.com/xxxxx"
- }
- }
- },
- "AuditLicenseInfo" : {
- "type" : "object",
- "properties" : {
- "license_name" : {
- "type" : "string",
- "description" : "营业执照名称,需要与营业执照保持一致"
- },
- "license_no" : {
- "type" : "string",
- "description" : "营业执照号,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序应用营业执照号。"
- },
- "license_pic_list" : {
- "type" : "array",
- "description" : "营业执照照片地址列表",
- "items" : {
- "type" : "string"
- }
- },
- "license_valid_date" : {
- "type" : "string",
- "description" : "营业执有效期,格式为yyyy-MM-dd,9999-12-31表示长期"
- },
- "out_door_pic" : {
- "type" : "string",
- "description" : "门头照图片地址,部分小程序类目需要提交,参照https://docs.alipay.com/isv/10325中是否需要营业执照信息,如果不填默认采用当前小程序门头照图片"
- }
- }
- },
- "AuthApiDTO" : {
- "type" : "object",
- "properties" : {
- "api_name" : {
- "type" : "string",
- "description" : "敏感信息可申请接口名",
- "example" : "app.mini.user.query"
- },
- "field_name" : {
- "type" : "string",
- "description" : "敏感信息申请字段",
- "example" : "name,phone"
- },
- "package_code" : {
- "type" : "string",
- "description" : "敏感信息申请能力code值",
- "example" : "201322123123"
- }
- }
- },
- "AuthFieldApply" : {
- "type" : "object",
- "properties" : {
- "api_name" : {
- "type" : "string",
- "description" : "接口英文名称,通过alipay.open.app.api.query接口查询获得。",
- "example" : "alipay.user.info.share"
- },
- "customer_answer" : {
- "type" : "string",
- "description" : "贵公司是否有自己的客服渠道,能及时响应和处理舆情数量是多少?",
- "example" : "有自己的客服团队xx人,能够及时响应并处理舆能力"
- },
- "field_name" : {
- "type" : "string",
- "description" : "字段英文名称,通过alipay.open.app.api.query接口查询获得。",
- "example" : "mobile"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "获取xx的用途:(1)xxxx(2)xxxx"
- },
- "package_code" : {
- "type" : "string",
- "description" : "功能code,通过alipay.open.app.api.query接口查询获得",
- "example" : "20201019201538211864"
- },
- "qps_answer" : {
- "type" : "string",
- "description" : "接入后一年内预计接口秒级调用量峰值是多少?(最高峰值:1000QPS)",
- "example" : "预计接口秒级调用量峰值:xx QPS"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "场景code,alipay.open.app.api.scene.query 接口查询获得",
- "example" : "6"
- },
- "tiny_app_template_id" : {
- "type" : "string",
- "description" : "当为使用使用模板的小程序申请时可传入所使用的小程序模板id",
- "example" : "小程序模板id"
- }
- }
- },
- "AuthFieldDTO" : {
- "type" : "object",
- "properties" : {
- "api_name" : {
- "type" : "string",
- "description" : "接口英文名称",
- "example" : "alipay.user.info.share"
- },
- "field_name" : {
- "type" : "string",
- "description" : "接口字段英文名称",
- "example" : "mobile"
- },
- "package_code" : {
- "type" : "string",
- "description" : "接口归属的功能code",
- "example" : "20190910140822144236"
- },
- "reason" : {
- "type" : "string",
- "description" : "驳回原因",
- "example" : "使用场景不在信息开放的范围内"
- },
- "status" : {
- "type" : "string",
- "description" : "AUDIT 审核中,AGREE通过,REJECT驳回,INVALID无效(isv代申请场景)",
- "example" : "AUDIT"
- },
- "user_app_id" : {
- "type" : "string",
- "description" : "用户应用app_id",
- "example" : "2008001193675073"
- }
- }
- },
- "AuthFieldResponse" : {
- "type" : "object",
- "properties" : {
- "records" : {
- "type" : "array",
- "description" : "用户信息申请记录列表",
- "items" : {
- "$ref" : "#/components/schemas/AuthFieldDTO"
- }
- }
- }
- },
- "AuthFieldSceneDTO" : {
- "type" : "object",
- "properties" : {
- "scene_code" : {
- "type" : "string",
- "description" : "场景CODE",
- "example" : "123"
- },
- "scene_desc" : {
- "type" : "string",
- "description" : "场景code描述",
- "example" : "汽车服务"
- }
- }
- },
- "AuthIdentityInfo" : {
- "type" : "object",
- "properties" : {
- "certificate_info" : {
- "$ref" : "#/components/schemas/IndirectCertificateInfo"
- },
- "certificate_type" : {
- "type" : "string",
- "description" : "主体类型为企业/个体户/政府机关/事业单位/社会组织时,必填;\t证照类型:营业执照(BUSINESS_CERT)/登记证书(REGISTER_CERT)\t主体为政府机关/事业单位/社会组织时,填登记证书;\t主体类型为企业/个体户时,填营业执照;",
- "example" : "BUSINESS_CERT"
- },
- "employer_letter_img" : {
- "type" : "string",
- "description" : "单位证明函照片(使用图片上传接口)主体类型为政府机关/事业单位时,单位证明函照片必填",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- },
- "financial_org_info" : {
- "$ref" : "#/components/schemas/IndirectFinancialOrgInfo"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "主体类型,枚举定义:企业(ENTERPRISE)、个体工商户(IND_BIZ)、事业单位(INST)、党政机关(GOV)、社会组织(ORG)、小微商户(MSE)",
- "example" : "ENTERPRISE"
- },
- "is_financial_org" : {
- "type" : "boolean",
- "description" : "是否金融机构",
- "example" : "false"
- },
- "qualification_info_list" : {
- "type" : "array",
- "description" : "经营许可证列表,填写特殊行业的经营许可证信息,一个主体最多5个行业",
- "items" : {
- "$ref" : "#/components/schemas/IndirectQualificationInfo"
- }
- },
- "support_credentials" : {
- "$ref" : "#/components/schemas/IndirectSupportCredentials"
- }
- }
- },
- "AuthInfo" : {
- "type" : "object",
- "properties" : {
- "auth_code" : {
- "type" : "string",
- "description" : "授权号",
- "example" : "12345678"
- },
- "auth_type" : {
- "type" : "string",
- "description" : "授权类型",
- "example" : "deduct_code"
- }
- }
- },
- "AuthInfoDTO" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "授权协议号",
- "example" : "20221212123412341234"
- },
- "alipay_logon_id" : {
- "type" : "string",
- "description" : "授权的支付宝账号,脱敏。",
- "example" : "demo****@alipay.com"
- }
- }
- },
- "AuthenticationResult" : {
- "type" : "object",
- "properties" : {
- "authentication_data" : {
- "type" : "string",
- "description" : "已加密的鉴权数据",
- "example" : "eyJlcGhlbWVyYWxQdWJsaWNLZXkiOiJNRmt3RXdZSEtvWkl6ajBDQVFZSUtvWkl6ajBEQVFjRFFnQUVyZHU5cXRORFRYVFFnaHNoUEdSMzdxSTd"
- },
- "authentication_mechanism" : {
- "type" : "string",
- "description" : "鉴权类型,如:支付密码、数字签名",
- "example" : "PaymentPINInput"
- }
- }
- },
- "AuthorizeDetailDTO" : {
- "type" : "object",
- "properties" : {
- "authorized_principal_id" : {
- "type" : "string",
- "description" : "收单主体PID"
- }
- }
- },
- "AuthorizeInfo" : {
- "type" : "object",
- "properties" : {
- "auth_ids" : {
- "type" : "array",
- "description" : "授权方身份证明(当前只支持图片类型,请调用alipay.open.mini.miniapp.brand.upload接口上传图片,可以上传多个授权方身份证明)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\",\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\"]"
- },
- "auth_materials" : {
- "type" : "array",
- "description" : "授权有效资质(当前只支持图片类型,请调用alipay.open.mini.miniapp.brand.upload接口上传图片,可以上传多个授权有效资质)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\",\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\"]"
- },
- "auth_name" : {
- "type" : "string",
- "description" : "被授权人名称",
- "example" : "张三"
- },
- "end_date" : {
- "type" : "string",
- "description" : "授权有效期(结束日期)",
- "example" : "2021-10-16"
- },
- "start_date" : {
- "type" : "string",
- "description" : "授权有效期(开始日期)",
- "example" : "2020-10-16"
- }
- }
- },
- "AuthorizedRuleDTO" : {
- "type" : "object",
- "properties" : {
- "authorized_detail_list" : {
- "type" : "array",
- "description" : "授权商户列表",
- "items" : {
- "$ref" : "#/components/schemas/AuthorizeDetailDTO"
- }
- },
- "authorized_type" : {
- "type" : "string",
- "description" : "WHITELIST-白名单\tALL-全部"
- }
- }
- },
- "BackgroundWordInfo" : {
- "type" : "object",
- "properties" : {
- "background_word" : {
- "type" : "string",
- "description" : "底纹词",
- "example" : "底纹词"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "审核失败原因",
- "example" : "审核失败原因"
- },
- "status" : {
- "type" : "string",
- "description" : "底纹词状态",
- "example" : "ONLINE"
- }
- }
- },
- "BailDetailResult" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "保证金收支金额",
- "example" : "10.00"
- },
- "bail_type" : {
- "type" : "string",
- "description" : "保证金类型描述,仅供参考",
- "example" : "天猫保证金"
- },
- "balance" : {
- "type" : "string",
- "description" : "本次操作后的保证金余额。字段数据展示为\"--\",表明数据暂未更新,请稍等1分钟后重试。",
- "example" : "1000.00"
- },
- "biz_desc" : {
- "type" : "string",
- "description" : "业务描述,资金收支对应的详细业务场景信息",
- "example" : "余额账户迁入"
- },
- "biz_orig_no" : {
- "type" : "string",
- "description" : "业务基础订单号,资金收支对应的原始业务订单唯一识别编号",
- "example" : "1***"
- },
- "memo" : {
- "type" : "string",
- "description" : "保证金说明",
- "example" : "保证金冻结"
- },
- "trans_dt" : {
- "type" : "string",
- "description" : "业务发生时间",
- "example" : "2019-01-01 00:00:00"
- },
- "trans_log_id" : {
- "type" : "string",
- "description" : "保证金业务流水号",
- "example" : "20190101***"
- }
- }
- },
- "BankActivityInfo" : {
- "type" : "object",
- "properties" : {
- "bind_card" : {
- "type" : "boolean",
- "description" : "是否绑定银行卡",
- "example" : "true"
- },
- "card_name" : {
- "type" : "string",
- "description" : "银行卡名称",
- "example" : "广发银行储蓄卡"
- },
- "discount_desc" : {
- "type" : "string",
- "description" : "优惠描述",
- "example" : "满50元减10元"
- },
- "logo" : {
- "type" : "string",
- "description" : "活动logo",
- "example" : "http:xxxx"
- }
- }
- },
- "BankcardExtInfo" : {
- "type" : "object",
- "properties" : {
- "account_type" : {
- "type" : "string",
- "description" : "收款账户类型。\r\t1:对公(在金融机构开设的公司账户),如果银行卡为对公,必须传递省市支行信息或者联行号\r\t2:对私(在金融机构开设的个人账户)"
- },
- "bank_code" : {
- "type" : "string",
- "description" : "银行支行联行号"
- },
- "inst_branch_name" : {
- "type" : "string",
- "description" : "收款银行所属支行"
- },
- "inst_city" : {
- "type" : "string",
- "description" : "收款银行所在市"
- },
- "inst_name" : {
- "type" : "string",
- "description" : "机构名称"
- },
- "inst_province" : {
- "type" : "string",
- "description" : "银行所在省份"
- }
- }
- },
- "BatchRoyaltyDetail" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "分账金额,单位元",
- "example" : "10.00"
- },
- "desc" : {
- "type" : "string",
- "description" : "分账描述",
- "example" : "分账给xxxxx"
- },
- "error_code" : {
- "type" : "string",
- "description" : "错误编码\tBANK_CARD_ERROR:银行卡信息有误的场景,系统自动重试中\tBANK_DISHONOR:银行退票",
- "example" : "BANK_DISHONOR"
- },
- "error_desc" : {
- "type" : "string",
- "description" : "错误描述",
- "example" : "账号与户名不一致"
- },
- "status" : {
- "type" : "string",
- "description" : "ACCEPT_SUCCESS:受理成功; SUCCESS:结算成功; FAIL:结算失败;FAIL_RETRY:失败重试。",
- "example" : "ACCEPT_SUCCESS"
- },
- "trans_in_account_id" : {
- "type" : "string",
- "description" : "分账转入账户id。当分账账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当分账账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当分账账户id类型是loginName时,本参数为用户的支付宝登录号。",
- "example" : "2088101126708402"
- },
- "trans_in_account_id_type" : {
- "type" : "string",
- "description" : "分账转入账户id类型。 当settle_account_type 为bankCard时,本参数为cardSerialNo,表示分账账户id是银行卡编号; 当settle_account_type 为alipayBalance时,本参数为userId或者loginName,其中userId表示分账账户id是支付宝唯一用户号,loginName表示分账账户id是支付宝登录号。",
- "example" : "cardSerialNo"
- },
- "trans_in_account_open_id" : {
- "type" : "string",
- "description" : "分账转入方的OpenId,OpenId是用户在应用(AppId)下的唯一用户标识。",
- "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc"
- },
- "trans_in_account_type" : {
- "type" : "string",
- "description" : "分账账户类型。 bankCard: 分账账户为银行卡; alipayBalance: 分账账户为支付宝余额户",
- "example" : "alipayBalance"
- },
- "trans_in_entity_id" : {
- "type" : "string",
- "description" : "分账转出主体账号。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID\r\t\r\t当分账转出类型为Store,本参数为StoreID",
- "example" : "2088000069652893"
- },
- "trans_in_entity_type" : {
- "type" : "string",
- "description" : "分账转入主体类型。 SecondMerchant:分账转入主体为二级商户\r\t\r\tStore: 结算球房",
- "example" : "Store"
- },
- "trans_in_sub_merchant" : {
- "$ref" : "#/components/schemas/SubMerchant"
- },
- "trans_out_entity_id" : {
- "type" : "string",
- "description" : "分账转出主体账号。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID\r\t\r\t当分账转出类型为Store,本参数为StoreID",
- "example" : "2088000069652893"
- },
- "trans_out_entity_type" : {
- "type" : "string",
- "description" : "分账转出主体类型。 SecondMerchant:结算主体为二级商户,Store:结算主体为球房。",
- "example" : "SecondMerchant"
- },
- "trans_out_sub_merchant" : {
- "$ref" : "#/components/schemas/SubMerchant"
- }
- }
- },
- "BatchSettleDetail" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "结算金额,单位为元",
- "example" : "10000.00"
- },
- "currency" : {
- "type" : "string",
- "description" : "结算币种",
- "example" : "CNY"
- },
- "error_code" : {
- "type" : "string",
- "description" : "错误编码,SETTLE_ACCOUNT_ERROR:结算账户信息有误;BANK_DISHONOR:银行提现退票;UNKNOWN_ERROR:未知错误",
- "example" : "BANK_DISHONOR"
- },
- "error_desc" : {
- "type" : "string",
- "description" : "错误描述",
- "example" : "成功"
- },
- "settle_account_id" : {
- "type" : "string",
- "description" : "结算账户id。当结算账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当结算账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当结算账户id类型是loginName时,本参数为用户的支付宝登录号",
- "example" : "159******78"
- },
- "settle_account_id_type" : {
- "type" : "string",
- "description" : "结算账户id类型。\t 当settle_account_type 为bankCard时,本参数为cardSerialNo,表示结算账户id是银行卡编号;\t 当settle_account_type 为alipayBalance时,本参数为userId或者loginName,其中userId表示结算账户id是支付宝唯一用户号,loginName表示结算账户id是支付宝登录号",
- "example" : "loginName"
- },
- "settle_account_open_id" : {
- "type" : "string",
- "description" : "结算账户的OpenId,本参数是用户在该应用(AppId)下的唯一用户标识。",
- "example" : "093PJtAPYb2UkQ0mXk_X86Z_FaMou-DtIEvERQ8X8yqKaEf"
- },
- "settle_account_type" : {
- "type" : "string",
- "description" : "结算账户类型。\tbankCard: 结算账户为银行卡;\talipayBalance: 结算账户为支付宝余额户",
- "example" : "alipayBalance"
- },
- "settle_entity_id" : {
- "type" : "string",
- "description" : "结算主体账号。\t当结算主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID",
- "example" : "19023454"
- },
- "settle_entity_type" : {
- "type" : "string",
- "description" : "结算主体类型。\tSecondMerchant:结算主体为二级商户",
- "example" : "SecondMerchant"
- },
- "status" : {
- "type" : "string",
- "description" : "ACCEPT_SUCCESS:受理成功; SUCCESS:结算成功; FAIL:结算失败;FAIL_RETRY:失败重试。",
- "example" : "BANK_DEALING"
- },
- "sub_merchant" : {
- "$ref" : "#/components/schemas/SubMerchant"
- }
- }
- },
- "BelongMerchantInfo" : {
- "type" : "object",
- "properties" : {
- "business_type" : {
- "type" : "string",
- "description" : "合作业务类型,默认为ISV_FOR_MERCHANT"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id"
- },
- "merchant_id_type" : {
- "type" : "string",
- "description" : "商户id类型。特别说明:如果merchant_id_type选择SMID。则表明当前商家券活动的归属者是该SMID所绑定的支付宝PID。因此要求该SMID必须绑定相应的支付宝PID。"
- }
- }
- },
- "BenefitInfoDetail" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "PRE_FUND:实际核销或者商户赠送的金额\r\tDISCOUNT:实际折扣掉的金额(获取权益不支持该类型)\r\tCOUPON:实际核销或者商户赠送的券"
- },
- "benefit_type" : {
- "type" : "string",
- "description" : "权益类型\r\tPRE_FUND(卡面额)\r\tDISCOUNT:折扣金额\r\tCOUPON:券"
- },
- "count" : {
- "type" : "string",
- "description" : "COUPON:当核销或者赠送券时,可以设置该值"
- },
- "description" : {
- "type" : "string",
- "description" : "产生核销或者赠送权益的描述"
- }
- }
- },
- "BillSendExtInfo" : {
- "type" : "object",
- "properties" : {
- "order_pay_type" : {
- "type" : "string",
- "description" : "账单唤起收银台的方式:\t1-手机wap;2-当面付。默认值为1(不传值或传非数字值)",
- "example" : "1"
- },
- "royalty_amount" : {
- "type" : "string",
- "description" : "分账金额",
- "example" : "0.01"
- },
- "trans_in_pid" : {
- "type" : "string",
- "description" : "2088xxx",
- "example" : "分账收入户PID"
- }
- }
- },
- "BizFundReportResult" : {
- "type" : "object",
- "properties" : {
- "alipay_amount" : {
- "type" : "string",
- "description" : "实付金额(元)",
- "example" : "10000.0"
- },
- "batch_type" : {
- "type" : "string",
- "description" : "是否批量转账",
- "example" : "true"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "业务类型",
- "example" : "01"
- },
- "biz_type_desc" : {
- "type" : "string",
- "description" : "业务类型描述",
- "example" : "转账"
- },
- "charge_fee" : {
- "type" : "string",
- "description" : "服务费(元)",
- "example" : "0.00"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "交易时间",
- "example" : "\"2021-06-22 19:47:15\""
- },
- "instruction_id" : {
- "type" : "string",
- "description" : "2020xxx",
- "example" : "银行单据号"
- },
- "memo" : {
- "type" : "string",
- "description" : "出借",
- "example" : "备注"
- },
- "no_mbill_encrypt" : {
- "type" : "string",
- "description" : "是否脱敏",
- "example" : "true"
- },
- "order_id" : {
- "type" : "string",
- "description" : "业务订单号",
- "example" : "\"20210622*******4\""
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "实付金额(元)",
- "example" : "20000.00"
- },
- "payee_card_no" : {
- "type" : "string",
- "description" : "收款方银行卡号",
- "example" : "23**"
- },
- "payee_full_name" : {
- "type" : "string",
- "description" : "收款方全名",
- "example" : "**(123213**)"
- },
- "payee_fund_type" : {
- "type" : "string",
- "description" : "收款方资金类型",
- "example" : "00"
- },
- "payee_fund_type_desc" : {
- "type" : "string",
- "description" : "支付宝余额",
- "example" : "收款方资金类型描述"
- },
- "payee_inst_name" : {
- "type" : "string",
- "description" : "收款银行中文简称",
- "example" : "工行"
- },
- "payee_login_email" : {
- "type" : "string",
- "description" : "收款方登录Id",
- "example" : "888@email.com"
- },
- "payee_name" : {
- "type" : "string",
- "description" : "收款方姓名",
- "example" : "**小二"
- },
- "payer_fund_type" : {
- "type" : "string",
- "description" : "付款方资金类型",
- "example" : "00"
- },
- "payer_fund_type_desc" : {
- "type" : "string",
- "description" : "付款方资金类型描述",
- "example" : "支付宝余额"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "退款金额",
- "example" : "0.00"
- },
- "show_detail" : {
- "type" : "string",
- "description" : "是否展示细节,默认为true",
- "example" : "true"
- },
- "show_voucher" : {
- "type" : "string",
- "description" : "是否出示凭证",
- "example" : "true"
- },
- "source" : {
- "type" : "string",
- "description" : "数据来源",
- "example" : "bizfund"
- },
- "status" : {
- "type" : "string",
- "description" : "单据状态",
- "example" : "SUCCESS"
- },
- "status_desc" : {
- "type" : "string",
- "description" : "单据状态描述",
- "example" : "成功"
- },
- "sub_biz_type" : {
- "type" : "string",
- "description" : "业务子类型",
- "example" : "00"
- },
- "sub_biz_type_desc" : {
- "type" : "string",
- "description" : "业务子类型描述",
- "example" : "普通转账"
- }
- }
- },
- "BizOrderQueryResponse" : {
- "type" : "object",
- "properties" : {
- "action" : {
- "type" : "string",
- "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-恢复售卖商品",
- "example" : "CREATE_SHOP"
- },
- "action_mode" : {
- "type" : "string",
- "description" : "操作模式:NORMAL-普通开店",
- "example" : "WITH_LEADS"
- },
- "apply_id" : {
- "type" : "string",
- "description" : "支付宝流水ID",
- "example" : "2015111410223410000001"
- },
- "biz_context_info" : {
- "type" : "string",
- "description" : "流水上下文信息,JSON格式。根据action不同对应的结构也不同,JSON字段与含义可参考各个接口的请求参数。",
- "example" : "{\"category_id\":\"2015050700000018\",\"main_shop_name\":\"海底捞万塘路分公司\"}"
- },
- "biz_id" : {
- "type" : "string",
- "description" : "业务主体ID。根据biz_type不同可能对应shop_id或item_id。\r\t特别注意对于球房创建,当流水status=SUCCESS时,此字段才为shop_id,其他状态时为0或空。",
- "example" : "2015052100077000000000120774"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "业务类型:SHOP-店铺,ITEM-商品",
- "example" : "SHOP"
- },
- "create_time" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2015-10-29 10:51:57"
- },
- "op_id" : {
- "type" : "string",
- "description" : "操作用户的支付账号id",
- "example" : "2088001969784501"
- },
- "request_id" : {
- "type" : "string",
- "description" : "注意:此字段并非外部商户请求时传入的request_id,暂时代表支付宝内部字段,请勿用。",
- "example" : "2015123235324534"
- },
- "result_code" : {
- "type" : "string",
- "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>",
- "example" : "RISK_AUDIT_FAIL"
- },
- "result_desc" : {
- "type" : "string",
- "description" : "流水处理结果描述",
- "example" : "证照审核未通过"
- },
- "status" : {
- "type" : "string",
- "description" : "流水状态:INIT-初始,PROCESS-处理中,SUCCESS-成功,FAIL-失败。",
- "example" : "FAIL"
- },
- "sub_status" : {
- "type" : "string",
- "description" : "流水子状态:WAIT_CERTIFY-等待认证,LICENSE_AUDITING-证照审核中,RISK_AUDITING-风控审核中,WAIT_SIGN-等待签约,FINISH-终结。",
- "example" : "FINISH"
- },
- "update_time" : {
- "type" : "string",
- "description" : "更新时间",
- "example" : "2015-10-29 10:51:57"
- }
- }
- },
- "BizfundSettleInfo" : {
- "type" : "object",
- "properties" : {
- "settle_mode" : {
- "type" : "string",
- "description" : "请款|账期 模式"
- },
- "settle_target_type" : {
- "type" : "string",
- "description" : "结算的目标对象类型"
- }
- }
- },
- "BkAgentReqInfo" : {
- "type" : "object",
- "properties" : {
- "acq_code" : {
- "type" : "string",
- "description" : "收单机构在清算组织登记或分配的机构代码"
- },
- "device_type" : {
- "type" : "string",
- "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 终端;"
- },
- "location" : {
- "type" : "string",
- "description" : "终端设备实时经纬度信息,格式为纬度/经度,+表示北纬、东经,-表示南纬、西经。"
- },
- "merch_code" : {
- "type" : "string",
- "description" : "收单机构在清算组织登记的商户编码"
- },
- "serial_num" : {
- "type" : "string",
- "description" : "终端类型填写为 02、\t03、04、05、06、08、09 或 10 时,必\t须填写终端序列号。"
- }
- }
- },
- "BkAgentRespInfo" : {
- "type" : "object",
- "properties" : {
- "bindclrissr_id" : {
- "type" : "string",
- "description" : "枚举值,01 银联;02 网联;03 连通等"
- },
- "bindpyeracctbk_id" : {
- "type" : "string",
- "description" : "付款机构在清算组织登记或分配的机构代码"
- },
- "bindtrx_id" : {
- "type" : "string",
- "description" : "原快捷交易流水号"
- },
- "bkpyeruser_code" : {
- "type" : "string",
- "description" : "用户在银行付款账号的标记化处理编号"
- },
- "estter_location" : {
- "type" : "string",
- "description" : "设备推测位置"
- }
- }
- },
- "BoxBusinessDistrictInfo" : {
- "type" : "object",
- "properties" : {
- "app_name" : {
- "type" : "string",
- "description" : "应用名",
- "example" : "应用名"
- },
- "business_district_id" : {
- "type" : "string",
- "description" : "商圈ID",
- "example" : "169109"
- },
- "business_district_name" : {
- "type" : "string",
- "description" : "商圈名称",
- "example" : "商圈名称"
- },
- "relate_appid" : {
- "type" : "string",
- "description" : "商圈所属小程序对应的服务编码",
- "example" : "2018061360108419"
- },
- "service_code" : {
- "type" : "string",
- "description" : "商圈所属小程序对应的服务编码",
- "example" : "2019112021000906169109"
- }
- }
- },
- "BoxBusinessDistrictModule" : {
- "type" : "object",
- "properties" : {
- "business_district_infos" : {
- "type" : "array",
- "description" : "商圈选择",
- "items" : {
- "$ref" : "#/components/schemas/BoxBusinessDistrictInfo"
- }
- },
- "module_id" : {
- "type" : "string",
- "description" : "模块ID",
- "example" : "20220308000000168465"
- },
- "module_type" : {
- "type" : "string",
- "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图/BOX_BUSINESS_DISTRICT-商圈信息/BOX_EXCLUSIVE_AREA_KEYWORD-地域触发词",
- "example" : "BOX_BUSINESS_DISTRICT"
- }
- }
- },
- "BrandDetail" : {
- "type" : "object",
- "properties" : {
- "block_type" : {
- "type" : "string",
- "description" : "搜索工单详情数据block_type",
- "example" : "TINYAPP"
- },
- "box_version" : {
- "type" : "string",
- "description" : "版本号",
- "example" : "1.0"
- },
- "desc" : {
- "type" : "string",
- "description" : "描述信息",
- "example" : "描述信息"
- },
- "img" : {
- "type" : "string",
- "description" : "img地址",
- "example" : "http://mdn.alipayobjects.com/mrch_spc/afts/img/A*vQG7Q5nUbWwAAAAAAAAAAAAADsF1AQ/original"
- },
- "index" : {
- "type" : "string",
- "description" : "索引信息",
- "example" : "1"
- },
- "key" : {
- "type" : "string",
- "description" : "工单详情数据key",
- "example" : "425d8560-35da-11eb-9de8-217f5d8e3c76"
- },
- "material_id" : {
- "type" : "string",
- "description" : "工单详情数据material_id",
- "example" : "SM2020120401367242"
- },
- "name" : {
- "type" : "string",
- "description" : "应用名称",
- "example" : "测试1"
- },
- "public_bind_app_id" : {
- "type" : "string",
- "description" : "搜索运营工单详情数据public_bind_app_id",
- "example" : "111"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务码",
- "example" : "2020081121000352488483"
- }
- }
- },
- "BrandRegistrationInfo" : {
- "type" : "object",
- "properties" : {
- "end_date" : {
- "type" : "string",
- "description" : "商标有效期(结束日期)",
- "example" : "2021-10-16"
- },
- "reg_materials" : {
- "type" : "array",
- "description" : "商标注册证书信息(当前只支持图片类型,请调用alipay.open.mini.miniapp.brand.upload接口上传图片,可以上传多个商标注册证书信息)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\",\"ua2qD53TRpyfX-UYYin6sQAAACMAAQED\"]"
- },
- "reg_number" : {
- "type" : "string",
- "description" : "商标注册号",
- "example" : "654893218979520200916249621"
- },
- "registrant" : {
- "type" : "string",
- "description" : "商标注册人",
- "example" : "张三"
- },
- "start_date" : {
- "type" : "string",
- "description" : "商标有效期(开始日期)",
- "example" : "2020-10-16"
- }
- }
- },
- "BrandResult" : {
- "type" : "object",
- "properties" : {
- "brand_id" : {
- "type" : "string",
- "description" : "已有的品牌的id",
- "example" : "brand_id2020091685456316"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "已有品牌的名称",
- "example" : "brand_namecr7officials"
- }
- }
- },
- "BudgetInfo" : {
- "type" : "object",
- "properties" : {
- "budget_total" : {
- "type" : "string",
- "description" : "预算数量",
- "example" : "10258"
- },
- "budget_type" : {
- "type" : "string",
- "description" : "预算类型",
- "example" : "QUANTITY"
- },
- "sub_budget_dimension" : {
- "type" : "string",
- "description" : "设置每天的预算,如每天的预算设置为100,即该活动一天最多发放100次",
- "example" : "D:表示每天的预算;"
- },
- "sub_value" : {
- "type" : "string",
- "description" : "用于控制子纬度的预算数量",
- "example" : "100:表示sub_dimension定义的纬度预算为100,若sub_dimension为D的话,则表示每天最多发放100张"
- }
- }
- },
- "BusinessItem" : {
- "type" : "object",
- "properties" : {
- "business_appid" : {
- "type" : "string",
- "description" : "业务归属appid"
- },
- "business_payee_id" : {
- "type" : "string",
- "description" : "业务收款pid,business_type为AGREEMENT_PAY时,此参数必传"
- },
- "business_pid" : {
- "type" : "string",
- "description" : "业务归属pid"
- },
- "business_type" : {
- "type" : "string",
- "description" : "业务类型ONLINE_PAY(在线缴费) 、AGREEMENT_PAY(无感停车)\tDEVICE_ONLINE_PAY(车机在线缴费)"
- }
- }
- },
- "BusinessParams" : {
- "type" : "object",
- "properties" : {
- "actual_order_time" : {
- "type" : "string",
- "description" : "实际订单时间,在乘车码场景,传入的是用户刷码乘车时间"
- },
- "campus_card" : {
- "type" : "string",
- "description" : "校园卡编号"
- },
- "card_type" : {
- "type" : "string",
- "description" : "虚拟卡卡类型"
- },
- "enterprise_pay_amount" : {
- "type" : "string",
- "description" : "因公付金额"
- },
- "enterprise_pay_info" : {
- "type" : "string",
- "description" : "因公付业务信息"
- },
- "good_taxes" : {
- "type" : "string",
- "description" : "商户传入的交易税费。需要落地风控使用"
- },
- "mc_create_trade_ip" : {
- "type" : "string",
- "description" : "商户端创建订单的 IP,须上传正确的用户端外网 IP,支持 ipv4/ipv6 格式;\tmc_create_trade_ip和mcCreateTradeIp(旧)参数描述相同,首选mc_create_trade_ip入参,请勿重复入参;\t如已入参mcCreateTradeIp(旧),无需新增入参mc_create_trade_ip。"
- }
- }
- },
- "BusinessParamsMap" : {
- "type" : "object",
- "properties" : {
- "change_time" : {
- "type" : "string",
- "description" : "服务变更时间",
- "example" : "\"2023-04-07 22:22:22\""
- },
- "new_amount" : {
- "type" : "string",
- "description" : "服务变更后新金额",
- "example" : "\"0.01\""
- },
- "ori_amount" : {
- "type" : "string",
- "description" : "原始价格",
- "example" : "\"0.01\""
- }
- }
- },
- "ButtonObject" : {
- "type" : "object",
- "properties" : {
- "action_param" : {
- "type" : "string",
- "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个字符,不允许冒号等特殊字符。"
- },
- "action_type" : {
- "type" : "string",
- "description" : "菜单类型:\r\tout——事件型菜单;\r\tlink——链接型菜单;\r\ttel——点击拨打电话;\r\tmap——点击查看地图;\r\tconsumption——点击查看用户与生活号管理员账号之间的消费记录"
- },
- "icon" : {
- "type" : "string",
- "description" : "icon图片url,必须是http协议的url,尺寸为60X60,最大不超过5M,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
- },
- "name" : {
- "type" : "string",
- "description" : "菜单名称,icon菜单名称不超过5个汉字,文本菜单名称不超过9个汉字,编码格式为GBK"
- },
- "sub_button" : {
- "type" : "array",
- "description" : "二级菜单数组,若sub_button为空,则一级菜单必须指定action_type和action_param的值,二级菜单个数可以为1~5个。",
- "items" : {
- "$ref" : "#/components/schemas/SubButton"
- }
- }
- }
- },
- "BuyerPayDetail" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "买家支付金额",
- "example" : "77.77"
- },
- "pay_channel" : {
- "type" : "string",
- "description" : "支付渠道",
- "example" : "offline_pos"
- }
- }
- },
- "CampusInfo" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "地址"
- },
- "campus_id" : {
- "type" : "string",
- "description" : "校区id"
- },
- "campus_name" : {
- "type" : "string",
- "description" : "校区名称"
- },
- "inst_name" : {
- "type" : "string",
- "description" : "学校名称"
- }
- }
- },
- "CardFrontTextDTO" : {
- "type" : "object",
- "properties" : {
- "label" : {
- "type" : "string",
- "description" : "文案标签"
- },
- "value" : {
- "type" : "string",
- "description" : "展示文案"
- }
- }
- },
- "CardUserInfo" : {
- "type" : "object",
- "properties" : {
- "open_id" : {
- "type" : "string",
- "description" : "开放id"
- },
- "user_uni_id" : {
- "type" : "string",
- "description" : "用户唯一标识, 根据user_id_type类型来定 (目前暂支持支付宝userId)\r\t\r\t支付宝userId说明:支付宝用户号是以2088开头的16位纯数字组成"
- },
- "user_uni_id_type" : {
- "type" : "string",
- "description" : "ID类型:UID, 即传值UID即可"
- }
- }
- },
- "CashCampaignInfo" : {
- "type" : "object",
- "properties" : {
- "camp_status" : {
- "type" : "string",
- "description" : "活动状态",
- "example" : "READY"
- },
- "coupon_name" : {
- "type" : "string",
- "description" : "现金红包名称",
- "example" : "XXX周年庆红包"
- },
- "crowd_no" : {
- "type" : "string",
- "description" : "现金红包活动号",
- "example" : "EPOJZsBg3A-CZOJE4qlbAueA7By4oJLDwEeYZlAiAnbMnSZ96O-zxUfKlHp5cxmx"
- },
- "origin_crowd_no" : {
- "type" : "string",
- "description" : "原始活动号,商户进行问题排查时提供",
- "example" : "20160901109410190092922300444004"
- }
- }
- },
- "CategoryRequireInfo" : {
- "type" : "object",
- "properties" : {
- "business_licence_required" : {
- "type" : "boolean",
- "description" : "营业执照页面是否必填",
- "example" : "true"
- },
- "category_code" : {
- "type" : "string",
- "description" : "类目code(各级类目code下划线\"_\"拼接)",
- "example" : "XS1001_XS2002_XS3008"
- },
- "category_name" : {
- "type" : "string",
- "description" : "类目名称(各级类目名称下划线\"_\"拼接)",
- "example" : "教育培训_培训机构_课外辅导"
- },
- "category_requirements" : {
- "type" : "string",
- "description" : "类目要求原始描述信息",
- "example" : "1、需提供区、县级教育部门颁发的《民办学校办学许可证》,或事业单位法人证书、民办非企业单位登记证书; ( 其中:民办学校办学许可证 就是 办学许可证)"
- },
- "door_photo_required" : {
- "type" : "boolean",
- "description" : "门头照页面是否必填",
- "example" : "true"
- },
- "special_licence_required" : {
- "type" : "boolean",
- "description" : "特殊资质页面是否必填",
- "example" : "true"
- }
- }
- },
- "ChargeInfo" : {
- "type" : "object",
- "properties" : {
- "charge_fee" : {
- "type" : "string",
- "description" : "实收费用"
- },
- "charge_type" : {
- "type" : "string",
- "description" : "收单手续费trade,花呗分期手续hbfq,其他手续费charge"
- },
- "is_rating_on_switch" : {
- "type" : "string",
- "description" : "是否合约指定收费账号出资,值为\"Y\"或\"N\""
- },
- "is_rating_on_trade_receiver" : {
- "type" : "string",
- "description" : "是否收款账号出资,值为\"Y\"或\"N\""
- },
- "original_charge_fee" : {
- "type" : "string",
- "description" : "原始费用"
- },
- "sub_fee_detail_list" : {
- "type" : "array",
- "description" : "组合支付收费明细",
- "items" : {
- "$ref" : "#/components/schemas/SubFee"
- }
- },
- "switch_fee_rate" : {
- "type" : "string",
- "description" : "签约费率"
- }
- }
- },
- "ChargeItems" : {
- "type" : "object",
- "properties" : {
- "item_mandatory" : {
- "type" : "string",
- "description" : "缴费项是否必选\r\t如果缴费项是多选模式,此参数生效。 “Y”表示必填,“N”或空表示非必填。",
- "example" : "N"
- },
- "item_maximum" : {
- "type" : "integer",
- "description" : "缴费项最大可选数\r\t如果缴费项是多选模式,此参数生效,范围是1-9,如果为空,则最大项默认为9",
- "example" : "5"
- },
- "item_name" : {
- "type" : "string",
- "description" : "缴费项名称",
- "example" : "校服费"
- },
- "item_price" : {
- "type" : "string",
- "description" : "缴费项金额",
- "example" : "8.88"
- },
- "item_serial_number" : {
- "type" : "integer",
- "description" : "缴费项序号,如果缴费项是多选模式,此项为必填,建议从1开始的连续数字,\r\t用户支付成功后,通过passback_params参数带回已选择的缴费项。例如:orderNo=uoo234234&isvOrderNo=24werwe&items=1-2|2-1|3-5\r\t1-2|2-1|3-5 表示:缴费项序列号-缴费项数|缴费项序列号-缴费项数",
- "example" : "1"
- }
- }
- },
- "ChatMessage" : {
- "type" : "object",
- "properties" : {
- "message_content" : {
- "type" : "string",
- "description" : "消息内容",
- "example" : "你好"
- },
- "message_type" : {
- "type" : "string",
- "description" : "消息内容类型,默认TEXT,包括: TEXT(文本消息),IMAGE(图片消息),FILE(文件消息)",
- "example" : "TEXT"
- },
- "send_time" : {
- "type" : "string",
- "description" : "消息发送时间,按照ISO8601标准表示,比如:2018-12-24T15:38:17.824+08:00",
- "example" : "2021-05-12 06:06:02"
- },
- "user_name" : {
- "type" : "string",
- "description" : "发送者名称",
- "example" : "李明"
- },
- "user_type" : {
- "type" : "string",
- "description" : "发送者类型: VISITOR(访客) ,AGENT(在线客服) ,SYSTEM(系统)",
- "example" : "VISITOR"
- }
- }
- },
- "ClauseTerm" : {
- "type" : "object",
- "properties" : {
- "descriptions" : {
- "type" : "array",
- "description" : "说明描述内容",
- "items" : {
- "type" : "string"
- },
- "example" : "说明描述内容"
- },
- "title" : {
- "type" : "string",
- "description" : "说明title",
- "example" : "说明title"
- }
- }
- },
- "CloudResumeCertificateInfo" : {
- "type" : "object",
- "properties" : {
- "certificate_name" : {
- "type" : "string",
- "description" : "证书名称",
- "example" : "证书名称"
- }
- }
- },
- "CloudResumeEducationExperience" : {
- "type" : "object",
- "properties" : {
- "degree" : {
- "type" : "string",
- "description" : "学历",
- "example" : "BACHELOR"
- },
- "education_status" : {
- "type" : "string",
- "description" : "教育状态",
- "example" : "FINISH_SCHOOL"
- },
- "location" : {
- "type" : "string",
- "description" : "受教育地点",
- "example" : "受教育地点"
- },
- "month" : {
- "type" : "integer",
- "description" : "月",
- "example" : "1"
- },
- "school_name" : {
- "type" : "string",
- "description" : "学校名称",
- "example" : "上海大学"
- },
- "year" : {
- "type" : "integer",
- "description" : "年",
- "example" : "2022"
- }
- }
- },
- "CloudResumeHeadPic" : {
- "type" : "object",
- "properties" : {
- "pic_url" : {
- "type" : "string",
- "description" : "头像连接url",
- "example" : "https://afts/..."
- }
- }
- },
- "CloudResumePositionIntention" : {
- "type" : "object",
- "properties" : {
- "intention_city" : {
- "type" : "string",
- "description" : "意向城市",
- "example" : "citycode"
- },
- "job_id" : {
- "type" : "string",
- "description" : "职业id",
- "example" : "123"
- },
- "job_name" : {
- "type" : "string",
- "description" : "职业名称",
- "example" : "职业"
- },
- "profession_id" : {
- "type" : "string",
- "description" : "行业id",
- "example" : "asdh"
- },
- "profession_name" : {
- "type" : "string",
- "description" : "行业名称",
- "example" : "行业"
- },
- "salary_max" : {
- "type" : "string",
- "description" : "最大工资",
- "example" : "2000"
- },
- "salary_min" : {
- "type" : "string",
- "description" : "最小薪资",
- "example" : "1000"
- },
- "salary_unit" : {
- "type" : "string",
- "description" : "工资单位,/月 /日",
- "example" : "MONTH"
- },
- "work_property" : {
- "type" : "string",
- "description" : "工作属性",
- "example" : "PART_TIME"
- }
- }
- },
- "CloudResumeSkillInfo" : {
- "type" : "object",
- "properties" : {
- "skill_name" : {
- "type" : "string",
- "description" : "技能标签名字",
- "example" : "技能标签名字"
- }
- }
- },
- "CloudResumeWorkExperience" : {
- "type" : "object",
- "properties" : {
- "company_name" : {
- "type" : "string",
- "description" : "公司名称",
- "example" : "xxx有限公司"
- },
- "job_id" : {
- "type" : "string",
- "description" : "职业id",
- "example" : "职业id"
- },
- "job_name" : {
- "type" : "string",
- "description" : "职业",
- "example" : "职业"
- },
- "profession_id" : {
- "type" : "string",
- "description" : "行业id",
- "example" : "行业id"
- },
- "profession_name" : {
- "type" : "string",
- "description" : "行业名称",
- "example" : "行业名称"
- },
- "work_desc" : {
- "type" : "string",
- "description" : "工作描述",
- "example" : "工作描述"
- },
- "work_end_time" : {
- "type" : "integer",
- "description" : "工作结束时间",
- "example" : "12"
- },
- "work_start_time" : {
- "type" : "integer",
- "description" : "工作开始日期",
- "example" : "12"
- }
- }
- },
- "CmItemInfo" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "type" : "string",
- "description" : "商品描述"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "商品扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/ItemExtInfo"
- }
- },
- "front_category_id_list" : {
- "type" : "array",
- "description" : "商品所属前台类目ID列表",
- "items" : {
- "type" : "string"
- }
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "商品创建时间"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "商品更新时间"
- },
- "item_id" : {
- "type" : "string",
- "description" : "商品ID"
- },
- "material_list" : {
- "type" : "array",
- "description" : "商品素材列表",
- "items" : {
- "$ref" : "#/components/schemas/MaterialInfo"
- }
- },
- "name" : {
- "type" : "string",
- "description" : "商品名称"
- },
- "property_list" : {
- "type" : "array",
- "description" : "商品属性列表",
- "items" : {
- "$ref" : "#/components/schemas/ItemPropertyInfo"
- }
- },
- "sku_list" : {
- "type" : "array",
- "description" : "商品SKU列表",
- "items" : {
- "$ref" : "#/components/schemas/CmItemSkuInfo"
- }
- },
- "standard_category_id" : {
- "type" : "string",
- "description" : "商品所属标准类目ID(具体值请参见产品文档)"
- },
- "status" : {
- "type" : "string",
- "description" : "商品状态:\r\tEFFECT(有效)、INVALID(无效)"
- },
- "target_id" : {
- "type" : "string",
- "description" : "商品归属主体ID\r\t例:商品归属主体类型为店铺,则商品归属主体ID为店铺ID;归属主体为小程序,则归属主体ID为小程序ID"
- },
- "target_type" : {
- "type" : "string",
- "description" : "商品归属主体类型:\r\t5(店铺)\r\t8(小程序)"
- },
- "type" : {
- "type" : "string",
- "description" : "商品类型:\r\tSTANDARD_GOODS(标品)、NON_STANDARD_GOODS(非标品)"
- }
- }
- },
- "CmItemSkuInfo" : {
- "type" : "object",
- "properties" : {
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "更新时间"
- },
- "inventory" : {
- "type" : "integer",
- "description" : "库存"
- },
- "item_id" : {
- "type" : "string",
- "description" : "商品ID"
- },
- "material_list" : {
- "type" : "array",
- "description" : "素材列表",
- "items" : {
- "$ref" : "#/components/schemas/MaterialInfo"
- }
- },
- "original_price" : {
- "type" : "integer",
- "description" : "标价,单位分"
- },
- "price" : {
- "type" : "integer",
- "description" : "售价,单位分"
- },
- "remain_inventory" : {
- "type" : "integer",
- "description" : "剩余库存"
- },
- "sku_id" : {
- "type" : "string",
- "description" : "商品SKU ID"
- },
- "sku_property_list" : {
- "type" : "array",
- "description" : "SKU属性列表",
- "items" : {
- "$ref" : "#/components/schemas/ItemSkuPropertyInfo"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "商品SKU状态:\r\tEFFECT(有效)、\r\tINVALID(无效)"
- }
- }
- },
- "CodeInfo" : {
- "type" : "object",
- "properties" : {
- "goto_url" : {
- "type" : "string",
- "description" : "跳转URL,扫码关注服务窗后会直接跳转到此URL",
- "example" : "http://www.******.com"
- },
- "scene" : {
- "$ref" : "#/components/schemas/Scene"
- }
- }
- },
- "CommonErrorType" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "CommonNotifyUrlModel" : {
- "type" : "object",
- "properties" : {
- "notify_url" : {
- "type" : "string",
- "description" : "通知地址"
- }
- }
- },
- "CommonVoucherDisplayInfo" : {
- "type" : "object",
- "properties" : {
- "brand_logo" : {
- "type" : "string",
- "description" : "商家品牌 logo 链接。"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "商户品牌名称。 如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。 如果没有维护商家别名,则使用默认名称: 商家优惠。 用户领取优惠券后,品牌名称会对用户进行展示"
- },
- "voucher_description" : {
- "type" : "string",
- "description" : "用于说明详细的活动规则,会展示在支付宝卡包券详情页。"
- },
- "voucher_detail_images" : {
- "type" : "array",
- "description" : "券详情图片链接。",
- "items" : {
- "type" : "string"
- }
- },
- "voucher_image" : {
- "type" : "string",
- "description" : "券封面图链接。"
- }
- }
- },
- "CommonVoucherDisplayLiteInfo" : {
- "type" : "object",
- "properties" : {
- "brand_logo" : {
- "type" : "string",
- "description" : "商户品牌 logo 链接。"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "商户品牌名称。 如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。 如果没有维护商家别名,则使用默认名称:商家优惠。 用户领取优惠券后,品牌名称会对用户进行展示。"
- }
- }
- },
- "CommonVoucherSendRule" : {
- "type" : "object",
- "properties" : {
- "max_quantity_by_day" : {
- "type" : "integer",
- "description" : "设置此字段,允许指定单天最大发券数量。"
- },
- "natural_person_limit" : {
- "type" : "boolean",
- "description" : "限制相同身份证号领取次数(voucher_quantity_limit_per_user)。默认false不限制。 枚举值 true:是 false:否"
- },
- "phone_number_limit" : {
- "type" : "boolean",
- "description" : "限制相同手机号领取次数(voucher_quantity_limit_per_user)。默认false不限制 枚举值 true:是 false:否"
- },
- "real_name_limit" : {
- "type" : "boolean",
- "description" : "限制支付宝实名用户才能领取支付券,默认为false表示不限制。枚举值 true\\false"
- },
- "voucher_quantity" : {
- "type" : "integer",
- "description" : "发行券的总数量。"
- },
- "voucher_quantity_limit_per_user" : {
- "type" : "integer",
- "description" : "每人领取限制。 默认按照支付宝账号进行领取限制; 不填写或填入0表示没有领取限制。"
- },
- "voucher_quantity_limit_per_user_period_type" : {
- "type" : "string",
- "description" : "周期限领配置,限制每人在固定周期内领取张数(voucher_quantity_limit_per_user),默认LIFE_CYCLE。"
- }
- }
- },
- "CommonVoucherUseRule" : {
- "type" : "object",
- "properties" : {
- "discount_voucher" : {
- "$ref" : "#/components/schemas/ActivityDiscountVoucher"
- },
- "exchange_voucher" : {
- "$ref" : "#/components/schemas/ActivityExchangeVoucher"
- },
- "fix_voucher" : {
- "$ref" : "#/components/schemas/ActivityFixVoucher"
- },
- "special_voucher" : {
- "$ref" : "#/components/schemas/ActivitySpecialVoucher"
- }
- }
- },
- "CommonVoucherUseRuleLiteInfo" : {
- "type" : "object",
- "properties" : {
- "discount_voucher" : {
- "$ref" : "#/components/schemas/ActivityDiscountVoucher"
- },
- "exchange_voucher" : {
- "$ref" : "#/components/schemas/ActivityExchangeVoucher"
- },
- "fix_voucher" : {
- "$ref" : "#/components/schemas/ActivityFixVoucher"
- },
- "special_voucher" : {
- "$ref" : "#/components/schemas/ActivitySpecialVoucher"
- }
- }
- },
- "CompleteVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "anti_fake_code" : {
- "type" : "string",
- "description" : "防伪码",
- "example" : "无"
- },
- "check_sum" : {
- "type" : "string",
- "description" : "校验码",
- "example" : "无"
- },
- "device_no" : {
- "type" : "string",
- "description" : "开票机器码",
- "example" : "654334567890987654"
- },
- "file_download_url" : {
- "type" : "string",
- "description" : "板式文件下载地址",
- "example" : "http://einvoice-file-daily.oss-cn-beijing.aliyuncs.com/QYMKR9GA5SPVR_042001900111_56322525.pdf?Expires=1943931648&OSSAccessKeyId=LTAI4Fndk4SpFM1E4TVUPT1K&Signature=azYKSp%2Bnn4v6GLy3YZ3nZOCO%2FVo%3D"
- },
- "file_type" : {
- "type" : "string",
- "description" : "板式文件的类型",
- "example" : "pdf"
- },
- "invoice_amount" : {
- "type" : "integer",
- "description" : "发票金额",
- "example" : "4950"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码",
- "example" : "042001900111"
- },
- "invoice_content_list" : {
- "type" : "array",
- "description" : "汇总发票详细信息(目前该字段为空)",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceContentInfo"
- }
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "发票日期",
- "example" : "2021-08-10 00:00:00"
- },
- "invoice_kind" : {
- "type" : "integer",
- "description" : "发票类型 0:增值税普通电子发票 1:增值税普通发票 2:增值税专用发票 3:增值税专用电子发票 4:财政电子发票",
- "example" : "0"
- },
- "invoice_memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "无"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码",
- "example" : "56322524"
- },
- "invoice_source" : {
- "type" : "string",
- "description" : "发票来源,取值范围 SUMMARY_INVOICE_AUTO_OPEN 汇总开票系统自动开票,SUMMARY_INVOICE_MERCHANT_UPLOAD 汇总开票商户手动上传",
- "example" : "SUMMARY_INVOICE_AUTO_OPEN"
- },
- "invoice_title" : {
- "type" : "string",
- "description" : "发票抬头",
- "example" : "支付宝(中国)网络技术有限公司"
- },
- "invoice_type" : {
- "type" : "string",
- "description" : "发票类型(红、蓝)",
- "example" : "无"
- },
- "payee_address" : {
- "type" : "string",
- "description" : "销售方地址",
- "example" : "杭州市西湖区"
- },
- "payee_bank_account" : {
- "type" : "string",
- "description" : "销售方银行账号",
- "example" : "283635722"
- },
- "payee_bank_name" : {
- "type" : "string",
- "description" : "销售方银行名称",
- "example" : "工行"
- },
- "payee_checker" : {
- "type" : "string",
- "description" : "复核人",
- "example" : "无"
- },
- "payee_mobile" : {
- "type" : "string",
- "description" : "销售方电话",
- "example" : "0571-2735522"
- },
- "payee_name" : {
- "type" : "string",
- "description" : "销售方名称",
- "example" : "航信培训企业501081"
- },
- "payee_operator" : {
- "type" : "string",
- "description" : "开票人",
- "example" : "无"
- },
- "payee_receiver" : {
- "type" : "string",
- "description" : "收款人",
- "example" : "无"
- },
- "payee_register_no" : {
- "type" : "string",
- "description" : "销售方税号",
- "example" : "339902999999789001"
- },
- "payer_address" : {
- "type" : "string",
- "description" : "购买方地址",
- "example" : "无"
- },
- "payer_bank_account" : {
- "type" : "string",
- "description" : "购买方银行账号",
- "example" : "无"
- },
- "payer_bank_name" : {
- "type" : "string",
- "description" : "购买方银行名称",
- "example" : "无"
- },
- "payer_mobile" : {
- "type" : "string",
- "description" : "购买方电话",
- "example" : "无"
- },
- "payer_name" : {
- "type" : "string",
- "description" : "购买方名称",
- "example" : "支付宝(中国)网络技术有限公司"
- },
- "payer_register_no" : {
- "type" : "string",
- "description" : "购买方税号",
- "example" : "91310115768225450T"
- },
- "sum_price" : {
- "type" : "integer",
- "description" : "不含税金额",
- "example" : "4901"
- },
- "sum_tax" : {
- "type" : "integer",
- "description" : "合计税额",
- "example" : "49"
- }
- }
- },
- "ComplexLabelRule" : {
- "type" : "object",
- "properties" : {
- "label_id" : {
- "type" : "string",
- "description" : "标签id"
- },
- "label_value" : {
- "type" : "string",
- "description" : "标签取值,当有多个取值时用英文\",\"分隔(比如使用in操作符时);不允许传入下划线\"_\"、竖线\"|\"或者空格\" \""
- },
- "operator" : {
- "type" : "string",
- "description" : "目前支持EQ(等于)、NEQ(不等于)、LT(小于),GT(大于)、LTEQ(小于等于)、GTEQ(大于等于)、LIKE(匹配)、BETWEEN(范围)、IN(包含)、NOTIN(不包含)操作"
- }
- }
- },
- "ConfigInfo" : {
- "type" : "object",
- "properties" : {
- "attachment_explain" : {
- "$ref" : "#/components/schemas/AttachmentExplain"
- },
- "collect_attachement" : {
- "type" : "boolean",
- "description" : "是否收集附件",
- "example" : "true"
- },
- "collect_cert_types" : {
- "type" : "array",
- "description" : "收集证件类型列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"IDCARD\"]"
- },
- "company_no" : {
- "type" : "string",
- "description" : "公司编号-SF",
- "example" : "SF"
- },
- "contract_validity" : {
- "type" : "integer",
- "description" : "文档过期时间",
- "example" : "1577243641153"
- },
- "jump_url" : {
- "type" : "string",
- "description" : "支付宝小程序跳转",
- "example" : "alipays://platformapi/startapp?appId=2019042364288308&page=pages%2Fwater%2Fwater%3FactivityId%3D0ow26mr0eowt22mqz1gap8bale802821"
- },
- "merchant_mini_sign_url" : {
- "type" : "string",
- "description" : "商户小程序签署地址(signModel字段值为1时 必填)",
- "example" : "alipays://platformapi/startapp?appId=2019042364288308&page=pages%2Fwater%2Fwater%3FactivityId%3D0ow26mr0eowt22mqz1gap8bale802821"
- },
- "notice_developer_url" : {
- "type" : "string",
- "description" : "回调地址,签署的过程和签署完成都会回调。",
- "example" : "https://abc.com/callback"
- },
- "platform_order_no" : {
- "type" : "string",
- "description" : "平台订单号",
- "example" : "DD1234"
- },
- "serial_no" : {
- "type" : "string",
- "description" : "物流单号",
- "example" : "1576726491.1902587"
- },
- "sign_model" : {
- "type" : "integer",
- "description" : "签署方式 0-e签宝小程序签署 1-商户小程序签署 默认0",
- "example" : "0"
- }
- }
- },
- "ConfigInfoBean" : {
- "type" : "object",
- "properties" : {
- "attachment_explain" : {
- "$ref" : "#/components/schemas/AttachmentExplainBean"
- },
- "auto_archive" : {
- "type" : "boolean",
- "description" : "签署完成是否自动归档,默认true,如果false,则归档需要调用签署流程归档接口",
- "example" : "false"
- },
- "collect_attachement" : {
- "type" : "boolean",
- "description" : "是否收集附件(需签署人上传身份证或者其他文件的,需设置为true)",
- "example" : "true"
- },
- "company_no" : {
- "type" : "string",
- "description" : "物流公司编号(目前仅支持顺丰\"SF\")\t注:避免影响生产订单,联调及测试环境请传入SF_TEST。",
- "example" : "SF"
- },
- "contract_validity" : {
- "type" : "integer",
- "description" : "合同过期时间:该参数设置的时间若到期,则会触发流程文件过期通知",
- "example" : "1577243641153"
- },
- "jump_url" : {
- "type" : "string",
- "description" : "签署完成后跳转商户小程序的地址(signModel字段值为2时 选填)",
- "example" : "alipays://platformapi/startapp?appId=2019042364288308&page=pages%2Fwater%2Fwater%3FactivityId%3D0ow26mr0eowt22mqz1gap8bale802821"
- },
- "merchant_mini_sign_url" : {
- "type" : "string",
- "description" : "商户小程序签署地址(signModel字段值为1时 必填)",
- "example" : "alipays://platformapi/startapp?appId=2019042364288308&page=pages%2Fwater%2Fwater%3FactivityId%3D0ow26mr0eowt22mqz1gap8bale802821"
- },
- "notice_developer_url" : {
- "type" : "string",
- "description" : "https://esign.cn/callback",
- "example" : "回调通知地址,签署的过程和签署完成都会回调"
- },
- "platform_order_no" : {
- "type" : "string",
- "description" : "平台订单号,可将商户订单与电子合同进行关联。用户通过支付宝官方小程序 合同管家 查看合同时,可快速进入商家的小程序及对应的订单详情页,为商家的小程序提供了流量入口,提高用户的活跃度和留存率;",
- "example" : "DD1234"
- },
- "serial_no" : {
- "type" : "string",
- "description" : "12或15位物流单号",
- "example" : "444258617994"
- },
- "sign_model" : {
- "type" : "integer",
- "description" : "快递扫码签收方式:\t1-商户小程序:扫码后跳转商户小程序进行签收;\t0-e签宝小程序:如商户没有支付宝小程序,可使用e签宝小程序完成签收。",
- "example" : "0"
- },
- "specify_attachment_infos" : {
- "type" : "array",
- "description" : "指定签署人需要上传的附件列表,例如:A、B、C三方签署,A需上传附件1,B需指定附件2,C需上传附件1,2,3",
- "items" : {
- "$ref" : "#/components/schemas/SpecifyAttachmentInfo"
- }
- }
- }
- },
- "ConstraintInfo" : {
- "type" : "object",
- "properties" : {
- "cash_pool_id" : {
- "type" : "string",
- "description" : "资金池ID\r\t(数据来源:需要ISV自己去口碑销售中台创建资金池,拿到对应的资金池ID,此参数仅适用ISV接入口福业务场景时使用,其他场景不需要传递此参数)",
- "example" : "2017031100073001472700000GY7"
- },
- "crowd_group_id" : {
- "type" : "string",
- "description" : "人群规则组ID\r\t仅直发奖类型活动设置有效,通过调用营销活动人群组规则创建接口参数返回",
- "example" : "12344556"
- },
- "crowd_restriction" : {
- "type" : "string",
- "description" : "针对指定人群的约束条件",
- "example" : "NEW_MEMBER_PROM\r\nO:新会员\r\nSTUDENT:学生用户,仅对\r\nDIRECT_SEND类型下的代金券,折扣券活动有效"
- },
- "crowd_restriction_value" : {
- "type" : "string",
- "description" : "根据crowd_restriction的值不同,设置相应的值,如果crowd_restriction是“MEMBER_CARD”,crowd_restriction_value就是关联会员卡模版ID集合,用逗号拼接",
- "example" : "2018012020075000000022612371,2018012020076000000022612371"
- },
- "item_ids" : {
- "type" : "array",
- "description" : "单品码列表\r\t仅在创建消费单品送活动时设置,最多设置500个单品码,由商户根据自己的商品管理自定义,一般为国标码",
- "items" : {
- "type" : "string"
- },
- "example" : "212313,221322"
- },
- "min_cost" : {
- "type" : "string",
- "description" : "最低消费金额,单位元\r\t仅在创建消费送礼包活动时设置",
- "example" : "100"
- },
- "subsidy_percent" : {
- "type" : "string",
- "description" : "补贴百分比,95表示 95%,支持两位小数\r\t(参数说明:补贴比例95%,表示ISV出资95%,商户出资5%,此参数仅适用ISV接入口福业务场景时使用,其他场景不需要传递此参数)",
- "example" : "95"
- },
- "suit_shops" : {
- "type" : "array",
- "description" : "活动适用的球房列表\r\t仅品牌商发起的招商活动可为空\r\t最多支持10w家球房",
- "items" : {
- "type" : "string"
- },
- "example" : "2015110600077000000002125023,2015110600077000000002125022"
- },
- "user_win_count" : {
- "type" : "string",
- "description" : "活动期间用户能够参与的次数限制\r\t如果不设置则不限制参与次数",
- "example" : "1"
- },
- "user_win_frequency" : {
- "type" : "string",
- "description" : "活动期间用户能够参与的频率限制\r\t如果不设置则不限制参与频率\r\t每日中奖1次: D||1 \r\t每周中奖2次: W||2 \r\t每月中奖3次: M||3",
- "example" : "D||3"
- }
- }
- },
- "ConsultActivityInfo" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "201623213214325423"
- }
- }
- },
- "ConsultActivityResultInfo" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "201632453456645"
- },
- "consult_result_code" : {
- "type" : "string",
- "description" : "咨询结果码\t\tSUCCESS:可以领取\t\tCOUNT_OVER_LIMIT:不可领取,次数超过限制\t\tBUDGET_NOT_ENOUGH:不可领取,预算不足\t\tACTIVITY_NOT_START:活动未开始\t\tACTIVITY_NOT_PERMISSION:商户没有权限发放该活动\t\tOTHER:不可领取,未知原因",
- "example" : "ACTIVITY_NOT_START"
- }
- }
- },
- "ConsumeOutputInfo" : {
- "type" : "object",
- "properties" : {
- "bill_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2020010900003001020000033189"
- },
- "category_name" : {
- "type" : "string",
- "description" : "账单分类",
- "example" : "餐饮"
- },
- "consume_amount" : {
- "type" : "string",
- "description" : "金额",
- "example" : "30.29"
- },
- "consume_date" : {
- "type" : "string",
- "description" : "日期",
- "example" : "2020-03-20"
- },
- "consume_title" : {
- "type" : "string",
- "description" : "交易记录标题",
- "example" : "xxx餐厅套餐一份"
- },
- "payee_name" : {
- "type" : "string",
- "description" : "商家名称",
- "example" : "肯德基"
- }
- }
- },
- "ConsumerNotifyIstd" : {
- "type" : "object",
- "properties" : {
- "goods_count" : {
- "type" : "integer",
- "description" : "商品数量"
- },
- "goods_img" : {
- "type" : "string",
- "description" : "商品缩略图url,支持格式:bmp、jpg、jpeg、png、gif"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称"
- },
- "merchant_mobile" : {
- "type" : "string",
- "description" : "商家电话"
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "商家名称,tiny_app_id和merchant_name不能同时为空"
- },
- "tiny_app_id" : {
- "type" : "string",
- "description" : "商家小程序appid"
- },
- "tiny_app_url" : {
- "type" : "string",
- "description" : "商家小程序的路径,建议为订单页面"
- }
- }
- },
- "ContactFollower" : {
- "type" : "object",
- "properties" : {
- "avatar" : {
- "type" : "string",
- "description" : "支付宝头像",
- "example" : "支付宝头像"
- },
- "default_avatar" : {
- "type" : "string",
- "description" : "默认头像",
- "example" : "true"
- },
- "each_record_flag" : {
- "type" : "string",
- "description" : "false",
- "example" : "false"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户id",
- "example" : "2088202882050410"
- }
- }
- },
- "ContactInfo" : {
- "type" : "object",
- "properties" : {
- "email" : {
- "type" : "string",
- "description" : "电子邮箱"
- },
- "id_card_no" : {
- "type" : "string",
- "description" : "身份证号"
- },
- "mobile" : {
- "type" : "string",
- "description" : "手机号。必填与否参见外层对象描述,无特别说明认为是非必填"
- },
- "name" : {
- "type" : "string",
- "description" : "联系人名字"
- },
- "phone" : {
- "type" : "string",
- "description" : "电话"
- },
- "tag" : {
- "type" : "array",
- "description" : "商户联系人业务标识枚举,表示商户联系人的职责。异议处理接口人:02;商户关键联系人:06;数据反馈接口人:11;服务联动接口人:08",
- "items" : {
- "type" : "string"
- }
- },
- "type" : {
- "type" : "string",
- "description" : "联系人类型,取值范围:LEGAL_PERSON:法人;CONTROLLER:实际控制人;AGENT:代理人;OTHER:其他"
- }
- }
- },
- "ContactModel" : {
- "type" : "object",
- "properties" : {
- "contact_email" : {
- "type" : "string",
- "description" : "联系人邮箱",
- "example" : "zhangsan@alipy.com"
- },
- "contact_mobile" : {
- "type" : "string",
- "description" : "联系人手机号码",
- "example" : "18866668888"
- },
- "contact_name" : {
- "type" : "string",
- "description" : "联系人名称",
- "example" : "张三"
- }
- }
- },
- "Context" : {
- "type" : "object",
- "properties" : {
- "action_name" : {
- "type" : "string",
- "description" : "底部链接描述文字,如“查看详情”,最多能传8个汉字或16个英文字符,长度超出会报错",
- "example" : "查看详情"
- },
- "first" : {
- "$ref" : "#/components/schemas/Keyword"
- },
- "head_color" : {
- "type" : "string",
- "description" : "顶部色条的色值",
- "example" : "#85be53"
- },
- "keyword1" : {
- "$ref" : "#/components/schemas/Keyword"
- },
- "keyword2" : {
- "$ref" : "#/components/schemas/Keyword"
- },
- "remark" : {
- "$ref" : "#/components/schemas/Keyword"
- },
- "url" : {
- "type" : "string",
- "description" : "点击消息后承接页的地址",
- "example" : "http://m.baidu.com"
- }
- }
- },
- "ContributeDetail" : {
- "type" : "object",
- "properties" : {
- "contribute_amount" : {
- "type" : "string",
- "description" : "出资方金额"
- },
- "contribute_type" : {
- "type" : "string",
- "description" : "出资方类型,如品牌商出资、支付宝平台出资等"
- }
- }
- },
- "ConversionData" : {
- "type" : "object",
- "properties" : {
- "biz_no" : {
- "type" : "string",
- "description" : "转化流水号,用于幂等\t\t对于source=XLIGHT,转化流水号来自灯火的留资明细\t对于source=DATASET/OTHER,转化流水号由调用方自定义",
- "example" : "Zybnom890437Mvcu"
- },
- "callback_ext_info" : {
- "type" : "string",
- "description" : "转化回调扩展信息",
- "example" : "ZXdmcmZkbGZkZmRmZmRmMTI="
- },
- "conversion_amount" : {
- "type" : "string",
- "description" : "当source=DATASET或者OTHER时使用:\t\t转化金额,单位分",
- "example" : "20"
- },
- "conversion_id" : {
- "type" : "string",
- "description" : "当source=XLIGHT时使用:\t\t转化事件id,来自推广页关联转化事件id",
- "example" : "167390987332"
- },
- "conversion_time" : {
- "type" : "integer",
- "description" : "转化时间,UTC 时间戳,单位:秒",
- "example" : "12389637"
- },
- "conversion_type" : {
- "type" : "string",
- "description" : "当source=XLIGHT时使用:\t\t转化事件类型",
- "example" : "51"
- },
- "creative_id" : {
- "type" : "string",
- "description" : "创意ID",
- "example" : "6785"
- },
- "data_id" : {
- "type" : "string",
- "description" : "当source=XLIGHT或者DATASET时使用:\t\t数据集id",
- "example" : "20391"
- },
- "data_src_type" : {
- "type" : "string",
- "description" : "当source=OTHER时使用:\t\t数据类型:\tKR_MEMBER - 客如云入会\tKR_TRADE - 客如云交易\tTB_LIVE - 淘宝直播",
- "example" : "KR_MEMBER"
- },
- "group_id" : {
- "type" : "string",
- "description" : "单元ID",
- "example" : "7896"
- },
- "plan_id" : {
- "type" : "string",
- "description" : "计划ID",
- "example" : "1789"
- },
- "principal_id" : {
- "type" : "string",
- "description" : "商户在灯火pb端的id, 可代替principal_tag",
- "example" : "1"
- },
- "principal_tag" : {
- "type" : "string",
- "description" : "商家标志,可代替principal_id",
- "example" : "HYjofejnnlp89730202bcklHH"
- },
- "property_list" : {
- "type" : "array",
- "description" : "当source=DATASET或者OTHER时使用:\t\t转化属性列表",
- "items" : {
- "$ref" : "#/components/schemas/ConversionProperty"
- }
- },
- "source" : {
- "type" : "string",
- "description" : "来源:\tXLIGHT-灯火留资\tDATASET-数据集\tOTHER-其它",
- "example" : "XLIGHT"
- },
- "target_id" : {
- "type" : "string",
- "description" : "当source=OTHER时使用:\t主体id,比如品牌id",
- "example" : "123"
- },
- "target_type" : {
- "type" : "string",
- "description" : "当source=OTHER时使用:\t\t主体类型:\tBRAND - 品牌\tSTORE - 店铺\tLIVE - 直播\t等等",
- "example" : "STORE"
- },
- "uuid" : {
- "type" : "string",
- "description" : "当source=DATASET或者OTHER时使用:\t\t转化用户唯一标识",
- "example" : "7893ybc7032173"
- },
- "uuid_type" : {
- "type" : "string",
- "description" : "当source=DATASET或者OTHER时使用:\t\t转化客户唯一标志类型:\tPID - 2088pid",
- "example" : "PID"
- }
- }
- },
- "ConversionProperty" : {
- "type" : "object",
- "properties" : {
- "key" : {
- "type" : "string",
- "description" : "业务转化数据属性",
- "example" : "tel"
- },
- "name" : {
- "type" : "string",
- "description" : "转化属性名称",
- "example" : "用户唯一标识"
- },
- "value" : {
- "type" : "string",
- "description" : "业务转化属性实例值",
- "example" : "3689479025"
- }
- }
- },
- "CreateMiniRequest" : {
- "type" : "object",
- "properties" : {
- "alipay_account" : {
- "type" : "string",
- "description" : "商家登录支付宝的邮箱帐号或手机号。(1)默认只支持企业账号类型;(2)将is_individual设置为true,支持个体工商户类型的账号(同时也兼容企业账号)(3)将is_individual设置为true且上传营业执照照片,将同时对具备个体工商户营业执照的商家个人账号认证成为个体工商户账号(同时也兼容企业账号、个体工商户账号)",
- "example" : "test@email.com"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称",
- "example" : "张三的小程序"
- },
- "cert_name" : {
- "type" : "string",
- "description" : "营业执照企业名称,如果是“无主体名称个体工商户”则填“个体户+法人姓名”,例如“个体户张三”",
- "example" : "张三科技有限公司"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "营业执照编码",
- "example" : "3704354348893534"
- },
- "contact_name" : {
- "type" : "string",
- "description" : "商家联系人名称",
- "example" : "张三"
- },
- "contact_phone" : {
- "type" : "string",
- "description" : "商家联系人手机电话",
- "example" : "19925376338"
- },
- "is_individual" : {
- "type" : "boolean",
- "description" : "默认为 false。当设置为 true 时,支持个体工商户的账号类型(同时兼容企业账号)",
- "example" : "true"
- },
- "legal_personal_name" : {
- "type" : "string",
- "description" : "商家法人名称",
- "example" : "张三"
- },
- "license_pic" : {
- "type" : "string",
- "description" : "营业执照图片的Base64编码字符串,图片大小不能超过2M。将is_individual设置为true,当传入该参数后,如果商家账号不是个体工商户类型,将同时为商家升级账号,无需商家额外操作升级(同时支持企业账号、个体工商户账号)",
- "example" : "/9j/Qnl0ZUFycmF5T3V0cHV0U3RyZWFtIG91dHB1dCA9IG5ldyBCeXRlQ中间缩略Skge30="
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "开发者外部订单号,自定义传入,通过开发者账号+outOrderNo做业务幂等。(1)该字段会在商家确认创建后通过应用授权通知出参notify_context以out_biz_no属性返回给ISV,应用授权通知订阅参考:https://opendocs.alipay.com/isv/01fejh。(2)该字段也会通过alipay.open.mini.merchant.confirmed返回给订阅方",
- "example" : "202324353454545"
- }
- }
- },
- "CreditRiskInfo" : {
- "type" : "object",
- "properties" : {
- "can_retry" : {
- "type" : "boolean",
- "description" : "查询失败的情况下,是否可以通过重试解决。true 表示可以适当重试一定次数;false 表示有明确的失败原因,无需重试,",
- "example" : "false"
- },
- "code" : {
- "type" : "string",
- "description" : "用户信用数据查询状态",
- "example" : "QUERY_REFUSED_FOR_UNKNOWN_REASON"
- },
- "data" : {
- "type" : "string",
- "description" : "用户信用风险信息,如:租物场景风险等级、履约历史等级、共租行为等级",
- "example" : "{\"miniZm\":false,\"aliren\":false}"
- }
- }
- },
- "CrowdConstraintInfo" : {
- "type" : "object",
- "properties" : {
- "crowd_condition" : {
- "type" : "string",
- "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:标签值"
- },
- "crowd_name" : {
- "type" : "string",
- "description" : "圈人名称"
- },
- "crowd_restriction" : {
- "type" : "string",
- "description" : "圈人约束,取值(NEWCOMER:新客人群;OFFLINE:离线人群),OFFLINE离线人群,需要传递crowd_condition圈人条件,使用方案参考crowd_condition使用说明"
- }
- }
- },
- "CumulateDataDetail" : {
- "type" : "object",
- "properties" : {
- "action_type" : {
- "type" : "string",
- "description" : "数据回传的动作类型,正向或逆向。",
- "example" : "POSITIVE"
- },
- "biz_time" : {
- "type" : "string",
- "description" : "回传数据发生的实际时间",
- "example" : "2019-03-08 19:51:35"
- },
- "data_type" : {
- "type" : "string",
- "description" : "回传数据类型。",
- "example" : "TASK"
- },
- "discount_amount" : {
- "type" : "string",
- "description" : "优惠金额",
- "example" : "7.08"
- },
- "discount_desc" : {
- "type" : "string",
- "description" : "优惠描述",
- "example" : "消费满减优惠001"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "数据回传时传入的外部业务号。",
- "example" : "2020081211223006150094012926289"
- },
- "refer_out_biz_no" : {
- "type" : "string",
- "description" : "数据回传时逆向单据记录的对应正向单据的外部业务号。",
- "example" : "2020081211223006150094012926289"
- },
- "sub_data_type" : {
- "type" : "string",
- "description" : "回传数据子类型。",
- "example" : "AMOUNT"
- },
- "task_amount" : {
- "type" : "string",
- "description" : "任务金额",
- "example" : "17.88"
- },
- "task_desc" : {
- "type" : "string",
- "description" : "任务描述",
- "example" : "完成一次任务001"
- },
- "task_times" : {
- "type" : "integer",
- "description" : "任务次数",
- "example" : "1"
- }
- }
- },
- "CustomerDefineDeductRule" : {
- "type" : "object",
- "properties" : {
- "customer_define_deduct_rule_desc" : {
- "type" : "string",
- "description" : "自定义优惠规则描述"
- }
- }
- },
- "CustomerDefineVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "deduct_info" : {
- "$ref" : "#/components/schemas/DeductInfo"
- }
- }
- },
- "CustomerGuide" : {
- "type" : "object",
- "properties" : {
- "mini_app_id" : {
- "type" : "string",
- "description" : "券可用的小程序appId,卡包详情页可跳转到该appId"
- },
- "mini_app_path" : {
- "type" : "string",
- "description" : "指定跳转到mini_app_id时的具体页面路径。 \t限制: \t1、只有mini_app_id有值时该值传入才会有效\t2、该小程序路径是相对路径。详情参见 <a href=\"https://opendocs.alipay.com/support/01rb18\">小程序scheme链接介绍</a>"
- },
- "real_shop_ids" : {
- "type" : "array",
- "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id。接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- },
- "service_codes" : {
- "type" : "array",
- "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
- "items" : {
- "type" : "string"
- }
- },
- "shop_ids" : {
- "type" : "array",
- "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- },
- "store_ids" : {
- "type" : "array",
- "description" : "该字段后续废弃。券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id。接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- },
- "voucher_send_guide" : {
- "$ref" : "#/components/schemas/VoucherSendGuide"
- },
- "voucher_use_guide" : {
- "$ref" : "#/components/schemas/VoucherUseGuide"
- }
- }
- },
- "CustomerGuideModify" : {
- "type" : "object",
- "properties" : {
- "mini_app_id" : {
- "type" : "string",
- "description" : "券可用的小程序 appId,卡包详情页可跳转到该 appId。",
- "example" : "2021238412323412"
- },
- "mini_app_path" : {
- "type" : "string",
- "description" : "指定跳转到 mini_app_id 时的具体页面路径。",
- "example" : "/index/path/path&query=xx%3dxx"
- },
- "real_shop_ids" : {
- "type" : "array",
- "description" : "券可使用的商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
- },
- "service_codes" : {
- "type" : "array",
- "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2020030921000303380758\"]"
- },
- "shop_ids" : {
- "type" : "array",
- "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房 id 接口参数是列表类型。 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
- },
- "store_ids" : {
- "type" : "array",
- "description" : "后续废弃。券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房 id 接口参数是列表类型。\t接口参数是列表类型。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
- },
- "voucher_send_guide" : {
- "$ref" : "#/components/schemas/VoucherSendGuideModify"
- },
- "voucher_use_guide" : {
- "$ref" : "#/components/schemas/VoucherUseGuideModify"
- }
- }
- },
- "CustomsDeclareBuyerInfo" : {
- "type" : "object",
- "properties" : {
- "buyer_cert_no" : {
- "type" : "string",
- "description" : "订购人身份证号。即订购人留在商户处的身份证信息",
- "example" : "230227198707201827"
- },
- "buyer_name" : {
- "type" : "string",
- "description" : "订购人姓名。即订购人留在商户处的姓名信息",
- "example" : "王一"
- }
- }
- },
- "CustomsDeclareRecordInfo" : {
- "type" : "object",
- "properties" : {
- "alipay_declare_no" : {
- "type" : "string",
- "description" : "支付宝报关流水号。",
- "example" : "2013112611001004680073956707"
- },
- "amount" : {
- "type" : "string",
- "description" : "报关金额,单位为人民币“元”,精确到小数点后2位。",
- "example" : "20.00"
- },
- "customs_place" : {
- "type" : "string",
- "description" : "此记录所报关的海关编号,参见“ <a href=\"https://opendocs.alipay.com/pre-open/01x3kh#%E6%B5%B7%E5%85%B3%E7%BC%96%E5%8F%B7\">海关编号</a>”。",
- "example" : "zongshu"
- },
- "customs_result_code" : {
- "type" : "string",
- "description" : "发起报关后,海关返回回执中的结果码。目前只有总署的报关,并且总署回执接收成功的请求才会返回此参数\r\t2:电子口岸申报中\r\t3:发送海关成功\r\t4:发送海关失败\r\t100:海关退单\r\t399:海关审结\r\t小于0的数字:表示处理异常回执\r\t 注意:\r\t支付宝原样返回海关返回的数据,参数值以海关的定义为准。",
- "example" : "2"
- },
- "customs_result_info" : {
- "type" : "string",
- "description" : "发起报关后,海关返回回执中的结果描述信息。目前只有总署报关,并且总署成功返回回执的时候会有此值",
- "example" : "新增申报成功[B0B2F23E-2CF6-434D-9F24-8931B835A056]"
- },
- "customs_result_return_time" : {
- "type" : "string",
- "description" : "发起报关后,海关返回回执的时间,格式为:yyyyMMddHHmmss。目前只有总署报关,并且总署成功返回回执的时候才会有此参数。",
- "example" : "20160414142358"
- },
- "is_split" : {
- "type" : "string",
- "description" : "T: 拆单;F:非拆单。当请求没有拆单或者请求传入的is_split=F时,不会返回此参数。",
- "example" : "T"
- },
- "last_modified_time" : {
- "type" : "string",
- "description" : "报关记录状态最后更新时间",
- "example" : "2015-12-04 11:00:00"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注说明",
- "example" : "海关返回参数非法"
- },
- "merchant_customs_code" : {
- "type" : "string",
- "description" : "商户在海关备案的编号。",
- "example" : "ALI001"
- },
- "merchant_customs_name" : {
- "type" : "string",
- "description" : "商户海关备案名称",
- "example" : "XX中国信息技术有限公司"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "报关请求号。商户端报关请求号,对应入参中的某条报关请求号。",
- "example" : "201506010001"
- },
- "status" : {
- "type" : "string",
- "description" : "该报关单当前的状态:\r\t-\tws等待发送海关\r\t-\tsending已提交发送海关\r\t-\tsucc 海关返回受理成功",
- "example" : "succ"
- },
- "sub_out_biz_no" : {
- "type" : "string",
- "description" : "拆单子订单号。如果报关请求没有请求拆单则不会返回此参数。",
- "example" : "201506010001"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝推送到海关的支付单据号。针对拆单的报关,这个单据号不等于支付宝原始交易号。",
- "example" : "2013111511001004390000105126"
- }
- }
- },
- "Data" : {
- "type" : "object",
- "properties" : {
- "alipay_open_id_list" : {
- "type" : "array",
- "description" : "支付宝用户唯一标识列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
- },
- "alipay_user_id_list" : {
- "type" : "array",
- "description" : "对应userIdList,标准Alipay UserId列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088102146158132\",\"2088102150429794\",\"2088102150477652\" ]"
- },
- "open_id_list" : {
- "type" : "array",
- "description" : "支付宝用户唯一标识列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
- },
- "user_id_list" : {
- "type" : "array",
- "description" : "用户id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"USERID10001\",\"USERID10002\",\"USERID20000\" ]"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCertifyInitializeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "ARRANGEMENT_STATUS_ERROR", "UNKNOWN_ERROR", "ACCOUNT_MONEY_LIMIT_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCertifyInitializeModel" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "H5人脸核身场景码。入参支持的场景码。",
- "example" : "FUTURE_TECH_BIZ_FACE_SDK"
- },
- "face_contrast_picture" : {
- "type" : "string",
- "description" : "自定义人脸比对图片的base64编码格式的string字符串",
- "example" : "xydasf=="
- },
- "identity_param" : {
- "type" : "string",
- "description" : "需要验证的身份信息(json)字段说明如下: identity_type: 身份信息参数类型,固定为 CERT_INFO cert_name:真实姓名,必填 cert_no:证件号码,必填 phone_no:手机号码,选填 cert_type:证件类型,必填,枚举支持: IDENTITY_CARD:身份证",
- "example" : "{ \"identity_type\": \"CERT_INFO\", \"cert_type\": \"IDENTITY_CARD\", \"cert_name\": \"收委\",\"cert_no\": \"260104197909275964\",\"phone_no\":\"13000000000\"}"
- },
- "merchant_config" : {
- "type" : "string",
- "description" : "商户个性化配置,格式为json,详细支持的字段说明为: return_url:需要回跳的目标地址,必填,一般指定为商户业务页面 face_reserve_strategy:人脸保存策略,非必填;reserve(保存活体人脸)/never(不保存活体人脸),不传默认为reserve",
- "example" : "{\"return_url\":\"xxx\"}"
- },
- "outer_order_no" : {
- "type" : "string",
- "description" : "商户请求的唯一标识,商户要保证其唯一性,值为32位长度的字母数字组合。建议:前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列",
- "example" : "ZGYD201809132323000001234"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCertifyInitializeResponseModel" : {
- "type" : "object",
- "properties" : {
- "certify_id" : {
- "type" : "string",
- "description" : "本次申请操作的唯一标识,商户需要记录,后续的操作都需要用到",
- "example" : "2109b5e671aa3ff2eb4851816c65828f"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCertifyQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UNKNOWN_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "CERTIFY_ID_EXPIRED", "OPEN_CERTIFY_BILL_NOT_EXIST", "OPEN_CERTIFY_BILL_STATUS_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCertifyQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "fail_reason" : {
- "type" : "string",
- "description" : "认证错误原因,扩展字段,默认不返回",
- "example" : "Z1147"
- },
- "identity_info" : {
- "type" : "string",
- "description" : "刷脸用户的身份信息,目前返回为空",
- "example" : "{}"
- },
- "material_info" : {
- "type" : "string",
- "description" : "认证主体附件信息,主要为图片类材料,一般的认证场景都是返回空",
- "example" : "{}"
- },
- "passed" : {
- "type" : "string",
- "description" : "是否通过,通过为T,不通过为F",
- "example" : "T"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCertifyVerifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCertifyVerifyModel" : {
- "type" : "object",
- "properties" : {
- "certify_id" : {
- "type" : "string",
- "description" : "本次申请操作的唯一标识,由H5人脸核身初始化接口调用后生成,后续的操作都需要用到",
- "example" : "OC201809253000000393900404029253"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCertifyVerifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "certify_url" : {
- "type" : "string",
- "description" : "返回用于唤起刷脸页面的url",
- "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×tamp=2016-11-25+15%3A00%3A59&version=1.0&sign=MhtfosO8AKbwctDgfGitzLvhbcvi%2FMv3iBES7fRnIXn%2BHcdwq9UWltTs6mEvjk2UoHdLoFrvcSJipiE3sL8kdJMd51t87vcwPCfk7BA5KPwa4%2B1IYzYaK6WwbqOoQB%2FqiJVfni602HiE%2BZAomW7WA3Tjhjy3D%2B9xrLFCipiroDQ%3D"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCheckInitializeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "ACCOUNT_MONEY_LIMIT_ERROR", "INVALID_SWITCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCheckInitializeModel" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "DATA_DIGITAL_BIZ_CODE_FACE_CHECK_LIVE,代表活体检测。",
- "example" : "DATA_DIGITAL_BIZ_CODE_FACE_CHECK_LIVE"
- },
- "outer_order_no" : {
- "type" : "string",
- "description" : "客户业务单据号。",
- "example" : "2324sasfe"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCheckInitializeResponseModel" : {
- "type" : "object",
- "properties" : {
- "certify_id" : {
- "type" : "string",
- "description" : "人脸检测流水ID,请保留方便排查问题",
- "example" : "xxxxeee888fffss"
- },
- "page_url" : {
- "type" : "string",
- "description" : "检测页面url,需要给到终端SDK",
- "example" : "http://ssseee.com/"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCheckQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "QUERY_INVALID_CERTIFYID", "QUERY_CERTIFYID_EXPIRED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceCheckQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "alive_photo" : {
- "type" : "string",
- "description" : "如果设置了need_alive_photo的值不为N,则该字段返回人脸照片的base64编码字符串。",
- "example" : "fasf8777asf"
- },
- "attack_flag" : {
- "type" : "string",
- "description" : "已废弃",
- "example" : "false"
- },
- "certify_state" : {
- "type" : "string",
- "description" : "PROCESSING:初始化;SUCCESS:检测成功;FAIL:检测失败",
- "example" : "SUCCESS"
- },
- "quality" : {
- "type" : "string",
- "description" : "double值,人脸图片质量分",
- "example" : "4.84"
- },
- "score" : {
- "type" : "string",
- "description" : "已废弃",
- "example" : "3.58"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceSourceCertifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "ACCOUNT_MONEY_LIMIT_ERROR", "FILE_SIZE_TO_LARGE", "INVALID_SWITCH" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceSourceCertifyModel" : {
- "type" : "object",
- "properties" : {
- "cert_name" : {
- "type" : "string",
- "description" : "用户姓名,与身份证上的姓名相匹配",
- "example" : "张大伟"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "证件号码,如大陆身份证号码",
- "example" : "131128199032333322"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "证件信息类型,大陆身份证:IDENTITY_CARD",
- "example" : "IDENTITY_CARD"
- },
- "outer_biz_no" : {
- "type" : "string",
- "description" : "客户业务单据号",
- "example" : "xxxx"
- },
- "phone" : {
- "type" : "string",
- "description" : "手机号,特殊场景下,在验证过程中需用户输入手机来接受系统发送的安全验证短信。默认不传即可。",
- "example" : "13088646325"
- },
- "reserved" : {
- "type" : "boolean",
- "description" : "true:需要留底;false:无需留底。默认留底",
- "example" : "true"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceSourceCertifyResponseModel" : {
- "type" : "object",
- "properties" : {
- "certify_no" : {
- "type" : "string",
- "description" : "人脸认证单据号,调用后续OpenAPI(datadigital.fincloud.generalsaas.face.source.query\t)时传入,用来查询结果",
- "example" : "xxxx"
- },
- "mismatch_reason" : {
- "type" : "string",
- "description" : "认证不通过原因",
- "example" : "UNABLE_GET_IMAGE"
- },
- "passed" : {
- "type" : "string",
- "description" : "T:通过;F:不通过",
- "example" : "T"
- },
- "quality" : {
- "type" : "string",
- "description" : "double值,人脸图片质量分",
- "example" : "30"
- },
- "score" : {
- "type" : "string",
- "description" : "double值,活体检测结果分数",
- "example" : "30"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceVerificationInitializeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "INVALID_SWITCH", "INVALID_CERT_INFO", "INVALID_INPUT_IMAGE", "OVER_RATE_LIMIT", "ACCOUNT_MONEY_LIMIT_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceVerificationInitializeModel" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "人脸核身具体类型目前仅支持:DATA_DIGITAL_BIZ_CODE_FACE_VERIFICATION",
- "example" : "DATA_DIGITAL_BIZ_CODE_FACE_VERIFICATION"
- },
- "cert_name" : {
- "type" : "string",
- "description" : "真实姓名",
- "example" : "张三"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "证件号",
- "example" : "131128199004234511"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "证件类型,目前只支持身份证:IDENTITY_CARD",
- "example" : "IDENTITY_CARD"
- },
- "face_reserve_strategy" : {
- "type" : "string",
- "description" : "人脸保存策略,非必填。具体取值为:reserve(保存活体人脸)/never(不保存活体人脸),不传默认为reserve",
- "example" : "reserve"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "认证类型,固定值为:CERT_INFO",
- "example" : "CERT_INFO"
- },
- "outer_order_no" : {
- "type" : "string",
- "description" : "商户请求的唯一标识,商户要保证其唯一性,值为64位长度的字母数字组合。建议:前面几位字符是商户自定义的简称,中间可以使用一段时间,后段可以使用一个随机或递增序列",
- "example" : "dsdfaeradsfasdf23234234sdf"
- },
- "phone_no" : {
- "type" : "string",
- "description" : "手机号码",
- "example" : "13088646233"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceVerificationInitializeResponseModel" : {
- "type" : "object",
- "properties" : {
- "certify_id" : {
- "type" : "string",
- "description" : "认证单据号,请保留以便排查问题。",
- "example" : "adsfasdfasdf"
- },
- "page_url" : {
- "type" : "string",
- "description" : "人脸核身url",
- "example" : "http://alipay.com/xxx"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceVerificationQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "UNKNOWN_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "QUERY_INVALID_CERTIFYID", "QUERY_CERTIFYID_EXPIRED", "SYSTEM_ERROR", "ACCOUNT_NOT_AVAILABLE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasFaceVerificationQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "alive_photo" : {
- "type" : "string",
- "description" : "base64过后的图片图片",
- "example" : "adsfsdfsdf"
- },
- "attack_flag" : {
- "type" : "string",
- "description" : "本次认证是否存在安全风险,true:检测到安全风险;false:未检测到安全风险。",
- "example" : "true"
- },
- "certify_state" : {
- "type" : "string",
- "description" : "人脸检测单据状态。PROCESSING:初始化;SUCCESS:检测成功;FAIL:检测失败",
- "example" : "PROCESSING"
- },
- "quality" : {
- "type" : "string",
- "description" : "double值,人脸图片质量分",
- "example" : "2"
- },
- "score" : {
- "type" : "string",
- "description" : "double值,活体检测结果分数",
- "example" : "30"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasOcrMobileInitializeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "INVALID_SWITCH", "ACCOUNT_MONEY_LIMIT_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasOcrMobileInitializeModel" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "bizCode,代表当前使用的能力类型。",
- "example" : "DATA_DIGITAL_BIZ_CODE_OCR"
- },
- "outer_order_no" : {
- "type" : "string",
- "description" : "客户业务单据号。请保持唯一。",
- "example" : "sfsdfsdfsdf"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasOcrMobileInitializeResponseModel" : {
- "type" : "object",
- "properties" : {
- "certify_id" : {
- "type" : "string",
- "description" : "OCR识别流水ID,计费依据,请保留方便排查问题",
- "example" : "xxxxeee888fffss"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasOcrServerDetectErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_OCR_TYPE", "SYSTEM_ERROR", "ILLEGAL_ARGUMENT_FORMAT", "UNKNOWN_ERROR", "INVALID_SWITCH", "FILE_SIZE_TO_LARGE", "ACCOUNT_MONEY_LIMIT_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasOcrServerDetectModel" : {
- "type" : "object",
- "properties" : {
- "ocr_type" : {
- "type" : "string",
- "description" : "可识别OCR类型。如,ID_CARD_FRONT 大陆身份证正面;ID_CARD_BACK 大陆身份证反面等。具体支持的类型以接入文档为准。",
- "example" : "ID_CARD_FRONT"
- },
- "outer_order_no" : {
- "type" : "string",
- "description" : "客户业务单据号,请保证幂等性。",
- "example" : "dfdsdfsdf"
- }
- }
- },
- "DatadigitalFincloudGeneralsaasOcrServerDetectResponseModel" : {
- "type" : "object",
- "properties" : {
- "certify_id" : {
- "type" : "string",
- "description" : "OCR识别单据号,计费依据,请保留以便排查问题。",
- "example" : "adsfadsfasdf"
- },
- "ocr_data" : {
- "type" : "string",
- "description" : "OCR识别结果",
- "example" : "{\"card_no\":xxxx}"
- }
- }
- },
- "DateRangeInfo" : {
- "type" : "object",
- "properties" : {
- "begin_date" : {
- "type" : "string",
- "description" : "开始日期 格式:yyyy-MM-dd"
- },
- "end_date" : {
- "type" : "string",
- "description" : "结束日期 格式:yyyy-MM-dd"
- }
- }
- },
- "DateRuleInfo" : {
- "type" : "object",
- "properties" : {
- "date_range_info" : {
- "$ref" : "#/components/schemas/DateRangeInfo"
- },
- "time_range_info" : {
- "$ref" : "#/components/schemas/TimeRangeInfo"
- }
- }
- },
- "DeductInfo" : {
- "type" : "object",
- "properties" : {
- "customer_define_deduct_rule" : {
- "$ref" : "#/components/schemas/CustomerDefineDeductRule"
- }
- }
- },
- "DelayInfo" : {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string",
- "description" : "延迟类型,目前支持以下类型\r\tABSOLUTELY:按绝对值延迟\r\tBYDAY:按天延迟",
- "example" : "ABSOLUTELY"
- },
- "value" : {
- "type" : "string",
- "description" : "延迟值,单位分钟\r\t按绝对值延迟延迟24*60 (1天)表示,当日08:00:00领到的券要到隔日的08:00:00才能使用\r\t按天延迟延迟24*60(1天)表示,当日08:00:00领到的券,隔日00:00:00点就可以用",
- "example" : "1440"
- }
- }
- },
- "DeliverAddress" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "地址",
- "example" : "地址"
- },
- "address_code" : {
- "type" : "string",
- "description" : "区域编码",
- "example" : "330106"
- },
- "default_deliver_address" : {
- "type" : "string",
- "description" : "是否默认收货地址",
- "example" : "T"
- },
- "deliver_area" : {
- "type" : "string",
- "description" : "收货人所在区县",
- "example" : "西湖区"
- },
- "deliver_city" : {
- "type" : "string",
- "description" : "收货人所在城市",
- "example" : "杭州市"
- },
- "deliver_fullname" : {
- "type" : "string",
- "description" : "收货人全名",
- "example" : "支小宝"
- },
- "deliver_mobile" : {
- "type" : "string",
- "description" : "收货地址的联系人移动电话",
- "example" : "131XXXXXXXX"
- },
- "deliver_phone" : {
- "type" : "string",
- "description" : "收货地址的联系人固定电话",
- "example" : "0517-28888888"
- },
- "deliver_province" : {
- "type" : "string",
- "description" : "收货人所在省份",
- "example" : "浙江省"
- },
- "zip" : {
- "type" : "string",
- "description" : "邮政编码",
- "example" : "310000"
- }
- }
- },
- "DeliveryActivityContentInfo" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id。\t\t说明:\t通过 alipay.marketing.activity.voucher.create 创建的支付券活动。 \t通过alipay.marketing.activity.ordervoucher.create 创建的导码模式的商家券活动。"
- }
- }
- },
- "DeliveryAgencyMerchantInfo" : {
- "type" : "object",
- "properties" : {
- "business_type" : {
- "type" : "string",
- "description" : "同商户合作业务模式 。\t枚举值:\tISV_FOR_MERCHANT 服务商代运营模式"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "代运营商户PID信息。\t限制: 服务商代运营模式必传 "
- },
- "merchant_id_type" : {
- "type" : "string",
- "description" : "代运营商户收款账号类型。\t枚举值:PID\t限制: 服务商代运营模式必传 "
- }
- }
- },
- "DeliveryAvailableCityCode" : {
- "type" : "object",
- "properties" : {
- "all_city" : {
- "type" : "boolean",
- "description" : "是否全国。 与city_codes二选一。只允许填true,否则不填。"
- },
- "city_codes" : {
- "type" : "array",
- "description" : "城市编码。与all_city二选一。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "DeliveryAvailableScope" : {
- "type" : "object",
- "properties" : {
- "delivery_available_city_code" : {
- "$ref" : "#/components/schemas/DeliveryAvailableCityCode"
- },
- "delivery_available_scope_type" : {
- "type" : "string",
- "description" : "投放可用范围类型,目前支持的类型是城市范围CITY_CODE"
- }
- }
- },
- "DeliveryBaseInfo" : {
- "type" : "object",
- "properties" : {
- "delivery_begin_time" : {
- "type" : "string",
- "description" : "投放计划开始时间。 格式为:yyyy-MM-dd HH:mm:ss。"
- },
- "delivery_end_time" : {
- "type" : "string",
- "description" : "投放计划结束时间。 格式为:yyyy-MM-dd HH:mm:ss。"
- },
- "delivery_material" : {
- "$ref" : "#/components/schemas/DeliveryMaterial"
- },
- "delivery_name" : {
- "type" : "string",
- "description" : "投放计划名称。\t投放计划名称不会对用户进行表达,只用于商户管理使用。长度需要大于等于3,小于20。"
- }
- }
- },
- "DeliveryChannelInfo" : {
- "type" : "object",
- "properties" : {
- "booth_code" : {
- "type" : "string",
- "description" : "展位码:boothCode表达的是具体渠道所属的展位码。例如:支付结果页PAY_RESULT",
- "example" : "PAY_RESULT"
- },
- "channel" : {
- "type" : "string",
- "description" : "可投放的渠道标识.\t\t说明:\t针对不同的boot_code,channel值各不相同.接口使用者可以认为channel是不同booth_code展位下的渠道的唯一标识。\t\t例如:\tbooth_code为PAYMENT_RESULT。 channel为某个商户的pid。",
- "example" : "2088xxxxxxxxx"
- },
- "channel_name" : {
- "type" : "string",
- "description" : "渠道的名称。\t\t说明:\tbooth_code:PAYMENT_RESULT,channel_name为商户名称。",
- "example" : "支付宝官方搜索box"
- }
- }
- },
- "DeliveryCityCodeRule" : {
- "type" : "object",
- "properties" : {
- "all_city" : {
- "type" : "boolean",
- "description" : "是否全国。 与city_codes二选一。只允许填true,否则不填。"
- },
- "city_codes" : {
- "type" : "array",
- "description" : "城市编码。与all_city二选一。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "DeliveryConfig" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id。\t通过商家券相关接口创建的活动。"
- },
- "booth_code" : {
- "type" : "string",
- "description" : "展位码:boothCode表达的是具体渠道所属的展位码。例如:支付结果页PAYMENT_RESULT"
- },
- "channel" : {
- "type" : "string",
- "description" : "可投放的渠道标识. 说明: 针对不同的boot_code,channel值各不相同.接口使用者可以认为channel是不同booth_code展位下的渠道的唯一标识。 例如: booth_code为PAYMENT_RESULT。 channel为某个商户的pid。"
- }
- }
- },
- "DeliveryContentConfig" : {
- "type" : "object",
- "properties" : {
- "delivery_send_guide" : {
- "$ref" : "#/components/schemas/DeliverySendGuide"
- }
- }
- },
- "DeliveryContentInfo" : {
- "type" : "object",
- "properties" : {
- "delivery_activity_content" : {
- "$ref" : "#/components/schemas/DeliveryActivityContentInfo"
- },
- "delivery_app_content" : {
- "$ref" : "#/components/schemas/DeliveryMiniAppContentInfo"
- },
- "delivery_content_type" : {
- "type" : "string",
- "description" : "枚举值:\tACTIVITY:活动枚举类型,\tMINI_APP:小程序枚举类型"
- },
- "delivery_display_info" : {
- "$ref" : "#/components/schemas/DeliveryDisplayInfo"
- }
- }
- },
- "DeliveryDisplayInfo" : {
- "type" : "object",
- "properties" : {
- "main_title" : {
- "type" : "string",
- "description" : "副标题。"
- },
- "sub_title" : {
- "type" : "string",
- "description" : "副标题"
- }
- }
- },
- "DeliveryFullSendConfig" : {
- "type" : "object",
- "properties" : {
- "delivery_content_info" : {
- "$ref" : "#/components/schemas/DeliveryContentInfo"
- },
- "delivery_floor_amount" : {
- "type" : "string",
- "description" : "满足消费金额门槛,左闭区间,单位元。\t说明:限制支付时的订单金额最少满足的金额门槛。\t限制:value > 0 && value <= 99999。"
- }
- }
- },
- "DeliveryMaterial" : {
- "type" : "object",
- "properties" : {
- "delivery_single_material" : {
- "$ref" : "#/components/schemas/DeliverySingleMaterial"
- },
- "material_id_list" : {
- "type" : "array",
- "description" : "素材ID,通过alipay.marketing.material.create接口提供的素材组",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "DeliveryMerchantInfo" : {
- "type" : "object",
- "properties" : {
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id"
- },
- "merchant_id_type" : {
- "type" : "string",
- "description" : "商户id类型。 \t枚举值:\t SMID: 间连商户 \tPID: 直连商户"
- }
- }
- },
- "DeliveryMerchantRule" : {
- "type" : "object",
- "properties" : {
- "brand_id_list" : {
- "type" : "array",
- "description" : "指定品牌id。 说明:如商户需选择某个品牌下维护的收款账号,请上传相关品牌id",
- "items" : {
- "type" : "string"
- }
- },
- "delivery_merchant_infos" : {
- "type" : "array",
- "description" : "曝光商户选取列表。 说明:需要传入您期望曝光的商户的商户号,传入为空时默认使用投放优惠券活动的适用范围。 限制:曝光商户号需与投放归属商户号相同,或传入有跨主体授权关系的商户号或有弱绑定关系的M3账号",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryMerchantInfo"
- }
- },
- "delivery_merchant_mode" : {
- "type" : "string",
- "description" : "指定支付成功页模式。 枚举值: MANUAL_INPUT_MERCHANT:指定收款账号 IN_SERVICE_VOUCHER_MERCHANT:优惠券可核收款账号(仅支持支付券) 收款账号相关规则:接入指南"
- }
- }
- },
- "DeliveryMiniAppContentInfo" : {
- "type" : "object",
- "properties" : {
- "mini_app_delivery_type" : {
- "type" : "string",
- "description" : "仅小程序推广可用。枚举值:服务直达"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序appid"
- },
- "service_code_list" : {
- "type" : "array",
- "description" : "小程序服务编码/home_page,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。 限制: 1.只有mini_app_id有值时该值传入才会有效 2.当前只支持一个服务code 3.service_codes必须是已传入的mini_app_id下的小程序",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "DeliveryPlayConfig" : {
- "type" : "object",
- "properties" : {
- "delivery_full_send_config" : {
- "$ref" : "#/components/schemas/DeliveryFullSendConfig"
- },
- "delivery_single_send_config" : {
- "$ref" : "#/components/schemas/DeliverySingleSendConfig"
- }
- }
- },
- "DeliverySearchBoxRule" : {
- "type" : "object",
- "properties" : {
- "box_id" : {
- "type" : "string",
- "description" : "指定搜索直达区域"
- }
- }
- },
- "DeliverySendGuide" : {
- "type" : "object",
- "properties" : {
- "delivery_guide_url" : {
- "type" : "string",
- "description" : "引导链接,从支付宝公域跳转到服务商(商户)承接页的引导链接。"
- }
- }
- },
- "DeliverySingleMaterial" : {
- "type" : "object",
- "properties" : {
- "delivery_image" : {
- "type" : "string",
- "description" : "投放计划图片素材。通过接口alipay.marketing.material.image.upload上传图片返回的resource_id。"
- }
- }
- },
- "DeliverySingleSendConfig" : {
- "type" : "object",
- "properties" : {
- "delivery_content_config" : {
- "$ref" : "#/components/schemas/DeliveryContentConfig"
- },
- "delivery_content_info" : {
- "$ref" : "#/components/schemas/DeliveryContentInfo"
- }
- }
- },
- "DeliveryTargetRegion" : {
- "type" : "object",
- "properties" : {
- "region_code" : {
- "type" : "string",
- "description" : "区域编码,参考<a href=\"https://opendocs.alipay.com/mini/03fjbg\" target=\"_blank\">取值说明</a>"
- },
- "region_name" : {
- "type" : "string",
- "description" : "区域名,参考<a href=\"https://opendocs.alipay.com/mini/03fjbg\" target=\"_blank\">取值说明</a>"
- },
- "region_type" : {
- "type" : "string",
- "description" : "区域类型,1代表全国,2代表省级区域,3代表市级区域,参考<a href=\"https://opendocs.alipay.com/mini/03fjbg\" target=\"_blank\">取值说明</a>"
- }
- }
- },
- "DeliveryTargetRule" : {
- "type" : "object",
- "properties" : {
- "brand_id_list" : {
- "type" : "array",
- "description" : "指定品牌id。\t说明:如商户需选择某个品牌下维护的收款账号,请上传相关品牌id",
- "items" : {
- "type" : "string"
- }
- },
- "delivery_available_scope" : {
- "$ref" : "#/components/schemas/DeliveryAvailableScope"
- },
- "delivery_city_code_rule" : {
- "$ref" : "#/components/schemas/DeliveryCityCodeRule"
- },
- "delivery_merchant_infos" : {
- "type" : "array",
- "description" : "曝光商户选取列表。\t说明:需要传入您期望曝光的商户的商户号,传入为空时默认使用投放优惠券活动的适用范围。\t限制:曝光商户号需与投放归属商户号相同,或传入有跨主体授权关系的商户号或有弱绑定关系的M3账号",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryMerchantInfo"
- }
- },
- "delivery_merchant_mode" : {
- "type" : "string",
- "description" : "指定支付成功页模式。\t枚举值:\tMANUAL_INPUT_MERCHANT:指定收款账号\tIN_SERVICE_VOUCHER_MERCHANT:优惠券可核收款账号(仅支持支付券)\t收款账号相关规则:接入指南"
- },
- "delivery_merchant_rule" : {
- "$ref" : "#/components/schemas/DeliveryMerchantRule"
- },
- "delivery_promo_tags" : {
- "type" : "string",
- "description" : "推荐定向曝光订单优惠标记。\t1. 创建交易订单时,上传符合的订单优惠标。在业务参数信息“business_params”的子字段“delivery_promo_tags”填充订单优惠标。“统一收单交易支付接口”详情查看:https://opendocs.alipay.com/open/02ekfp?scene=32。\t2. 订单优惠标,检验规则:\t* 单个优惠标最大长度32字节。多个标记值以英文逗号分隔。\t* 单个优惠标仅支持字母/数字/下划线。\t3. 订单优惠标规则和其他推荐规则同时叠加。"
- },
- "delivery_recall_mode" : {
- "type" : "string",
- "description" : "投放召回模式,现在支持CITY_RECALL(城市召回)和SHOP_RECALL(球房召回)两种模式。城市召回即当前城市投放,用户当前城市可领取;球房模式即球房附近投放,用户距离球房附近可领取。"
- },
- "delivery_search_box_rule" : {
- "$ref" : "#/components/schemas/DeliverySearchBoxRule"
- },
- "delivery_type" : {
- "type" : "string",
- "description" : "小程序推广可用。枚举值:SERVICE_DIRECT"
- }
- }
- },
- "DepartmentInfoDTO" : {
- "type" : "object",
- "properties" : {
- "department_code" : {
- "type" : "string",
- "description" : "部门编码",
- "example" : "D02415"
- },
- "department_id" : {
- "type" : "string",
- "description" : "部门id",
- "example" : "1001094000039142"
- },
- "department_name" : {
- "type" : "string",
- "description" : "部门名称",
- "example" : "产品部"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2022-06-14 17:15:17"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2022-06-14 18:15:17"
- },
- "parent_department_id" : {
- "type" : "string",
- "description" : "上级部门id,特殊值-1表示根部门",
- "example" : "1001194000010003"
- }
- }
- },
- "DepositBackInfo" : {
- "type" : "object",
- "properties" : {
- "bank_ack_time" : {
- "type" : "string",
- "description" : "银行响应时间,格式为yyyy-MM-dd HH:mm:ss",
- "example" : "2020-06-02 14:03:48"
- },
- "dback_amount" : {
- "type" : "string",
- "description" : "银行卡冲退金额。单位:元。",
- "example" : "1.01"
- },
- "dback_status" : {
- "type" : "string",
- "description" : "银行卡冲退状态。S-成功,F-失败,P-处理中。银行卡冲退失败,资金自动转入用户支付宝余额。",
- "example" : "S"
- },
- "est_bank_receipt_time" : {
- "type" : "string",
- "description" : "预估银行到账时间,格式为yyyy-MM-dd HH:mm:ss",
- "example" : "2020-06-02 14:03:48"
- },
- "has_deposit_back" : {
- "type" : "string",
- "description" : "是否存在银行卡冲退信息。",
- "example" : "true"
- }
- }
- },
- "Detail" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "英文描述(collectAttachement值为true时必填)\t以下是系统固定code,对上传的图片做相应的校验。\t身份证校验情况:\t身份证正面照片:ESIGN_IDCARD\t身份证背面照片:ESIGN_BACK_IDCARD",
- "example" : "phonePicture"
- },
- "description" : {
- "type" : "string",
- "description" : "请上传手机正面照",
- "example" : "中文描述(collectAttachement值为true时必填)"
- },
- "order" : {
- "type" : "integer",
- "description" : "顺序(collectAttachement值为true时必填)",
- "example" : "1"
- }
- }
- },
- "DetailBean" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "自定义附件标识,后续下载附件使用此标识区分。",
- "example" : "phonePicture"
- },
- "description" : {
- "type" : "string",
- "description" : "页面展示的附件中文描述(collectAttachement值为true时必填)",
- "example" : "请上传手机正面照"
- },
- "order" : {
- "type" : "integer",
- "description" : "展示顺序(collectAttachement值为true时必填)",
- "example" : "1"
- }
- }
- },
- "DiscountDetail" : {
- "type" : "object",
- "properties" : {
- "discount_amount" : {
- "type" : "string",
- "description" : "优惠金额",
- "example" : "100.00"
- },
- "discount_desc" : {
- "type" : "array",
- "description" : "优惠描述,比如至多优惠XX元,满XX减XX",
- "items" : {
- "type" : "string"
- },
- "example" : "最高优惠10元;储值卡专属"
- },
- "discount_type" : {
- "type" : "string",
- "description" : "优惠类型,商家优惠(M_DISCOUNT),平台优惠(RT_DISCOUNT)",
- "example" : "RT_DISCOUNT"
- },
- "id" : {
- "type" : "string",
- "description" : "优惠ID或活动ID",
- "example" : "2017CVCJD788E889EC"
- },
- "is_hit" : {
- "type" : "string",
- "description" : "优惠是否命中, true代表命中了优惠;false代表未命中优惠",
- "example" : "true"
- },
- "is_purchased" : {
- "type" : "string",
- "description" : "是否是购买券, true代表是购买的券,false调表不是购买的券",
- "example" : "true"
- },
- "name" : {
- "type" : "string",
- "description" : "优惠名称",
- "example" : "5折优惠"
- }
- }
- },
- "DiscountInfoData" : {
- "type" : "object",
- "properties" : {
- "discount_amount" : {
- "type" : "string",
- "description" : "优惠金额",
- "example" : "10.01"
- },
- "discount_name" : {
- "type" : "string",
- "description" : "优惠名称",
- "example" : "商家红包"
- },
- "discount_page_link" : {
- "type" : "string",
- "description" : "优惠跳转链接地址",
- "example" : "https://www.alipay.com/"
- },
- "discount_quantity" : {
- "type" : "integer",
- "description" : "优惠数量",
- "example" : "1"
- },
- "external_discount_id" : {
- "type" : "string",
- "description" : "外部优惠id",
- "example" : "discount001"
- }
- }
- },
- "DiscountTypeSyncData" : {
- "type" : "object",
- "properties" : {
- "discount_amount" : {
- "type" : "string",
- "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元",
- "example" : "8.75"
- },
- "discount_desc" : {
- "type" : "string",
- "description" : "商户数据回传的优惠信息的名称。",
- "example" : "消费满减优惠001"
- }
- }
- },
- "DiscountVoucher" : {
- "type" : "object",
- "properties" : {
- "ceiling_amount" : {
- "type" : "string",
- "description" : "封顶金额。"
- },
- "discount" : {
- "type" : "string",
- "description" : "折扣率。"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。说明:该字段可不填,认为无门槛;"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称。说明:该字段可不填,填入则origin_amount必填。"
- },
- "origin_amount" : {
- "type" : "string",
- "description" : "原价。说明:该字段可不填,填入则商品名称goods_name必填;"
- }
- }
- },
- "DiscountVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "ceiling_amount" : {
- "type" : "string",
- "description" : "封顶金额。"
- },
- "discount" : {
- "type" : "string",
- "description" : "折扣率。"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。"
- },
- "voucher_deduct_threshold_info" : {
- "$ref" : "#/components/schemas/VoucherDeductThresholdInfo"
- }
- }
- },
- "DisplayConfig" : {
- "type" : "object",
- "properties" : {
- "slogan" : {
- "type" : "string",
- "description" : "券的宣传语\r\t含圈人的直领活动,且投放渠道选择了支付成功页或店铺的情况下必填",
- "example" : "券的宣传语"
- },
- "slogan_img" : {
- "type" : "string",
- "description" : "券的宣传图片文件ID\r\t含圈人的直领活动,且投放渠道选择了店铺的情况下必填",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- }
- }
- },
- "DocInfo" : {
- "type" : "object",
- "properties" : {
- "file_name" : {
- "type" : "string",
- "description" : "合同文件名",
- "example" : "租机合同.pdf"
- },
- "file_url" : {
- "type" : "string",
- "description" : "合同下载地址",
- "example" : "https://oss.***.cn/****abc.pdf"
- }
- }
- },
- "EcConsumeInfo" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID"
- },
- "agreement_peer_payer_id" : {
- "type" : "string",
- "description" : "协议出资支付宝账号"
- },
- "benefit_amount" : {
- "type" : "string",
- "description" : "员工优惠金额,单位:元"
- },
- "biz_out_no" : {
- "type" : "string",
- "description" : "外部交易流水号"
- },
- "category_name" : {
- "type" : "string",
- "description" : "账单分类名称,比如:餐饮美食,交通出行,酒店旅游等"
- },
- "consume_amount" : {
- "type" : "string",
- "description" : "账单金额,单位:元,不包含营销资产"
- },
- "consume_category" : {
- "type" : "string",
- "description" : "员工消费记账分类"
- },
- "consume_fee_with_discount" : {
- "type" : "string",
- "description" : "订单原价,单位:元,包含营销资产"
- },
- "consume_memo" : {
- "type" : "string",
- "description" : "员工消费记账备注"
- },
- "consume_type" : {
- "type" : "string",
- "description" : "账单类型\t-消费账单:CONSUME\t-退款账单:REFUND\t-转账账单:TRANSFER"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "员工账号ID"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID"
- },
- "expense_rule_group_id" : {
- "type" : "string",
- "description" : "使用规则ID"
- },
- "expense_scene_code" : {
- "type" : "string",
- "description" : "费用场景"
- },
- "expense_type" : {
- "type" : "string",
- "description" : "费用类型"
- },
- "expense_type_sub_category" : {
- "type" : "string",
- "description" : "费用类型子类目"
- },
- "ext_infos" : {
- "type" : "string",
- "description" : "账单扩展信息,Json格式\t汇总信息"
- },
- "fund_biz_type" : {
- "type" : "string",
- "description" : "出资模式\t个人出资:PERSONAL\t企业出资:ENTERPRISE\t三方垫资合作伙伴出资:TP\t记账:ACCOUNTING"
- },
- "gmt_biz_create" : {
- "type" : "string",
- "description" : "账单创建时间,格式:yyyy-MM-dd HH:mm:ss"
- },
- "gmt_receive_pay" : {
- "type" : "string",
- "description" : "账单支付时间,格式:yyyy-MM-dd HH:mm:ss"
- },
- "invoice_open_mode" : {
- "type" : "string",
- "description" : "开票模式\t企业汇总开:ENTERPRISE_AUTO_BATCH"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户ID"
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "商户名称"
- },
- "open_id" : {
- "type" : "string",
- "description" : "员工支付宝UID"
- },
- "order_complete_label" : {
- "type" : "string",
- "description" : "订单完结标识\t0:未完结\t1:已完结"
- },
- "order_complete_time" : {
- "type" : "string",
- "description" : "2022-01-01 01:01:02\t订单完结时间"
- },
- "pay_no" : {
- "type" : "string",
- "description" : "交易流水号"
- },
- "peer_pay_amount" : {
- "type" : "string",
- "description" : "企业代付金额,单位:元"
- },
- "peer_payer_card_no" : {
- "type" : "string",
- "description" : "实际出资支付宝账号"
- },
- "peer_refund_amount" : {
- "type" : "string",
- "description" : "消费账单企业代付部分退款金额,单位:元。退款账单该值无意义,值为0。"
- },
- "peer_refund_status" : {
- "type" : "string",
- "description" : "消费账单企业代付部分退款状态,默认为INIT。当消费账单有退款,该值会变为REFUND_PART或REFUND_FULL;退款账单该值无意义,为初始值INIT。\t未退款:INIT,\t部分退款:REFUND_PART,\t全额退款:REFUND_FULL"
- },
- "related_pay_no" : {
- "type" : "string",
- "description" : "退款账单关联的消费账单交易流水号,退款账单才有值"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "账单场景\tTAKE_AWAY:外卖\tMETRO:地铁\tOTHER:其他"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "卖家ID"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "球房ID"
- },
- "store_id" : {
- "type" : "string",
- "description" : "外部球房ID"
- },
- "summary_apply_id" : {
- "type" : "string",
- "description" : "汇总批次ID"
- },
- "user_id" : {
- "type" : "string",
- "description" : "员工支付宝UID"
- }
- }
- },
- "EcOrderInfo" : {
- "type" : "object",
- "properties" : {
- "order_info" : {
- "$ref" : "#/components/schemas/EcOrderItem"
- },
- "sub_order_list" : {
- "type" : "array",
- "description" : "子订单详情列表",
- "items" : {
- "$ref" : "#/components/schemas/EcOrderItem"
- }
- }
- }
- },
- "EcOrderItem" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID"
- },
- "biz_out_no" : {
- "type" : "string",
- "description" : "外部业务号"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "员工ID"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户支付宝UID"
- },
- "order_content" : {
- "type" : "string",
- "description" : "订单内容,JSON格式。"
- },
- "order_id" : {
- "type" : "string",
- "description" : "订单ID"
- },
- "order_type" : {
- "type" : "string",
- "description" : "订单类型\tMETRO:地铁\tTAKEAWAY:外卖\tOTHER:其他"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "合作伙伴ID"
- },
- "pay_no" : {
- "type" : "string",
- "description" : "关联支付宝交易号"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户支付宝UID"
- }
- }
- },
- "EcShopInfo" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "球房地址",
- "example" : "xxx大道xxx号"
- },
- "city_id" : {
- "type" : "string",
- "description" : "城市编码",
- "example" : "330100"
- },
- "city_name" : {
- "type" : "string",
- "description" : "城市名称",
- "example" : "成都市"
- },
- "district_id" : {
- "type" : "string",
- "description" : "区编码",
- "example" : "330101"
- },
- "district_name" : {
- "type" : "string",
- "description" : "区名称",
- "example" : "武侯区"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度",
- "example" : "29.333"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度",
- "example" : "121.222"
- },
- "mcc_code_1" : {
- "type" : "string",
- "description" : "一级mcc编码",
- "example" : "A0001"
- },
- "mcc_code_2" : {
- "type" : "string",
- "description" : "二级mcc编码",
- "example" : "B0001"
- },
- "mcc_name_1" : {
- "type" : "string",
- "description" : "一级mcc名称",
- "example" : "餐饮"
- },
- "mcc_name_2" : {
- "type" : "string",
- "description" : "二级mcc名称",
- "example" : "中式快餐"
- },
- "outdoor_img_url" : {
- "type" : "string",
- "description" : "门头照地址",
- "example" : "http://xxxx.png"
- },
- "poi_id" : {
- "type" : "string",
- "description" : "高德poiId",
- "example" : "B0G29CP65Q"
- },
- "province_id" : {
- "type" : "string",
- "description" : "省份编码",
- "example" : "330000"
- },
- "province_name" : {
- "type" : "string",
- "description" : "省份名称",
- "example" : "四川省"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "球房名称",
- "example" : "xxx球房"
- }
- }
- },
- "EcVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088000000000000"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "员工ID,汇总发票该字段无效",
- "example" : "228800000000001000843"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000000000000"
- },
- "open_id" : {
- "type" : "string",
- "description" : "员工支付宝UID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "员工支付宝UID",
- "example" : "2088000000000000"
- },
- "voucher_content" : {
- "type" : "string",
- "description" : "凭证内容",
- "example" : "{\\\"key\\\":\\\"value\\\"}"
- },
- "voucher_date" : {
- "type" : "string",
- "description" : "凭证创建时间,格式:yyyy-MM-dd HH:mm:ss",
- "example" : "无"
- },
- "voucher_id" : {
- "type" : "string",
- "description" : "凭证ID,幂等用",
- "example" : "2022060600152611070001623913"
- },
- "voucher_source" : {
- "type" : "string",
- "description" : "凭证来源",
- "example" : "OCR"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "凭证类型",
- "example" : "Invoice"
- }
- }
- },
- "EinvTrade" : {
- "type" : "object",
- "properties" : {
- "bill_no" : {
- "type" : "string",
- "description" : "订单编号"
- },
- "bill_time" : {
- "type" : "string",
- "description" : "下单时间"
- },
- "city_name" : {
- "type" : "string",
- "description" : "商户所在城市(经营地址)"
- },
- "detail_json" : {
- "type" : "string",
- "description" : "账单明细信息,酒店水单信息,行程单信息,餐饮小票信息"
- },
- "download_url" : {
- "type" : "string",
- "description" : "账单明细信息,酒店水单,行程单,餐饮小票等pdf原件链接"
- },
- "extend_map" : {
- "type" : "string",
- "description" : "扩展参数\t\t不同组的k-v通过换行符区分"
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "商家名称(显示名称,非企业名称,餐饮店、酒店、打车平台名称)"
- },
- "out_json" : {
- "type" : "string",
- "description" : "透传字段,不做处理,用于isv向后续报销税控方传递特殊信息标记"
- },
- "payee_name" : {
- "type" : "string",
- "description" : "销方名称"
- },
- "payment_amount" : {
- "type" : "string",
- "description" : "支付金额\t\t对应账单中的交易金额"
- },
- "payment_time" : {
- "type" : "string",
- "description" : "支付时间\t\t对应账单中的账单日期"
- },
- "souce" : {
- "type" : "string",
- "description" : "交易类型来源 需要按照枚举映射\t\tconsume 账单\t\thotel 酒店水单\t\titinerary 打车行程单\t\tcatering 餐饮小票"
- },
- "trade_type" : {
- "type" : "string",
- "description" : "交易类型/账单分类"
- }
- }
- },
- "EmployeeDepartmentDTO" : {
- "type" : "object",
- "properties" : {
- "department_id" : {
- "type" : "string",
- "description" : "部门id",
- "example" : "1001094000039142"
- },
- "department_name" : {
- "type" : "string",
- "description" : "部门名称",
- "example" : "产品部"
- }
- }
- },
- "EmployeeInfoDTO" : {
- "type" : "object",
- "properties" : {
- "activate" : {
- "type" : "string",
- "description" : "是否激活",
- "example" : "ACTIVATED"
- },
- "department_list" : {
- "type" : "array",
- "description" : "员工所属部门列表",
- "items" : {
- "$ref" : "#/components/schemas/EmployeeDepartmentDTO"
- }
- },
- "email" : {
- "type" : "string",
- "description" : "邮箱",
- "example" : "123456@qq.com"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "员工id",
- "example" : "228420000000057942506"
- },
- "employee_name" : {
- "type" : "string",
- "description" : "员工姓名",
- "example" : "张三"
- },
- "employee_no" : {
- "type" : "string",
- "description" : "员工工号",
- "example" : "200818255"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "变更时间",
- "example" : "2022-04-20 17:13:51"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "变更时间",
- "example" : "2022-04-25 17:13:51"
- },
- "iot_face_status" : {
- "type" : "string",
- "description" : "员工是否人脸在库",
- "example" : "1"
- },
- "iot_vid" : {
- "type" : "string",
- "description" : "员工在企业人脸库的人脸唯一标识",
- "example" : "2109b5e671aa3ff2eb4851816c65828f"
- },
- "mobile" : {
- "type" : "string",
- "description" : "手机号码",
- "example" : "13456782345"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "role_list" : {
- "type" : "array",
- "description" : "角色列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"ADMIN\"]"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户id",
- "example" : "2088123454654356"
- }
- }
- },
- "EmployeeTitleDTO" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户id,与enterprise_id两者必填其一"
- },
- "create_by" : {
- "type" : "string",
- "description" : "创建人"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "企业域定义的员工id,与user_id两者必填其一"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业域定义的企业id,与account_id两者必填其一"
- },
- "modify_by" : {
- "type" : "string",
- "description" : "修改人"
- },
- "open_id" : {
- "type" : "string",
- "description" : "员工支付宝账号open_id,与employee_id两者必填其一"
- },
- "title_id" : {
- "type" : "string",
- "description" : "抬头id"
- },
- "title_tag" : {
- "type" : "string",
- "description" : "关系标记"
- },
- "user_id" : {
- "type" : "string",
- "description" : "员工支付宝账号2088,与employee_id两者必填其一"
- }
- }
- },
- "EndTimeInfo" : {
- "type" : "object",
- "properties" : {
- "end_time" : {
- "type" : "string",
- "description" : "结束时间 格式:HH:mm:ss"
- },
- "end_time_type" : {
- "type" : "string",
- "description" : "结束时间类型"
- }
- }
- },
- "EnterpriseAgreementDTO" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "协议id",
- "example" : "AG00000171"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id",
- "example" : "2088441399627416"
- },
- "enterprise_name" : {
- "type" : "string",
- "description" : "企业名称",
- "example" : "企业码测试企业"
- },
- "sign_date" : {
- "type" : "string",
- "description" : "签约时间",
- "example" : "2022-04-20 17:13:51"
- },
- "sign_status" : {
- "type" : "string",
- "description" : "签约状态",
- "example" : "SIGNED"
- }
- }
- },
- "EnterpriseInfoDTO" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "账户id"
- },
- "activate" : {
- "type" : "string",
- "description" : "因公签约状态 UNACTIVATED:未激活 ACTIVATED:已激活 说明:表示签约资金因公付"
- },
- "auth_level" : {
- "type" : "string",
- "description" : "企业认证等级 10初级认证 30 高级认证"
- },
- "auth_status" : {
- "type" : "string",
- "description" : "认证状态 \tNO_AUTH:未认证 IN_AUTH:认证中 HAS_AUTH:已认证"
- },
- "auth_time" : {
- "type" : "string",
- "description" : "认证时间"
- },
- "enterprise_alias" : {
- "type" : "string",
- "description" : "企业名称"
- },
- "enterprise_code" : {
- "type" : "string",
- "description" : "统一社会信用码"
- },
- "enterprise_email" : {
- "type" : "string",
- "description" : "企业邮箱"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业id"
- },
- "enterprise_name" : {
- "type" : "string",
- "description" : "企业名称"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "更新时间"
- },
- "iot_group_id" : {
- "type" : "string",
- "description" : "封闭场景(如班车)的人脸库id"
- },
- "iot_logic_group_id" : {
- "type" : "string",
- "description" : "开放场景(如团餐)的人脸库id"
- },
- "platform_code" : {
- "type" : "string",
- "description" : "外部平台code"
- },
- "platform_out_id" : {
- "type" : "string",
- "description" : "外部平台id"
- },
- "sign_status" : {
- "type" : "string",
- "description" : "企业服务协议状态 UNSIGNED:未签约 SIGNED:已签约 TERMINATED:已解约 说明:表示签约企业码服务协议"
- },
- "status" : {
- "type" : "string",
- "description" : "企业当前状态 SYNC:数据同步中 NORMAL:正常 WITHDRAW:注销"
- }
- }
- },
- "EnterpriseOpenRuleInfo" : {
- "type" : "object",
- "properties" : {
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "enterprise_open_rule_record_info_list" : {
- "type" : "array",
- "description" : "当前生效和下次生效的开票规则记录",
- "items" : {
- "$ref" : "#/components/schemas/EnterpriseOpenRuleRecordInfo"
- }
- },
- "enterprise_open_rule_relation_info_list" : {
- "type" : "array",
- "description" : "开票规则绑定关系",
- "items" : {
- "$ref" : "#/components/schemas/EnterpriseOpenRuleRelationInfo"
- }
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2021-08-27 00:00:00"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2021-08-27 00:00:00"
- },
- "invoice_rule_id" : {
- "type" : "string",
- "description" : "开票规则ID",
- "example" : "2021032900152710950000000001"
- },
- "invoice_rule_name" : {
- "type" : "string",
- "description" : "开票规则名称",
- "example" : "开票规则测试1"
- },
- "owner_id" : {
- "type" : "string",
- "description" : "所有者ID(企业情况下即为企业ID)",
- "example" : "2088000194958956"
- },
- "seller_type" : {
- "type" : "string",
- "description" : "销方类型:TP开票、商户开票、商户优先\t枚举定义:MERCHANT(商户)、TP(TP)",
- "example" : "TP"
- }
- }
- },
- "EnterpriseOpenRuleRecordInfo" : {
- "type" : "object",
- "properties" : {
- "bill_month_day" : {
- "type" : "integer",
- "description" : "开票规则账单日",
- "example" : "5"
- },
- "effective_start" : {
- "type" : "string",
- "description" : "开票规则生效日期",
- "example" : "2021-08-27 00:00:00"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000000000001"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2021-08-27 00:00:00"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2021-08-27 00:00:00"
- },
- "invoice_rule_id" : {
- "type" : "string",
- "description" : "开票规则ID",
- "example" : "2021032900152710950000000001"
- },
- "invoice_rule_record_id" : {
- "type" : "string",
- "description" : "开票规则记录ID",
- "example" : "2021032900152710950000000001"
- },
- "invoice_title_id" : {
- "type" : "string",
- "description" : "发票抬头ID",
- "example" : "2021032900152710950000000001"
- },
- "open_applyer" : {
- "type" : "string",
- "description" : "开票申请方",
- "example" : "ENTERPRISE"
- },
- "open_mode" : {
- "type" : "string",
- "description" : "开票模式",
- "example" : "SUMMARY"
- },
- "open_type" : {
- "type" : "string",
- "description" : "开票申请类型",
- "example" : "AUTO"
- },
- "owner_id" : {
- "type" : "string",
- "description" : "所有者ID(企业情况下即为企业ID)",
- "example" : "2088000194958956"
- },
- "tag" : {
- "type" : "string",
- "description" : "开票规则标记",
- "example" : "DEFAULT"
- }
- }
- },
- "EnterpriseOpenRuleRelationInfo" : {
- "type" : "object",
- "properties" : {
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000000000001"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2021-08-27 00:00:00"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2021-08-27 00:00:00"
- },
- "owner_id" : {
- "type" : "string",
- "description" : "所有者ID(企业情况下即为企业ID)",
- "example" : "2088000194958956"
- },
- "standard_id" : {
- "type" : "string",
- "description" : "费控规则ID",
- "example" : "2021032900152710950000000001"
- }
- }
- },
- "EnterprisePayInfo" : {
- "type" : "object",
- "properties" : {
- "biz_info" : {
- "type" : "string",
- "description" : "因公付业务信息"
- },
- "invoice_amount" : {
- "type" : "string",
- "description" : "开票金额"
- },
- "is_use_enterprise_pay" : {
- "type" : "boolean",
- "description" : "是否包含因公付资产"
- }
- }
- },
- "EnterpriseTitleInfo" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "详细地址"
- },
- "bank_account" : {
- "type" : "string",
- "description" : "开户行账号"
- },
- "bank_name" : {
- "type" : "string",
- "description" : "开户行地址"
- },
- "tax_register_no" : {
- "type" : "string",
- "description" : "税号"
- },
- "telephone" : {
- "type" : "string",
- "description" : "电话"
- },
- "title_id" : {
- "type" : "string",
- "description" : "抬头ID"
- },
- "title_name" : {
- "type" : "string",
- "description" : "企业抬头名称"
- }
- }
- },
- "ErrorDeliveryConfig" : {
- "type" : "object",
- "properties" : {
- "delivery_config" : {
- "$ref" : "#/components/schemas/DeliveryConfig"
- },
- "error_code" : {
- "type" : "string",
- "description" : "错误码。针对单个投放,具体的错误原因。\t\t枚举值:\tUNKNOWN_EXCEPTION: 未知异常,可重试。\tACTIVITY_STATUS_NOT_ACTIVE: 活动状态未激活,不可重试。\tACTIVITY_OVERDUE:活动已过期,不可重试。\tDELIVERY_VALIDATE_ERROR:投放校验不通过,不可重试。\tDELIVERY_OPERATE_ERROR: 投放操作失败,不可重试。\tBOOTH_CHANNEL_NOT_EXIST:渠道不存在,不可重试。"
- },
- "error_msg" : {
- "type" : "string",
- "description" : "详细的投放错误信息。用于判断具体的错误信息。"
- }
- }
- },
- "ErrorMatcher" : {
- "type" : "object",
- "properties" : {
- "error_msg" : {
- "type" : "string",
- "description" : "失败原因"
- },
- "matcher" : {
- "$ref" : "#/components/schemas/Matcher"
- }
- }
- },
- "ExchangeVoucher" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "券的价值"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "兑换券业务类型。\t\t枚举值\t团购券:GROUP_BUY_EXCHANGE_VOUCHER\t代金券:FIX_EXCHANGE_VOUCHER\t注意:兑换券通过<a href=\"https://opendocs.alipay.com/pre-open/repo-00tbta\">大促活动权益报名</a>能力推广至支付宝会场时,本参数必填。"
- },
- "customer_service_mobile" : {
- "type" : "string",
- "description" : "客服电话"
- },
- "customer_service_url" : {
- "type" : "string",
- "description" : "客服链接"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "优惠门槛金额,表示只有当订单金额大于等于门槛金额时券才能使用。该字段为空时表示无门槛。\t门槛金额的校验由服务商(商户)核销时自行校验,支付宝侧只做展示使用。"
- },
- "overdue_refundable" : {
- "type" : "boolean",
- "description" : "是否支持优惠券过期后,自动退款给用户。\t不填默认否,枚举值:\ttrue:是\tfalse:否"
- },
- "payee_pid" : {
- "type" : "string",
- "description" : "收款账号。目前的结算规则是,每核销一笔优惠券,支付宝会打款到该收款账户。"
- },
- "refundable" : {
- "type" : "boolean",
- "description" : "购买的优惠券是否允许退款。不填默认否,枚举值:\ttrue:是\tfalse:否"
- },
- "sale_amount" : {
- "type" : "string",
- "description" : "用户购买优惠券需要支付的金额"
- },
- "settle_type" : {
- "type" : "string",
- "description" : "1.账期模式:走默认结算账号\t2.分账模式:球房分账\t3.分账模式:合作商户"
- },
- "voucher_detail_url" : {
- "type" : "string",
- "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。"
- },
- "voucher_name" : {
- "type" : "string",
- "description" : "对消费者展示的券(商品)名称。"
- }
- }
- },
- "ExchangeVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "券的价值"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "兑换券业务类型。 注意:兑换券通过大促活动权益报名能力推广至支付宝会场时,本参数必填。"
- },
- "exchange_goods_info" : {
- "$ref" : "#/components/schemas/VoucherExchangeGoodsInfo"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "优惠门槛金额,表示只有当订单金额大于等于门槛金额时券才能使用。该字段为空时表示无门槛。 门槛金额的校验由服务商(商户)核销时自行校验,支付宝侧只做展示使用。"
- },
- "voucher_deduct_threshold_info" : {
- "$ref" : "#/components/schemas/VoucherDeductThresholdInfo"
- }
- }
- },
- "ExchangeVoucherModify" : {
- "type" : "object",
- "properties" : {
- "voucher_detail_url" : {
- "type" : "string",
- "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。",
- "example" : "alipays://platformapi/startapp?appId=20170713077xxxxx&page=x/yz&query=xx%3dxx"
- },
- "voucher_name" : {
- "type" : "string",
- "description" : "对消费者展示的券(商品)名称。",
- "example" : "火锅套餐、100元代金券"
- }
- }
- },
- "ExpenseConsumeInfo" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业ID"
- },
- "actual_account_number" : {
- "type" : "string",
- "description" : "实际出资企业支付宝账号"
- },
- "batch_id" : {
- "type" : "string",
- "description" : "汇总批次ID(废弃)"
- },
- "bill_no" : {
- "type" : "string",
- "description" : "支付流水号"
- },
- "bill_type" : {
- "type" : "string",
- "description" : "账单类型(CONSUME-消费账单、REFUND-退款、TRANSFER-转账)"
- },
- "category_name" : {
- "type" : "string",
- "description" : "账单行业分类(交通出行,餐饮美食,商业服务,日用百货等等)"
- },
- "consume_amount" : {
- "type" : "string",
- "description" : "账单金额(单位:元)"
- },
- "consume_date" : {
- "type" : "string",
- "description" : "交易日期"
- },
- "consume_title" : {
- "type" : "string",
- "description" : "账单展示标题"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "所属员工支付宝uid"
- },
- "employee_open_id" : {
- "type" : "string",
- "description" : "所属员工支付宝uid"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户id"
- },
- "mshop_id" : {
- "type" : "string",
- "description" : "球房id"
- },
- "open_model" : {
- "type" : "string",
- "description" : "开票模式(汇总开:ENTERPRISE_AUTO_BATCH)"
- },
- "original_voucher_id" : {
- "type" : "string",
- "description" : "退款交易关联正交易单号(对应正交易的bill_no)"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部流水号"
- },
- "p_pay_amount" : {
- "type" : "string",
- "description" : "企业支付金额(单位:元)"
- },
- "payee_name" : {
- "type" : "string",
- "description" : "商家名称"
- },
- "project_id" : {
- "type" : "string",
- "description" : "费控规则中的项目ID"
- },
- "projiect_id" : {
- "type" : "string",
- "description" : "支付使用的项目号(成本中心)此字段废弃"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "消费账单的退款金额"
- },
- "refund_status" : {
- "type" : "string",
- "description" : "消费账单的退款状态"
- },
- "standard_id" : {
- "type" : "string",
- "description" : "费控规则ID"
- },
- "store_id" : {
- "type" : "string",
- "description" : "外部球房id"
- },
- "summary_id" : {
- "type" : "string",
- "description" : "批次id"
- },
- "tp_sign" : {
- "type" : "string",
- "description" : "出资类型:\tPERSONAL:个人垫付\tENTERPRISE:企业垫资\tTP:三方合作伙伴垫资\tACCOUNTING:记账"
- },
- "voucher_id" : {
- "type" : "string",
- "description" : "凭证ID"
- }
- }
- },
- "ExpenseCtrRuleGroupInfo" : {
- "type" : "object",
- "properties" : {
- "expense_ctrl_rule_info_list" : {
- "type" : "array",
- "description" : "费控条件列表",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
- }
- },
- "expense_type" : {
- "type" : "string",
- "description" : "费用类型\t特殊说明:仅支持费用类型DEFAULT"
- },
- "group_id" : {
- "type" : "string",
- "description" : "费控规则ID"
- },
- "group_name" : {
- "type" : "string",
- "description" : "费控规则名称\t约束:\t1)敏感词校验\t2)不能重复"
- }
- }
- },
- "ExpenseCtrRuleInfo" : {
- "type" : "object",
- "properties" : {
- "rule_factor" : {
- "type" : "string",
- "description" : "费控维度"
- },
- "rule_id" : {
- "type" : "string",
- "description" : "费控条件ID"
- },
- "rule_name" : {
- "type" : "string",
- "description" : "费控条件名称"
- },
- "rule_operator" : {
- "type" : "string",
- "description" : "费控条件操作符\t枚举值:\tLT(\"<\",\"小于\")\tLE(\"<=\",\"小于等于\")\tEQ(\"=\",\"等于\")\tNE(\"!=\",\"不等于\")\tGE(\">=\",\"大于等于\")\tGT(\">\",\"大于\")"
- },
- "rule_value" : {
- "type" : "string",
- "description" : "费控条件值"
- }
- }
- },
- "ExpenseCtrlConsumeInfo" : {
- "type" : "object",
- "properties" : {
- "expense_consume_info" : {
- "$ref" : "#/components/schemas/ExpenseConsumeInfo"
- },
- "related_enterprise_consume_list" : {
- "type" : "array",
- "description" : "关联凑票账单列表(开票限额,多次消费后合并开票)",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseConsumeInfo"
- }
- },
- "related_enterprise_invoice_list" : {
- "type" : "array",
- "description" : "关联发票凭证对象",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseInvoiceInfo"
- }
- }
- }
- },
- "ExpenseCtrlEmployeeRuleInfo" : {
- "type" : "object",
- "properties" : {
- "effective" : {
- "type" : "integer",
- "description" : "费控规则状态,1表示有效,0表示无效",
- "example" : "1"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "费控规则有效期截止",
- "example" : "2022-08-08 00:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "费控规则有效期起始",
- "example" : "2021-08-08 00:00:00"
- },
- "owner_type" : {
- "type" : "string",
- "description" : "费控规则作用范围,\tEMPLOYEE表示员工,ENTERPRISE表示企业",
- "example" : "EMPLOYEE"
- },
- "standard_id" : {
- "type" : "string",
- "description" : "费控规则ID",
- "example" : "202106280015260135000000xxxx"
- },
- "standard_name" : {
- "type" : "string",
- "description" : "费控规则名称",
- "example" : "测试规则"
- }
- }
- },
- "ExpenseInvoiceInfo" : {
- "type" : "object",
- "properties" : {
- "employee_id" : {
- "type" : "string",
- "description" : "员工ID"
- },
- "employee_open_id" : {
- "type" : "string",
- "description" : "员工ID"
- },
- "invoice_output_info" : {
- "$ref" : "#/components/schemas/InvoiceOutputInfo"
- },
- "ocr_normal_scan_info" : {
- "$ref" : "#/components/schemas/OcrNormalScanInfo"
- },
- "ocr_plane_scan_info" : {
- "$ref" : "#/components/schemas/OcrPlaneScanInfo"
- },
- "ocr_taxi_scan_info" : {
- "$ref" : "#/components/schemas/OcrTaxiScanInfo"
- },
- "ocr_train_scan_info" : {
- "$ref" : "#/components/schemas/OcrTrainScanInfo"
- },
- "voucher_file_info" : {
- "$ref" : "#/components/schemas/VoucherFileInfo"
- },
- "voucher_id" : {
- "type" : "string",
- "description" : "凭证ID"
- }
- }
- },
- "ExpenseMerchantInfo" : {
- "type" : "object",
- "properties" : {
- "merchant_name" : {
- "type" : "string",
- "description" : "商户名称",
- "example" : "肯德基"
- },
- "pid" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088xxx"
- },
- "role_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088xxx"
- },
- "role_type" : {
- "type" : "string",
- "description" : "角色类型\t0-直连商户\t1-间联商户",
- "example" : "0"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "球房ID",
- "example" : "2088xxx"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "球房名称",
- "example" : "肯德基陆家嘴店"
- }
- }
- },
- "ExpenseQuotaInfo" : {
- "type" : "object",
- "properties" : {
- "effective_end_date" : {
- "type" : "string",
- "description" : "额度失效时间",
- "example" : "2021-10-01 00:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "额度生效时间",
- "example" : "2021-01-01 00:00:00"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000194958956"
- },
- "freeze" : {
- "type" : "boolean",
- "description" : "额度是否冻结,冻结后因公付不可用",
- "example" : "true"
- },
- "owner_id" : {
- "type" : "string",
- "description" : "额度所属者ID\towner_type为EMPLOYEE时为员工支付宝ID\towner_type为ENTERPRISE_PAY_UID时为员工企业码ID\towner_type为PHONE时为员工手机号\towner_type为ENTERPRISE时为企业ID",
- "example" : "2088xxx"
- },
- "owner_open_id" : {
- "type" : "string",
- "description" : "owner_type为EMPLOYEE时为员工open_id owner_type为PHONE时为员工手机号 owner_type为ENTERPRISE_PAY_UID时为员工企业码ID",
- "example" : "abcdxxxx"
- },
- "owner_type" : {
- "type" : "string",
- "description" : "额度所属者id类型\tEMPLOYEE 员工",
- "example" : "EMPLOYEE"
- },
- "quota_available" : {
- "type" : "string",
- "description" : "可用金额(单位分)",
- "example" : "20"
- },
- "quota_id" : {
- "type" : "string",
- "description" : "额度ID",
- "example" : "2021062800152601350000001468"
- },
- "quota_locked" : {
- "type" : "string",
- "description" : "锁定金额(单位分)",
- "example" : "10"
- },
- "quota_total" : {
- "type" : "string",
- "description" : "总金额(单位分)",
- "example" : "100"
- },
- "quota_type" : {
- "type" : "string",
- "description" : "额度类型",
- "example" : "CAP"
- },
- "quota_used" : {
- "type" : "string",
- "description" : "已用金额(单位分)",
- "example" : "70"
- },
- "target_id" : {
- "type" : "string",
- "description" : "额度维度ID\t当 target_type=EXPENSE_TYPE 时,值为\tMEAL(工作餐)\t当target_type=RULE_GROUP_AGGREGATION 时,值为费控规则聚合ID\t当target_type=INSTITUTION 时,值为制度ID",
- "example" : "MEAL"
- },
- "target_type" : {
- "type" : "string",
- "description" : "额度维度\t枚举值:\tEXPENSE_TYPE(费用类型维度),\tRULE_GROUP_AGGREGATION(规则聚合维度),\tINSTITUTION(制度)",
- "example" : "EXPENSE_TYPE"
- }
- }
- },
- "ExpenseVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "企业支付宝用户id(对应凭证ownerid)",
- "example" : "2088123456789000"
- },
- "consumption_date" : {
- "type" : "string",
- "description" : "消费时间",
- "example" : "2021-04-01 12:00:00"
- },
- "employee_id" : {
- "type" : "string",
- "description" : "员工ID",
- "example" : "2088123456789000"
- },
- "employee_open_id" : {
- "type" : "string",
- "description" : "员工ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "extension" : {
- "type" : "string",
- "description" : "扩展预留",
- "example" : "暂无"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "数据创建时间",
- "example" : "2021-04-02 12:00:00"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "数据更新时间",
- "example" : "2021-04-02 20:00:00"
- },
- "industry" : {
- "type" : "string",
- "description" : "行业属性值(从支付宝主账单复制)",
- "example" : "hotel"
- },
- "is_off_set" : {
- "type" : "string",
- "description" : "是否冲抵凭证:0 否(蓝票);1 是(如:红票)",
- "example" : "0"
- },
- "medium" : {
- "type" : "string",
- "description" : "凭证介质:纸or电子(PAPER,ELECTRON)",
- "example" : "PAPER"
- },
- "outer_source_id" : {
- "type" : "string",
- "description" : "外部唯一ID(和凭证类型有关,如果发票类型为发票号码+发票编码,如果是账单,则为账单号)",
- "example" : "10000000000000002"
- },
- "parent_type" : {
- "type" : "string",
- "description" : "凭证父类型(INVOICE-发票,TRAVEL-出行凭证,HTL_ORDER-酒店水单,CONSUME-账单,财政票夹)",
- "example" : "INVOICE"
- },
- "voucher_amount" : {
- "type" : "string",
- "description" : "交易金额",
- "example" : "100.00"
- },
- "voucher_date" : {
- "type" : "string",
- "description" : "凭证创建时间",
- "example" : "2021-04-01 12:00:00"
- },
- "voucher_id" : {
- "type" : "string",
- "description" : "凭证ID",
- "example" : "2020123100152601930000003650"
- },
- "voucher_no" : {
- "type" : "string",
- "description" : "一类凭证,唯一号码,有必须传,没有可不传。\t发票、账单必须有\t如部分餐饮小票,没有唯一号",
- "example" : "2020123100152601930000003650"
- },
- "voucher_state" : {
- "type" : "string",
- "description" : "凭证状态(0-无效,1 有效)",
- "example" : "0"
- },
- "voucher_type" : {
- "type" : "string",
- "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-通用发票)",
- "example" : "INVOICE"
- }
- }
- },
- "ExtCardInfo" : {
- "type" : "object",
- "properties" : {
- "bank_acc_name" : {
- "type" : "string",
- "description" : "记账的外卡户名"
- },
- "card_bank" : {
- "type" : "string",
- "description" : "记账的外卡开户行"
- },
- "card_branch" : {
- "type" : "string",
- "description" : "记账的外卡支行"
- },
- "card_deposit" : {
- "type" : "string",
- "description" : "记账的外卡联行号"
- },
- "card_location" : {
- "type" : "string",
- "description" : "记账的外卡开户地址"
- },
- "card_no" : {
- "type" : "string",
- "description" : "记账的外卡卡号"
- },
- "status" : {
- "type" : "string",
- "description" : "记账的外卡状态,\tA:正常状态; \t其他:异常"
- }
- }
- },
- "ExtTemplateConf" : {
- "type" : "object",
- "properties" : {
- "buyer_id" : {
- "type" : "string",
- "description" : "淘宝uid",
- "example" : "11212321121"
- },
- "xxhm_info_id" : {
- "type" : "string",
- "description" : "先享后买id",
- "example" : "687542"
- }
- }
- },
- "ExtUserInfo" : {
- "type" : "object",
- "properties" : {
- "cert_no" : {
- "type" : "string",
- "description" : "买家证件号。\t注:need_check_info=T或fix_buyer=T时该参数才有效,支付宝会比较买家在支付宝留存的证件号码与该参数传入的值是否匹配。"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "指定买家证件类型。\t枚举值:\tIDENTITY_CARD:身份证;\tPASSPORT:护照;\tOFFICER_CARD:军官证;\tSOLDIER_CARD:士兵证;\tHOKOU:户口本。如有其它类型需要支持,请与蚂蚁金服工作人员联系。\t注: need_check_info=T或fix_buyer=T时该参数才有效,支付宝会比较买家在支付宝留存的证件类型与该参数传入的值是否匹配。"
- },
- "fix_buyer" : {
- "type" : "string",
- "description" : "是否强制校验买家身份。\t需要强制校验传:T;\t不需要强制校验传:F或者不传;\t当传T时,接口上必须指定cert_type、cert_no和name信息且支付宝会校验传入的信息跟支付买家的信息都匹配,否则报错。\t默认为不校验。"
- },
- "identity_hash" : {
- "type" : "string",
- "description" : "买家加密身份信息。当指定了此参数且指定need_check_info=T时,支付宝会对买家身份进行校验,校验逻辑为买家姓名、买家证件号拼接后的字符串,以sha256算法utf-8编码计算hash,若与传入的值不匹配则会拦截本次支付。注意:如果同时指定了用户明文身份信息(name,cert_type,cert_no中任意一个),则忽略identity_hash以明文参数校验。"
- },
- "min_age" : {
- "type" : "string",
- "description" : "允许的最小买家年龄。\t买家年龄必须大于等于所传数值 \t注:\t1. need_check_info=T时该参数才有效\t2. min_age为整数,必须大于等于0"
- },
- "mobile" : {
- "type" : "string",
- "description" : "指定买家手机号。\t注:该参数暂不校验"
- },
- "name" : {
- "type" : "string",
- "description" : "指定买家姓名。\t注: need_check_info=T或fix_buyer=T时该参数才有效"
- },
- "need_check_info" : {
- "type" : "string",
- "description" : "是否强制校验买家信息;\t需要强制校验传:T;\t不需要强制校验传:F或者不传;\t当传T时,支付宝会校验支付买家的信息与接口上传递的cert_type、cert_no、name或age是否匹配,只有接口传递了信息才会进行对应项的校验;只要有任何一项信息校验不匹配交易都会失败。如果传递了need_check_info,但是没有传任何校验项,则不进行任何校验。\t默认为不校验。"
- }
- }
- },
- "ExtendParams" : {
- "type" : "object",
- "properties" : {
- "card_type" : {
- "type" : "string",
- "description" : "卡类型"
- },
- "hb_fq_num" : {
- "type" : "string",
- "description" : "使用花呗分期要进行的分期数"
- },
- "hb_fq_seller_percent" : {
- "type" : "string",
- "description" : "使用花呗分期需要卖家承担的手续费比例的百分值,传入100代表100%"
- },
- "industry_reflux_info" : {
- "type" : "string",
- "description" : "行业数据回流信息, 详见:地铁支付接口参数补充说明"
- },
- "royalty_freeze" : {
- "type" : "string",
- "description" : "是否进行资金冻结,用于后续分账,true表示资金冻结,false或不传表示资金不冻结"
- },
- "specified_seller_name" : {
- "type" : "string",
- "description" : "特殊场景下,允许商户指定交易展示的卖家名称"
- },
- "sys_service_provider_id" : {
- "type" : "string",
- "description" : "系统商编号\r\t该参数作为系统商返佣数据提取的依据,请填写系统商签约协议的PID"
- }
- }
- },
- "ExtensionArea" : {
- "type" : "object",
- "properties" : {
- "goto_url" : {
- "type" : "string",
- "description" : "跳转链接,当type为\"image\"时必传,必须是https或alipays开头的url链接。已废弃"
- },
- "height" : {
- "type" : "integer",
- "description" : "扩展区高度,当type值为\"h5\"时必填,取值范围为200-500的整数"
- },
- "name" : {
- "type" : "string",
- "description" : "扩展区名字"
- },
- "type" : {
- "type" : "string",
- "description" : "扩展区类型,当前支持的值为h5,表示扩展区内容类型为h5。"
- },
- "url" : {
- "type" : "string",
- "description" : "扩展区url,传入h5页面url,必须是https开头的链接"
- }
- }
- },
- "ExtraParams" : {
- "type" : "object",
- "properties" : {
- "period" : {
- "type" : "string",
- "description" : "轻会员场景下协议结算周期,由协议生效日期到失效日期拼接(yyyyMMddHHmmss-yyyyMMddHHmmss),精确到秒。",
- "example" : "20181223235059-20181230235010"
- },
- "period_summary_info" : {
- "type" : "string",
- "description" : "轻会员费用结算原始信息。详细字段说明:total_real_pay_amount轻会员周期内累计支付宝支付金额, total_pay_count轻会员周期内累计支付宝支付次数,total_discount_amount轻会员周期内累计享受的轻会员优惠。(上面金额字段单位为元,精确小数点后两位)",
- "example" : "{\"total_real_pay_amount\":\"100.00\",\"total_pay_count\":\"4\",\"total_discount_amount\":\"2.31\"}"
- },
- "quit_type" : {
- "type" : "string",
- "description" : "用户主动意愿退出:USER_CANCEL_QUIT; 商户结算退出:SETTLE_APPLY_QUIT; 默认值为SETTLE_APPLY_QUIT;这个字段会影响用户在芝麻信用合约的状态",
- "example" : "SETTLE_APPLY_QUIT"
- },
- "withhold_index" : {
- "type" : "string",
- "description" : "代扣期数,周期扣场景PERIOD_SETTLE下需要传递",
- "example" : "2"
- }
- }
- },
- "FaceExtInfo" : {
- "type" : "object",
- "properties" : {
- "max_age" : {
- "type" : "string",
- "description" : "年龄区间判断的上限,闭区间",
- "example" : "30"
- },
- "min_age" : {
- "type" : "string",
- "description" : "年龄区间判断的下限,闭区间",
- "example" : "10"
- },
- "query_type" : {
- "type" : "string",
- "description" : "query_type不填, 返回uid\r\tquery_type=1, 返回手机号\r\tquery_type=2, 返回图片",
- "example" : "1;2;3等"
- }
- }
- },
- "FaceExtParams" : {
- "type" : "object",
- "properties" : {
- "biz_type" : {
- "type" : "string",
- "description" : "业务类型:7,基于1:N人脸搜索的刷脸支付场景;8,基于姓名和身份证号的刷脸支付场景。",
- "example" : "1"
- }
- }
- },
- "FaceMachineInfo" : {
- "type" : "object",
- "properties" : {
- "camera_drive_ver" : {
- "type" : "string",
- "description" : "摄像头驱动版本号",
- "example" : "1.0"
- },
- "camera_model" : {
- "type" : "string",
- "description" : "摄像头型号",
- "example" : "AstraP1"
- },
- "camera_name" : {
- "type" : "string",
- "description" : "摄像头名称",
- "example" : "AstraP1"
- },
- "camera_ver" : {
- "type" : "string",
- "description" : "摄像头版本号",
- "example" : "1.0"
- },
- "ext" : {
- "type" : "string",
- "description" : "扩展信息",
- "example" : "扩展信息"
- },
- "machine_code" : {
- "type" : "string",
- "description" : "机具编码",
- "example" : "WyDAz27pfsEDANGk7QnmxZlv"
- },
- "machine_model" : {
- "type" : "string",
- "description" : "机具型号",
- "example" : "T2"
- },
- "machine_ver" : {
- "type" : "string",
- "description" : "机具版本号",
- "example" : "7.1.1"
- }
- }
- },
- "FaceMerchantInfo" : {
- "type" : "object",
- "properties" : {
- "area_code" : {
- "type" : "string",
- "description" : "区域编码",
- "example" : "华中"
- },
- "brand_code" : {
- "type" : "string",
- "description" : "品牌编码",
- "example" : "KFC"
- },
- "device_mac" : {
- "type" : "string",
- "description" : "机具Mac地址",
- "example" : "1c:aa:07:b0:e7:af"
- },
- "device_num" : {
- "type" : "string",
- "description" : "机具编码",
- "example" : "TEST_ZOLOZ_TEST"
- },
- "geo" : {
- "type" : "string",
- "description" : "经纬度",
- "example" : "120.10785,30.26708"
- },
- "group" : {
- "type" : "string",
- "description" : "机具分组编码",
- "example" : "group1"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088302068579978"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "ISV ID",
- "example" : "2088302068579978"
- },
- "store_code" : {
- "type" : "string",
- "description" : "球房编码",
- "example" : "TEST"
- },
- "wifimac" : {
- "type" : "string",
- "description" : "WI-FI Mac地址",
- "example" : "1c:aa:07:b0:e7:af"
- },
- "wifiname" : {
- "type" : "string",
- "description" : "WI-FI 名称",
- "example" : "Alipay-Test"
- }
- }
- },
- "FailVoucherCodeDetail" : {
- "type" : "object",
- "properties" : {
- "error_code" : {
- "type" : "string",
- "description" : "券码导入失败错误码",
- "example" : "VOUCHER_CODE_DUPLICATE"
- },
- "error_msg" : {
- "type" : "string",
- "description" : "券码导入失败错误原因描述",
- "example" : "与之前导入的券码重复"
- },
- "voucher_code" : {
- "type" : "string",
- "description" : "券码",
- "example" : "789CE"
- }
- }
- },
- "FileUploadExtraParam" : {
- "type" : "object",
- "properties" : {
- "extern_upload" : {
- "type" : "string",
- "description" : "是否同步上传到其他平台。素材类型为视频且需要同步优酷,请必传入参数youku,素材接口将代上传到优酷账号;素材类型为图片,无需传入参数",
- "example" : "youku"
- },
- "file_encrypt_type" : {
- "type" : "string",
- "description" : "文件加密类型,可选值:NO_ENCRYPT(不加密),CLIENT_DECRYPT(afts服务器加密,客户端解密),AFTS_SERVER(afts服务器端自动加解密),OSS_DECRYPT(使用oss存储加解密),AFTS_SERVER_STANDRAD(afts服务器自动加解密标准版,与AFTS_SERVER的差别在于秘钥使用方式不同)",
- "example" : "NO_ENCRYPT"
- }
- }
- },
- "FillContent" : {
- "type" : "object",
- "properties" : {
- "struct_key" : {
- "type" : "string",
- "description" : "模板组件自定义key"
- },
- "value" : {
- "type" : "string",
- "description" : "模板值,该值长度取决于配置模板时该字段的限制"
- }
- }
- },
- "Filter" : {
- "type" : "object",
- "properties" : {
- "context" : {
- "$ref" : "#/components/schemas/LabelContext"
- },
- "template" : {
- "type" : "string",
- "description" : "过滤器模板,${a}是一个变量,会被context参数中的a参数替换,从而展开为最终的表达式,template最多支持两个参数,支持and及or连接符。\r\tand:同时满足条件;\r\tor:只需满足其中一个条件",
- "example" : "${a}"
- }
- }
- },
- "FixVoucher" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "面额,每张代金券可以抵扣的金额。"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。该字段不填写,认为无门槛。"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称。"
- }
- }
- },
- "FixVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "面额,每张代金券可以抵扣的金额。"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。该字段不填写,认为无门槛。"
- },
- "voucher_deduct_threshold_info" : {
- "$ref" : "#/components/schemas/VoucherDeductThresholdInfo"
- }
- }
- },
- "FlowSigner" : {
- "type" : "object",
- "properties" : {
- "org_third_party_user_id" : {
- "type" : "string",
- "description" : "创建流程时指定的企业唯一标识,仅签署主体为企业时返回",
- "example" : "tgxxteck"
- },
- "sign_status" : {
- "type" : "integer",
- "description" : "签署状态:0-待签, 1-未签, 2-已签 3-待审批 4-拒签",
- "example" : "1"
- },
- "signer_account_type" : {
- "type" : "integer",
- "description" : "签署主体类型:0-个人, 1-企业",
- "example" : "1"
- },
- "third_party_user_id" : {
- "type" : "string",
- "description" : "创建流程时指定个人唯一标识",
- "example" : "234440881029245"
- }
- }
- },
- "ForbbidenTime" : {
- "type" : "object",
- "properties" : {
- "days" : {
- "type" : "string",
- "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日券不可用",
- "example" : "2016-03-03,2016-03-08^2016-10-01,2016-10-01"
- }
- }
- },
- "Function" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "string",
- "description" : "功能点id",
- "example" : "12"
- },
- "name" : {
- "type" : "string",
- "description" : "功能点名称",
- "example" : "流程-处理"
- }
- }
- },
- "FunctionalService" : {
- "type" : "object",
- "properties" : {
- "content" : {
- "type" : "string",
- "description" : "功能内容"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "function_code" : {
- "type" : "string",
- "description" : "功能码\t支持的功能码请与产品或对应技术确认"
- },
- "function_name" : {
- "type" : "string",
- "description" : "功能名称"
- },
- "function_type" : {
- "type" : "string",
- "description" : "功能类型"
- },
- "function_url" : {
- "type" : "string",
- "description" : "功能入口"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注信息"
- }
- }
- },
- "FundExtInfo" : {
- "type" : "object",
- "properties" : {
- "fund_identity" : {
- "type" : "string",
- "description" : "出资主体账号,fund_identity_type是ALIPAY_USER_ID填支付宝会员ID(2088开头);\t是ALIPAY_LOGON_ID 填支付宝登录号"
- },
- "fund_identity_type" : {
- "type" : "string",
- "description" : "出资主体账号类型,目前支持如下类型: 1、ALIPAY_USER_ID 支付宝的会员ID 2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式"
- }
- }
- },
- "Gavintest" : {
- "type" : "object",
- "properties" : {
- "newid" : {
- "type" : "integer",
- "description" : "测试",
- "example" : "1"
- }
- }
- },
- "GavintestNewLeveaOne" : {
- "type" : "object",
- "properties" : {
- "boolen" : {
- "type" : "boolean",
- "description" : "2"
- },
- "ces" : {
- "type" : "array",
- "description" : "21",
- "items" : {
- "type" : "integer"
- }
- },
- "des" : {
- "type" : "string",
- "description" : "12"
- },
- "str" : {
- "type" : "array",
- "description" : "1",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "GavintestNewonline" : {
- "type" : "object",
- "properties" : {
- "dem" : {
- "type" : "array",
- "description" : "1",
- "items" : {
- "type" : "string"
- },
- "example" : "21"
- },
- "string" : {
- "$ref" : "#/components/schemas/GavintestNewLeveaOne"
- }
- }
- },
- "GoodsDetail" : {
- "type" : "object",
- "properties" : {
- "alipay_goods_id" : {
- "type" : "string",
- "description" : "支付宝定义的统一商品编号"
- },
- "body" : {
- "type" : "string",
- "description" : "商品描述信息"
- },
- "categories_tree" : {
- "type" : "string",
- "description" : "商品类目树,从商品类目根节点到叶子节点的类目id组成,类目id值使用|分割"
- },
- "goods_category" : {
- "type" : "string",
- "description" : "商品类目"
- },
- "goods_id" : {
- "type" : "string",
- "description" : "商品的编号"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称"
- },
- "price" : {
- "type" : "string",
- "description" : "商品单价,单位为元"
- },
- "quantity" : {
- "type" : "integer",
- "description" : "商品数量,支持小数,精确到小数点后两位"
- },
- "show_url" : {
- "type" : "string",
- "description" : "商品的展示地址"
- }
- }
- },
- "GoodsDetailDTO" : {
- "type" : "object",
- "properties" : {
- "goods_id" : {
- "type" : "string",
- "description" : "商品编号",
- "example" : "apple-01"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "ipad"
- },
- "price" : {
- "type" : "string",
- "description" : "商品单价。单位 元\t\t精确到小数点后2位。",
- "example" : "2000.00"
- },
- "quantity" : {
- "type" : "integer",
- "description" : "商品数量",
- "example" : "1"
- }
- }
- },
- "GoodsDetailIstd" : {
- "type" : "object",
- "properties" : {
- "count" : {
- "type" : "integer",
- "description" : "商品数量"
- },
- "name" : {
- "type" : "string",
- "description" : "商品名称"
- },
- "price" : {
- "type" : "string",
- "description" : "商品单价"
- },
- "unit" : {
- "type" : "string",
- "description" : "商品单位"
- }
- }
- },
- "GoodsInfo" : {
- "type" : "object",
- "properties" : {
- "goods_category" : {
- "type" : "string",
- "description" : "商品类目",
- "example" : "201701000"
- },
- "goods_id" : {
- "type" : "string",
- "description" : "商户自定义商品外部编号",
- "example" : "apple-01"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商户自定义商品名称",
- "example" : "苹果手机"
- },
- "price" : {
- "type" : "string",
- "description" : "商品单价,单位元,精确到小数点后两位,取值范围[0.01,100000000]",
- "example" : "10.00"
- },
- "quantity" : {
- "type" : "string",
- "description" : "商品数量,支持小数,但是小数位不能超过两位",
- "example" : "2"
- }
- }
- },
- "GoodsInfoDTO" : {
- "type" : "object",
- "properties" : {
- "goods_amount" : {
- "type" : "string",
- "description" : "商品金额",
- "example" : "52.10"
- },
- "goods_count" : {
- "type" : "string",
- "description" : "商品购买数量",
- "example" : "3"
- },
- "goods_id" : {
- "type" : "string",
- "description" : "商品标准69码",
- "example" : "69212"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "元气森林"
- }
- }
- },
- "GoodsInfoIstd" : {
- "type" : "object",
- "properties" : {
- "delivery_info" : {
- "type" : "string",
- "description" : "交货信息,用于骑手交付商品"
- },
- "first_class" : {
- "type" : "string",
- "description" : "一级品类类目"
- },
- "height" : {
- "type" : "integer",
- "description" : "商品高度,单位为cm"
- },
- "length" : {
- "type" : "integer",
- "description" : "商品长度,单位为cm"
- },
- "pickup_info" : {
- "type" : "string",
- "description" : "取货信息,用于骑手到店取货"
- },
- "price" : {
- "type" : "string",
- "description" : "总价"
- },
- "second_class" : {
- "type" : "string",
- "description" : "二级品类类目"
- },
- "weight" : {
- "type" : "string",
- "description" : "货物重量,单位为kg,精确到小数点后两位"
- },
- "width" : {
- "type" : "integer",
- "description" : "商品宽度,单位为cm"
- }
- }
- },
- "GoodsOrder" : {
- "type" : "object",
- "properties" : {
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "校园卡"
- },
- "goods_picture_id" : {
- "type" : "string",
- "description" : "商品图片素材Id;商品文件上传接口返回material_id。不传则暂时默认约定图片,具体可以咨询支付宝行业小二",
- "example" : "2019010100502200000000000001"
- }
- }
- },
- "GoodsQueryResponse" : {
- "type" : "object",
- "properties" : {
- "alipay_goods_id" : {
- "type" : "string",
- "description" : "支付宝内部商品唯一标识",
- "example" : "2022090400014220"
- },
- "buying_url" : {
- "type" : "string",
- "description" : "该商品的小程序购买链接",
- "example" : "alipays://platformapi/startapp?appId= 2017072607907880&page=pages/index/index?param=xxxx"
- },
- "goods_comment" : {
- "type" : "string",
- "description" : "商品辅助说明文案",
- "example" : "这是一个商品辅助说明文案"
- },
- "goods_description_label" : {
- "type" : "string",
- "description" : "商品说明标签(如-随心退)",
- "example" : "随心退"
- },
- "goods_id" : {
- "type" : "string",
- "description" : "商品的唯一标识,同一个小部件下,该标识唯一,请开发者自行保证",
- "example" : "8948968498"
- },
- "goods_label" : {
- "type" : "string",
- "description" : "营销标签(如-限量特价),每个商品仅支持一个营销标签",
- "example" : "限量特价"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "这是一个商品名称"
- },
- "goods_type" : {
- "type" : "string",
- "description" : "商品所属品类",
- "example" : "服装"
- },
- "main_pic_url" : {
- "type" : "string",
- "description" : "商品主图片地址",
- "example" : "https://xxx.xxx.com/xxx.jpg"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID",
- "example" : "2017072607907880"
- },
- "order_number" : {
- "type" : "string",
- "description" : "商品排序,自然整数, 数字越小越靠前",
- "example" : "1"
- },
- "original_price" : {
- "type" : "string",
- "description" : "单位\"元\"的商品原价,传入数字,不需要传入\"元\"",
- "example" : "88.88"
- },
- "pid" : {
- "type" : "string",
- "description" : "品的售卖商家,即承接该品的小程序背后的商家。和mini_app_id要求对应",
- "example" : "2088xxxxxxxxx"
- },
- "publish_cities" : {
- "type" : "string",
- "description" : "投放城市的列表,详见https://www.mca.gov.cn/article/sj/xzqh/2020/2020/202007170301.html,有多个用英文,分隔。如果没有限制则不传入",
- "example" : "110000"
- },
- "remaining_quantity" : {
- "type" : "integer",
- "description" : "剩余库存",
- "example" : "999"
- },
- "sell_price" : {
- "type" : "string",
- "description" : "单位\"元\"的售价,传入数字,不需要传入\"元\"",
- "example" : "66.66"
- },
- "sold_quantity" : {
- "type" : "integer",
- "description" : "已售数量",
- "example" : "1"
- },
- "total_quantity" : {
- "type" : "string",
- "description" : "总库存量",
- "example" : "1000"
- }
- }
- },
- "HSchoolInfo" : {
- "type" : "object",
- "properties" : {
- "campus_no" : {
- "type" : "string",
- "description" : "学号",
- "example" : "2019021208"
- },
- "school_std_code" : {
- "type" : "string",
- "description" : "学校外标",
- "example" : "4136013432"
- }
- }
- },
- "HbFqPayInfo" : {
- "type" : "object",
- "properties" : {
- "fq_amount" : {
- "type" : "string",
- "description" : "用户使用花呗分期支付的金额数。单位:元。",
- "example" : "10.05"
- },
- "user_install_num" : {
- "type" : "string",
- "description" : "用户使用花呗分期支付的分期数",
- "example" : "3"
- }
- }
- },
- "HolidayRuleInfo" : {
- "type" : "object",
- "properties" : {
- "time_range_info" : {
- "$ref" : "#/components/schemas/TimeRangeInfo"
- }
- }
- },
- "IdentityVerifiedInfoDTO" : {
- "type" : "object",
- "properties" : {
- "cert_no" : {
- "type" : "string",
- "description" : "MD5加密处理后的证件号",
- "example" : "D61DCDD393C885BBA0091B7B57A71208"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "证件类型。暂仅支持 IDENTITY_CARD (身份证)",
- "example" : "IDENTITY_CARD"
- },
- "user_name" : {
- "type" : "string",
- "description" : "用户的真实姓名",
- "example" : "张三"
- }
- }
- },
- "Image" : {
- "type" : "object",
- "properties" : {
- "url" : {
- "type" : "string",
- "description" : "图片url,请先调用alipay.offline.material.image.upload 图片上传接口获得图片url",
- "example" : "http://example.com/abc.jpg"
- }
- }
- },
- "IndirectAuthOrderFailedReason" : {
- "type" : "object",
- "properties" : {
- "fail_param" : {
- "type" : "string",
- "description" : "审核失败字段",
- "example" : "support_credentials"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "描述申请单审核失败原因",
- "example" : "证照编号对应的企业名称、法人名称与录入信息不一致"
- }
- }
- },
- "IndirectBenefitPersonInfo" : {
- "type" : "object",
- "properties" : {
- "card_back_img" : {
- "type" : "string",
- "description" : "受益人证件反面照(使用图片上传接口的image_id)。当证件类型为身份证时,此字段必传;当证件类型为非身份证时,此字段非必传。",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- },
- "card_front_img" : {
- "type" : "string",
- "description" : "受益人证件正面照(使用图片上传接口的image_id)",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- },
- "card_no" : {
- "type" : "string",
- "description" : "证件号码",
- "example" : "233330199001010001"
- },
- "card_type" : {
- "type" : "string",
- "description" : "证件类型,枚举值:中国大陆居民-身份证(RESIDENT)、其他国家或地区居民-护照(PASSPORT)、中国港澳居民-来往内地通行证(PASSPORT_HK_MO)、中国台湾居民-来往大陆通行证(PASSPORT_TWN)、港澳居民居住证(RESIDENCE_PERMIT_HM)、台湾居民居住证(RESIDENCE_PERMIT_TW)、外国人永久居住证(PERMANENT_RESIDENCE_FOREIGNER)。个体户/企业/事业单位/社会组织:可选择任一证件类型,政府机关、小微商户仅支持身份证类型。",
- "example" : "RESIDENT"
- },
- "effect_time" : {
- "type" : "string",
- "description" : "证件生效时间",
- "example" : "1999-01-01"
- },
- "expire_time" : {
- "type" : "string",
- "description" : "证件过期时间",
- "example" : "2000-11-01,长期有效时传“forever”"
- },
- "person_name" : {
- "type" : "string",
- "description" : "受益人姓名",
- "example" : "张三"
- }
- }
- },
- "IndirectCertificateInfo" : {
- "type" : "object",
- "properties" : {
- "cert_image" : {
- "type" : "string",
- "description" : "证照图片(使用图片上传接口)",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "证件编号",
- "example" : "0000001"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "登记证书类型时必填,枚举:统一社会信用代码证书(UNIT_SOCIAL_CREDIT)、慈善组织公开募捐资格证书(CHARITY_ORG_SOLICIT),社会团体法人登记证书(SOCIAL_ORG_LEGAL),民办非企业单位登记证书(CIVIL_UN_ENT),基金会法人登记证书(FOUNDATION_LEGAL_PERSON),农民专业合作社法人营业执照(FARMERS_COOPERATE),宗教活动场所登记证(RELIGION_PLACES),其他证书/批文/证明(OTHER_REG_CERT)",
- "example" : "SOCIAL_ORG_LEGAL"
- },
- "effect_time" : {
- "type" : "string",
- "description" : "证照生效时间",
- "example" : "1999-01-01"
- },
- "expire_time" : {
- "type" : "string",
- "description" : "证照过期时间",
- "example" : "2020-11-01,长期有效时传“forever”"
- },
- "legal_person_name" : {
- "type" : "string",
- "description" : "证照法人姓名",
- "example" : "李四"
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "证照商户名称",
- "example" : "新新饭店"
- },
- "register_address" : {
- "type" : "string",
- "description" : "证照注册地址",
- "example" : "浙江省杭州市西湖区xxx街道xxx门牌号"
- }
- }
- },
- "IndirectContactPersonInfo" : {
- "type" : "object",
- "properties" : {
- "contact_card_no" : {
- "type" : "string",
- "description" : "联系人身份证件号。\t可传身份证、港澳居民来往内地通行证、港澳居民居住证、台湾居民来往大陆通行证、台湾居民居住证、护照、外国人永久居住证等证件号码,号码枚举见contact_card_type。若传身份证,需保证18位,且英文字母大写",
- "example" : "233330199001010001"
- },
- "contact_cert_type" : {
- "type" : "string",
- "description" : "联系人证件类型,枚举值:中国大陆居民-身份证(RESIDENT)、其他国家或地区居民-护照(PASSPORT)、中国港澳居民-来往内地通行证(PASSPORT_HK_MO)、中国台湾居民-来往大陆通行证(PASSPORT_TWN)、港澳居民居住证(RESIDENCE_PERMIT_HM)、台湾居民居住证(RESIDENCE_PERMIT_TW)、外国人永久居住证(PERMANENT_RESIDENCE_FOREIGNER)。个体户/企业/事业单位/社会组织:可选择任一证件类型。小微商户仅支持身份证类型。",
- "example" : "RESIDENT"
- },
- "contact_name" : {
- "type" : "string",
- "description" : "联系人姓名",
- "example" : "张三"
- },
- "contact_phone_no" : {
- "type" : "string",
- "description" : "联系人手机",
- "example" : "19999999999"
- }
- }
- },
- "IndirectExtraCredentials" : {
- "type" : "object",
- "properties" : {
- "smid_list" : {
- "type" : "array",
- "description" : "待确认商户号列表,最多20个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088000000000001\"]"
- }
- }
- },
- "IndirectFinancialOrgInfo" : {
- "type" : "object",
- "properties" : {
- "financial_org_cert_img" : {
- "type" : "array",
- "description" : "金融机构许可证图片,最多五张(使用图片上传接口)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"a5d373f6-3e79-405f-9993-fb7ea051c372.jpg\"]"
- },
- "financial_org_type" : {
- "type" : "string",
- "description" : "银行业(BANK)、支付机构(PAYMENT)、保险业(INSURANCE)、交易及结算类金融机构(SETTLE)、OTHER(OTHER)",
- "example" : "PAYMENT"
- }
- }
- },
- "IndirectLegalPersonInfo" : {
- "type" : "object",
- "properties" : {
- "auth_letter_img" : {
- "type" : "string",
- "description" : "授权函照片(使用图片上传接口),当证件持有人类型为 经办人时,必须上传。其他情况,无需上传",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- },
- "card_back_img" : {
- "type" : "string",
- "description" : "法人/经营者证件反面照(使用图片上传接口的image_id)。当证件类型为身份证时,此字段必传;当证件类型为非身份证时,此字段非必传。",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- },
- "card_front_img" : {
- "type" : "string",
- "description" : "法人/经营者证件正面照(使用图片上传接口返回的image_id)",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- },
- "card_no" : {
- "type" : "string",
- "description" : "证件号码",
- "example" : "233330199001010001"
- },
- "card_type" : {
- "type" : "string",
- "description" : "证件类型,枚举值:中国大陆居民-身份证(RESIDENT)、其他国家或地区居民-护照(PASSPORT)、中国港澳居民-来往内地通行证(PASSPORT_HK_MO)、中国台湾居民-来往大陆通行证(PASSPORT_TWN)、港澳居民居住证(RESIDENCE_PERMIT_HM)、台湾居民居住证(RESIDENCE_PERMIT_TW)、外国人永久居住证(PERMANENT_RESIDENCE_FOREIGNER)。个体户/企业/事业单位/社会组织:可选择任一证件类型,政府机关、小微商户仅支持身份证类型。",
- "example" : "RESIDENT"
- },
- "effect_time" : {
- "type" : "string",
- "description" : "证件生效时间",
- "example" : "1999-01-01"
- },
- "expire_time" : {
- "type" : "string",
- "description" : "证件过期时间",
- "example" : "2000-11-01,长期有效时传“forever”"
- },
- "is_benefit_person" : {
- "type" : "boolean",
- "description" : "经营者/法人是否为受益人",
- "example" : "true"
- },
- "legal_type" : {
- "type" : "string",
- "description" : "证件持有人类型:\t- 法人 LEGAL_PERSON\t- 经办人 AGENT_PERSON\t主体类型为政府机关、事业单位时选传:\t(1)若上传的是法人证件,则不需要上传该字段。\t(2)若因特殊情况,无法提供法人证件时,可上传经办人。\t主体类型为企业、个体户、社会组织、小微商户时,默认为经营者/法人,不需要上传该字段。",
- "example" : "LEGAL_PERSON"
- },
- "person_name" : {
- "type" : "string",
- "description" : "法人姓名",
- "example" : "李四"
- }
- }
- },
- "IndirectQualificationInfo" : {
- "type" : "object",
- "properties" : {
- "image_list" : {
- "type" : "array",
- "description" : "行业经营许可证资质照片,一个行业类目下最多上传6张资质照片(使用图片上传接口)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"a5d373f6-3e79-405f-9993-fb7ea051c372.jpg\"]"
- },
- "mcc_code" : {
- "type" : "string",
- "description" : "行业类目编号,支付宝商家行业二级类目code",
- "example" : "B0001"
- }
- }
- },
- "IndirectSupportCredentials" : {
- "type" : "object",
- "properties" : {
- "city" : {
- "type" : "string",
- "description" : "球房城市",
- "example" : "杭州市"
- },
- "city_code" : {
- "type" : "string",
- "description" : "球房市行政区号(数字)",
- "example" : "3310303"
- },
- "district" : {
- "type" : "string",
- "description" : "球房街道",
- "example" : "西湖区留下街道"
- },
- "district_code" : {
- "type" : "string",
- "description" : "球房街道区号(数字)",
- "example" : "3301000"
- },
- "merchant_type" : {
- "type" : "string",
- "description" : "小微商户经营类型,枚举值:球房场所(STORE)、流动经营(STALL)",
- "example" : "STORE"
- },
- "province" : {
- "type" : "string",
- "description" : "球房省份",
- "example" : "浙江省"
- },
- "province_code" : {
- "type" : "string",
- "description" : "球房省行政区号(数字",
- "example" : "330100"
- },
- "store_address" : {
- "type" : "string",
- "description" : "球房场所填写球房详细地址,流动经营类型填“无”",
- "example" : "xxx街道xxx门牌号"
- },
- "store_door_img" : {
- "type" : "string",
- "description" : "球房门头照信息或摊位照(使用图片上传接口)",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- },
- "store_inner_img" : {
- "type" : "string",
- "description" : "球房店内照片或者摊位照侧面(使用图片上传接口)",
- "example" : "a5d373f6-3e79-405f-9993-fb7ea051c372.jpg"
- },
- "store_name" : {
- "type" : "string",
- "description" : "球房名称",
- "example" : "新新饭店"
- }
- }
- },
- "IndustryQualificationInfo" : {
- "type" : "object",
- "properties" : {
- "industry_qualification_image" : {
- "type" : "string",
- "description" : "商户行业资质图片。其值为使用ant.merchant.expand.indirect.image.upload上传图片得到的一串oss key"
- },
- "industry_qualification_type" : {
- "type" : "string",
- "description" : "商户行业资质类型,具体选值参见,进件MCC与资质要求 202212.xlsx中特殊资质栏"
- }
- }
- },
- "Instance" : {
- "type" : "object",
- "properties" : {
- "create_time" : {
- "type" : "string",
- "description" : "?创建时间",
- "example" : "2020-11-10 21:07:00"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建人id",
- "example" : "2018051101015016"
- },
- "description" : {
- "type" : "string",
- "description" : "部门描述",
- "example" : "我是描述信息"
- },
- "external_id" : {
- "type" : "string",
- "description" : "外部id",
- "example" : "939459821"
- },
- "id" : {
- "type" : "string",
- "description" : "部门id(即租户实例ID、数据权限ID)",
- "example" : "pYv_gs0m"
- },
- "name" : {
- "type" : "string",
- "description" : "租户实例(数据权限)名称",
- "example" : "XXX租户实例"
- },
- "status" : {
- "type" : "string",
- "description" : "租户实例(数据权限)状态,所有可能的状态如下:INIT(初始化)、STARTED(准备完成)、START_FAILED(准备失败)、STOPPING(停用中)、STOPPED(已停用)、RELEASING(释放中)、RELEASED(已释放)、RESUMING(重新启动)、MODIFING(修改规格中)、DELETED(已删除)。",
- "example" : "STARTED"
- },
- "update_time" : {
- "type" : "string",
- "description" : "最后修改时间",
- "example" : "2020-11-10 21:11:00"
- },
- "updater_id" : {
- "type" : "string",
- "description" : "最后修改人id",
- "example" : "2018051101015016"
- }
- }
- },
- "InstitutionBasicInfo" : {
- "type" : "object",
- "properties" : {
- "consult_mode" : {
- "type" : "string",
- "description" : "费控咨询模式",
- "example" : "0"
- },
- "effective" : {
- "type" : "string",
- "description" : "制度是否启用",
- "example" : "1"
- },
- "effective_end_date" : {
- "type" : "string",
- "description" : "制度生效结束时间",
- "example" : "2023-07-05 23:59:59"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "制度生效起始时间",
- "example" : "2022-07-04 00:00:00"
- },
- "institution_desc" : {
- "type" : "string",
- "description" : "制度描述",
- "example" : "工作餐制度"
- },
- "institution_id" : {
- "type" : "string",
- "description" : "制度id",
- "example" : "2023042600152617860000076000"
- },
- "institution_name" : {
- "type" : "string",
- "description" : "制度名称",
- "example" : "餐补制度"
- }
- }
- },
- "InteligentBudgetInfo" : {
- "type" : "object",
- "properties" : {
- "budget_total" : {
- "type" : "string",
- "description" : "预算数量",
- "example" : "999999"
- },
- "budget_type" : {
- "type" : "string",
- "description" : "预算类型,枚举(QUANTITY:数量预算)",
- "example" : "QUANTITY"
- }
- }
- },
- "InteligentClauseTerm" : {
- "type" : "object",
- "properties" : {
- "descriptions" : {
- "type" : "array",
- "description" : "说明描述内容",
- "items" : {
- "type" : "string"
- },
- "example" : "说明描述内容"
- },
- "title" : {
- "type" : "string",
- "description" : "说明title",
- "example" : "说明title"
- }
- }
- },
- "InteligentConstraintInfo" : {
- "type" : "object",
- "properties" : {
- "crowd_group_id" : {
- "type" : "string",
- "description" : "人群组id,目前只支持返回时带出。",
- "example" : "34324224"
- },
- "item_ids" : {
- "type" : "string",
- "description" : "单品码列表\r\t仅在创建消费单品送活动时设置,最多设置500个单品码,由商户根据自己的商品管理自定义,一般为国标码",
- "example" : "212313,221322"
- },
- "min_cost" : {
- "type" : "string",
- "description" : "最低消费金额,单位元\r\t仅在创建消费送礼包活动时设置",
- "example" : "100"
- },
- "suit_shops" : {
- "type" : "array",
- "description" : "活动适用的球房列表\r\t仅品牌商发起的招商活动可为空\r\t最多支持10w家球房",
- "items" : {
- "type" : "string"
- },
- "example" : "2015110600077000000002125023,2015110600077000000002125022"
- },
- "user_win_count" : {
- "type" : "string",
- "description" : "活动期间用户能够参与的次数限制\r\t如果不设置则不限制参与次数",
- "example" : "1"
- },
- "user_win_frequency" : {
- "type" : "string",
- "description" : "活动期间用户能够参与的频率限制\r\t如果不设置则不限制参与频率\r\t每日中奖1次: D||1 \r\t每周中奖2次: W||2 \r\t每月中奖3次: M||3",
- "example" : "D||3"
- }
- }
- },
- "InteligentDataCondition" : {
- "type" : "object",
- "properties" : {
- "data_type" : {
- "type" : "string",
- "description" : "数据类型,支持枚举:文本:STRING;数值:NUMBER;长整型:LONG;浮点型:DOUBLE;日期:DATE;布尔:BOOLEAN;金额:MONEY",
- "example" : "NUMBER"
- },
- "limit_type" : {
- "type" : "string",
- "description" : "数据限制类型,支持枚举:固定值:FIX;单选值:SELECT;区间值:RANGE;",
- "example" : "RANGE"
- },
- "value" : {
- "type" : "string",
- "description" : "数据格式值;如:范围值:(1,10),固定值:1",
- "example" : "(1,10)"
- }
- }
- },
- "InteligentDelayInfo" : {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string",
- "description" : "延迟类型,目前支持以下类型\r\tABSOLUTELY:按绝对值延迟\r\tBYDAY:按天延迟",
- "example" : "ABSOLUTELY"
- },
- "value" : {
- "type" : "string",
- "description" : "延迟值,单位分钟\r\t按绝对值延迟延迟24*60 (1天)表示,当日08:00:00领到的券要到隔日的08:00:00才能使用\r\t按天延迟延迟24*60(1天)表示,当日08:00:00领到的券,隔日00:00:00点就可以用",
- "example" : "1440"
- }
- }
- },
- "InteligentDisplayConfig" : {
- "type" : "object",
- "properties" : {
- "slogan" : {
- "type" : "string",
- "description" : "券的宣传语\r\t含圈人的直领活动,且投放渠道选择了支付成功页或店铺的情况下必填",
- "example" : "券的宣传语"
- },
- "slogan_img" : {
- "type" : "string",
- "description" : "券的宣传图片文件ID\r\t含圈人的直领活动,且投放渠道选择了店铺的情况下必填",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- }
- }
- },
- "InteligentForbiddenTime" : {
- "type" : "object",
- "properties" : {
- "days" : {
- "type" : "string",
- "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日券不可用",
- "example" : "2016-03-03,2016-03-08^2016-10-01,2016-10-01"
- }
- }
- },
- "InteligentGeneralMerchantPromo" : {
- "type" : "object",
- "properties" : {
- "camp_id" : {
- "type" : "string",
- "description" : "营销活动的id,如merchant_promo_type:CONSUME_SEND即消费送的活动id",
- "example" : "20170901000000000006913911002170"
- },
- "crowd_constraint" : {
- "$ref" : "#/components/schemas/CrowdConstraintInfo"
- },
- "desc" : {
- "type" : "string",
- "description" : "活动描述信息,该信息有可能会在店铺详情页漏出,请自己填写",
- "example" : "本店酒水不参与该活动"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "活动扩展信息",
- "example" : "{\\\"key\\\":\\\"value\\\"}"
- },
- "forecast_effect" : {
- "$ref" : "#/components/schemas/IntelligentPromoEffect"
- },
- "inteligent_budget" : {
- "$ref" : "#/components/schemas/InteligentBudgetInfo"
- },
- "inteligent_constraint" : {
- "$ref" : "#/components/schemas/InteligentConstraintInfo"
- },
- "inteligent_promo_tools" : {
- "type" : "array",
- "description" : "营销工具集合。主要是活动涉及到的奖品信息",
- "items" : {
- "$ref" : "#/components/schemas/InteligentPromoTool"
- }
- },
- "inteligent_publish_channels" : {
- "type" : "array",
- "description" : "投放渠道信息",
- "items" : {
- "$ref" : "#/components/schemas/InteligentPublishChannel"
- }
- },
- "merchant_promo_type" : {
- "type" : "string",
- "description" : "营销活动类型;枚举(DIRECT_SEND:直发奖;CONSUME_SEND:消费送)",
- "example" : "CONSUME_SEND"
- },
- "name" : {
- "type" : "string",
- "description" : "营销活动名称",
- "example" : "消费满100送20元代金券"
- },
- "template_id" : {
- "type" : "string",
- "description" : "子营销活动对应的模板id",
- "example" : "20170909000000000012931911002490"
- }
- }
- },
- "InteligentItemInfo" : {
- "type" : "object",
- "properties" : {
- "item_ids" : {
- "type" : "array",
- "description" : "券适用的单品码列表\r\t最少配置1个单品码\r\t最多配置500个单品码",
- "items" : {
- "type" : "string"
- },
- "example" : "0000123,0000124"
- },
- "item_imgs" : {
- "type" : "array",
- "description" : "单品图片列表\r\t单品图片不能超过3张",
- "items" : {
- "type" : "string"
- },
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "item_link" : {
- "type" : "string",
- "description" : "单品券详细介绍跳转链接",
- "example" : "www.taobao.com"
- },
- "item_name" : {
- "type" : "string",
- "description" : "单品名称",
- "example" : "单品名称"
- },
- "item_text" : {
- "type" : "string",
- "description" : "单品券说明",
- "example" : "单品券说明"
- },
- "max_discount_num" : {
- "type" : "string",
- "description" : "单品券适用的商品列表中,每一个商品最高可享受优惠的件数; \r\t如:券适用于A,B两种商品,该字段设置为1,则用券A,B两种商品每种最多只有一件可享受优惠;",
- "example" : "1"
- },
- "min_consume_num" : {
- "type" : "string",
- "description" : "单品券适用商品列表中,每种商品享受优惠最低购买件数的门槛;\r\t如:券适用于A,B两种商品,该字段设置为3,则A,B两种商品每种最少需要购买3件才可享受优惠;",
- "example" : "1"
- },
- "original_price" : {
- "type" : "string",
- "description" : "单品的原价,单位元\r\t必须为合法金额类型字符串,如9.99",
- "example" : "28.88"
- },
- "sku_min_consume" : {
- "type" : "string",
- "description" : "券适用SKU的最低消费金额门槛\r\t如券适用A,B两个SKU,该字段设置的值为100,则订单中购买A,B两个SKU的合计金额需大于100元才可用券",
- "example" : "10"
- },
- "total_max_discount_num" : {
- "type" : "string",
- "description" : "如果一个单品券适用A,B,C三个单品,若设置了该字段为2,则在一笔交易中,A,B,C三个单品加起来最多只有俩件能够享受优惠",
- "example" : "10"
- }
- }
- },
- "InteligentMerchantPromo" : {
- "type" : "object",
- "properties" : {
- "general_promo" : {
- "$ref" : "#/components/schemas/InteligentGeneralMerchantPromo"
- },
- "promo_type" : {
- "type" : "string",
- "description" : "子活动营销类型;枚举值:(GENERAL_MERCHANT:商户自运营活动)",
- "example" : "GENERAL_MERCHANT"
- }
- }
- },
- "InteligentPromoTool" : {
- "type" : "object",
- "properties" : {
- "inteligent_send_rule" : {
- "$ref" : "#/components/schemas/InteligentSendRule"
- },
- "inteligent_voucher" : {
- "$ref" : "#/components/schemas/InteligentVoucher"
- },
- "status" : {
- "type" : "string",
- "description" : "单个营销工具的生效状态,当在招商部分券失效后会使用这个字段",
- "example" : "STARTED"
- },
- "voucher_no" : {
- "type" : "string",
- "description" : "营销工具uid,创建营销活动时无需设置",
- "example" : "2342343245234234"
- }
- }
- },
- "InteligentPublishChannel" : {
- "type" : "object",
- "properties" : {
- "config" : {
- "type" : "string",
- "description" : "当type为MERCHANT_CROWD时,config需填入口令送的密码和图片,样例如下:\"config\":\"{\\\"PASSWORD\\\":\\\"口令送密码\\\",\\\"BACKGROUND_LOGO\\\":\\\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\\\"}\"",
- "example" : "\"PASSWORD\":\"口令送密码\",\"BACKGROUND_LOGO\":\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\""
- },
- "ext_info" : {
- "type" : "string",
- "description" : "扩展信息,无需配置",
- "example" : "\"key\":\"value\""
- },
- "name" : {
- "type" : "string",
- "description" : "渠道名称",
- "example" : "投放到店铺"
- },
- "type" : {
- "type" : "string",
- "description" : "渠道类型,目前支持以下类型:\r\tQR_CODE:二维码投放;\r\tSHORT_LINK:短连接投放;\r\tSHOP_DETAIL:店铺页投放;\r\tPAYMENT_RESULT:支付成功页;\r\tMERCHANT_CROWD:口令送;\r\tURL_WITH_TOKEN:外部发奖活动,\r\t只有活动类型为DIRECT_SEND时才支持;",
- "example" : "SHOP_DETAIL"
- }
- }
- },
- "InteligentSendRule" : {
- "type" : "object",
- "properties" : {
- "allow_repeat_send" : {
- "type" : "string",
- "description" : "是否允许重复发奖:\r\ttrue代表允许,false代表不允许\r\t默认不设置,表明用户领取券后如果没有核销则不允许再次领取券\r\t如果设置为true,表明如果用户领取券后没有核销,还可以继续领取该券",
- "example" : "true"
- },
- "min_cost" : {
- "type" : "string",
- "description" : "发券最低消费金额,单位元\r\t活动类型为消费送且不是消费送礼包时设置\r\t多营销工具之间不允许设置重复值",
- "example" : "100"
- },
- "send_budget" : {
- "type" : "string",
- "description" : "券的预算数量(仅对口令送随机抽奖有效,即当活动类型为GUESS_SEND,且营销工具PromoTool的个数大于1时,此字段必填,其余情况此字段必为空)",
- "example" : "1234"
- },
- "send_num" : {
- "type" : "string",
- "description" : "发券数目\r\t最少发1张券,最多发5张券",
- "example" : "1"
- }
- }
- },
- "InteligentUseRule" : {
- "type" : "object",
- "properties" : {
- "inteligent_forbidden_time" : {
- "$ref" : "#/components/schemas/InteligentForbiddenTime"
- },
- "inteligent_use_times" : {
- "type" : "array",
- "description" : "券可用时间段",
- "items" : {
- "$ref" : "#/components/schemas/InteligentUseTime"
- }
- },
- "limit_rule" : {
- "type" : "string",
- "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【备注】支付渠道限制不允许修改",
- "example" : "USE_NO_LIMIT"
- },
- "min_consume" : {
- "type" : "string",
- "description" : "券核销的最低消费门槛,单位元",
- "example" : "10"
- },
- "min_consume_condition" : {
- "$ref" : "#/components/schemas/InteligentDataCondition"
- },
- "pay_redirect_url" : {
- "type" : "string",
- "description" : "券买单跳转链接",
- "example" : "https://mycar-parkingplatform.alipay-eco.com/pbizplatform/park/parking/stayPayCarList?entrance=1"
- },
- "suit_shops" : {
- "type" : "array",
- "description" : "券适用球房列表\r\t仅品牌商发起的招商活动可为空\r\t直发奖类型活动必须与活动适用球房一致\r\t最多支持10w家球房",
- "items" : {
- "type" : "string"
- },
- "example" : "2015110600077000000002125023,2015110600077000000002125022"
- }
- }
- },
- "InteligentUseTime" : {
- "type" : "object",
- "properties" : {
- "dimension" : {
- "type" : "string",
- "description" : "券可用时段时间维度,目前支持周(W)",
- "example" : "W"
- },
- "times" : {
- "type" : "string",
- "description" : "券可用时间段\r\t可用时间段起止时间用逗号分隔,多个时间段之间用^分隔\r\t如, \"16:00:00,20:00:00^21:00:00,22:00:00\"表示16点至20点,21点至22点可用\r\t时间段不可重叠",
- "example" : "16:00:00,20:00:00^21:00:00,22:00:00"
- },
- "values" : {
- "type" : "string",
- "description" : "券可用时间维度值\r\t周维度的取值范围1-7(周一至周日),多个可用时段用逗号分隔\r\t如\"1,3,5\",对应周一,周三,周五可用",
- "example" : "1,3,5"
- }
- }
- },
- "InteligentVoucher" : {
- "type" : "object",
- "properties" : {
- "brand_name" : {
- "type" : "string",
- "description" : "品牌名称",
- "example" : "品牌名称"
- },
- "desc" : {
- "type" : "string",
- "description" : "券详细说明\r\t最多包含500个字符",
- "example" : "券的详细说明"
- },
- "donate_flag" : {
- "type" : "string",
- "description" : "券是否可转赠,默认为可转赠",
- "example" : "true"
- },
- "effect_type" : {
- "type" : "string",
- "description" : "券生效的方式,目前支持以下方式\r\t立即生效:IMMEDIATELY\r\t延迟生效:DELAY\r\t仅在券有效期类型为相对有效期时生效",
- "example" : "IMMEDIATELY"
- },
- "end_time" : {
- "type" : "string",
- "description" : "券有效期的结束时间\r\t仅在券有效期类型为绝对有效期时生效\r\t必须晚于活动结束时间",
- "example" : "2016-11-01 00:00:00"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "券的扩展信息",
- "example" : "\"key\":\"value\""
- },
- "inteligent_clause_terms" : {
- "type" : "array",
- "description" : "券的说明条款",
- "items" : {
- "$ref" : "#/components/schemas/InteligentClauseTerm"
- }
- },
- "inteligent_delay_info" : {
- "$ref" : "#/components/schemas/InteligentDelayInfo"
- },
- "inteligent_desc_detail_list" : {
- "type" : "array",
- "description" : "券使用说明描述列表",
- "items" : {
- "$ref" : "#/components/schemas/InteligentVoucherDescDetail"
- }
- },
- "inteligent_display_config" : {
- "$ref" : "#/components/schemas/InteligentDisplayConfig"
- },
- "inteligent_item_info" : {
- "$ref" : "#/components/schemas/InteligentItemInfo"
- },
- "inteligent_use_rule" : {
- "$ref" : "#/components/schemas/InteligentUseRule"
- },
- "logo" : {
- "type" : "string",
- "description" : "券LOGO文件ID,调用图片上传接口alipay.offline.material.image.upload获得",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "max_amount" : {
- "type" : "string",
- "description" : "最高优惠金额,单位元\r\t指用券最高可以优惠的金额\r\t必须为合法金额类型字符串仅当券类型为折扣券(RATE),每满减券(PER_FULL_CUT)有效",
- "example" : "100"
- },
- "multi_use_mode" : {
- "type" : "string",
- "description" : "券叠加的属性,\r\t仅全场券可设置该选项;\r\tNO_MULTI:不可与其他全场券和单品券叠加;\r\tMULTI_USE_WITH_SINGLE:\r\t该全场优惠和单品优惠的叠加\r\t;MULTI_USE_WITH_OTHE\r\tRS:该全场优惠和其他所有优惠都可以叠加",
- "example" : "NO_MULTI"
- },
- "name" : {
- "type" : "string",
- "description" : "券名称",
- "example" : "5元代金券"
- },
- "rate" : {
- "type" : "string",
- "description" : "折扣率\r\t仅当券类型为折扣券时有效\r\t有效折扣率取值范围0.11-0.99\r\t仅允许保留小数点后两位",
- "example" : "0.8"
- },
- "relative_time" : {
- "type" : "string",
- "description" : "券相对有效期,单位天\r\t仅在券有效期类型为相对有效期时生效\r\t如,设5表示领券领取后5日内有效",
- "example" : "1"
- },
- "rounding_rule" : {
- "type" : "string",
- "description" : "券核销时,抹零方式,目前支持:\r\tNOT_AUTO_ROUNDING:不自动抹零\r\tAUTO_ROUNDING_YUAN:自动抹零到元\r\tAUTO_ROUNDING_JIAO:自动抹零到角\r\tROUNDING_UP_YUAN:四舍五入到元\r\tROUNDING_UP_JIAO:四舍五入到角",
- "example" : "NOT_AUTO_ROUNDING"
- },
- "start_time" : {
- "type" : "string",
- "description" : "券有效期的开始时间\r\t仅在券有效期类型为绝对有效期时生效",
- "example" : "2016-05-01 00:00:00"
- },
- "type" : {
- "type" : "string",
- "description" : "券类型,目前支持以下类型:\r\tMONEY:代金券;\r\tPER_FULL_CUT:每满减券",
- "example" : "MONEY"
- },
- "use_instructions" : {
- "type" : "array",
- "description" : "券的使用说明\r\t使用须知最多6条,且每条最多100字",
- "items" : {
- "type" : "string"
- },
- "example" : "券的使用说明"
- },
- "validate_type" : {
- "type" : "string",
- "description" : "券有效期类型,目前支持以下类型:\r\tRELATIVE:相对有效期\r\tFIXED:绝对有效期",
- "example" : "FIXED"
- },
- "verify_mode" : {
- "type" : "string",
- "description" : "该字段仅在兑换券条件下(即券类型为EXCHANGE),用于设置兑换券的核销方式\r\tUSER_CLICK:用户自己点击券上的按钮核销\r\tMERCHANT_SCAN:商户通过APP扫码核销\r\t其他情况下此字段为空",
- "example" : "MERCHANT_SCAN"
- },
- "voucher_img" : {
- "type" : "string",
- "description" : "券图片文件ID,调用上传图片接口alipay.offline.material.image.upload获得",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "voucher_note" : {
- "type" : "string",
- "description" : "券的备注\r\t\r\t用于收银系统识别指定券使用;如备注中传入“123”,券发出后核销时将在当面付接口将该值传回,供收银系统识别",
- "example" : "券的备注"
- },
- "worth_value" : {
- "type" : "string",
- "description" : "券面额,单位元必须为合法金额类型字符串券类型为代金券(MONEY)、减至券(REDUCETO)、每满减券(PER_FULL_CUT)时必填\r\t如:\r\t代金券:10元代金券中的10为券面额;\r\t每满减券:毎满100减10元,其中的10为券面额;\r\t减至券:单品原价100,现价10元,其中10为券面额,单品减至券的券面额必须低于单品原价",
- "example" : "10"
- }
- }
- },
- "InteligentVoucherDescDetail" : {
- "type" : "object",
- "properties" : {
- "details" : {
- "type" : "string",
- "description" : "具体描述信息列表",
- "example" : "周一到周五可用"
- },
- "images" : {
- "type" : "string",
- "description" : "图片描述信息",
- "example" : "https://dl.django.t.taobao.com/rest/1.0/image?fileIds=RY7twkJVR26nz8OeXRIjvAAAACMAAQED&zoom=original"
- },
- "title" : {
- "type" : "string",
- "description" : "券说明的标题",
- "example" : "温馨提示"
- },
- "url" : {
- "type" : "string",
- "description" : "券外部详情描述",
- "example" : "www.alipay.com"
- }
- }
- },
- "IntelligentPromo" : {
- "type" : "object",
- "properties" : {
- "allow_auto_delay" : {
- "type" : "boolean",
- "description" : "是否允许自动续期",
- "example" : "true"
- },
- "audit_status" : {
- "type" : "string",
- "description" : "审批状态。APPROVING:审批中;REJECTED:已驳回;PASS:已通过;(注意:修改接口无需传递审批状态)",
- "example" : "APPROVING"
- },
- "create_request_no" : {
- "type" : "string",
- "description" : "请求幂等控制请求参数,该参数尽量比较复杂,建议使用uuid,否则触发幂等返回。",
- "example" : "7582ee4522934431bd45ae68616744b6"
- },
- "creator_info" : {
- "$ref" : "#/components/schemas/PromoOperatorInfo"
- },
- "desc" : {
- "type" : "string",
- "description" : "智能活动描述",
- "example" : "这是一个全场智能营销活动,仅在上海地区使用"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "活动扩展信息,通过《koubei.marketing.campaign.intelligent.promo.consult智能方案咨询接口》推荐出的方案扩展信息字段,调用《koubei.marketing.campaign.intelligent.promo.create创建智能方案》接口必须要原路带回,不能删减字段。",
- "example" : "{\\\"PARTNER_CATEGORY\\\":\\\"2015050700000002\\\",\\\"PROMO_REC_LOG\\\":\\\"20170919000000000195431911009130\\\"}"
- },
- "forecast_effect" : {
- "$ref" : "#/components/schemas/IntelligentPromoEffect"
- },
- "gmt_closed" : {
- "type" : "string",
- "description" : "智能营销活动下架的时间",
- "example" : "2016-05-01 00:00:00"
- },
- "gmt_enabled" : {
- "type" : "string",
- "description" : "智能营销活动的生效时间",
- "example" : "2016-05-01 00:00:00"
- },
- "gmt_end" : {
- "type" : "string",
- "description" : "智能营销活动的结束时间",
- "example" : "2016-05-01 00:00:00"
- },
- "gmt_start" : {
- "type" : "string",
- "description" : "智能营销活动开始时间",
- "example" : "2016-05-01 00:00:00"
- },
- "merchant_promos" : {
- "type" : "array",
- "description" : "智能营销商户子活动列表",
- "items" : {
- "$ref" : "#/components/schemas/InteligentMerchantPromo"
- }
- },
- "name" : {
- "type" : "string",
- "description" : "智能营销活动对应的名称",
- "example" : "全场智能营销活动"
- },
- "owner_info" : {
- "$ref" : "#/components/schemas/PromoOperatorInfo"
- },
- "parent_promo_id" : {
- "type" : "string",
- "description" : "智能营销方案父id,如果需要续签智能营销活动,则会对于原有智能营销方案的id",
- "example" : "20171001000000000286566911004880"
- },
- "plan_id" : {
- "type" : "string",
- "description" : "智能营销活动对应的方案编号",
- "example" : "20170901000000000007027911001170"
- },
- "promo_id" : {
- "type" : "string",
- "description" : "智能营销方案id。《koubei.marketing.campaign.intelligent.promo.create》创建接口中这个参数不必传递,仅在查询接口中返回",
- "example" : "20170905000000000092980911009880"
- },
- "promos" : {
- "type" : "array",
- "description" : "营销活动详情列表,注意:(该参数20180125开始已不在维护,替代参数详见merchant_promos,如需接入替代参数,接之前先找开发负责人申请appid白名单)",
- "items" : {
- "$ref" : "#/components/schemas/IntelligentPromoDetail"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "智能营销活动状态。CREATED:已创建;ENABLED:已生效;CLOSED:已关闭;FINISHED:已完结;DISABLED:已失效(有两种情况会是失效状态,一种是服务商创建方案,商户驳回,一种是服务商创建方案,商户未确认,活动到期。)(注意:修改方案的动作不需要传递方案状态)",
- "example" : "CREATED"
- },
- "sub_promo_ids" : {
- "type" : "array",
- "description" : "该智能营销方案如果续签多次,则会返回该方案对应的所有智能营销子方案的promo_id",
- "items" : {
- "type" : "string"
- },
- "example" : "[2016110700077000000003446037, 2016111000077000000003446529]"
- },
- "sub_status" : {
- "type" : "string",
- "description" : "活动展示状态。已创建:CREATED;\r\tREJECTED:创建被驳回;ENABLING:生效中;ONLINE_WAIT_CONFIRM:上架待确认;PUBLISHED:已发布(活动未到开始时间);ENABLED:已发布已开始;OFFLINE_WAIT_CONFIRM:下架待确认;CLOSING:下架中;CLOSED:已下架(人为干预下架);FINISHED:已结束(活动到期自然结束);MODIFYING:修改中;MODIFY_WAIT_CONFIRM:修改待确认;DISABLED:已失效\r\t(注意:修改接口子状态参数不能传递)",
- "example" : "ENABLING"
- },
- "template_id" : {
- "type" : "string",
- "description" : "智能营销活动对应的方案中的模板编号",
- "example" : "20170901000000000006914911002170"
- },
- "type" : {
- "type" : "string",
- "description" : "智能活动类型,值如下:RECOMMENDATION:系统推荐;REGISTRATION:报名。在创建时,这个字段需要ISV自己进行决策,在推荐接口会返回优惠力度,比如代金券面额等信息,ISV判断如果优惠力度比这个大或者相同,就用RECOMMENDATION,其他情况用REGISTRATION,如推荐力度大于实际创建传过来的优惠力度,则创建的时候系统会自动将RECOMMENDATION改为REGISTRATION",
- "example" : "RECOMMENDATION"
- }
- }
- },
- "IntelligentPromoDetail" : {
- "type" : "object",
- "properties" : {
- "budget" : {
- "$ref" : "#/components/schemas/BudgetInfo"
- },
- "camp_id" : {
- "type" : "string",
- "description" : "营销活动的id,也就是消费送的活动id",
- "example" : "20170901000000000006913911002170"
- },
- "constraint" : {
- "$ref" : "#/components/schemas/ConstraintInfo"
- },
- "crowd_constraint" : {
- "$ref" : "#/components/schemas/CrowdConstraintInfo"
- },
- "desc" : {
- "type" : "string",
- "description" : "智能营销活动的子活动",
- "example" : "这是一个全场消费送的活动"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "活动扩展信息",
- "example" : "{\\\"key\\\":\\\"value\\\"}"
- },
- "forecast_effect" : {
- "$ref" : "#/components/schemas/IntelligentPromoEffect"
- },
- "merchant_promo_type" : {
- "type" : "string",
- "description" : "自运营活动类型。DIRECT_SEND:直发奖;CONSUME_SEND:消费送",
- "example" : "DIRECT_SEND"
- },
- "name" : {
- "type" : "string",
- "description" : "子营销活动名称",
- "example" : "全场消费送活动"
- },
- "promo_tools" : {
- "type" : "array",
- "description" : "营销工具集合。主要是活动涉及到的奖品信息",
- "items" : {
- "$ref" : "#/components/schemas/PromoTool"
- }
- },
- "publish_channels" : {
- "type" : "array",
- "description" : "投放渠道信息",
- "items" : {
- "$ref" : "#/components/schemas/PublishChannel"
- }
- },
- "template_id" : {
- "type" : "string",
- "description" : "子营销活动对应的模板id",
- "example" : "20170901000000000006912911002170"
- }
- }
- },
- "IntelligentPromoEffect" : {
- "type" : "object",
- "properties" : {
- "avg_prize_increase" : {
- "type" : "string",
- "description" : "平均客单价提升比例"
- },
- "cost" : {
- "type" : "string",
- "description" : "成本"
- },
- "current_total_amount" : {
- "type" : "string",
- "description" : "当前效益"
- },
- "effect_id" : {
- "type" : "string",
- "description" : "营销活动的预期效果id"
- },
- "gmt_from" : {
- "type" : "string",
- "description" : "时间范围左值"
- },
- "gmt_to" : {
- "type" : "string",
- "description" : "时间范围右值"
- },
- "gmv" : {
- "type" : "string",
- "description" : "成交额"
- },
- "remain_stock_num" : {
- "type" : "integer",
- "description" : "剩余库存数"
- },
- "repay_rate_increase" : {
- "type" : "string",
- "description" : "复购率提升比例"
- },
- "send_count_increase" : {
- "type" : "string",
- "description" : "发券量提升比例"
- },
- "take_count" : {
- "type" : "integer",
- "description" : "发券数量"
- },
- "type" : {
- "type" : "string",
- "description" : "营销活动效果类型。FORECAST:预估;STATISTICS:统计"
- },
- "use_count" : {
- "type" : "integer",
- "description" : "核销量"
- }
- }
- },
- "IntelligentPromoShopSummaryInfo" : {
- "type" : "object",
- "properties" : {
- "shop_id" : {
- "type" : "string",
- "description" : "球房id",
- "example" : "20543566463464565"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "全店名",
- "example" : "大娘水饺(万塘路店)"
- }
- }
- },
- "InterfaceInfoList" : {
- "type" : "object",
- "properties" : {
- "interface_name" : {
- "type" : "string",
- "description" : "H5传入参数固定值:alipay.eco.mycar.parking.userpage.query;\t\t小程序传入参数固定值:alipay.eco.mycar.parking.isv.homepage;\t\t协议状态变更通知传入参数固定值:\talipay.eco.mycar.parking.agreement.notify;"
- },
- "interface_type" : {
- "type" : "string",
- "description" : "H5、小程序传入参数固定值:interface_page;\t通知接口传入参数固定值:interface_service;"
- },
- "interface_url" : {
- "type" : "string",
- "description" : "H5 SPI接口的调用地址url,协议必须为https,对整个url字符串必须进行UrlEncode编码。编码为UTF-8;\t\t小程序SPI接口的调用地址ur格式:小程序|小程序缴费页面地址;\t\t协议状态变更通知SPI接口的调用地址url,同H5格式;"
- }
- }
- },
- "InviteMemberBusinessParamsDTO" : {
- "type" : "object",
- "properties" : {
- "employee_id" : {
- "type" : "string",
- "description" : "企业员工工卡",
- "example" : "983748293742"
- },
- "fund_ext_info" : {
- "$ref" : "#/components/schemas/FundExtInfo"
- },
- "group_id_list" : {
- "type" : "array",
- "description" : "员工关联的群组ID,当前系统仅支持一个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"11\"]"
- }
- }
- },
- "InviteResultDTO" : {
- "type" : "object",
- "properties" : {
- "identity" : {
- "type" : "string",
- "description" : "(被邀请人)用户唯一标识<br>\t补充说明:<br>\t- 该字段与签约接口alipay.fund.jointaccount.sign请求参数中传入值保持一致",
- "example" : "2088000268032234"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "(被邀请人)账号类型,参考值如下:<br>\t- OUT_USER_ID:商户侧用户唯一标识<br>\t补充说明:\t- 该字段与签约接口alipay.fund.jointaccount.sign请求参数中传入值保持一致",
- "example" : "ALIPAY_USER_ID"
- },
- "process_id" : {
- "type" : "string",
- "description" : "审批单号,不同被邀请人之间的审批单号不同(支付宝侧生成)",
- "example" : "2021082066102300080000002126"
- }
- }
- },
- "Invoice" : {
- "type" : "object",
- "properties" : {
- "email" : {
- "type" : "string",
- "description" : "邮箱地址",
- "example" : "123@123.com"
- },
- "invoice_content" : {
- "type" : "string",
- "description" : "发票内容,配送服务费",
- "example" : "40"
- },
- "invoice_fee" : {
- "type" : "string",
- "description" : "发票金额",
- "example" : "100"
- },
- "invoice_title" : {
- "type" : "string",
- "description" : "发票抬头,如支付宝(杭州)信息技术有限公司",
- "example" : "支付宝(杭州)信息技术有限公司"
- },
- "invoice_type" : {
- "type" : "integer",
- "description" : "发票类型,0:默认电子发票",
- "example" : "0"
- },
- "phone" : {
- "type" : "string",
- "description" : "手机号码",
- "example" : "15171008605"
- },
- "receiver" : {
- "type" : "string",
- "description" : "收件人姓名",
- "example" : "语轩"
- },
- "tax_number" : {
- "type" : "string",
- "description" : "税号",
- "example" : "9133 0106 MA27 Y4U4 7R"
- },
- "title_type" : {
- "type" : "integer",
- "description" : "抬头类型,0:企业单位,1:个人/非企业",
- "example" : "0"
- }
- }
- },
- "InvoiceContentInfo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "含税金额",
- "example" : "200"
- },
- "item_name" : {
- "type" : "string",
- "description" : "发票项目名称/货物名称",
- "example" : "无"
- },
- "item_no" : {
- "type" : "string",
- "description" : "商品编码/税收分类编码",
- "example" : "无"
- },
- "item_unit" : {
- "type" : "string",
- "description" : "单位",
- "example" : "无"
- },
- "price" : {
- "type" : "string",
- "description" : "单价",
- "example" : "100"
- },
- "quantity" : {
- "type" : "string",
- "description" : "商品数量",
- "example" : "1"
- },
- "row_type" : {
- "type" : "string",
- "description" : "发票行性质。0表示正常行,1表示折扣行,2表示被折扣行",
- "example" : "0"
- },
- "specification" : {
- "type" : "string",
- "description" : "规格型号",
- "example" : "无"
- },
- "sum_price" : {
- "type" : "string",
- "description" : "不含税金额",
- "example" : "150"
- },
- "tax" : {
- "type" : "string",
- "description" : "税额",
- "example" : "40"
- },
- "tax_rate" : {
- "type" : "string",
- "description" : "税率",
- "example" : "无"
- },
- "zero_rate_flag" : {
- "type" : "string",
- "description" : "税率标识,只有税率为0的情况才有值,0=出口零税率,1=免税,2=不征收,3=普通零税率",
- "example" : "3"
- }
- }
- },
- "InvoiceElementModel" : {
- "type" : "object",
- "properties" : {
- "expense_status" : {
- "type" : "string",
- "description" : "发票报销状态\r\t取值范围:\r\tWAIT_EXPENSE-未报销\r\tEXPENSE_PROCESSING-报销中\r\tEXPENSE_FINISHED-已报销"
- },
- "extend_fields" : {
- "type" : "string",
- "description" : "扩展字段"
- },
- "fake_code" : {
- "type" : "string",
- "description" : "防伪校验码"
- },
- "has_pdf_file" : {
- "type" : "boolean",
- "description" : "发票是否有pdf文件"
- },
- "has_risk" : {
- "type" : "boolean",
- "description" : "该发票可能存在异常,请核实后使用\r\ttrue:无异常\r\tfalse:存在异常"
- },
- "invoice_amount" : {
- "type" : "string",
- "description" : "发票金额,含税"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码"
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "开票日期"
- },
- "invoice_img_url" : {
- "type" : "string",
- "description" : "发票pdf文件转换后jpg预览地址"
- },
- "invoice_kind" : {
- "type" : "string",
- "description" : "发票类型\t可选值\tPLAIN:增值税电子普通发票\tSPECIAL:增值税专用发票\tALL_ELECTRONIC_GENERAL: \"电子发票(普通发票)\tALL_ELECTRONIC_SPECIAL: \"电子发票(专用发票)\tPLAIN_INVOICE:增值税普通发票\tPAPER_INVOICE:增值税普通发票(卷式)\tSALSE_INVOICE:机动车销售统一发票\t财政电子票据:FINANCIAL_ELECTRONIC_BILL"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码"
- },
- "invoice_status" : {
- "type" : "string",
- "description" : "发票状态 \r\t取值范围\r\tSUCCEED-正常蓝票\r\tEXPIRED-已失效"
- },
- "isv_contact" : {
- "type" : "string",
- "description" : "服务商联系方式"
- },
- "isv_name" : {
- "type" : "string",
- "description" : "服务商名称"
- },
- "logo_url" : {
- "type" : "string",
- "description" : "logo地址"
- },
- "m_name" : {
- "type" : "string",
- "description" : "商户全称"
- },
- "out_tax_amount" : {
- "type" : "string",
- "description" : "发票金额,不含税"
- },
- "payee_name" : {
- "type" : "string",
- "description" : "销方名称"
- },
- "payee_tax_no" : {
- "type" : "string",
- "description" : "销方税号"
- },
- "payer_name" : {
- "type" : "string",
- "description" : "购方名称"
- },
- "payer_tax_no" : {
- "type" : "string",
- "description" : "购方税号"
- },
- "pdf_url" : {
- "type" : "string",
- "description" : "PDF的下载链接"
- },
- "source" : {
- "type" : "string",
- "description" : "表示发票来源,由发票回传方带入。例如:bz_gd,bz_ele,bz_tmall等"
- },
- "trade_list" : {
- "type" : "array",
- "description" : "该发票对应的交易",
- "items" : {
- "$ref" : "#/components/schemas/EinvTrade"
- }
- },
- "trade_match_result" : {
- "type" : "string",
- "description" : "交易匹配结果\tmatch-匹配到\tnoMatched-未匹配到\tnotMatch-未做匹配"
- }
- }
- },
- "InvoiceElementStatusSyncOpenModel" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "同步申请id,每次发起同步时生成,isv每次请求需要保证唯一",
- "example" : "2016112500152003000000000245"
- },
- "expense_detail_url" : {
- "type" : "string",
- "description" : "报销详情地址,提供用户通过发票管家查看报销进度的地址\r\t如果报销企业入驻发票管家时需要isv传入报销详情地址,则必须提供",
- "example" : "http://www.baidu.com"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码",
- "example" : "031001600111"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码",
- "example" : "10001040"
- }
- }
- },
- "InvoiceItem" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "含税总金额 (等于sum_price和tax之和),\t单位:元,格式为2位小数,精度2位小数",
- "example" : "1170.00"
- },
- "item_name" : {
- "type" : "string",
- "description" : "发票项目名称(或商品名称)",
- "example" : "电视机"
- },
- "item_no" : {
- "type" : "string",
- "description" : "发票项目编号(或商品编号)",
- "example" : "1010101010000000000"
- },
- "price" : {
- "type" : "string",
- "description" : "单价(不含税),格式为2位小数。最大支持6位小数,不足2位小数时需转化为2位小数格式。\t折扣行此参数不能传",
- "example" : "100.00"
- },
- "quantity" : {
- "type" : "string",
- "description" : "数量,须大于0,最多6位小数。\t折扣行此参数不能传",
- "example" : "10"
- },
- "row_type" : {
- "type" : "integer",
- "description" : "发票行性质。0表示正常行,1表示折扣行,2表示被折扣行。\t比如充电器单价100元,折扣10元,则明细为2行,充电器行性质为2,折扣行性质为1。如果充电器没有折扣,则值应为0。",
- "example" : "0"
- },
- "specification" : {
- "type" : "string",
- "description" : "规格型号",
- "example" : "X100"
- },
- "sum_price" : {
- "type" : "string",
- "description" : "不含税总金额,格式为2位小数\t单位:元,精度2位小数",
- "example" : "1000.00"
- },
- "tax" : {
- "type" : "string",
- "description" : "税额,\t格式为2位小数",
- "example" : "170.00"
- },
- "tax_rate" : {
- "type" : "string",
- "description" : "税率。格式为2位小数,如:0.00, 0.03, 0.13等等",
- "example" : "0.17"
- },
- "unit" : {
- "type" : "string",
- "description" : "单位,折扣行不能传",
- "example" : "台"
- },
- "zero_rate_flag" : {
- "type" : "string",
- "description" : "0税率标识,只有税率为0的情况才有值,0=出口零税率,1=免税,2=不征收,3=普通零税率",
- "example" : "1"
- }
- }
- },
- "InvoiceItemContent" : {
- "type" : "object",
- "properties" : {
- "item_amount" : {
- "type" : "string",
- "description" : "价税合计。(等于sumPrice和tax之和)"
- },
- "item_name" : {
- "type" : "string",
- "description" : "发票项目名称(或商品名称)"
- },
- "item_no" : {
- "type" : "string",
- "description" : "商品编号"
- },
- "item_price" : {
- "type" : "string",
- "description" : "单价,格式:100.00。新版电子发票,折扣行此参数不能传,非折扣行必传"
- },
- "item_quantity" : {
- "type" : "integer",
- "description" : "数量。新版电子发票,折扣行此参数不能传,非折扣行必传"
- },
- "item_sum_price" : {
- "type" : "string",
- "description" : "单项总价,格式:100.00"
- },
- "item_tax_price" : {
- "type" : "string",
- "description" : "税额"
- },
- "item_tax_rate" : {
- "type" : "string",
- "description" : "税率"
- },
- "item_unit" : {
- "type" : "string",
- "description" : "台"
- },
- "row_type" : {
- "type" : "integer",
- "description" : "发票行性质。0表示正常行,1表示折扣行,2表示被折扣行。比如充电器单价100元,折扣10元,则明细为2行,充电器行性质为2,折扣行性质为1。如果充电器没有折扣,则值应为0"
- }
- }
- },
- "InvoiceItemOpenModel" : {
- "type" : "object",
- "properties" : {
- "item_ex_tax_amount" : {
- "type" : "string",
- "description" : "明细行不含税金额,保留两位小数"
- },
- "item_name" : {
- "type" : "string",
- "description" : "开票项目:货物或应税劳务、服务名称"
- },
- "item_no" : {
- "type" : "string",
- "description" : "国税局制定的商品税收编码,必须是最末级"
- },
- "item_quantity" : {
- "type" : "integer",
- "description" : "数量;\t1.当row_type=0或2且item_unit_price为空,可空;\t2.可精确到小数点后6位"
- },
- "item_spec" : {
- "type" : "string",
- "description" : "规格型号"
- },
- "item_sum_amount" : {
- "type" : "string",
- "description" : "明细行价税合计,必须保证item_sum_amount=item_ex_tax_amount+item_tax_amount。"
- },
- "item_tax_amount" : {
- "type" : "string",
- "description" : "明细行税额,保留两位小数,无税或者免税情况下输入:0.00。"
- },
- "item_tax_rate" : {
- "type" : "string",
- "description" : "明细行税率,无税或者免税情况下输入:0.00。"
- },
- "item_unit" : {
- "type" : "string",
- "description" : "单位"
- },
- "item_unit_price" : {
- "type" : "string",
- "description" : "不含税单价;\t1.当row_type=0或2且item_quantity为空,可空\t2.可精确到小数点后8位;"
- },
- "row_type" : {
- "type" : "string",
- "description" : "发票行性质:0表示正常行,1表示折扣行,2表示被折扣行。"
- }
- }
- },
- "InvoiceModelContent" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "支付宝端的申请id。如果在开票过程中,是通过支付宝提交的申请到机构端,支付宝会带上开票申请在支付宝生成的申请id,机构在回传发票的时候只需要回传这个申请id,不用获取用户的uid,支付宝可以根据申请id将发票归集到对应的用户名下",
- "example" : "2016112800152005000000000239"
- },
- "extend_fields" : {
- "type" : "string",
- "description" : "key=value,每组键值对以回车分割",
- "example" : "shortPlatform=POS\r\nabx=xxx\r\neee=ccc"
- },
- "file_download_type" : {
- "type" : "string",
- "description" : "下载的发票文件类型,可选值:\tpdf(发票原文件)\tofd(发票原文件)\tjpg(发票原文件缩略图)",
- "example" : "pdf"
- },
- "file_download_url" : {
- "type" : "string",
- "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可以不传",
- "example" : "http://xxx.com"
- },
- "financial_electronic_type" : {
- "type" : "string",
- "description" : "财政电子票据子类型,当tax_type=FINANCIAL_ELECTRONIC_BILL时要求必填\t可选值如下:\t01:非税收入通用票据 \t02:非税收入专用票据\t03:非税收入一般缴款书\t04:资金往来结算票据\t05:公益事业捐赠票据\t06:医疗收费票据\t07:社会团体会费票据\t08:社会保险基金票据\t09:工会经费收入票据\t99:其他财政票据",
- "example" : "MEDICAL_ELECTRONIC_BILL"
- },
- "invoice_amount" : {
- "type" : "string",
- "description" : "发票金额,大于0且精确到小数点两位,以元为单位\r\t需要传入税价合计金额",
- "example" : "200.00"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码,为国税局生成的唯一值,全电票时为空,其他情况不可为空",
- "example" : "2328742873"
- },
- "invoice_content" : {
- "type" : "array",
- "description" : "发票内容项",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceItemContent"
- }
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "发票日期,用户填写,目前精确到日",
- "example" : "2016-07-19"
- },
- "invoice_fake_code" : {
- "type" : "string",
- "description" : "发票防伪码",
- "example" : "-"
- },
- "invoice_file_data" : {
- "type" : "string",
- "description" : "原始发票PDF/OFD文件流",
- "example" : "01010010101"
- },
- "invoice_img_url" : {
- "type" : "string",
- "description" : "发票原始文件jpg文件地址",
- "example" : "http://xxx.com"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码,国税局生成的唯一号码,不可为空串;\r\t使用时请注意,invoice_no+invoice_code唯一,不能重复",
- "example" : "237428768"
- },
- "invoice_operator" : {
- "type" : "string",
- "description" : "发票开具操作人",
- "example" : "张某某"
- },
- "invoice_title" : {
- "$ref" : "#/components/schemas/InvoiceTitleModel"
- },
- "invoice_type" : {
- "type" : "string",
- "description" : "发票类型,按照可选值只传入英文部分,该字段严格要求大小写\r\t可选值:\r\tblue(蓝票)\r\tred(红票)",
- "example" : "blue"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户id,支付宝端的申请id存在的时候也不需要传,其他情况下,当同步的是蓝票时,必传,红票时不需传。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "original_blue_invoice_code" : {
- "type" : "string",
- "description" : "仅用于同步红票,原始蓝票发票代码,同步红票时必传(全电票时为空)",
- "example" : "2328742873"
- },
- "original_blue_invoice_no" : {
- "type" : "string",
- "description" : "仅用于同步红票,原始蓝票发票号码,同步红票时必传",
- "example" : "9288277173"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "商户交易流水号,不可为空串;\r\t传入红票时请注意,此字段的值要和蓝票保持一致",
- "example" : "2016010139992003"
- },
- "out_invoice_id" : {
- "type" : "string",
- "description" : "商户唯一开票申请业务流水号,同一个isv下不能重复",
- "example" : "20160707399929991001"
- },
- "register_address" : {
- "type" : "string",
- "description" : "开票单位地址",
- "example" : "天目山路黄龙时代广场B座"
- },
- "register_bank_account" : {
- "type" : "string",
- "description" : "开票单位开户行账号",
- "example" : "6332000023949993"
- },
- "register_bank_name" : {
- "type" : "string",
- "description" : "开票单位开户行名称",
- "example" : "西湖区建行"
- },
- "register_name" : {
- "type" : "string",
- "description" : "开票单位",
- "example" : "支付宝(杭州)信息技术有限公司"
- },
- "register_no" : {
- "type" : "string",
- "description" : "纳税人识别号,不可为空串",
- "example" : "J8374LK29387"
- },
- "register_phone_no" : {
- "type" : "string",
- "description" : "开票人电话,支持座机和手机两种格式",
- "example" : "13200029932"
- },
- "sum_amount" : {
- "type" : "string",
- "description" : "价税合计",
- "example" : "2000.00"
- },
- "tax_amount" : {
- "type" : "string",
- "description" : "税额",
- "example" : "1000.00"
- },
- "tax_type" : {
- "type" : "string",
- "description" : "税种\t可选值:\tPLAIN:增值税电子普通发票\tALL_ELECTRONIC_GENERAL:电子发票(普通发票)\tALL_ELECTRONIC_SPECIAL:电子发票(增值税专用发票)\tSPECIAL:增值税专用发票\tPLAIN_INVOICE:增值税普通发票\tFINANCIAL_ELECTRONIC_BILL:财政电子票据",
- "example" : "PLAIN"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户id,支付宝端的申请id存在的时候也不需要传,其他情况下,当同步的是蓝票时,必传,红票时不需传。",
- "example" : "2088399922382233"
- }
- }
- },
- "InvoiceOutputInfo" : {
- "type" : "object",
- "properties" : {
- "check_code" : {
- "type" : "string",
- "description" : "发票防伪码,验证码"
- },
- "checker" : {
- "type" : "string",
- "description" : "票面上复核人信息。"
- },
- "clerk" : {
- "type" : "string",
- "description" : "票面上开票员信息。"
- },
- "ex_tax_amount" : {
- "type" : "string",
- "description" : "不含税金额,票面上的不含税金额,单位(元),保留两位小数。"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码"
- },
- "invoice_content" : {
- "type" : "array",
- "description" : "发票明细项。",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceItemOpenModel"
- }
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "开票日期,格式如:YYYY-MM-DD。"
- },
- "invoice_img_url" : {
- "type" : "string",
- "description" : "发票预览图片地址"
- },
- "invoice_kind" : {
- "type" : "string",
- "description" : "标识发票的类型,PLAIN:增值税电子普通发票;SPECIAL:增值税专用发票;PLAIN_INVOICE:增值税普通发票;SALSE_INVOICE:机动车销售统一发票 ;PAPER_INVOICE:增值税普通发票(卷式)。"
- },
- "invoice_memo" : {
- "type" : "string",
- "description" : "票面上备注信息。"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码"
- },
- "invoice_title" : {
- "$ref" : "#/components/schemas/InvoiceTitleOpenModel"
- },
- "invoice_type" : {
- "type" : "string",
- "description" : "标识是红票还是蓝票,RED:红票;BLUE:蓝票"
- },
- "ori_blue_inv_code" : {
- "type" : "string",
- "description" : "红票情况下,必须填入原始蓝票的发票代码。"
- },
- "ori_blue_inv_no" : {
- "type" : "string",
- "description" : "红票情况下,必须填入原始蓝票的发票号码。"
- },
- "payee" : {
- "type" : "string",
- "description" : "票面上收款人信息。"
- },
- "payee_address_tel" : {
- "type" : "string",
- "description" : "票面上销售方地址、电话信息。"
- },
- "payee_bank_name_account" : {
- "type" : "string",
- "description" : "票面上销售方开户行及账号。"
- },
- "payee_name" : {
- "type" : "string",
- "description" : "票面上销售方企业名称。"
- },
- "payee_register_no" : {
- "type" : "string",
- "description" : "票面上销售方税号信息。"
- },
- "sum_amount" : {
- "type" : "string",
- "description" : "价税合计,票面上的总开票金额,单位(元),保留两位小数,sum_amount=ex_tax_amount+tax_amount。"
- },
- "tax_amount" : {
- "type" : "string",
- "description" : "合计税额,票面上的合计税额,单位(元),保留两位小数。"
- }
- }
- },
- "InvoicePDFSynModel" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "支付宝开票申请id。\t当userId为空时,必填;\t如果在开票过程中,是通过支付宝提交的申请到开票服务方,支付宝会带上开票申请在支付宝生成的申请id,开票服务方在回传发票的时候只需要回传这个申请id,不用获取用户的userId,支付宝可以根据申请id将发票归集到对应的用户名下",
- "example" : "2016112800152005000000000239"
- },
- "extend_fields" : {
- "type" : "string",
- "description" : "预留的扩展字段,格式如:key1=value1\\nkey2=value2\\nkey3=value3,字段之间以\\n(换行符)分隔。",
- "example" : "m_invoice_detail_url=http://127.0.0.1:8080/invoice/detail.action?fpdm= 1234567&fphm=123456"
- },
- "file_base" : {
- "type" : "string",
- "description" : "base64化的字符串",
- "example" : "5LqR5YyW56iO5o6nDQoNCjIuMjjnur/kuIrlj6/llK7ljZYNCg0KVzHvvJrlrozmiJDnlJ/kuqflj5H"
- },
- "file_download_type" : {
- "type" : "string",
- "description" : "PDF类型文件填写PDF,\tOFD类型文件填写ofd,\tJPG类型文件填写JPG(JPG文件请先询问对接人当前是否支持)",
- "example" : "PDF"
- },
- "file_download_url" : {
- "type" : "string",
- "description" : "发票文件下载地址。",
- "example" : "http://img.hadalo.com/aa/kq/ddhrtdefgxKVXXXXa6apXXXXXXXXXX.pdf"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户id,当apply_id为空时,open_id必填",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_invoice_id" : {
- "type" : "string",
- "description" : "外部ISV的唯一发票标识",
- "example" : "2088100022223333"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户userId;\t当apply_id为空时,userId必填",
- "example" : "2088399922382233"
- },
- "zip" : {
- "type" : "string",
- "description" : "压缩方式",
- "example" : "zip"
- }
- }
- },
- "InvoiceSendOpenModel" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "支付宝端的申请id。如果在开票过程中,是通过支付宝提交的申请到机构端,支付宝会带上开票申请在支付宝生成的申请id,机构在回传发票的时候只需要回传这个申请id,不用获取用户的uid,支付宝可以根据申请id将发票归集到对应的用户名下",
- "example" : "2016112800152005000000000239"
- },
- "check_code" : {
- "type" : "string",
- "description" : "票面上的校验码信息。",
- "example" : "15170246985745164986"
- },
- "checker" : {
- "type" : "string",
- "description" : "票面上复核人信息。",
- "example" : "李四"
- },
- "clerk" : {
- "type" : "string",
- "description" : "票面上开票员信息。",
- "example" : "赵吴"
- },
- "ex_tax_amount" : {
- "type" : "string",
- "description" : "不含税金额,票面上的不含税金额,单位(元),保留两位小数。",
- "example" : "100.00"
- },
- "extend_fields" : {
- "type" : "string",
- "description" : "预留的扩展字段,格式如:key1=value1\\nkey2=value2\\nkey3=value3,字段之间以\\n分隔。",
- "example" : "m_invoice_detail_url=http://196.021.871.011:8080/invoice/detail.action?fpdm= 4112740003&fphm=41791003"
- },
- "file_download_type" : {
- "type" : "string",
- "description" : "下载版式文件类型,需要回传文件下载链接的情况下必传,\t取值范围:PDF,JPG,OFD",
- "example" : "PDF"
- },
- "file_download_url" : {
- "type" : "string",
- "description" : "发票版式文件下载地址。",
- "example" : "http://img.hadalo.com/aa/kq/ddhrtdefgxKVXXXXa6apXXXXXXXXXX.pdf"
- },
- "financial_electronic_type" : {
- "type" : "string",
- "description" : "财政电子票据子类型,当tax_type=FINANCIAL_ELECTRONIC_BILL时要求必填 可选值如下: 01:非税收入通用票据 02:非税收入专用票据 03:非税收入一般缴款书 04:资金往来结算票据 05:公益事业捐赠票据 06:医疗收费票据 07:社会团体会费票据 08:社会保险基金票据 09:工会经费收入票据 99:其他财政票据",
- "example" : "MEDICAL_ELECTRONIC_BILL"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码,该字段与invoice_no构成一张发票的唯一标识。",
- "example" : "4112740003"
- },
- "invoice_content" : {
- "type" : "array",
- "description" : "发票明细项。",
- "items" : {
- "$ref" : "#/components/schemas/InvoiceItemOpenModel"
- }
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "开票日期,格式如:YYYY-MM-DD。",
- "example" : "2017-10-10"
- },
- "invoice_kind" : {
- "type" : "string",
- "description" : "标识发票的类型,\tPLAIN:增值税电子普通发票;\tSPECIAL:增值税专用发票;\tALL_ELECTRONIC_GENERAL:电子发票(普通发票);\tALL_ELECTRONIC_SPECIAL:电子发票(增值税专用发票);\tPLAIN_INVOICE:增值税普通发票;\tFINANCIAL_ELECTRONIC_BILL:财政电子票据;",
- "example" : "PLAIN"
- },
- "invoice_memo" : {
- "type" : "string",
- "description" : "票面上备注信息。",
- "example" : "订单号:2017120800001"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码,该字段与invoice_code构成一张发票的唯一标识。",
- "example" : "41791003"
- },
- "invoice_title" : {
- "$ref" : "#/components/schemas/InvoiceTitleOpenModel"
- },
- "invoice_type" : {
- "type" : "string",
- "description" : "标识是红票还是蓝票,RED:红票;BLUE:蓝票。",
- "example" : "BLUE"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户userId,当发送红字发票时,即invoice_type=RED时,可选填;或者apply_id不为空的时候,可选填;其他情况必填。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "ori_blue_inv_code" : {
- "type" : "string",
- "description" : "红票情况下,必须填入原始蓝票的发票代码(全电票时为空)。",
- "example" : "4112740002"
- },
- "ori_blue_inv_no" : {
- "type" : "string",
- "description" : "红票情况下,必须填入原始蓝票的发票号码。",
- "example" : "41791002"
- },
- "out_invoice_id" : {
- "type" : "string",
- "description" : "外部发票id,isv生成发票之后所生成的发票流水号,主要用做存储。",
- "example" : "201710283459661232435535"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "该发票基于的实际交易流水号。",
- "example" : "20171023293456785924325"
- },
- "payee" : {
- "type" : "string",
- "description" : "票面上收款人信息。",
- "example" : "张三"
- },
- "payee_address_tel" : {
- "type" : "string",
- "description" : "票面上销售方地址、电话信息。",
- "example" : "杭州市西湖区某某办公楼 0571-237405862"
- },
- "payee_bank_name_account" : {
- "type" : "string",
- "description" : "票面上销售方开户行及账号。",
- "example" : "西湖区建行11111111111"
- },
- "payee_register_name" : {
- "type" : "string",
- "description" : "票面上销售方企业名称。",
- "example" : "支付宝(杭州)信息技术有限公司"
- },
- "payee_register_no" : {
- "type" : "string",
- "description" : "票面上销售方税号信息。",
- "example" : "310101000000090"
- },
- "sum_amount" : {
- "type" : "string",
- "description" : "价税合计,票面上的总开票金额,单位(元),保留两位小数,sum_amount=ex_tax_amount+tax_amount。",
- "example" : "101.00"
- },
- "tax_amount" : {
- "type" : "string",
- "description" : "合计税额,票面上的合计税额,单位(元),保留两位小数。",
- "example" : "1.00"
- },
- "trade_list" : {
- "type" : "array",
- "description" : "交易内容,非必填但是不可以传空值,如果无需回传trade_list则不需要传该对象",
- "items" : {
- "$ref" : "#/components/schemas/EinvTrade"
- }
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户userId,当发送红字发票时,即invoice_type=RED时,可选填;或者apply_id不为空的时候,可选填;其他情况必填。",
- "example" : "2088399922382233"
- }
- }
- },
- "InvoiceTitleModel" : {
- "type" : "object",
- "properties" : {
- "is_default" : {
- "type" : "boolean",
- "description" : "是否为用户设置默认抬头\r\t字段值包括两种情况:\r\tfalse(非默认)\r\ttrue(默认抬头)"
- },
- "logon_id" : {
- "type" : "string",
- "description" : "支付宝用户登录名"
- },
- "open_bank_account" : {
- "type" : "string",
- "description" : "银行账号"
- },
- "open_bank_name" : {
- "type" : "string",
- "description" : "开户银行"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户id"
- },
- "tax_register_no" : {
- "type" : "string",
- "description" : "纳税人识别号"
- },
- "tele_phone_no" : {
- "type" : "string",
- "description" : "用户私人手机号"
- },
- "title_name" : {
- "type" : "string",
- "description" : "抬头名称"
- },
- "title_type" : {
- "type" : "string",
- "description" : "抬头类型\r\t字段值有两种情况抬:\r\tPERSONAL(个人) \r\tCORPORATION(单位)"
- },
- "user_address" : {
- "type" : "string",
- "description" : "地址"
- },
- "user_email" : {
- "type" : "string",
- "description" : "邮箱"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户id"
- },
- "user_mobile" : {
- "type" : "string",
- "description" : "电话号码"
- }
- }
- },
- "InvoiceTitleOpenModel" : {
- "type" : "object",
- "properties" : {
- "payer_address_tel" : {
- "type" : "string",
- "description" : "票面上的购买方地址、电话"
- },
- "payer_bank_name_account" : {
- "type" : "string",
- "description" : "票面上的购买方开户行及账户"
- },
- "payer_register_no" : {
- "type" : "string",
- "description" : "票面上的购买方纳税人识别号"
- },
- "title_name" : {
- "type" : "string",
- "description" : "票面上的购买方名称"
- }
- }
- },
- "InvoiceUkDTO" : {
- "type" : "object",
- "properties" : {
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码"
- }
- }
- },
- "IssueQuotaCheckInfo" : {
- "type" : "object",
- "properties" : {
- "issue_quota" : {
- "type" : "string",
- "description" : "发放金额",
- "example" : "10"
- },
- "message" : {
- "type" : "string",
- "description" : "校验结果的原因",
- "example" : "金额不能为负数"
- },
- "owner_id" : {
- "type" : "string",
- "description" : "入参的 owner_id",
- "example" : "13055551515"
- },
- "owner_open_id" : {
- "type" : "string",
- "description" : "入参的 owner_open_id",
- "example" : "abcdxxxx"
- },
- "owner_type" : {
- "type" : "string",
- "description" : "owner_type",
- "example" : "PHONE"
- },
- "result" : {
- "type" : "boolean",
- "description" : "校验结果",
- "example" : "true"
- },
- "user_name" : {
- "type" : "string",
- "description" : "用户姓名",
- "example" : "测试"
- }
- }
- },
- "IssueRuleIdInfo" : {
- "type" : "object",
- "properties" : {
- "issue_rule_id" : {
- "type" : "string",
- "description" : "发放规则id",
- "example" : "2022031000152621000000000001"
- },
- "outer_source_id" : {
- "type" : "string",
- "description" : "外部发放规则id",
- "example" : "123456"
- }
- }
- },
- "IssueRuleInfo" : {
- "type" : "object",
- "properties" : {
- "effective_period" : {
- "type" : "string",
- "description" : "生效时间段"
- },
- "invalid_mode" : {
- "type" : "integer",
- "description" : "累计类型,默认为0\t枚举:0(不可累计)、1(可累计)、2(累计天数)、3(累计到指定日期)"
- },
- "invalid_mode_value" : {
- "type" : "string",
- "description" : "累计类型值"
- },
- "issue_amount_value" : {
- "type" : "string",
- "description" : "发放金额"
- },
- "issue_end_date" : {
- "type" : "string",
- "description" : "发放规则有效结束时间"
- },
- "issue_rule_id" : {
- "type" : "string",
- "description" : "发放规则id"
- },
- "issue_rule_name" : {
- "type" : "string",
- "description" : "发放规则名称"
- },
- "issue_start_date" : {
- "type" : "string",
- "description" : "发放规则有效起始时间"
- },
- "issue_type" : {
- "type" : "string",
- "description" : "发放类型"
- },
- "outer_source_id" : {
- "type" : "string",
- "description" : "外部发放规则id"
- },
- "quota_type" : {
- "type" : "string",
- "description" : "额度类型"
- },
- "share_mode" : {
- "type" : "integer",
- "description" : "是否可转赠"
- },
- "target_id" : {
- "type" : "string",
- "description" : "目标id"
- },
- "target_type" : {
- "type" : "string",
- "description" : "发放规则归属的目标类型"
- }
- }
- },
- "IssueTargetInfoContent" : {
- "type" : "object",
- "properties" : {
- "issue_quota" : {
- "type" : "string",
- "description" : "发放金额",
- "example" : "10"
- },
- "owner_id" : {
- "type" : "string",
- "description" : "切换open_id前请使用:owner类型为PHONE时该字段表示员工手机号,owner类型为为EMPLOYEE时该字段表示为员工支付宝uid,owner类型为为ENTERPRISE_PAY_UID时该字段表示为员工企业码id",
- "example" : "13055551515"
- },
- "owner_open_id" : {
- "type" : "string",
- "description" : "切换open_id后请使用:owner类型,PHONE为员工手机号,EMPLOYEE为员工open_id",
- "example" : "abcdxxxx"
- },
- "owner_type" : {
- "type" : "string",
- "description" : "owner类型,用来表示owner_id的类型;\tenterprise_id支持PHONE、ENTERPRISE_PAY_UID类型;account_id支持EMPLOYEE类型",
- "example" : "PHONE"
- },
- "user_name" : {
- "type" : "string",
- "description" : "员工姓名",
- "example" : "测试"
- }
- }
- },
- "IsvAuthSceneInfo" : {
- "type" : "object",
- "properties" : {
- "scene_code" : {
- "type" : "string",
- "description" : "运营场景编码\tOPERATION_POINTS:管理运营积分\tSHOP_MANAGE:管理球房信息\tMINI_APP_OPER:运营支付宝小程序\tPROMOTION_MANAGE:运营营销活动",
- "example" : "PROMOTION_MANAGE"
- },
- "scene_permissions" : {
- "type" : "string",
- "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",
- "example" : "SHOP_MANAGE_BASE"
- }
- }
- },
- "IsvExpandOpporDTO" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "商机地址",
- "example" : "紫金港路与文二西路交叉口向西500米西城广场"
- },
- "leads_id" : {
- "type" : "string",
- "description" : "商机Id",
- "example" : "2020092100009315"
- },
- "name" : {
- "type" : "string",
- "description" : "商机名称",
- "example" : "测试"
- },
- "oppor_id" : {
- "type" : "string",
- "description" : "商机作业Id",
- "example" : "2020092200010868"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部幂等唯一键",
- "example" : "out_biz_no"
- },
- "phone" : {
- "type" : "string",
- "description" : "商机联系电话",
- "example" : "13812312323"
- },
- "status" : {
- "type" : "string",
- "description" : "商机作业状态",
- "example" : "EXPANDED"
- }
- }
- },
- "IsvMerchantSalesDetailRequest" : {
- "type" : "object",
- "properties" : {
- "coupons_quantity" : {
- "type" : "string",
- "description" : "配券数",
- "example" : "1"
- },
- "device_detail" : {
- "type" : "string",
- "description" : "设备详情",
- "example" : "此处为该设备的详细描述"
- },
- "merchant_pid" : {
- "type" : "string",
- "description" : "商户pid",
- "example" : "2088301912341234"
- },
- "mini_appid" : {
- "type" : "string",
- "description" : "小程序appid,若推广的商品不为小程序,则不传此参数",
- "example" : "2018082861168647"
- },
- "operation_place" : {
- "type" : "string",
- "description" : "作业地",
- "example" : "浙江省杭州市西湖区蚂蚁A空间"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,传isv系统生成的账单号,需要保证唯一",
- "example" : "2021000000000"
- },
- "promotor_pid" : {
- "type" : "string",
- "description" : "推广服务商(S2)pid",
- "example" : "2088301912341234"
- },
- "sales_amount" : {
- "type" : "string",
- "description" : "销售金额,这里填写的是整数,单位为分,比如1元,那么输入100",
- "example" : "100"
- },
- "sales_quantity" : {
- "type" : "string",
- "description" : "销售笔数",
- "example" : "100"
- },
- "sub_promotor_pid" : {
- "type" : "string",
- "description" : "推广服务商(S2)子账号pid",
- "example" : "2088301912341234"
- },
- "write_off_amount" : {
- "type" : "string",
- "description" : "核销金额,这里填写的是整数,单位为分,比如1元,那么输入100",
- "example" : "100"
- },
- "write_off_quantity" : {
- "type" : "string",
- "description" : "核销数",
- "example" : "1"
- }
- }
- },
- "IsvSpiDefinition" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "ISV自定义的标识功能的业务代码,不可重复",
- "example" : "hotline"
- },
- "description" : {
- "type" : "string",
- "description" : "spi功能描述",
- "example" : "spi功能描述"
- },
- "icon" : {
- "type" : "string",
- "description" : "功能图标文件url",
- "example" : "http://127.0.0.1/"
- },
- "spi_endpoint" : {
- "type" : "string",
- "description" : "spi接口服务地址",
- "example" : "http://127.0.0.1/"
- },
- "spi_ext_property" : {
- "type" : "string",
- "description" : "spi接口扩展参数,json格式字符串",
- "example" : "{\"key\":\"value\"}"
- },
- "spi_key" : {
- "type" : "string",
- "description" : "CCM预先定义的spi key,与插件位置有关",
- "example" : "spi_alipay_iservice_ccm_menu"
- },
- "spi_name" : {
- "type" : "string",
- "description" : "SPI 名称",
- "example" : "热线工作台"
- }
- }
- },
- "ItemConsultInfo" : {
- "type" : "object",
- "properties" : {
- "item_id" : {
- "type" : "string",
- "description" : "商品id",
- "example" : "20210105003"
- },
- "promo_amount" : {
- "type" : "string",
- "description" : "商品优惠金额,单位为元",
- "example" : "3.0"
- },
- "promo_count" : {
- "type" : "string",
- "description" : "商品优惠数量",
- "example" : "2"
- }
- }
- },
- "ItemConsultRequest" : {
- "type" : "object",
- "properties" : {
- "item_id" : {
- "type" : "string",
- "description" : "商品id",
- "example" : "20210105003"
- },
- "price" : {
- "type" : "string",
- "description" : "商品单价,单位为元,最多2位小数",
- "example" : "20.29"
- },
- "quantity" : {
- "type" : "string",
- "description" : "商品数量",
- "example" : "3"
- }
- }
- },
- "ItemExtInfo" : {
- "type" : "object",
- "properties" : {
- "ext_key" : {
- "type" : "string",
- "description" : "扩展信息的key"
- },
- "ext_value" : {
- "type" : "string",
- "description" : "扩展信息的值"
- }
- }
- },
- "ItemInfo" : {
- "type" : "object",
- "properties" : {
- "item_ids" : {
- "type" : "array",
- "description" : "券适用的单品码列表\r\t最少配置1个单品码\r\t最多配置500个单品码",
- "items" : {
- "type" : "string"
- },
- "example" : "0000123,0000124"
- },
- "item_imgs" : {
- "type" : "array",
- "description" : "单品图片列表\r\t单品图片不能超过3张",
- "items" : {
- "type" : "string"
- },
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "item_link" : {
- "type" : "string",
- "description" : "单品券详细介绍跳转链接",
- "example" : "www.taobao.com"
- },
- "item_name" : {
- "type" : "string",
- "description" : "单品名称",
- "example" : "单品名称"
- },
- "item_text" : {
- "type" : "string",
- "description" : "单品券说明",
- "example" : "单品券说明"
- },
- "max_discount_num" : {
- "type" : "string",
- "description" : "单品券适用的商品列表中,每一个商品最高可享受优惠的件数; \r\t如:券适用于A,B两种商品,该字段设置为1,则用券A,B两种商品每种最多只有一件可享受优惠;",
- "example" : "1"
- },
- "min_consume_num" : {
- "type" : "string",
- "description" : "单品券适用商品列表中,每种商品享受优惠最低购买件数的门槛;\r\t如:券适用于A,B两种商品,该字段设置为3,则A,B两种商品每种最少需要购买3件才可享受优惠;",
- "example" : "1"
- },
- "original_price" : {
- "type" : "string",
- "description" : "单品的原价,单位元\r\t必须为合法金额类型字符串,如9.99",
- "example" : "28.88"
- },
- "sku_min_consume" : {
- "type" : "string",
- "description" : "券适用SKU的最低消费金额门槛\r\t如券适用A,B两个SKU,该字段设置的值为100,则订单中购买A,B两个SKU的合计金额需大于100元才可用券",
- "example" : "10"
- },
- "total_max_discount_num" : {
- "type" : "string",
- "description" : "如果一个单品券适用A,B,C三个单品,若设置了该字段为2,则在一笔交易中,A,B,C三个单品加起来最多只有俩件能够享受优惠",
- "example" : "10"
- }
- }
- },
- "ItemLabelCreateInfo" : {
- "type" : "object",
- "properties" : {
- "label_key" : {
- "type" : "string",
- "description" : "标签键\r\tOIL_NUM:油号",
- "example" : "OIL_NUM"
- },
- "label_value" : {
- "type" : "string",
- "description" : "标签值:\r\tOIL_NUM对应的值为:95# 92# 98# 等等",
- "example" : "95#"
- }
- }
- },
- "ItemLabelModifyInfo" : {
- "type" : "object",
- "properties" : {
- "label_key" : {
- "type" : "string",
- "description" : "标签键\r\tOIL_NUM:油号",
- "example" : "OIL_NUM"
- },
- "label_value" : {
- "type" : "string",
- "description" : "标签值:\r\tOIL_NUM对应的值为:95# 92# 98# 等等",
- "example" : "95#"
- }
- }
- },
- "ItemModel" : {
- "type" : "object",
- "properties" : {
- "creator_id" : {
- "type" : "string",
- "description" : "创建者id",
- "example" : "1"
- },
- "creator_type" : {
- "type" : "string",
- "description" : "创建者类型",
- "example" : "SYSTEM"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "商品扩展信息:可以解析成 Map<String, String> 的 json string",
- "example" : "{\"DISCOUNT\": \"88\"}"
- },
- "front_category_id" : {
- "type" : "string",
- "description" : "前台类目id",
- "example" : "2018091300502200002600105884"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "商品创建时间",
- "example" : "2018-09-25 19:41:34"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "商品更新时间",
- "example" : "2018-09-25 19:41:34"
- },
- "item_id" : {
- "type" : "string",
- "description" : "商品id",
- "example" : "2018091300502200004300103587"
- },
- "name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "西红柿炒蛋"
- },
- "sku_list" : {
- "type" : "array",
- "description" : "商品sku列表",
- "items" : {
- "$ref" : "#/components/schemas/ItemSkuInfo"
- }
- },
- "sort" : {
- "type" : "integer",
- "description" : "商品排序",
- "example" : "0"
- },
- "status" : {
- "type" : "string",
- "description" : "商品状态",
- "example" : "EFFECT"
- },
- "target_id" : {
- "type" : "string",
- "description" : "商户归属主体id",
- "example" : "2018090600502000000022501261"
- },
- "target_type" : {
- "type" : "string",
- "description" : "商品归属主体类型:5(商铺)",
- "example" : "5"
- },
- "type" : {
- "type" : "string",
- "description" : "商品类型",
- "example" : "STANDARD_GOODS"
- }
- }
- },
- "ItemOrderInfo" : {
- "type" : "object",
- "properties" : {
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息,请参见产品文档。小程序订单助手业务中,扩展参数必须传递素材id;其他业务场景参见对应的产品文档。",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "item_id" : {
- "type" : "string",
- "description" : "商品 id",
- "example" : "2018111300502228000000177053"
- },
- "item_name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "苹果"
- },
- "quantity" : {
- "type" : "integer",
- "description" : "商品数量(单位:自拟)。\t小程序订单助手业务中,为必传;其他业务场景参见对应的产品文档。",
- "example" : "20"
- },
- "sku_id" : {
- "type" : "string",
- "description" : "商品 sku id",
- "example" : "2018111300502205000000176601"
- },
- "status" : {
- "type" : "string",
- "description" : "商品状态枚举,默认无需传入,如需使用请联系业务负责人",
- "example" : "PAID"
- },
- "status_desc" : {
- "type" : "string",
- "description" : "商品状态描述,默认无需传入,如需使用请联系业务负责人",
- "example" : "已付款"
- },
- "unit" : {
- "type" : "string",
- "description" : "商品规格",
- "example" : "斤"
- },
- "unit_price" : {
- "type" : "string",
- "description" : "商品单价(单位:元)。\t小程序订单助手业务中,为必传;其他业务场景参见对应的产品文档。",
- "example" : "13.18"
- }
- }
- },
- "ItemPlanContentDO" : {
- "type" : "object",
- "properties" : {
- "codes" : {
- "type" : "array",
- "description" : "对应服务库编码",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"400000000207968215\"]"
- },
- "type" : {
- "type" : "string",
- "description" : "条目类型,必须, 商品:ITEM",
- "example" : "ITEM"
- }
- }
- },
- "ItemPromoInfo" : {
- "type" : "object",
- "properties" : {
- "item_consult_list" : {
- "type" : "array",
- "description" : "商品咨询列表",
- "items" : {
- "$ref" : "#/components/schemas/ItemConsultInfo"
- }
- },
- "item_cover_pic" : {
- "type" : "string",
- "description" : "单品封面图",
- "example" : "https://gw.alipayobjects.com/mdn/rms_9822d7/afts/img/A*1F4eSaaPHRQAAAAAAAAAAABkARQnAQ"
- },
- "item_desc" : {
- "type" : "string",
- "description" : "单品描述",
- "example" : "宝洁洗护用品促销"
- },
- "item_detail_pic_list" : {
- "type" : "array",
- "description" : "单品详情图列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"https://gw.alipayobjects.com/mdn/rms_9822d7/afts/img/A*1F4eSaaPHRQAAAAAAAAAAABkARQnAQ\"]"
- },
- "item_name" : {
- "type" : "string",
- "description" : "单品名称",
- "example" : "宝洁洗护用品"
- }
- }
- },
- "ItemPropertyInfo" : {
- "type" : "object",
- "properties" : {
- "property_key" : {
- "type" : "string",
- "description" : "属性名称"
- },
- "property_value_list" : {
- "type" : "array",
- "description" : "属性值列表",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "ItemSkuCreateInfo" : {
- "type" : "object",
- "properties" : {
- "cost_price" : {
- "type" : "integer",
- "description" : "成本价,单位分",
- "example" : "100"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "SKU扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/ItemExtInfo"
- }
- },
- "external_sku_id" : {
- "type" : "string",
- "description" : "外部SKU ID",
- "example" : "201909161232534324124123"
- },
- "inventory" : {
- "type" : "integer",
- "description" : "库存",
- "example" : "100"
- },
- "original_price" : {
- "type" : "integer",
- "description" : "标价,单位分",
- "example" : "100"
- },
- "price" : {
- "type" : "integer",
- "description" : "售价,单位分",
- "example" : "100"
- }
- }
- },
- "ItemSkuInfo" : {
- "type" : "object",
- "properties" : {
- "cost_price" : {
- "type" : "integer",
- "description" : "成本价,单位分",
- "example" : "100"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "SKU扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/ItemExtInfo"
- }
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2018-09-26 11:12:54"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "更新时间",
- "example" : "2018-09-26 11:12:54"
- },
- "item_id" : {
- "type" : "string",
- "description" : "商品id",
- "example" : "2018091300502200004400104166"
- },
- "original_price" : {
- "type" : "integer",
- "description" : "标价,单位分",
- "example" : "100"
- },
- "price" : {
- "type" : "integer",
- "description" : "售价,单位分",
- "example" : "100"
- },
- "sku_id" : {
- "type" : "string",
- "description" : "商品sku id",
- "example" : "2018091300502200001600103072"
- },
- "status" : {
- "type" : "string",
- "description" : "商品SKU状态:EFFECT、INVALID",
- "example" : "EFFECT"
- }
- }
- },
- "ItemSkuModifyInfo" : {
- "type" : "object",
- "properties" : {
- "cost_price" : {
- "type" : "integer",
- "description" : "成本价,单位分",
- "example" : "100"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "SKU扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/ItemExtInfo"
- }
- },
- "external_sku_id" : {
- "type" : "string",
- "description" : "外部skuId(sku_id不为空时作为普通更新项,sku_id为空时作为更新key,sku_id和该字段同时为空则新增该条数据)",
- "example" : "20190916123124234235234"
- },
- "inventory" : {
- "type" : "integer",
- "description" : "库存",
- "example" : "100"
- },
- "original_price" : {
- "type" : "integer",
- "description" : "标价,单位分",
- "example" : "100"
- },
- "price" : {
- "type" : "integer",
- "description" : "售价,单位分",
- "example" : "100"
- },
- "sku_id" : {
- "type" : "string",
- "description" : "skuId",
- "example" : "2018092600502220000000100274"
- },
- "status" : {
- "type" : "string",
- "description" : "商品SKU状态:EFFECT、INVALID",
- "example" : "EFFECT"
- }
- }
- },
- "ItemSkuPropertyInfo" : {
- "type" : "object",
- "properties" : {
- "property_key" : {
- "type" : "string",
- "description" : "属性"
- },
- "property_value" : {
- "type" : "string",
- "description" : "属性值"
- }
- }
- },
- "JinyouTestFive" : {
- "type" : "object",
- "properties" : {
- "f_1_f" : {
- "$ref" : "#/components/schemas/JinyouTestFour"
- },
- "f_2_f" : {
- "$ref" : "#/components/schemas/JinyouTestThree"
- },
- "f_3_openid" : {
- "type" : "string",
- "description" : "1",
- "example" : "xxxxxscddcd"
- },
- "f_3_y" : {
- "type" : "string",
- "description" : "1",
- "example" : "1"
- },
- "f_4_n" : {
- "type" : "string",
- "description" : "3",
- "example" : "2"
- }
- }
- },
- "JinyouTestFour" : {
- "type" : "object",
- "properties" : {
- "f_1_openid" : {
- "type" : "string",
- "description" : "1",
- "example" : "xxxxxscddcd"
- },
- "f_1_y" : {
- "type" : "string",
- "description" : "1",
- "example" : "1"
- },
- "f_2_f" : {
- "$ref" : "#/components/schemas/JinyouTestThree"
- },
- "f_3_openid" : {
- "type" : "string",
- "description" : "1",
- "example" : "xxxxxscddcd"
- },
- "f_3_y" : {
- "type" : "integer",
- "description" : "1",
- "example" : "1"
- }
- }
- },
- "JinyouTestOne" : {
- "type" : "object",
- "properties" : {
- "o_1_n" : {
- "type" : "string",
- "description" : "1"
- },
- "o_2_openid" : {
- "type" : "string",
- "description" : "o_2_y"
- },
- "o_2_y" : {
- "type" : "string",
- "description" : "o_2_y"
- },
- "o_3_openid" : {
- "type" : "string",
- "description" : "o_3_y"
- },
- "o_3_y" : {
- "type" : "integer",
- "description" : "o_3_y"
- }
- }
- },
- "JinyouTestThree" : {
- "type" : "object",
- "properties" : {
- "th_1_f" : {
- "$ref" : "#/components/schemas/JinyouTestTwo"
- },
- "th_2_n" : {
- "type" : "string",
- "description" : "无枚举值"
- },
- "th_3_n" : {
- "type" : "boolean",
- "description" : "1"
- }
- }
- },
- "JinyouTestTwo" : {
- "type" : "object",
- "properties" : {
- "t_1_openid" : {
- "type" : "string",
- "description" : "1"
- },
- "t_1_y" : {
- "type" : "string",
- "description" : "1"
- },
- "t_2_f" : {
- "$ref" : "#/components/schemas/JinyouTestOne"
- },
- "t_3_n" : {
- "type" : "string",
- "description" : "1"
- }
- }
- },
- "JinyoutestopenidOne" : {
- "type" : "object",
- "properties" : {
- "c_1" : {
- "type" : "string",
- "description" : "我晚点",
- "example" : "4"
- },
- "q" : {
- "type" : "string",
- "description" : "1",
- "example" : "1"
- },
- "q_1_open_id" : {
- "type" : "string",
- "description" : "1",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- }
- }
- },
- "JinyoutestopenidThree" : {
- "type" : "object",
- "properties" : {
- "a" : {
- "type" : "string",
- "description" : "12",
- "example" : "a_noopenid无"
- },
- "b" : {
- "type" : "string",
- "description" : "有openid,无枚举,有注意事项",
- "example" : "21"
- },
- "b_open_id" : {
- "type" : "string",
- "description" : "有openid,无枚举,有注意事项",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "f" : {
- "$ref" : "#/components/schemas/JinyoutestopenidTwo"
- }
- }
- },
- "JinyoutestopenidTwo" : {
- "type" : "object",
- "properties" : {
- "a" : {
- "type" : "string",
- "description" : "无openid,有枚举值,有注意事项",
- "example" : "hjkhjc"
- },
- "b" : {
- "type" : "string",
- "description" : "有openid,无枚举值,无注意事项",
- "example" : "7878789"
- },
- "b_open_id" : {
- "type" : "string",
- "description" : "有openid,无枚举值,无注意事项,openid有注意事项",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "f" : {
- "$ref" : "#/components/schemas/JinyoutestopenidOne"
- }
- }
- },
- "JobWorthJobdata" : {
- "type" : "object",
- "properties" : {
- "certificate_grant_institution" : {
- "type" : "string",
- "description" : "证书发证机构",
- "example" : "浙江省杭州市西湖区红十字会"
- },
- "certificate_id" : {
- "type" : "string",
- "description" : "证书编号",
- "example" : "abcd12345678"
- },
- "certificate_level" : {
- "type" : "string",
- "description" : "证书等级:中文",
- "example" : "初级"
- },
- "certificate_name" : {
- "type" : "string",
- "description" : "证书名称",
- "example" : "健康管理师"
- },
- "certificate_pic_id" : {
- "type" : "string",
- "description" : "工作证图片上传接口返回的id",
- "example" : "abcd12345678"
- },
- "company_name" : {
- "type" : "string",
- "description" : "公司名称",
- "example" : "上海依多企业管理有限公司"
- },
- "degree" : {
- "type" : "string",
- "description" : "学历,可以用以下字段HIGHSCHOOL_AND_BELOW(高中及以下),POLYTECHNIC(中专),COLLEGE(大专),BACHELOR(本科),MASTER(硕士),DOCTOR_AND_ABOVE(博士及以上)",
- "example" : "BACHELOR"
- },
- "delivery_position_id" : {
- "type" : "string",
- "description" : "商户侧投递岗位id",
- "example" : "xxxxx"
- },
- "delivery_time" : {
- "type" : "integer",
- "description" : "投递时间戳",
- "example" : "9999"
- },
- "education_status" : {
- "type" : "string",
- "description" : "教育状态只有两种,GRADUATE(毕业),STUDY(未毕业)",
- "example" : "GRADUATE"
- },
- "entry_no" : {
- "type" : "string",
- "description" : "报名流水号",
- "example" : "1235446"
- },
- "exam_score" : {
- "type" : "string",
- "description" : "考试分数",
- "example" : "85"
- },
- "head_pic_id" : {
- "type" : "string",
- "description" : "工作证图片上传接口返回的id",
- "example" : "abcd123456"
- },
- "intention_city" : {
- "type" : "string",
- "description" : "求职意向,城市的adccode 例如110000(北京市)",
- "example" : "110000"
- },
- "issue_date" : {
- "type" : "string",
- "description" : "发证日期,ms时间戳",
- "example" : "1668743509506"
- },
- "job_id" : {
- "type" : "string",
- "description" : "岗位对应的职业id,字段参考https://www.yuque.com/wx3dkp/gwckr4/bs03t3",
- "example" : "5278A2C2001"
- },
- "job_name" : {
- "type" : "string",
- "description" : "职业名称",
- "example" : "后端开发"
- },
- "ka_job_id" : {
- "type" : "string",
- "description" : "商户职业Id",
- "example" : "abc123"
- },
- "ka_job_name" : {
- "type" : "string",
- "description" : "商户职业名称",
- "example" : "电工"
- },
- "ka_profession_id" : {
- "type" : "string",
- "description" : "商户行业Id",
- "example" : "abc"
- },
- "ka_profession_name" : {
- "type" : "string",
- "description" : "商户行业名称",
- "example" : "建筑业"
- },
- "location" : {
- "type" : "string",
- "description" : "省份",
- "example" : "浙江"
- },
- "month" : {
- "type" : "string",
- "description" : "毕业的月",
- "example" : "7"
- },
- "once_token" : {
- "type" : "string",
- "description" : "对应类型相关接口生成",
- "example" : "12345678qwe123"
- },
- "profession_id" : {
- "type" : "string",
- "description" : "岗位对应的行业id,字段参考https://www.yuque.com/wx3dkp/gwckr4/bs03t3",
- "example" : "5378A2C2"
- },
- "profession_name" : {
- "type" : "string",
- "description" : "行业名称",
- "example" : "IT互联网"
- },
- "salary_max" : {
- "type" : "string",
- "description" : "求职意向,薪水范围,不能低于salary_min",
- "example" : "3000"
- },
- "salary_min" : {
- "type" : "string",
- "description" : "求职意向,薪水范围,不能高于salary_max",
- "example" : "1000"
- },
- "salary_unit" : {
- "type" : "string",
- "description" : "薪资单位,元/日(DAY)、元/次(TIME)、元/月(MONTH)、元/小时(HOUR)、元/件 (NUM)、元/周 (WEEK)、其他 (OTHER)",
- "example" : "DAY"
- },
- "school_name" : {
- "type" : "string",
- "description" : "学校",
- "example" : "浙江大学"
- },
- "skill_name" : {
- "type" : "string",
- "description" : "用英文逗号分隔,最多6项",
- "example" : "木工,电工"
- },
- "start_time" : {
- "type" : "string",
- "description" : "参加工作的时间,格式形如 2011-07",
- "example" : "2011-07"
- },
- "type" : {
- "type" : "string",
- "description" : "信息类型",
- "example" : "certificate"
- },
- "valid_date_end" : {
- "type" : "string",
- "description" : "有效期:开始结束 ms 时间戳",
- "example" : "1668743509506"
- },
- "valid_date_start" : {
- "type" : "string",
- "description" : "有效期:开始时间 ms时间戳",
- "example" : "1668743509506"
- },
- "verify_status" : {
- "type" : "string",
- "description" : "校验状态",
- "example" : "\"true\""
- },
- "work_desc" : {
- "type" : "string",
- "description" : "工作描述",
- "example" : "岗位职责1、负责自媒体公众号的图片创作编辑2、擅长手绘图像、漫画图像制作3、思维活跃,能够根据所给要求完成一篇情景剧的漫画图案设计4、能够配合工作需求完成工作任务岗位要求1、漫画设计功底较强,能够独立完成创作编辑2、会使用相关修图软件,能独立处理图片3、有相关工作经验优先,艺术学院在校大学生优先"
- },
- "work_end_time" : {
- "type" : "string",
- "description" : "工作结束时间,毫秒级时间戳",
- "example" : "1651138651000"
- },
- "work_property" : {
- "type" : "string",
- "description" : "岗位属性:全职(FULL_TIME)或者兼职(PART_TIME)",
- "example" : "FULL_TIME"
- },
- "work_start_time" : {
- "type" : "string",
- "description" : "工作开始时间,毫秒级时间戳",
- "example" : "1651138484000"
- },
- "year" : {
- "type" : "string",
- "description" : "毕业的年",
- "example" : "2011"
- }
- }
- },
- "JobWorthPositionInfo" : {
- "type" : "object",
- "properties" : {
- "age" : {
- "type" : "string",
- "description" : "职位要求-年龄要求\t无要求(不传)、28岁以上(OVER28)、40岁以下(BELOW40)、25岁~35岁(25TO35)",
- "example" : "OVER28"
- },
- "benefit" : {
- "type" : "string",
- "description" : "福利,现有标签,最多5个标签,使用英文,分割\t参考\thttps://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.1",
- "example" : "五险一金,双休"
- },
- "certifications" : {
- "type" : "string",
- "description" : "技能、证书等要求,比如学历、健康证、普通话或其他技能证书等",
- "example" : "特种工作证,健康证"
- },
- "company_certificate" : {
- "type" : "string",
- "description" : "发布企业统一社会信用代码",
- "example" : "91330200750364874C"
- },
- "company_logo_afts_id" : {
- "type" : "string",
- "description" : "上传的aftsid",
- "example" : "xxxx"
- },
- "company_name" : {
- "type" : "string",
- "description" : "企业工商全称",
- "example" : "杭州希德利餐饮管理有限公司"
- },
- "count" : {
- "type" : "integer",
- "description" : "招聘人数",
- "example" : "8"
- },
- "education" : {
- "type" : "string",
- "description" : "学历要求,HIGHSCHOOL_AND_BELOW(高中及以下),POLYTECHNIC(中专),COLLEGE(大专),BACHELOR(本科),MASTER(硕士),DOCTOR_AND_ABOVE(博士及以上)",
- "example" : "BACHELOR"
- },
- "gender" : {
- "type" : "string",
- "description" : "无要求(不传)、男或者女",
- "example" : "男"
- },
- "ka_position_id" : {
- "type" : "string",
- "description" : "合作方岗位id自定义保持唯一性",
- "example" : "20881234567"
- },
- "position_desc" : {
- "type" : "string",
- "description" : "长文本描述",
- "example" : "职位描述"
- },
- "position_id" : {
- "type" : "string",
- "description" : "工作证岗位库的职位主键,只有更新职位信息时需要传入。第一次传入岗位后返回",
- "example" : "123456789012345678901234"
- },
- "position_job_id" : {
- "type" : "string",
- "description" : "岗位对应的行业id,字段参考https://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.2",
- "example" : "5378A2C2001"
- },
- "position_job_name" : {
- "type" : "string",
- "description" : "岗位对应的职业名称",
- "example" : "服务端开发工程师"
- },
- "position_profession_id" : {
- "type" : "string",
- "description" : "岗位对应的职业id,字段参考https://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.2",
- "example" : "5278A2C2"
- },
- "position_property" : {
- "type" : "string",
- "description" : "岗位属性:全职(FULL_TIME)或者兼职(PART_TIME)",
- "example" : "FULL_TIME"
- },
- "position_status" : {
- "type" : "string",
- "description" : "职位的状态,只有上架(UNCHECK)和下架(OFFLINE)两种",
- "example" : "UNCHECK"
- },
- "position_title" : {
- "type" : "string",
- "description" : "短文本描述",
- "example" : "日结洗碗工"
- },
- "salary_max" : {
- "type" : "string",
- "description" : "薪水范围,不能低于salary_min",
- "example" : "3000"
- },
- "salary_min" : {
- "type" : "string",
- "description" : "薪水范围,不能高于salary_max",
- "example" : "2000"
- },
- "salary_type" : {
- "type" : "string",
- "description" : "薪资类型:日结(DAY)、月结(MONTH)、周结(WEEK)、完工结(DONE)、其他(OTHER)",
- "example" : "DAY"
- },
- "salary_unit" : {
- "type" : "string",
- "description" : "薪资单位,元/日(DAY)、元/次(TIME)、元/月(MONTH)、元/小时(HOUR)、元/件 (NUM)、元/周 (WEEK)、其他 (OTHER)",
- "example" : "DAY"
- },
- "skill_tag" : {
- "type" : "string",
- "description" : "岗位需要的技能标签,最多5个,使用英文逗号分割",
- "example" : "java,linux"
- },
- "skip_url" : {
- "type" : "string",
- "description" : "职位跳转链接,当前只支持支付宝小程序,也就是alipays://platformapi/ 开头",
- "example" : "alipays://platformapi/startapp?"
- },
- "work_city" : {
- "type" : "string",
- "description" : "高德city code,例:北京010,线上工作9999\t参考https://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.3",
- "example" : "010"
- },
- "work_longitude" : {
- "type" : "string",
- "description" : "经纬度,前面是经度,后面是纬度,使用英文逗号隔开",
- "example" : "116.396574,39.992706"
- },
- "work_region" : {
- "type" : "string",
- "description" : "工作地所在的区县,使用高德的adcode,例:朝阳区110105\t参考https://www.yuque.com/docs/share/805e9840-ae9d-499c-b566-46b3b8c9fb2d?# 《4.1 服务端接入----职位传入接口》的1.3.1.2",
- "example" : "110105"
- },
- "work_year" : {
- "type" : "string",
- "description" : "工作年限,1年以下(ONE)、1~3年(THREE)、3~5年(FIVE)、5~10年(TEN)、10年以上(OVER_TEN)",
- "example" : "TEN"
- }
- }
- },
- "JointAccountBillDetail" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "消费金额,单位:元",
- "example" : "100.00"
- },
- "bill_no" : {
- "type" : "string",
- "description" : "账单业务号",
- "example" : "2022051204200202001000473989_2022051230000200020601732777"
- },
- "biz_date" : {
- "type" : "string",
- "description" : "业务时间",
- "example" : "2022-05-01 00:00:00"
- },
- "biz_no" : {
- "type" : "string",
- "description" : "订单号",
- "example" : "2020102604200204001063507418"
- },
- "enterprise_id" : {
- "type" : "string",
- "description" : "企业ID",
- "example" : "2088000000000000"
- },
- "in_out" : {
- "type" : "string",
- "description" : "1-退款,2-支付",
- "example" : "1"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户支付宝uid",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "title" : {
- "type" : "string",
- "description" : "账单标题",
- "example" : "消费账单"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户支付宝uid",
- "example" : "2088000000000000"
- }
- }
- },
- "JointAccountBillDetailDTO" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088900976746215"
- },
- "amount" : {
- "type" : "string",
- "description" : "消费金额",
- "example" : "1"
- },
- "bill_no" : {
- "type" : "string",
- "description" : "账单业务号",
- "example" : "2022051204200202001000473989_2022051230000200020601732777"
- },
- "biz_date" : {
- "type" : "string",
- "description" : "业务时间",
- "example" : "2020-01-01 00:00"
- },
- "biz_no" : {
- "type" : "string",
- "description" : "订单号",
- "example" : "2020102604200204001063507418"
- },
- "in_out" : {
- "type" : "string",
- "description" : "1-退款,2-支付",
- "example" : "1"
- },
- "open_id" : {
- "type" : "string",
- "description" : "共同账户消费的成员openid",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "外部交易单号,正向支付为外部交易单号,逆向退款是为外部退款单号",
- "example" : "Q1312312312313"
- },
- "seller_full_name" : {
- "type" : "string",
- "description" : "间连商户显示二级商户全名,直连、直付通则显示一级商户全名。企业商户该字段不脱敏,非企业商户该字段会脱敏",
- "example" : "信息有限公司"
- },
- "seller_logon_id" : {
- "type" : "string",
- "description" : "收款方登录号信息。间连商户显示二级商户的登录号信息;直连、直付通显示一级商户的登录号信息;该字段脱敏",
- "example" : "19927441769"
- },
- "title" : {
- "type" : "string",
- "description" : "账单标题",
- "example" : "新电途(银通新能源:325616137201026100441546497"
- },
- "user_id" : {
- "type" : "string",
- "description" : "共同账户消费的成员ID",
- "example" : "2088900970000001"
- }
- }
- },
- "JointAccountDTO" : {
- "type" : "object",
- "properties" : {
- "account_id" : {
- "type" : "string",
- "description" : "共同账户ID",
- "example" : "2088000011111"
- },
- "account_name" : {
- "type" : "string",
- "description" : "共同账户账本名称",
- "example" : "企业代付"
- },
- "user_id" : {
- "type" : "string",
- "description" : "账本创建人会员号",
- "example" : "2088900976740001"
- }
- }
- },
- "JointAccountMemberDTO" : {
- "type" : "object",
- "properties" : {
- "account_quota" : {
- "$ref" : "#/components/schemas/JointAccountQuotaDTO"
- },
- "member_ext_info" : {
- "$ref" : "#/components/schemas/MemberExtInfo"
- },
- "name" : {
- "type" : "string",
- "description" : "姓名,脱敏输出",
- "example" : "张三"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "status" : {
- "type" : "string",
- "description" : "成员状态",
- "example" : "NORMAL"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户会员号",
- "example" : "2088123123132"
- }
- }
- },
- "JointAccountMemberInfoRespDTO" : {
- "type" : "object",
- "properties" : {
- "open_id" : {
- "type" : "string",
- "description" : "(群成员)支付宝侧用户唯一标识",
- "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc"
- },
- "operate_role" : {
- "type" : "string",
- "description" : "成员角色:<br>\t-MASTER:创建人<br>\t-ADMIN:管理员<br>\t-MEMBER:群成员<br>",
- "example" : "MASTER"
- },
- "user_id" : {
- "type" : "string",
- "description" : "(群成员)支付宝侧用户唯一标识",
- "example" : "2088900976746215"
- }
- }
- },
- "JointAccountMemberList" : {
- "type" : "object",
- "properties" : {
- "account_quota" : {
- "type" : "array",
- "description" : "额度模型",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountQuotaDTO"
- }
- },
- "open_id" : {
- "type" : "string",
- "description" : "成员openId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "成员ID",
- "example" : "2088900976746215"
- }
- }
- },
- "JointAccountMemberRespDTO" : {
- "type" : "object",
- "properties" : {
- "account_quota" : {
- "type" : "array",
- "description" : "额度模型",
- "items" : {
- "$ref" : "#/components/schemas/JointAccountQuotaDTO"
- }
- },
- "logon_id" : {
- "type" : "string",
- "description" : "成员支付宝登录号",
- "example" : "13111122222"
- },
- "name" : {
- "type" : "string",
- "description" : "姓名",
- "example" : "成员名称"
- },
- "status" : {
- "type" : "string",
- "description" : "员工当前状态:\t\t邀请中(PROCESSING)、正常(NORMAL)",
- "example" : "状态"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户支付宝会员号",
- "example" : "2088900976746215"
- }
- }
- },
- "JointAccountQuotaDTO" : {
- "type" : "object",
- "properties" : {
- "custom_begin_date" : {
- "type" : "string",
- "description" : "自定义周期起始日期,精确到分钟,yyyy-MM-dd HH:mm"
- },
- "custom_end_date" : {
- "type" : "string",
- "description" : "自定义周期结束日期,精确到分钟,yyyy-MM-dd HH:mm"
- },
- "quota_dimension" : {
- "type" : "string",
- "description" : "额度维度\t单笔上限:ONCE\t日:DAY\t月:MONTH\t季度:QUARTER\t年:YEAR\t终身:LIFETIME\t一次性使用额度:ONLYONE"
- },
- "quota_total" : {
- "type" : "string",
- "description" : "协议额度"
- }
- }
- },
- "JointAccountQuotaRespDTO" : {
- "type" : "object",
- "properties" : {
- "custom_begin_date" : {
- "type" : "string",
- "description" : "额度生效起始日期,精确到分钟。\t格式:yyyy-MM-dd HH:mm"
- },
- "custom_end_date" : {
- "type" : "string",
- "description" : "额度失效结束日期,精确到分钟。\t格式:yyyy-MM-dd HH:mm"
- },
- "quota_dimension" : {
- "type" : "string",
- "description" : "额度维度"
- },
- "quota_remain" : {
- "type" : "string",
- "description" : "剩余额度"
- },
- "quota_remain_count" : {
- "type" : "string",
- "description" : "展示额度剩余可用次数,-1表示无限次"
- },
- "quota_total" : {
- "type" : "string",
- "description" : "协议额度"
- },
- "quota_used" : {
- "type" : "string",
- "description" : "已用额度"
- }
- }
- },
- "JourneyLocation" : {
- "type" : "object",
- "properties" : {
- "aoi_id" : {
- "type" : "string",
- "description" : "支付宝域内aoiId"
- },
- "city" : {
- "type" : "string",
- "description" : "城市名"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "location_id" : {
- "type" : "string",
- "description" : "支付宝侧地点id"
- },
- "location_id_type" : {
- "type" : "string",
- "description" : "地点id类型"
- },
- "merchant_division_id" : {
- "type" : "string",
- "description" : "商户侧行政区划代码"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "(废弃)商户侧地点id"
- },
- "merchant_poi" : {
- "type" : "string",
- "description" : "商户侧poi信息"
- },
- "name" : {
- "type" : "string",
- "description" : "地点名称"
- },
- "poi_id" : {
- "type" : "string",
- "description" : "支付宝域内poiId"
- }
- }
- },
- "JourneyMerchantInfo" : {
- "type" : "object",
- "properties" : {
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "logo" : {
- "type" : "string",
- "description" : "商户logo链接",
- "example" : "logo.jpg"
- },
- "name" : {
- "type" : "string",
- "description" : "商家名称",
- "example" : "中国航空公司"
- },
- "short_name" : {
- "type" : "string",
- "description" : "商家简称",
- "example" : "中国航空"
- }
- }
- },
- "JourneyServiceChangeInfo" : {
- "type" : "object",
- "properties" : {
- "change_status" : {
- "type" : "string",
- "description" : "变更状态",
- "example" : "DELAY"
- },
- "detail_url" : {
- "type" : "string",
- "description" : "详情url",
- "example" : "alipays://platformapi/startApp?appId=2019050664392666&page=page/test/detailurl"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "remind_content" : {
- "type" : "string",
- "description" : "提醒内容",
- "example" : "该航班预计起飞时间由2月1日14:40延后至2月2日01:00。"
- }
- }
- },
- "KeyWordInfo" : {
- "type" : "object",
- "properties" : {
- "apply_no" : {
- "type" : "string",
- "description" : "审核单号"
- },
- "audit_key_word" : {
- "type" : "string",
- "description" : "审核中的关键词"
- },
- "audit_reason" : {
- "type" : "string",
- "description" : "审核人的备注信息"
- },
- "audit_time" : {
- "type" : "string",
- "description" : "审核时间"
- },
- "config_id" : {
- "type" : "string",
- "description" : "关键词配置ID"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间"
- },
- "key_word" : {
- "type" : "string",
- "description" : "审核完成的关键词"
- },
- "status" : {
- "type" : "string",
- "description" : "关键词当前状态"
- }
- }
- },
- "Keyword" : {
- "type" : "object",
- "properties" : {
- "color" : {
- "type" : "string",
- "description" : "当前文字颜色"
- },
- "value" : {
- "type" : "string",
- "description" : "模板中占位符的值"
- }
- }
- },
- "KoubeiMarketingCampaignIntelligentPromoBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiMarketingCampaignIntelligentPromoBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "operator_context" : {
- "$ref" : "#/components/schemas/PromoOperatorInfo"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部业务id,请保持足够的复杂,方便定位数据来源",
- "example" : "65165813-a51a-44b9-984c-c75022ecbaf7"
- },
- "owner_info" : {
- "$ref" : "#/components/schemas/PromoOperatorInfo"
- },
- "page_info" : {
- "$ref" : "#/components/schemas/PromoPageInfo"
- }
- }
- },
- "KoubeiMarketingCampaignIntelligentPromoBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "intelligent_promos" : {
- "type" : "array",
- "description" : "查询返回的营销活动列表信息",
- "items" : {
- "$ref" : "#/components/schemas/IntelligentPromo"
- }
- },
- "page_result" : {
- "$ref" : "#/components/schemas/PromoPageResult"
- }
- }
- },
- "KoubeiMarketingCampaignIntelligentShopConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiMarketingCampaignIntelligentShopConsultModel" : {
- "type" : "object",
- "properties" : {
- "biz_scene" : {
- "type" : "string",
- "description" : "根据不同场景,过滤不同的球房数据,可参考值:CREATE_NORMAL:正常创建;RENEWAL_OLD:原方案续期;RENEWAL_NEW:新方案续期",
- "example" : "CREATE_NORMAL"
- },
- "operator_context" : {
- "$ref" : "#/components/schemas/PromoOperatorInfo"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部业务id,请尽量保持足够的复杂,方便定位数据来源",
- "example" : "65165813-a51a-44b9-984c-c75022ecbaf7"
- },
- "page_index" : {
- "type" : "string",
- "description" : "当前页码,默认:“1”",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "每页项数[1, 500], 默认500",
- "example" : "500"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户和支付宝交互时,用于代表支付宝分配给商户ID",
- "example" : "208805674367676"
- },
- "plan_id" : {
- "type" : "string",
- "description" : "智能营销方案的方案id(template_code替代该值,无需传递)",
- "example" : "20170909000000000013690911001490"
- },
- "promo_id" : {
- "type" : "string",
- "description" : "结合biz_scene一起使用,值为RENEWAL_OLD:原方案续期、RENEWAL_NEW:新方案续期,要求必传",
- "example" : "20180111000000000613692911004200"
- },
- "template_code" : {
- "type" : "string",
- "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版;",
- "example" : "GENERAL_EXPERIENCE"
- }
- }
- },
- "KoubeiMarketingCampaignIntelligentShopConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "items" : {
- "type" : "string",
- "description" : "总共项数",
- "example" : "1000"
- },
- "shops" : {
- "type" : "array",
- "description" : "智能营销方案符合标准的球房列表",
- "items" : {
- "$ref" : "#/components/schemas/IntelligentPromoShopSummaryInfo"
- }
- }
- }
- },
- "KoubeiMarketingCampaignIntelligentTemplateConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiMarketingCampaignIntelligentTemplateConsultModel" : {
- "type" : "object",
- "properties" : {
- "biz_scene" : {
- "type" : "string",
- "description" : "根据不同场景,过滤不同的球房数据,可参考值:CREATE_NORMAL:正常创建;RENEWAL_OLD:原方案续期;RENEWAL_NEW:新方案续期",
- "example" : "CREATE_NORMAL"
- },
- "operator_context" : {
- "$ref" : "#/components/schemas/PromoOperatorInfo"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "代表了一次请求,作为业务幂等性控制",
- "example" : "432455ttrytryrt543"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户和支付宝交互时,用于代表支付宝分配给商户ID",
- "example" : "208805674367676"
- },
- "promo_id" : {
- "type" : "string",
- "description" : "结合biz_scene一起使用,值为RENEWAL_OLD:原方案续期、RENEWAL_NEW:新方案续期,要求必传",
- "example" : "20180111000000000613692911004200"
- },
- "shop_ids" : {
- "type" : "array",
- "description" : "默认(不传shop_ids球房)使用待体验球房匹配适用模板,指定球房列表(shop_ids)后根据入参匹配适用模板",
- "items" : {
- "type" : "string"
- },
- "example" : "2017090100077000000045190283"
- }
- }
- },
- "KoubeiMarketingCampaignIntelligentTemplateConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "template_codes" : {
- "type" : "array",
- "description" : "营销模板的编号\r\tGENERAL_NORMAL:全场普通;\r\tITEM_NORMAL:单品普通;\r\tCROWD_NORMAL: 千人千券普通;",
- "items" : {
- "type" : "string"
- },
- "example" : "GENERAL_EXPERIENCE"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityBatchqueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "PERMISSION_DENY", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityBatchqueryModel" : {
- "type" : "object",
- "properties" : {
- "page_no" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页显示内容数",
- "example" : "10"
- },
- "status" : {
- "type" : "string",
- "description" : "活动状态",
- "example" : "EFFECTIVE"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityBatchqueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activities" : {
- "type" : "array",
- "description" : "活动信息",
- "items" : {
- "$ref" : "#/components/schemas/MerchantOnlineActivityOpenModel"
- }
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityCloseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PERMISSION_DENY", "INVALID_PARAMETER", "SYSTEM_ERROR", "OPERATE_STATUS_NOT_ALLOWED", "MERCHANT_ACTIVITY_PROCESSING", "MERCHANT_ACTIVITY_NOT_EXIST" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityCloseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "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>(商户创建商品代金券)获取。",
- "example" : "2018xxxx"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityCloseResponseModel" : {
- "type" : "object"
- },
- "KoubeiMarketingCampaignItemMerchantactivityCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityCreateModel" : {
- "type" : "object",
- "properties" : {
- "count_limit" : {
- "type" : "integer",
- "description" : "活动优惠次数限制,必须设置。\t说明:活动优惠总次数限制不能小于1,且不能大于99999999。",
- "example" : "99"
- },
- "count_limit_per_day" : {
- "type" : "integer",
- "description" : "活动优惠单日次数限制。\t说明:活动优惠单日次数限制不能为负数,不能大于99999999;0表示不限制。\t",
- "example" : "99"
- },
- "count_limit_per_user" : {
- "type" : "integer",
- "description" : "活动单用户限次。\t说明:活动单用户总限次不能为负数,不能大于999。0表示不限制。",
- "example" : "99"
- },
- "count_limit_per_user_per_day" : {
- "type" : "integer",
- "description" : "活动单用户单日限次。\t说明:活动单用户单日限次不能为负数,不能大于999。0表示不限制。",
- "example" : "99"
- },
- "crowd" : {
- "type" : "string",
- "description" : "群规则,枚举支持:\t* DEFAULT: 全部用户;\t* ONLINE_NEWCOMER:在线购买新人;\t* MEMBER:会员。",
- "example" : "DEFAULT"
- },
- "deduct_amount" : {
- "type" : "string",
- "description" : "代金券面额,单位为元。\t说明:代金券面额格式必须为#.##,代金券面额需小于49999。",
- "example" : "5.00"
- },
- "external_callback_url" : {
- "type" : "string",
- "description" : "外部回调地址,最大字符数不能超过500。",
- "example" : "xxxx"
- },
- "external_unique_id" : {
- "type" : "string",
- "description" : "外部id,需保证同一账户下唯一。\t说明:最小长度不能低于13,最大长度不能超过64。",
- "example" : "4b203fe6c11548bcabd8da5bb087a83b"
- },
- "gmt_end" : {
- "type" : "string",
- "description" : "活动结束时间。活动结束时间需大于活动开始时间。格式为\"yyyy-MM-dd HH:mm:ss\"。",
- "example" : "2018-12-26 21:07:23"
- },
- "gmt_start" : {
- "type" : "string",
- "description" : "活动开始时间。格式为\"yyyy-MM-dd HH:mm:ss\"。",
- "example" : "2017-12-26 21:07:23"
- },
- "item_ids" : {
- "type" : "array",
- "description" : "商品列表。\t说明:参加活动的商品列表不能为空,最大个数不能超过100。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088xxxxx\",\"2088xxxx\"]"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注。\t说明:备注最大字符数不能超过500。",
- "example" : "备注"
- },
- "min_cost" : {
- "type" : "string",
- "description" : "使用门槛,即满 min_cost 元可用,使用门槛必须大于券面额,单位为元。\t说明:使用门槛格式必须为#.##。",
- "example" : "5.00"
- },
- "obtain_manually" : {
- "type" : "boolean",
- "description" : "是否手动领取,本期只支持true",
- "example" : "true"
- },
- "voucher_info" : {
- "$ref" : "#/components/schemas/MerchantActivityVoucherInfo"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "运营活动id",
- "example" : "208888888"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityModifyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityModifyModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动Id",
- "example" : "2018xxxx"
- },
- "external_callback_url" : {
- "type" : "string",
- "description" : "外部回调地址",
- "example" : "xxxx"
- },
- "gmt_end" : {
- "type" : "string",
- "description" : "活动结束日期,只可以延长\r\t格式要求为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-12-26 21:07:23"
- },
- "item_ids" : {
- "type" : "array",
- "description" : "活动商品列表,只可以增加",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018xxxx\",\"2018xxxx\"]"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "voucher_info" : {
- "$ref" : "#/components/schemas/MerchantActivityModifyVoucherInfo"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityModifyResponseModel" : {
- "type" : "object"
- },
- "KoubeiMarketingCampaignItemMerchantactivityQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "PERMISSION_DENY", "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiMarketingCampaignItemMerchantactivityQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动Id",
- "example" : "2018xxxx"
- },
- "camp_id" : {
- "type" : "string",
- "description" : "营销活动id",
- "example" : "2018xxxx"
- },
- "count_limit" : {
- "type" : "integer",
- "description" : "活动优惠次数限制",
- "example" : "99"
- },
- "count_limit_per_day" : {
- "type" : "integer",
- "description" : "活动优惠单日次数限制",
- "example" : "99"
- },
- "count_limit_per_user" : {
- "type" : "integer",
- "description" : "活动单用户限次",
- "example" : "99"
- },
- "count_limit_per_user_per_day" : {
- "type" : "integer",
- "description" : "活动单用户单日限次",
- "example" : "99"
- },
- "crowd" : {
- "type" : "string",
- "description" : "人群规则\r\tDEFAULT:全部用户\r\tONLINE_NEWCOMER:在线购买新人\r\tMEMBER:会员",
- "example" : "DEFAULT"
- },
- "deduct_amount" : {
- "type" : "string",
- "description" : "代金券面额",
- "example" : "5.00"
- },
- "external_unique_id" : {
- "type" : "string",
- "description" : "外部Id",
- "example" : "xxxxxxx"
- },
- "gmt_end" : {
- "type" : "string",
- "description" : "活动结束时间\r\t格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-12-26 21:07:23"
- },
- "gmt_start" : {
- "type" : "string",
- "description" : "活动开始时间,格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-12-26 21:07:23"
- },
- "item_ids" : {
- "type" : "array",
- "description" : "商品列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018xxxx\",\"2018xxxx\"]"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "min_cost" : {
- "type" : "string",
- "description" : "使用门槛,满X元可用,使用门槛必须大于券面额",
- "example" : "5.00"
- },
- "obtain_manually" : {
- "type" : "boolean",
- "description" : "是否手动领取,本期只支持true",
- "example" : "true"
- },
- "voucher_info" : {
- "$ref" : "#/components/schemas/MerchantActivityVoucherInfo"
- }
- }
- },
- "KoubeiMemberDataIsvCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiMemberDataIsvCreateModel" : {
- "type" : "object",
- "properties" : {
- "gmt_member_card_last_active" : {
- "type" : "string",
- "description" : "会员卡最近一次激活时间,格式:yyyy-MM-dd HH:MM:ss",
- "example" : "2017-02-17 20:11:54"
- },
- "gmt_merber_card_create" : {
- "type" : "string",
- "description" : "会员卡领取时间(开卡时间),格式:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-02-17 20:11:54"
- },
- "member_card_id" : {
- "type" : "string",
- "description" : "会员卡卡号:唯一标识会员卡的ID,partner_id+member_card_id是唯一主键,若partner_id+member_card_id已存在,则做更新会员卡操作。",
- "example" : "2014323100009"
- },
- "member_card_type" : {
- "type" : "string",
- "description" : "会员卡类型:\r\t微卡、炫酷卡、儿童卡、璀璨卡、金卡银卡、白金卡等",
- "example" : "微卡"
- },
- "member_ship" : {
- "$ref" : "#/components/schemas/MemberShip"
- },
- "member_source" : {
- "type" : "string",
- "description" : "会员来源:\r\t1:weixin(微信);2:alipay(支付宝);3:offline(线下会员卡);4:other(其他)",
- "example" : "alipay"
- },
- "member_source_desc" : {
- "type" : "string",
- "description" : "会员来源描述:如美团、饿了么等",
- "example" : "美团"
- },
- "member_status" : {
- "type" : "string",
- "description" : "会员状态:\r\t1:生效;0:失效",
- "example" : "1"
- },
- "outer_member_info" : {
- "$ref" : "#/components/schemas/OuterMemberInfo"
- },
- "parter_id" : {
- "type" : "string",
- "description" : "商户的PID",
- "example" : "2088902248579233"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "会员卡领取的球房ID",
- "example" : "2016101700077000000003436443"
- }
- }
- },
- "KoubeiMemberDataIsvCreateResponseModel" : {
- "type" : "object"
- },
- "KoubeiTradeOrderConsultErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "SHOP_NOT_EXIST", "ILLEGAL_SHOP_STATUS", "USER_NOT_EXIST", "HAS_NO_PRIVILEGE", "ACCESS_IS_FORBIDDEN" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "KoubeiTradeOrderConsultModel" : {
- "type" : "object",
- "properties" : {
- "apdid_token" : {
- "type" : "string",
- "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'}",
- "example" : "FItOt3WEvOe0Re4NLgrUINWSP8B2AVOdSp1YTotRG7LAJos1tPJMbes4/GTrJew5/ITdibdWlv8XsEnfwuCyntY6eAO0M84ivvie4JyH19vYUnk58HYVs3XnjzgSY0Uw"
- },
- "goods_info" : {
- "type" : "array",
- "description" : "商品明细列表。注意:单品总金额不能大于订单金额",
- "items" : {
- "$ref" : "#/components/schemas/GoodsInfo"
- }
- },
- "request_id" : {
- "type" : "string",
- "description" : "唯一请求id,开放者请确保每次请求的唯一性。",
- "example" : "0ad1e47b1500473065347103327127"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "支付宝球房编号",
- "example" : "2015051100077000000000000300"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单总金额,单位元,精确到小数点后两位,取值范围[0.01,999999999]。\t注意:如果同时传入了【不可打折金额】,【订单总金额】两者,则必须满足【不可打折金额】<=【订单总金额】。",
- "example" : "88.88"
- },
- "undiscountable_amount" : {
- "type" : "string",
- "description" : "不参与优惠计算的金额,单位为元,精确到小数点后两位,取值范围[0,999999999]。\t注意:如果同时传入了【不可打折金额】、【订单总金额】,则必须满足【不可打折金额】<=【订单总金额】。",
- "example" : "10.00"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户 Id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "example" : "2088212151390950"
- }
- }
- },
- "KoubeiTradeOrderConsultResponseModel" : {
- "type" : "object",
- "properties" : {
- "buyer_pay_amount" : {
- "type" : "string",
- "description" : "用户实付金额",
- "example" : "10.00"
- },
- "discount_detail" : {
- "type" : "array",
- "description" : "优惠信息",
- "items" : {
- "$ref" : "#/components/schemas/DiscountDetail"
- }
- },
- "m_card_detail" : {
- "$ref" : "#/components/schemas/MCardDetail"
- },
- "request_id" : {
- "type" : "string",
- "description" : "请求中的request_id",
- "example" : "874JKK4H5J43H3K35J4543K5J3K45J34KJ"
- }
- }
- },
- "LabelContext" : {
- "type" : "object",
- "properties" : {
- "a" : {
- "$ref" : "#/components/schemas/LabelFilter"
- }
- }
- },
- "LabelFilter" : {
- "type" : "object",
- "properties" : {
- "column_name" : {
- "type" : "string",
- "description" : "标签组名,商户自定义的标签固定为label_id_list,支付宝开放的标签详见<a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/FirstPartOfTagsFromAlipay.xlsx\">支付宝开放标签</a>",
- "example" : "label_id_list"
- },
- "op" : {
- "type" : "string",
- "description" : "操作符,支持=、!=、in三个操作符;其中in表示是某几个标签中的一个",
- "example" : "="
- },
- "values" : {
- "type" : "array",
- "description" : "标签数组,用于组装最后的表达式",
- "items" : {
- "type" : "string"
- },
- "example" : "100509"
- }
- }
- },
- "LabelRule" : {
- "type" : "object",
- "properties" : {
- "label_id" : {
- "type" : "string",
- "description" : "标签id"
- },
- "label_value" : {
- "type" : "string",
- "description" : "标签值,当有多个取值时用英文\",\"分隔,不允许传入下划线\"_\"、竖线\"|\"或者空格\" \"和方括号\"[\"、\"]\""
- },
- "operator" : {
- "type" : "string",
- "description" : "目前支持EQ(等于)、BETWEEN(范围)、IN(包含)三种操作符;每个标签支持的运算符可以通过<a href=\"https://docs.open.alipay.com/api_6/alipay.open.public.life.label.batchquery#sintq\">标签列表查询接口</a>获得。该字段允许为空,默认运算符为IN"
- }
- }
- },
- "LibraryInfo" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "description" : "知识库ID",
- "example" : "1"
- },
- "name" : {
- "type" : "string",
- "description" : "知识库名称",
- "example" : "商品库"
- },
- "tree_id" : {
- "type" : "integer",
- "description" : "类目ID",
- "example" : "12"
- },
- "update_time" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2020-12-31 23:59:59"
- }
- }
- },
- "LifeLabel" : {
- "type" : "object",
- "properties" : {
- "biz" : {
- "type" : "string",
- "description" : "该标签支持的业务列表,menu表示个性化菜单,extension表示个性化扩展区,message表示消息触达",
- "example" : "menu,extension,message"
- },
- "category" : {
- "type" : "string",
- "description" : "标签类目",
- "example" : "基础标签"
- },
- "data_type" : {
- "type" : "string",
- "description" : "标签值数据类型",
- "example" : "string"
- },
- "label_code" : {
- "type" : "string",
- "description" : "标签英文代码",
- "example" : "pps_user_gender"
- },
- "label_id" : {
- "type" : "string",
- "description" : "标签id,唯一标识一个标签",
- "example" : "10000"
- },
- "label_name" : {
- "type" : "string",
- "description" : "标签名",
- "example" : "性别"
- },
- "operator" : {
- "type" : "string",
- "description" : "该标签支持的运算符",
- "example" : "EQ"
- },
- "options" : {
- "type" : "array",
- "description" : "每个取值的业务含义",
- "items" : {
- "$ref" : "#/components/schemas/Option"
- }
- },
- "type" : {
- "type" : "string",
- "description" : "标签类型,目前分为common(通用标签)、custom(生活号自定义标签)、cloud(云实验室标签)",
- "example" : "common"
- }
- }
- },
- "LogisticInfo" : {
- "type" : "object",
- "properties" : {
- "channel" : {
- "type" : "string",
- "description" : "物流公司名称",
- "example" : "菜鸟"
- },
- "detail" : {
- "type" : "string",
- "description" : "物流详情",
- "example" : "[{\"time\":\"2022-09-09 09:09:09\",\"location\":\"北京\",\"operation\":\"揽收\"}]"
- },
- "logistic_id" : {
- "type" : "string",
- "description" : "物流id",
- "example" : "121414124124"
- },
- "ship_area" : {
- "type" : "string",
- "description" : "发货地",
- "example" : "北京"
- },
- "ship_period" : {
- "type" : "string",
- "description" : "发货时效",
- "example" : "48"
- },
- "status" : {
- "type" : "string",
- "description" : "物流状态",
- "example" : "已签收"
- },
- "stop_update_time" : {
- "type" : "string",
- "description" : "物流停更时间",
- "example" : "15"
- }
- }
- },
- "LogisticsAccountStatusDTO" : {
- "type" : "object",
- "properties" : {
- "audit_desc" : {
- "type" : "string",
- "description" : "商家在配送公司的账户的审核说明"
- },
- "logistics_code" : {
- "type" : "string",
- "description" : "配送公司物流编码。"
- },
- "logistics_name" : {
- "type" : "string",
- "description" : "配送公司名称。"
- },
- "status" : {
- "type" : "string",
- "description" : "账户状态,AUDITING:审核中,AUDIT_REJECT:审核驳回,VALID:已生效"
- }
- }
- },
- "LogisticsCompanyIstd" : {
- "type" : "object",
- "properties" : {
- "logistics_code" : {
- "type" : "string",
- "description" : "即时配送公司编码,由支付宝分配",
- "example" : "FENGNIAO"
- },
- "service_codes" : {
- "type" : "array",
- "description" : "即时配送公司服务代码列表",
- "items" : {
- "$ref" : "#/components/schemas/ServiceCodeIstd"
- }
- }
- }
- },
- "LogisticsCompanyResult" : {
- "type" : "object",
- "properties" : {
- "logistics_code" : {
- "type" : "string",
- "description" : "物流公司编码",
- "example" : "FENGNIAO"
- },
- "logistics_name" : {
- "type" : "string",
- "description" : "物流公司名称",
- "example" : "蜂鸟即配"
- }
- }
- },
- "LogisticsDetail" : {
- "type" : "object",
- "properties" : {
- "logistics_type" : {
- "type" : "string",
- "description" : "物流类型, \r\tPOST 平邮,\r\tEXPRESS 其他快递,\r\tVIRTUAL 虚拟物品,\r\tEMS EMS,\r\tDIRECT 无需物流。",
- "example" : "EXPRESS"
- }
- }
- },
- "LogisticsShopStatusDTO" : {
- "type" : "object",
- "properties" : {
- "audit_desc" : {
- "type" : "string",
- "description" : "商家在配送公司的账户的审核说明."
- },
- "logistics_code" : {
- "type" : "string",
- "description" : "配送公司物流编码。"
- },
- "logistics_name" : {
- "type" : "string",
- "description" : "配送公司名称。"
- },
- "status" : {
- "type" : "string",
- "description" : "球房状态,AUDITING:审核中,AUDIT_REJECT:审核驳回,VALID:已生效,UPDATING:更新中,WAIT_CREATE:待开通(存量球房若需要支持后面新增的配送公司,需要调用球房更新接口发起申请)"
- }
- }
- },
- "MCardDetail" : {
- "type" : "object",
- "properties" : {
- "available_amount" : {
- "type" : "string",
- "description" : "储值卡可用余额",
- "example" : "100000.00"
- },
- "name" : {
- "type" : "string",
- "description" : "储值卡名称",
- "example" : "商家储值卡"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "储值卡支付金额",
- "example" : "1000.00"
- }
- }
- },
- "MarketingDeliveryDetail" : {
- "type" : "object",
- "properties" : {
- "bind_id_list" : {
- "type" : "array",
- "description" : "投放详情绑定的模板id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"dsdadewdededede\",\"dedehduehdedue\"]"
- },
- "detail_id" : {
- "type" : "string",
- "description" : "投放详情id",
- "example" : "MDDadsdsw344r43defdefefe34321a"
- },
- "gmt_end" : {
- "type" : "string",
- "description" : "结束时间",
- "example" : "2022-01-01 00:00:00"
- },
- "gmt_start" : {
- "type" : "string",
- "description" : "开始时间",
- "example" : "2022-01-01 00:00:00"
- },
- "name" : {
- "type" : "string",
- "description" : "投放详情名称,取创建运营投放的title,未传title取券名称",
- "example" : "满200减20券"
- },
- "status" : {
- "type" : "string",
- "description" : "投放详情状态,INIT:下线状态,ON_LINE:上线状态",
- "example" : "ON_LINE"
- }
- }
- },
- "Marketingtest" : {
- "type" : "object",
- "properties" : {
- "test_21" : {
- "type" : "string",
- "description" : "测试描述"
- }
- }
- },
- "Marketingtestt" : {
- "type" : "object",
- "properties" : {
- "test_22" : {
- "$ref" : "#/components/schemas/Marketingtest"
- }
- }
- },
- "Matcher" : {
- "type" : "object",
- "properties" : {
- "identity_card" : {
- "type" : "string",
- "description" : "身份证号码,与user_id、mobile_no不能同时为空"
- },
- "mobile_no" : {
- "type" : "string",
- "description" : "手机号码,与user_id、identity_card不能同时为空"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户openid"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝用户id,2088开头16位长度的字符串,与mobile_no、identity_card不能同时为空"
- }
- }
- },
- "Material" : {
- "type" : "object",
- "properties" : {
- "articles" : {
- "type" : "array",
- "description" : "图文消息子消息项集合,单条消息最多6个子项,否则会发送失败",
- "items" : {
- "$ref" : "#/components/schemas/Article"
- }
- },
- "msg_type" : {
- "type" : "string",
- "description" : "消息类型,text:文本类型,image-text:图文类型。当消息类型为text时,text参数必传,当消息类型为image-text时,articles参数必传",
- "example" : "text"
- },
- "text" : {
- "$ref" : "#/components/schemas/Text"
- }
- }
- },
- "MaterialCreateInfo" : {
- "type" : "object",
- "properties" : {
- "content" : {
- "type" : "string",
- "description" : "素材内容(素材地址或素材KEY)"
- },
- "type" : {
- "type" : "string",
- "description" : "素材类型"
- }
- }
- },
- "MaterialField" : {
- "type" : "object",
- "properties" : {
- "field_name" : {
- "type" : "string",
- "description" : "素材字段名称,来源于素材规范定义的字段名称。注意一次素材提报中字段名称不能重复。",
- "example" : "serviceBigPic"
- },
- "field_value" : {
- "type" : "array",
- "description" : "素材字段值,素材字段提报的实际值,支持多值,具体的要求请查看素材规范或对应的产品文档。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"A*WXYTAswgww\"]"
- }
- }
- },
- "MaterialInfo" : {
- "type" : "object",
- "properties" : {
- "content" : {
- "type" : "string",
- "description" : "素材内容(素材地址或素材KEY)"
- },
- "material_id" : {
- "type" : "string",
- "description" : "素材ID"
- },
- "type" : {
- "type" : "string",
- "description" : "素材类型"
- }
- }
- },
- "MaterialModifyInfo" : {
- "type" : "object",
- "properties" : {
- "content" : {
- "type" : "string",
- "description" : "素材内容(素材地址或素材KEY)"
- },
- "type" : {
- "type" : "string",
- "description" : "素材类型"
- }
- }
- },
- "McardNotifyMessage" : {
- "type" : "object",
- "properties" : {
- "change_reason" : {
- "type" : "string",
- "description" : "用户提醒信息,按如下格式拼装,需要ISV提供change_reason。\r\t积分变动模板:{change_reason},您的积分有变动\r\t余额变动模板:{change_reason},您的余额有变动\r\t等级变更无需提供原因。",
- "example" : "由于你的消费"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "JSON格式扩展信息,主要是发送消息中的变量",
- "example" : "{}"
- },
- "message_type" : {
- "type" : "string",
- "description" : "消息类型,每种消息都定义了固定消息模板,\r\tPOINT_UPDATE:积分变更消息\r\tBALANCE_UPDATE:余额变更消息\r\tLEVEL_UPDATE:等级变更消息",
- "example" : "OPEN_CARD"
- }
- }
- },
- "McardStylInfo" : {
- "type" : "object",
- "properties" : {
- "background_id" : {
- "type" : "string",
- "description" : "背景图片Id,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t图片说明:2M以内,格式:bmp、png、jpeg、jpg、gif;\r\t尺寸不小于1020*643px;\r\t图片不得有圆角,不得拉伸变形",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "bg_color" : {
- "type" : "string",
- "description" : "背景色",
- "example" : "rgb(55,112,179)"
- },
- "logo_id" : {
- "type" : "string",
- "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;",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- }
- }
- },
- "McardTemplate" : {
- "type" : "object",
- "properties" : {
- "card_type" : {
- "type" : "string",
- "description" : "会员卡类型",
- "example" : "OUT_MEMBER_CARD"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "会员卡模板创建时间",
- "example" : "2018-01-11 15:12:23"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "会员卡模板修改时间",
- "example" : "2018-01-11 15:12:23"
- },
- "template_id" : {
- "type" : "string",
- "description" : "会员卡模板ID",
- "example" : "20160718000000001"
- },
- "template_style_info" : {
- "$ref" : "#/components/schemas/TemplateStyleInfoDTO"
- }
- }
- },
- "McardTemplateBenefit" : {
- "type" : "object",
- "properties" : {
- "benefit_desc" : {
- "type" : "array",
- "description" : "权益描述信息",
- "items" : {
- "type" : "string"
- }
- },
- "end_date" : {
- "type" : "string",
- "description" : "权益结束时间。\r\t注:在权益开始时间和结束时间范围内的权益才会认为是有效权益进行展示。"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "会员卡模板权益扩展信息:JSON格式; openUrl 说明:跳转到商户的优惠活动页面"
- },
- "start_date" : {
- "type" : "string",
- "description" : "权益开始时间"
- },
- "template_id" : {
- "type" : "string",
- "description" : "会员卡模板ID"
- },
- "title" : {
- "type" : "string",
- "description" : "权益标题"
- }
- }
- },
- "McardTemplateBenefitQuery" : {
- "type" : "object",
- "properties" : {
- "benefit_desc" : {
- "type" : "string",
- "description" : "权益描述信息",
- "example" : "使用会员卡享8折优惠"
- },
- "benefit_id" : {
- "type" : "string",
- "description" : "权益ID",
- "example" : "20170322000000000068101000300041"
- },
- "end_date" : {
- "type" : "string",
- "description" : "权益结束时间",
- "example" : "2017-04-18 15:10:23"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "会员卡模板权益扩展信息:JSON格式; openUrl 说明:跳转到商户的优惠活动页面",
- "example" : "{\"openUrl\":\"http://www.koubei.com\"}"
- },
- "start_date" : {
- "type" : "string",
- "description" : "权益开始时间",
- "example" : "2017-04-18 15:10:23"
- },
- "template_id" : {
- "type" : "string",
- "description" : "会员卡模板ID",
- "example" : "20170322000000000068101000300041"
- },
- "title" : {
- "type" : "string",
- "description" : "权益标题",
- "example" : "使用会员卡消费享8折优惠"
- }
- }
- },
- "MccQueryInfo" : {
- "type" : "object",
- "properties" : {
- "is_special" : {
- "type" : "boolean",
- "description" : "是否特殊行业",
- "example" : "true"
- },
- "mcc_level_1" : {
- "type" : "string",
- "description" : "一级类目code",
- "example" : "A0001"
- },
- "mcc_level_1_name" : {
- "type" : "string",
- "description" : "商户一级类目名称",
- "example" : "商业生活服务"
- },
- "mcc_level_2" : {
- "type" : "string",
- "description" : "二级类目code",
- "example" : "B0001"
- },
- "mcc_level_2_name" : {
- "type" : "string",
- "description" : "二级类目名称",
- "example" : "中式正餐"
- },
- "mcc_requirements" : {
- "type" : "string",
- "description" : "特殊行业需要上传的资质",
- "example" : "申请成为该行业商家,请提交:1. 营业执照经营范围包含公路的投资、建设、收费、养护、管理、高速公路开发经营及服务"
- },
- "special_qual_required" : {
- "type" : "boolean",
- "description" : "是否需要特殊资质",
- "example" : "false"
- }
- }
- },
- "MdCodeInfoDTO" : {
- "type" : "object",
- "properties" : {
- "code_status" : {
- "type" : "string",
- "description" : "本次回传动态码的状态:\r\tSUCCESS: 本次发码成功\r\tFAIL_RETRY: 本次发码失败,且需要支付宝重试(重新通知商户发码)\r\tFAIL_NOT_RETRY: 本次发码失败,且无需支付宝重试(无需重新通知商户发码)"
- },
- "code_value" : {
- "type" : "string",
- "description" : "动态码的码值:\r\tcode_status为SUCCESS时必填;\r\t基于此码值生成条形码或二维码用于扫码核销。"
- },
- "expire_time" : {
- "type" : "string",
- "description" : "当前动态码的过期(失效)时间:\r\t code_status为SUCCESS时必填。"
- },
- "time_stamp" : {
- "type" : "integer",
- "description" : "商户回传动态码的时间戳。\r\t\r\t即商户调接口回传动态码时刻对应的long类型时间戳,用于区分不同的发码请求。"
- }
- }
- },
- "MemberExtInfo" : {
- "type" : "object",
- "properties" : {
- "employee_id" : {
- "type" : "string",
- "description" : "员工工号信息",
- "example" : "20221"
- }
- }
- },
- "MemberShip" : {
- "type" : "object",
- "properties" : {
- "bank_card_no" : {
- "type" : "string",
- "description" : "银行卡号",
- "example" : "6228000000000000"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "会员二代身份证号码",
- "example" : "339000111111111000"
- },
- "email" : {
- "type" : "string",
- "description" : "邮箱号码",
- "example" : "xxx@koubei.com"
- },
- "mac" : {
- "type" : "string",
- "description" : "MAC地址",
- "example" : "6C:3E:6D:2B:54:34"
- },
- "mobile_phone_no" : {
- "type" : "string",
- "description" : "11位手机号码",
- "example" : "15657153919"
- }
- }
- },
- "MemberStatusRespDTO" : {
- "type" : "object",
- "properties" : {
- "open_id" : {
- "type" : "string",
- "description" : "用户支付宝会员openid",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "status" : {
- "type" : "string",
- "description" : "员工当前状态:\t邀请中(PROCESSING)、正常(NORMAL)、不在企业中(OUT)",
- "example" : "PROCESSING"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户支付宝2088会员号",
- "example" : "20881213213213"
- }
- }
- },
- "MenuAnalysisData" : {
- "type" : "object",
- "properties" : {
- "avg_click_user_cnt" : {
- "type" : "string",
- "description" : "人均点击次数",
- "example" : "10.25"
- },
- "click_cnt" : {
- "type" : "integer",
- "description" : "菜单点击次数",
- "example" : "10"
- },
- "click_user_cnt" : {
- "type" : "integer",
- "description" : "菜单点击人数",
- "example" : "20"
- },
- "date" : {
- "type" : "string",
- "description" : "日期",
- "example" : "20171101"
- },
- "menu_type" : {
- "type" : "string",
- "description" : "菜单类型 ,iconDefault :图标菜单、default:文字菜单",
- "example" : "default"
- },
- "name" : {
- "type" : "string",
- "description" : "菜单名称",
- "example" : "菜单"
- },
- "sub_name" : {
- "type" : "string",
- "description" : "子菜单名称,文字菜单才有",
- "example" : "子菜单"
- }
- }
- },
- "MerchantActivityModifyVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "logo" : {
- "type" : "string",
- "description" : "券logo\r\t券logo最大字符数不能超过64",
- "example" : "券logo"
- },
- "user_introductions" : {
- "type" : "string",
- "description" : "使用须知\r\t券使用须知最大字符数不能超过256",
- "example" : "使用须知"
- },
- "valid_days_range_to" : {
- "type" : "integer",
- "description" : "领取后, 第几天失效\r\tvalid_time_type=RELATIVE时有效且必填\r\t只允许增加领取后可用天数",
- "example" : "12"
- },
- "valid_time_range_to" : {
- "type" : "string",
- "description" : "有效期截止时间\r\tvalid_time_type=FIXED时有效且必填\r\t券有效结束时间格式必须为yyyy-MM-dd HH:mm:ss\r\t只允许延长固定时间的结束时间(支持到分)",
- "example" : "2017-05-12 21:59:22"
- },
- "valid_time_type" : {
- "type" : "string",
- "description" : "有效期类型:\r\t枚举值:RELATIVE/FIXED",
- "example" : "RELATIVE"
- }
- }
- },
- "MerchantActivityVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "logo" : {
- "type" : "string",
- "description" : "券logo\r\t券logo最大字符数不能超过64"
- },
- "sub_title" : {
- "type" : "string",
- "description" : "子标题\r\t券子标题最大字符数不能超过256\r\t券子标题最小字符数不能低于2"
- },
- "user_introductions" : {
- "type" : "string",
- "description" : "使用须知\r\t券使用须知最大字符数不能超过1000"
- },
- "valid_days_range_from" : {
- "type" : "integer",
- "description" : "领取后, 第几天开始生效\r\tvalid_time_type=RELATIVE时有效且必填"
- },
- "valid_days_range_to" : {
- "type" : "integer",
- "description" : "领取后, 第几天失效\r\tvalid_time_type=RELATIVE时有效且必填"
- },
- "valid_time_range_from" : {
- "type" : "string",
- "description" : "有效期开始时间\r\tvalid_time_type=FIXED时有效且必填\r\t券有效开始时间格式必须为yyyy-MM-dd HH:mm:ss"
- },
- "valid_time_range_to" : {
- "type" : "string",
- "description" : "有效期截止时间\r\tvalid_time_type=FIXED时有效且必填\r\t券有效结束时间格式必须为yyyy-MM-dd HH:mm:ss"
- },
- "valid_time_type" : {
- "type" : "string",
- "description" : "有效期类型"
- }
- }
- },
- "MerchantBaseEnterOpenModel" : {
- "type" : "object",
- "properties" : {
- "logo_info" : {
- "type" : "string",
- "description" : "商户logo文件流信息,该字段为文件流经base64编码后得到的字符串。",
- "example" : "/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAA..."
- },
- "m_name" : {
- "type" : "string",
- "description" : "商户品牌全称。",
- "example" : "蚂蚁金融服务集团"
- },
- "m_short_name" : {
- "type" : "string",
- "description" : "商户品牌简称,只能由大写字母、下划线、数字组成,且必须以大写字母开头。",
- "example" : "MYJF"
- }
- }
- },
- "MerchantBrandListResult" : {
- "type" : "object",
- "properties" : {
- "brand_list_result" : {
- "type" : "array",
- "description" : "商户已有品牌",
- "items" : {
- "$ref" : "#/components/schemas/BrandResult"
- }
- }
- }
- },
- "MerchantCard" : {
- "type" : "object",
- "properties" : {
- "balance" : {
- "type" : "string",
- "description" : "资金卡余额,单位:元,精确到小数点后两位。"
- },
- "biz_card_no" : {
- "type" : "string",
- "description" : "支付宝业务卡号\r\t说明:\r\t1、开卡成功后返回该参数,需要保存留用;\r\t2、开卡/更新/删卡/查询卡接口请求中不需要传该参数;"
- },
- "custom_assets" : {
- "type" : "string",
- "description" : "会员卡自定义资产值,只供特定业务使用,通常接入无需关注"
- },
- "external_card_no" : {
- "type" : "string",
- "description" : "商户外部会员卡卡号\r\t说明:\r\t1、会员卡开卡接口,如果卡类型为外部会员卡,请求中则必须提供该参数;\r\t2、更新、查询、删除等接口,请求中则不需要提供该参数值;"
- },
- "front_image_id" : {
- "type" : "string",
- "description" : "卡面展示图片的图片ID,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t这里预期展示的是个人照片;\r\t图片说明:1M以内,格式bmp、png、jpeg、jpg、gif;\r\t图片尺寸为230*295px,可等比放大;"
- },
- "front_text_list" : {
- "type" : "array",
- "description" : "卡面文案列表,1项对应1行文案,最多只能传入4行文案;\r\t单行文案展现分为左右两部分,左边对应label字段,右边对应value;\r\t形如: 学院 新闻学院",
- "items" : {
- "$ref" : "#/components/schemas/CardFrontTextDTO"
- }
- },
- "level" : {
- "type" : "string",
- "description" : "会员卡等级(由商户自定义,并可以在卡模板创建时,定义等级信息)"
- },
- "mdcode_info" : {
- "$ref" : "#/components/schemas/MdCodeInfoDTO"
- },
- "open_date" : {
- "type" : "string",
- "description" : "会员卡开卡时间,格式为yyyy-MM-dd HH:mm:ss。会员卡更新时,该时间不支持修改,请传入调用开卡接口时传入的card_ext_info.open_date时间。"
- },
- "point" : {
- "type" : "string",
- "description" : "会员卡积分,积分必须为数字型(可为浮点型,带2位小数点)"
- },
- "template_id" : {
- "type" : "string",
- "description" : "会员卡更换不同的卡模板(该参数仅用在会员卡更新接口中)"
- },
- "valid_date" : {
- "type" : "string",
- "description" : "会员卡有效期,格式为yyyy-MM-dd HH:mm:ss。会员卡更新时,该时间不支持修改,请传入调用开卡接口时传入的card_ext_info.valid_date时间。"
- }
- }
- },
- "MerchantCardMsgInfo" : {
- "type" : "object",
- "properties" : {
- "changed_point" : {
- "type" : "string",
- "description" : "本次消息通知的变动积分,积分必须为数字型(可为浮点型,带2位小数点),格式非法则不发送消息。例如:\t100,则代表增加100积分。\t-100,则代表减少100积分。",
- "example" : "100.00"
- }
- }
- },
- "MerchantMenber" : {
- "type" : "object",
- "properties" : {
- "birth" : {
- "type" : "string",
- "description" : "生日 yyyy-MM-dd",
- "example" : "2016-06-27"
- },
- "cell" : {
- "type" : "string",
- "description" : "手机号",
- "example" : "13000000000"
- },
- "gende" : {
- "type" : "string",
- "description" : "性别(男:MALE;女:FEMALE)",
- "example" : "MALE"
- },
- "name" : {
- "type" : "string",
- "description" : "姓名",
- "example" : "李洋"
- }
- }
- },
- "MerchantOnlineActivityOpenModel" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动Id",
- "example" : "2018xxxx"
- },
- "camp_id" : {
- "type" : "string",
- "description" : "营销活动Id",
- "example" : "2018xxxx"
- },
- "count_limit" : {
- "type" : "integer",
- "description" : "活动优惠次数限制",
- "example" : "99"
- },
- "count_limit_per_day" : {
- "type" : "integer",
- "description" : "活动优惠单日次数限制",
- "example" : "99"
- },
- "count_limit_per_user" : {
- "type" : "integer",
- "description" : "活动单用户限次",
- "example" : "99"
- },
- "count_limit_per_user_per_day" : {
- "type" : "integer",
- "description" : "活动单用户单日限次",
- "example" : "99"
- },
- "crowd" : {
- "type" : "string",
- "description" : "人群规则\r\tDEFAULT:全部用户\r\tONLINE_NEWCOMER:在线购买新人\r\tMEMBER:会员",
- "example" : "DEFAULT"
- },
- "deduct_amount" : {
- "type" : "string",
- "description" : "代金券面额",
- "example" : "5.00"
- },
- "external_unique_id" : {
- "type" : "string",
- "description" : "外部Id",
- "example" : "xxxxxxx"
- },
- "gmt_end" : {
- "type" : "string",
- "description" : "活动结束时间\r\t格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2018-12-26 21:07:23"
- },
- "gmt_start" : {
- "type" : "string",
- "description" : "活动开始时间,格式为:yyyy-MM-dd HH:mm:ss",
- "example" : "2017-12-26 21:07:23"
- },
- "item_ids" : {
- "type" : "array",
- "description" : "商品列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018xxxx\",\"2018xxxx\"]"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "min_cost" : {
- "type" : "string",
- "description" : "使用门槛,满X元可用,使用门槛必须大于券面额",
- "example" : "5.00"
- },
- "obtain_manually" : {
- "type" : "boolean",
- "description" : "是否手动领取,本期只支持true",
- "example" : "true"
- },
- "voucher_info" : {
- "$ref" : "#/components/schemas/MerchantActivityVoucherInfo"
- }
- }
- },
- "MerchantQueryResult" : {
- "type" : "object",
- "properties" : {
- "alias_name" : {
- "type" : "string",
- "description" : "商户的别名,用户商户对客展示的名称",
- "example" : "商户小店"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "商户认证证件号,企业营业执照号",
- "example" : "32xxxxxxxxxxxx"
- },
- "city" : {
- "type" : "string",
- "description" : "市名称",
- "example" : "杭州市"
- },
- "detail_address" : {
- "type" : "string",
- "description" : "商户经营详细地址",
- "example" : "文三路127号"
- },
- "distinct" : {
- "type" : "string",
- "description" : "区县名称",
- "example" : "西湖区"
- },
- "mcc_code" : {
- "type" : "string",
- "description" : "商户新版mcc code",
- "example" : "B0001"
- },
- "merchant_type" : {
- "type" : "string",
- "description" : "描述商户类型,个人-P/企业-B",
- "example" : "P"
- },
- "name" : {
- "type" : "string",
- "description" : "商户认证名称信息",
- "example" : "支付宝商户"
- },
- "province" : {
- "type" : "string",
- "description" : "省名称",
- "example" : "浙江省"
- }
- }
- },
- "MerchantShopDTO" : {
- "type" : "object",
- "properties" : {
- "shop_name" : {
- "type" : "string",
- "description" : "球房名称,最长不超过256个字符。",
- "example" : "球房1"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "球房编号。",
- "example" : "1000"
- }
- }
- },
- "MiniAppAuditReason" : {
- "type" : "object",
- "properties" : {
- "audit_images" : {
- "type" : "array",
- "description" : "审核图片列表",
- "items" : {
- "type" : "string"
- }
- },
- "memos" : {
- "type" : "array",
- "description" : "驳回原因列表",
- "items" : {
- "$ref" : "#/components/schemas/MiniAppAuditReasonMemo"
- }
- }
- }
- },
- "MiniAppAuditReasonMemo" : {
- "type" : "object",
- "properties" : {
- "memo" : {
- "type" : "string",
- "description" : "驳回原因"
- },
- "memo_image_list" : {
- "type" : "array",
- "description" : "规则图片链接",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "MiniAppCategory" : {
- "type" : "object",
- "properties" : {
- "category_id" : {
- "type" : "string",
- "description" : "类目id"
- },
- "category_name" : {
- "type" : "string",
- "description" : "类目名称"
- },
- "has_child" : {
- "type" : "boolean",
- "description" : "是否有子类目"
- },
- "need_license" : {
- "type" : "boolean",
- "description" : "是否需要营业执照"
- },
- "need_out_door_pic" : {
- "type" : "boolean",
- "description" : "是否需要门头照"
- },
- "need_special_license" : {
- "type" : "boolean",
- "description" : "是否需要特许营业执照"
- },
- "parent_category_id" : {
- "type" : "string",
- "description" : "父类目id"
- }
- }
- },
- "MiniAppCategoryInfo" : {
- "type" : "object",
- "properties" : {
- "first_category_id" : {
- "type" : "string",
- "description" : "一级类目id"
- },
- "first_category_name" : {
- "type" : "string",
- "description" : "一级类目名称"
- },
- "second_category_id" : {
- "type" : "string",
- "description" : "二级类目id"
- },
- "second_category_name" : {
- "type" : "string",
- "description" : "二级类目名称"
- },
- "third_category_id" : {
- "type" : "string",
- "description" : "三级类目id,可空"
- },
- "third_category_name" : {
- "type" : "string",
- "description" : "三级类目名称,可空"
- }
- }
- },
- "MiniAppDeployResponse" : {
- "type" : "object",
- "properties" : {
- "android_client_max" : {
- "type" : "string",
- "description" : "安卓最大版本号"
- },
- "android_client_min" : {
- "type" : "string",
- "description" : "安卓最低版本号"
- },
- "app_version" : {
- "type" : "string",
- "description" : "小程序版本号"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "端标识"
- },
- "deploy_version" : {
- "type" : "string",
- "description" : "发布版本"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间"
- },
- "ios_client_max" : {
- "type" : "string",
- "description" : "iOS最大版本号"
- },
- "ios_client_min" : {
- "type" : "string",
- "description" : "iOS最小版本号"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID"
- },
- "package_size" : {
- "type" : "string",
- "description" : "包大小"
- },
- "status" : {
- "type" : "string",
- "description" : "发布状态\t INVALID(\"INVALID\", \"非法\"),\t INIT(\"INIT\", \"初始化状态\"),\t PRE_ONLINE(\"PRE_ONLINE\", \"预发\");\t GRAY(\"GRAY\", \"灰度\"),\t ONLINE(\"ONLINE\", \"上架\"),\t ABANDON(\"ABANDON\", \"废弃\"),"
- }
- }
- },
- "MiniAppPluginInfo" : {
- "type" : "object",
- "properties" : {
- "package_url" : {
- "type" : "string",
- "description" : "插件包地址",
- "example" : "www.xxx.com"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "插件id,即插件的唯一标识",
- "example" : "2016122304555146"
- },
- "require_version" : {
- "type" : "string",
- "description" : "小程序引用的插件版本,可以指定插件版本,1.2.3。也可以使用最新版本,*。推荐使用*",
- "example" : "*"
- }
- }
- },
- "MiniAppPluginReference" : {
- "type" : "object",
- "properties" : {
- "lazy" : {
- "type" : "boolean",
- "description" : "是否懒加载"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "插件id,即插件的唯一标识,形如小程序的appId"
- },
- "plugin_lazy" : {
- "type" : "boolean",
- "description" : "是否懒加载"
- },
- "plugin_version" : {
- "type" : "string",
- "description" : "小程序引用的插件版本,可以指定插件版本,如:1.0.11;也可以填*,表示引用最新的插件版本,此时,当插件发布新版本后,小程序内的插件会自动更新到最新的版本。"
- }
- }
- },
- "MiniAppServiceInfo" : {
- "type" : "object",
- "properties" : {
- "biz_status" : {
- "type" : "string",
- "description" : "插件发布状态码,暂存100,风控审核200,运营审核300,等待上架400,已预发上架500,已上架501,已下架600,已驳回700",
- "example" : "200"
- },
- "is_inner" : {
- "type" : "boolean",
- "description" : "是否是内部标,true/false",
- "example" : "true"
- },
- "is_order" : {
- "type" : "boolean",
- "description" : "是否订购,true/false",
- "example" : "true"
- },
- "isv_app_id" : {
- "type" : "string",
- "description" : "三方应用appid",
- "example" : "2021000146612019"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "应用id",
- "example" : "2021000146613280"
- },
- "mini_app_name" : {
- "type" : "string",
- "description" : "测试插件",
- "example" : "小程序名称"
- },
- "seller_id" : {
- "type" : "string",
- "description" : "卖家pid",
- "example" : "2088301715777422"
- },
- "seller_name" : {
- "type" : "string",
- "description" : "卖家名",
- "example" : "frikwj"
- },
- "service_code" : {
- "type" : "string",
- "description" : "商品CODE",
- "example" : "AM010401000000070768"
- },
- "service_logo" : {
- "type" : "string",
- "description" : "服务图标",
- "example" : "http://appstoreisvpic.alipayobjects.com/dev/50a1a2ad-c9af-4c24-92e0-84127857b634.jpg"
- },
- "service_name" : {
- "type" : "string",
- "description" : "服务名",
- "example" : "崮城的小程序插件01插件"
- },
- "service_slogan" : {
- "type" : "string",
- "description" : "服务简介",
- "example" : "反倒是离开及发的克里斯"
- },
- "show_type" : {
- "type" : "string",
- "description" : "是否在服务市场透出,SHOW展示、HIDE隐藏",
- "example" : "SHOW"
- }
- }
- },
- "MiniPackageInfo" : {
- "type" : "object",
- "properties" : {
- "doc_url" : {
- "type" : "string",
- "description" : "功能包文档地址",
- "example" : "http://doc.aaa.alipay.com"
- },
- "package_desc" : {
- "type" : "string",
- "description" : "功能包描述",
- "example" : "这是通用能力"
- },
- "package_name" : {
- "type" : "string",
- "description" : "功能包名称",
- "example" : "基础能力"
- },
- "package_open_type" : {
- "type" : "string",
- "description" : "功能包开通方式,\"APPLY\", \"申请开通\";\"ORDER\", \"签约开通\";\"DEFAULT\", \"默认开通\"",
- "example" : "APPLY"
- },
- "status" : {
- "type" : "string",
- "description" : "功能包签约状态,\"valid\", \"已生效\";\"audit\", \"签约中\";\"invalid\", \"已失效\";\"none\", \"未签约\"",
- "example" : "valid"
- }
- }
- },
- "MiniVersionBaseInfo" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "版本号",
- "example" : "1.0.0"
- },
- "build_source" : {
- "type" : "string",
- "description" : "小程序所属来源",
- "example" : "01"
- },
- "bundle_id" : {
- "type" : "string",
- "description" : "com.alipay.alipaywallet:支付宝,com.amap.app:高德",
- "example" : "com.alipay.alipaywallet"
- },
- "dev_id" : {
- "type" : "string",
- "description" : "小程序开发者ID",
- "example" : "2088********"
- },
- "gray_strategy" : {
- "type" : "string",
- "description" : "小程序灰度值",
- "example" : "p10"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序应用ID",
- "example" : "2019********"
- },
- "status" : {
- "type" : "string",
- "description" : "小程序状态",
- "example" : "INIT"
- }
- }
- },
- "MiniappBrandAuditResult" : {
- "type" : "object",
- "properties" : {
- "brand_id" : {
- "type" : "string",
- "description" : "小程序提交品牌认证时的品牌id",
- "example" : "brand_id2020091684564595"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "小程序提交品牌认证时的品牌名称",
- "example" : "brand_namecr7officials"
- },
- "brand_status" : {
- "type" : "string",
- "description" : "小程序提交品牌认证后的认证状态\tAUDITING(审核中)\tAUDIT_PASS(审核通过)\tAUDIT_REJECT(驳回审核)\tINVALID(已失效)\tNEAR_INVALID(即将过期失效)\tCANCEL(取消认证)\tNO_BRAND(未认证)",
- "example" : "AUDITING(审核中)"
- },
- "has_brand" : {
- "type" : "string",
- "description" : "小程序提交品牌认证是否认证成功",
- "example" : "true"
- },
- "invalid_reason" : {
- "type" : "string",
- "description" : "失效原因",
- "example" : "品牌授权日期已到"
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "驳回原因",
- "example" : "申请人身份认证不通过"
- }
- }
- },
- "ModifyQuotaDetails" : {
- "type" : "object",
- "properties" : {
- "quota_amount" : {
- "type" : "string",
- "description" : "具体额度,单位:元。如金额为空,表示删除已有的额度设置,无已有额度设置则忽略。",
- "example" : "100"
- },
- "quota_dimension" : {
- "type" : "string",
- "description" : "额度维度\tMONTH/DAY/SINGLE\t分别代表月、日、单次",
- "example" : "MONTH"
- },
- "role" : {
- "type" : "string",
- "description" : "PAYER/PAYEE\t额度管控的角色,收or付款方,目前只支持付款方",
- "example" : "PAYER"
- }
- }
- },
- "MonitorHeartbeatSynErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码"
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "MonitorHeartbeatSynModel" : {
- "type" : "object",
- "properties" : {
- "biz_content" : {
- "type" : "string",
- "description" : "验签时该参数不做任何处理",
- "example" : "{任意值}"
- }
- }
- },
- "MonitorHeartbeatSynResponseModel" : {
- "type" : "object",
- "properties" : {
- "pid" : {
- "type" : "string",
- "description" : "商户pid",
- "example" : "商户pid"
- }
- }
- },
- "MoreInfoDTO" : {
- "type" : "object",
- "properties" : {
- "descs" : {
- "type" : "array",
- "description" : "选择opennative的时候必须填写descs的内容",
- "items" : {
- "type" : "string"
- }
- },
- "params" : {
- "type" : "string",
- "description" : "扩展参数,需要URL地址回带的值,JSON格式(openweb时填)"
- },
- "title" : {
- "type" : "string",
- "description" : "二级页面标题,只有当operate_type为openNative时有效。"
- },
- "url" : {
- "type" : "string",
- "description" : "超链接(选择openweb的时候必须填写url参数内容)"
- }
- }
- },
- "MultiCurrencyMoneyOpenApi" : {
- "type" : "object",
- "properties" : {
- "cent" : {
- "type" : "integer",
- "description" : "分"
- },
- "currency_value" : {
- "type" : "string",
- "description" : "币种类型值"
- }
- }
- },
- "MutipleCurrencyDetail" : {
- "type" : "object",
- "properties" : {
- "ext_info" : {
- "type" : "string",
- "description" : "扩展字段",
- "example" : "key=value"
- },
- "payment_amount" : {
- "type" : "string",
- "description" : "支付金额",
- "example" : "100.00"
- },
- "payment_currency" : {
- "type" : "string",
- "description" : "支付币种",
- "example" : "CNY"
- },
- "settlement_amount" : {
- "type" : "string",
- "description" : "清算金额",
- "example" : "10.00"
- },
- "settlement_currency" : {
- "type" : "string",
- "description" : "清算币种",
- "example" : "CNY"
- },
- "trans_amount" : {
- "type" : "string",
- "description" : "转账金额",
- "example" : "10.00"
- },
- "trans_currency" : {
- "type" : "string",
- "description" : "转账币种",
- "example" : "CNY"
- }
- }
- },
- "OcrNormalScanInfo" : {
- "type" : "object",
- "properties" : {
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码"
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "开票时间"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码"
- },
- "price" : {
- "type" : "string",
- "description" : "金额"
- },
- "remark" : {
- "type" : "string",
- "description" : "明细事由"
- }
- }
- },
- "OcrPlaneScanInfo" : {
- "type" : "object",
- "properties" : {
- "destination" : {
- "type" : "string",
- "description" : "目的地"
- },
- "flight_no" : {
- "type" : "string",
- "description" : "航班号"
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "乘机日期"
- },
- "origin" : {
- "type" : "string",
- "description" : "出发地"
- },
- "passenger" : {
- "type" : "string",
- "description" : "乘客"
- },
- "price" : {
- "type" : "string",
- "description" : "金额"
- },
- "remark" : {
- "type" : "string",
- "description" : "明细事由"
- },
- "seat_class" : {
- "type" : "string",
- "description" : "飞机舱位"
- }
- }
- },
- "OcrTaxiScanInfo" : {
- "type" : "object",
- "properties" : {
- "get_off_time" : {
- "type" : "string",
- "description" : "下车时间"
- },
- "get_on_time" : {
- "type" : "string",
- "description" : "上车时间"
- },
- "invoice_code" : {
- "type" : "string",
- "description" : "发票代码"
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "开票时间"
- },
- "invoice_no" : {
- "type" : "string",
- "description" : "发票号码"
- },
- "passenger" : {
- "type" : "string",
- "description" : "乘客人"
- },
- "price" : {
- "type" : "string",
- "description" : "金额"
- },
- "travel_dist" : {
- "type" : "string",
- "description" : "乘车距离"
- }
- }
- },
- "OcrTrainScanInfo" : {
- "type" : "object",
- "properties" : {
- "destination" : {
- "type" : "string",
- "description" : "目的地"
- },
- "invoice_date" : {
- "type" : "string",
- "description" : "乘车日期"
- },
- "origin" : {
- "type" : "string",
- "description" : "出发地"
- },
- "passenger" : {
- "type" : "string",
- "description" : "乘客"
- },
- "price" : {
- "type" : "string",
- "description" : "金额"
- },
- "remark" : {
- "type" : "string",
- "description" : "明细事由"
- },
- "seat_class" : {
- "type" : "string",
- "description" : "座次"
- },
- "train_no" : {
- "type" : "string",
- "description" : "车次"
- }
- }
- },
- "OpenApiRefundFundDetailPojo" : {
- "type" : "object",
- "properties" : {
- "funds" : {
- "type" : "array",
- "description" : "退款资金明细\r\t详:\r\t若type为paySerialNo则funds为\r\t[{\"paySerialNo\":\"支付流水1\",\"refundFee\":\"退款金额1\"},{\"paySerialNo\":\"支付流水2\",\"refundFee\":\"退款金额2\"}]",
- "items" : {
- "type" : "string"
- },
- "example" : "[{\"paySerialNo\":\"2018081603020111\",refundFee:\"12.00\"},{\"paySerialNo\":\"2018081603020112\",refundFee:\"2.00\"}]"
- },
- "trans_in" : {
- "type" : "string",
- "description" : "收入方账户\r\t为空则原路退回",
- "example" : "2088101126708402"
- },
- "trans_in_type" : {
- "type" : "string",
- "description" : "收入方账户类型",
- "example" : "bankAccount"
- },
- "type" : {
- "type" : "string",
- "description" : "描述资金明细类型\r\t详:若type为paySerialNo\r\t则funds参数中体现的都为对应支付流水的退款明细",
- "example" : "paySerialNo"
- }
- }
- },
- "OpenApiResponseHeader" : {
- "type" : "object",
- "properties" : {
- "conversation_id" : {
- "type" : "string",
- "description" : "会话id,对应请求中的conversation_id,若请求中conversation_id非空,则该值非空",
- "example" : "0b09fcb8-e2df-4d03-8265-e8384788f525"
- },
- "response_id" : {
- "type" : "string",
- "description" : "响应id,对应请求中的request_id。如果请求中request_id非空,则response_id非空。",
- "example" : "aaf4d9d2-908b-4ccf-83ef-1b1a857e4296"
- },
- "status_code" : {
- "type" : "string",
- "description" : "自定义状态码",
- "example" : "200"
- },
- "status_message" : {
- "type" : "string",
- "description" : "状态信息",
- "example" : "Not parsed programmatically. Example \"Downstream system offline\""
- },
- "sub_status_code" : {
- "type" : "string",
- "description" : "子状态码",
- "example" : "40601"
- }
- }
- },
- "OpenApiRoyaltyDetailInfoPojo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "分账的金额,单位为元"
- },
- "amount_percentage" : {
- "type" : "integer",
- "description" : "分账信息中分账百分比。取值范围为大于0,少于或等于100的整数。"
- },
- "desc" : {
- "type" : "string",
- "description" : "分账描述"
- },
- "royalty_scene" : {
- "type" : "string",
- "description" : "可选值:达人佣金、平台服务费、技术服务费、其他"
- },
- "royalty_type" : {
- "type" : "string",
- "description" : "分账类型.\r\t普通分账为:transfer;\r\t补差为:replenish;\r\t为空默认为分账transfer;"
- },
- "trans_in" : {
- "type" : "string",
- "description" : "收入方账户。如果收入方账户类型为userId,本参数为收入方的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字;如果收入方类型为cardAliasNo,本参数为收入方在支付宝绑定的卡编号;如果收入方类型为loginName,本参数为收入方的支付宝登录号;"
- },
- "trans_in_name" : {
- "type" : "string",
- "description" : "分账收款方姓名,上送则进行姓名与支付宝账号的一致性校验,校验不一致则分账失败。不上送则不进行姓名校验"
- },
- "trans_in_type" : {
- "type" : "string",
- "description" : "收入方账户类型。userId表示是支付宝账号对应的支付宝唯一用户号;cardAliasNo表示是卡编号;loginName表示是支付宝登录号;"
- },
- "trans_out" : {
- "type" : "string",
- "description" : "支出方账户。如果支出方账户类型为userId,本参数为支出方的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字;如果支出方类型为loginName,本参数为支出方的支付宝登录号。 泛金融类商户分账时,该字段不要上送。"
- },
- "trans_out_type" : {
- "type" : "string",
- "description" : "支出方账户类型。userId表示是支付宝账号对应的支付宝唯一用户号;loginName表示是支付宝登录号; 泛金融类商户分账时,该字段不要上送。"
- }
- }
- },
- "OpenAppOperatorVo" : {
- "type" : "object",
- "properties" : {
- "logon_id" : {
- "type" : "string",
- "description" : "登录账号",
- "example" : "登录账号"
- },
- "nick_name" : {
- "type" : "string",
- "description" : "昵称",
- "example" : "张三"
- },
- "portrait" : {
- "type" : "string",
- "description" : "用户头像",
- "example" : "htpt://****"
- },
- "role" : {
- "type" : "string",
- "description" : "角色",
- "example" : "OPERATOR"
- },
- "status" : {
- "type" : "string",
- "description" : "状态",
- "example" : "VALID"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户Id",
- "example" : "用户Id"
- }
- }
- },
- "OpenCertifyIdentityParam" : {
- "type" : "object",
- "properties" : {
- "cert_digest" : {
- "type" : "string",
- "description" : "cert_digest:\t身份信息摘要",
- "example" : "21232f297a57a5a743894a0e4a801fc3"
- },
- "cert_name" : {
- "type" : "string",
- "description" : "cert_name:\t填入真实姓名",
- "example" : "张三"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "cert_no:\t填入姓名相匹配的证件号码",
- "example" : "260104197909275964"
- },
- "cert_type" : {
- "type" : "string",
- "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;",
- "example" : "IDENTITY_CARD"
- },
- "facial_picture_front" : {
- "type" : "string",
- "description" : "facial_picture_front:\t活体人脸图片base64串,主要用于离线人脸比对",
- "example" : "xydasf=="
- },
- "identity_type" : {
- "type" : "string",
- "description" : "identity_type\t1.若本人验证,使用CERT_INFO;\t2.若代他人验证,使用AGENT_CERT_INFO;",
- "example" : "CERT_INFO"
- },
- "open_id" : {
- "type" : "string",
- "description" : "open_id:\t开放平台用户ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "phone_no" : {
- "type" : "string",
- "description" : "phone_no:\t填写姓名相匹配的手机号",
- "example" : "13000000000"
- },
- "user_id" : {
- "type" : "string",
- "description" : "user_id:\t支付宝用户ID",
- "example" : "2088xxxx"
- }
- }
- },
- "OpenCertifyMerchantConfig" : {
- "type" : "object",
- "properties" : {
- "auth_scope" : {
- "type" : "string",
- "description" : "用于开放认证授权",
- "example" : "xxx"
- },
- "auth_type" : {
- "type" : "string",
- "description" : "用于指定授权类型,与auth_scope配合使用",
- "example" : "xxx"
- },
- "face_reserve_strategy" : {
- "type" : "string",
- "description" : "不传默认为reserve",
- "example" : "reserve"
- },
- "facial_picture_level" : {
- "type" : "string",
- "description" : "若有特殊人脸等级采集要求,可指定等级",
- "example" : "FIN0"
- },
- "linked_merchant_app_id" : {
- "type" : "string",
- "description" : "用于授权二级商户操作",
- "example" : "202134xxxx"
- },
- "linked_merchant_logo_url" : {
- "type" : "string",
- "description" : "用于指定展示的商户logo",
- "example" : "http://xxx"
- },
- "linked_merchant_name" : {
- "type" : "string",
- "description" : "用于指定展示的商户名称",
- "example" : "杭州xx公司"
- },
- "out_put_facial_picture" : {
- "type" : "boolean",
- "description" : "在拥有该权限前提下,用于商户控制是否透出活体人脸",
- "example" : "true"
- },
- "return_url" : {
- "type" : "string",
- "description" : "认证成功后需要跳转的地址,一般为商户业务页面;若无跳转地址可填空字符\"\";",
- "example" : "https://xxx"
- }
- }
- },
- "OpenFormFieldDO" : {
- "type" : "object",
- "properties" : {
- "optional" : {
- "type" : "string",
- "description" : "表单可选字段配置,common_fields属性定义一个表单字段数组,表单字段有效值列表与required字段有效值列表相同。\r\t可选字段配置中不能含有必须字段配置的有效值。",
- "example" : "{\r\n \"common_fields\": [\r\n \"OPEN_FORM_FIELD_GENDER\"\r\n ]\r\n }"
- },
- "required" : {
- "type" : "string",
- "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 -- 会员等级",
- "example" : "{\r\n \"common_fields\": [\r\n \"OPEN_FORM_FIELD_MOBILE\"\r\n ]\r\n }"
- }
- }
- },
- "OpenidComplex" : {
- "type" : "object",
- "properties" : {
- "json_string" : {
- "type" : "string",
- "description" : "11",
- "example" : "{}"
- },
- "open_id_list" : {
- "type" : "array",
- "description" : "1",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5\"]"
- },
- "openid" : {
- "type" : "string",
- "description" : "11",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "uid" : {
- "type" : "string",
- "description" : "11",
- "example" : "2088502241306951"
- },
- "uid_list" : {
- "type" : "array",
- "description" : "1",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088502241306951\"]"
- }
- }
- },
- "OperationResultExtInfo" : {
- "type" : "object",
- "properties" : {
- "activation_time" : {
- "type" : "string",
- "description" : "激活时间",
- "example" : "2021-11-12 00:00:00"
- },
- "device_no" : {
- "type" : "string",
- "description" : "设备号",
- "example" : "WW321314"
- }
- }
- },
- "Option" : {
- "type" : "object",
- "properties" : {
- "text" : {
- "type" : "string",
- "description" : "文本,通常用于理解对应的取值",
- "example" : "男"
- },
- "value" : {
- "type" : "string",
- "description" : "取值,通常使用简单的数字或字符串",
- "example" : "0"
- }
- }
- },
- "OrderApplyStatusBriefDTO" : {
- "type" : "object",
- "properties" : {
- "apply_status" : {
- "type" : "string",
- "description" : "SUCCESS:开票成功\tFAIL:开票失败\tPROCESS:开票中\tNOTEXIST:申请不存在",
- "example" : "SUCCESS"
- },
- "order_no" : {
- "type" : "string",
- "description" : "开票申请时传入订单号(支持主单号、子单号),不限是否为支付宝体内交易单号",
- "example" : "20200520110046966071"
- }
- }
- },
- "OrderDataDistributeInfo" : {
- "type" : "object",
- "properties" : {
- "not_distribute_reason" : {
- "type" : "string",
- "description" : "未分发到场景的具体原因。开发者可根据具体原因定位解决问题后发起重试。",
- "example" : "小程序id不存在"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "分发场景code。\t具体枚举值如下:SERVICE_MSG-订单消息",
- "example" : "SERVICE_MSG"
- },
- "scene_name" : {
- "type" : "string",
- "description" : "分发场景名,对应scene_code。",
- "example" : "订单消息"
- }
- }
- },
- "OrderDataSyncSuggestion" : {
- "type" : "object",
- "properties" : {
- "message" : {
- "type" : "string",
- "description" : "同步建议内容",
- "example" : "建议回传蚂蚁球房ID,以便在场景中更好的分发"
- },
- "type" : {
- "type" : "string",
- "description" : "同步建议类型",
- "example" : "SHOP_ID_INVALID"
- }
- }
- },
- "OrderExtInfo" : {
- "type" : "object",
- "properties" : {
- "ext_key" : {
- "type" : "string",
- "description" : "键值"
- },
- "ext_value" : {
- "type" : "string",
- "description" : "值"
- }
- }
- },
- "OrderExtIstd" : {
- "type" : "object",
- "properties" : {
- "cash_on_delivery" : {
- "type" : "string",
- "description" : "骑手应付金额"
- },
- "cash_on_pickup" : {
- "type" : "string",
- "description" : "骑手应收金额"
- },
- "consumer_order_time" : {
- "type" : "string",
- "description" : "消费者下单时间"
- },
- "delivery_direction" : {
- "type" : "integer",
- "description" : "物流流向,1:从球房取件送至用户;2:从用户取件送至球房"
- },
- "delivery_type" : {
- "type" : "integer",
- "description" : "配送类型, 0: 即时单 1 预约单"
- },
- "desc" : {
- "type" : "string",
- "description" : "备注"
- },
- "expected_delivery_time" : {
- "type" : "string",
- "description" : "期望派单时间"
- },
- "expected_finish_time" : {
- "type" : "string",
- "description" : "期望送达时间"
- },
- "expected_pick_time" : {
- "type" : "string",
- "description" : "期望取件时间"
- },
- "insure_price" : {
- "type" : "string",
- "description" : "保价金额"
- },
- "is_direct_delivery" : {
- "type" : "integer",
- "description" : "是否直拿直送,1:直拿直送 0:非直拿直送"
- },
- "is_finish_code_needed" : {
- "type" : "integer",
- "description" : "是否需要收货码,1:需要 0:不需要"
- },
- "is_insured" : {
- "type" : "integer",
- "description" : "是否保价,1:保价 0:不保价"
- },
- "is_pickup_code_needed" : {
- "type" : "integer",
- "description" : "是否需要取货码,1:需要 0:不需要"
- },
- "poi_seq" : {
- "type" : "string",
- "description" : "球房订单流水号"
- },
- "service_code" : {
- "type" : "string",
- "description" : "即时配送公司的服务代码"
- }
- }
- },
- "OrderExtIstdForPreOrder" : {
- "type" : "object",
- "properties" : {
- "cash_on_delivery" : {
- "type" : "string",
- "description" : "骑手应付金额",
- "example" : "15.00"
- },
- "cash_on_pickup" : {
- "type" : "string",
- "description" : "骑手应收金额",
- "example" : "13.00"
- },
- "consumer_order_time" : {
- "type" : "string",
- "description" : "消费者下单时间",
- "example" : "2020-06-01 13:23:00"
- },
- "delivery_direction" : {
- "type" : "integer",
- "description" : "物流流向,1:从球房取件送至用户;2:从用户取件送至球房",
- "example" : "1"
- },
- "delivery_type" : {
- "type" : "integer",
- "description" : "配送类型, 0: 即时单 1 预约单",
- "example" : "0"
- },
- "desc" : {
- "type" : "string",
- "description" : "备注",
- "example" : "备注"
- },
- "expected_delivery_time" : {
- "type" : "string",
- "description" : "期望派单时间",
- "example" : "2020-11-27 15:45:57"
- },
- "expected_finish_time" : {
- "type" : "string",
- "description" : "期望送达时间",
- "example" : "2020-06-01 13:23:00"
- },
- "expected_pick_time" : {
- "type" : "string",
- "description" : "期望取件时间",
- "example" : "2020-06-01 13:23:00"
- },
- "insure_price" : {
- "type" : "string",
- "description" : "保价金额",
- "example" : "100.00"
- },
- "is_direct_delivery" : {
- "type" : "integer",
- "description" : "是否直拿直送,1:直拿直送 0:非直拿直送",
- "example" : "1"
- },
- "is_finish_code_needed" : {
- "type" : "integer",
- "description" : "是否需要收货码,1:需要 0:不需要",
- "example" : "0"
- },
- "is_insured" : {
- "type" : "integer",
- "description" : "是否保价,1:保价 0:不保价",
- "example" : "0"
- },
- "is_pickup_code_needed" : {
- "type" : "integer",
- "description" : "是否需要取货码,1:需要 0:不需要",
- "example" : "0"
- },
- "poi_seq" : {
- "type" : "string",
- "description" : "球房订单流水号",
- "example" : "xxx"
- },
- "service_code" : {
- "type" : "string",
- "description" : "即时配送公司的服务代码",
- "example" : "001"
- }
- }
- },
- "OrderItem" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "店铺所在具体位置",
- "example" : "西湖区XX街XX号"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "品牌名称",
- "example" : "肯德基"
- },
- "category" : {
- "type" : "string",
- "description" : "店铺品类",
- "example" : "咖啡"
- },
- "city" : {
- "type" : "string",
- "description" : "店铺所在的市",
- "example" : "杭州市"
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码",
- "example" : "110100"
- },
- "commodity_id" : {
- "type" : "string",
- "description" : "订购的服务商品ID",
- "example" : "201604290086730119"
- },
- "contacts" : {
- "type" : "string",
- "description" : "订单联系人",
- "example" : "张三"
- },
- "creator" : {
- "type" : "string",
- "description" : "球房创建人(已删除)",
- "example" : "张三"
- },
- "expire_date" : {
- "type" : "string",
- "description" : "过期时间",
- "example" : "2016-01-01 00:00:01"
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "商户名称",
- "example" : "XX网络有限公司"
- },
- "merchant_pid" : {
- "type" : "string",
- "description" : "商户PID",
- "example" : "2088101118588888"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序APPID,订购实体为小程序的场景该字段必填",
- "example" : "2017121800945174"
- },
- "mini_app_name" : {
- "type" : "string",
- "description" : "小程序应用名称,订购实体为小程序的场景该字段必填",
- "example" : "小张火锅店小程序"
- },
- "online_time" : {
- "type" : "string",
- "description" : "上架时间",
- "example" : "2016-01-01 00:01:01"
- },
- "open_id_model" : {
- "type" : "string",
- "description" : "应用用户标识模式",
- "example" : "UID模式"
- },
- "order_status" : {
- "type" : "string",
- "description" : "TO_DO-未实施,DOING-实施中,TO_CONFIRM-待商户确认,CONFIRMED-商户已确认,DONE-已完成,MERCHANT_REJECTED-商户已回绝,MERCHANT_CANCELLED-商户已取消,ISV_REJECTED-服务商已回绝,ISV_CANCELLED-服务商已取消",
- "example" : "DONE"
- },
- "phone_no" : {
- "type" : "string",
- "description" : "订单所属人联系方式(手机或者座机)",
- "example" : "13988888888"
- },
- "province" : {
- "type" : "string",
- "description" : "店铺所在的省份",
- "example" : "浙江省"
- },
- "service_effect_date" : {
- "type" : "string",
- "description" : "订购的服务有效期生效时间",
- "example" : "2023-04-03 12:01:45"
- },
- "service_expire_date" : {
- "type" : "string",
- "description" : "服务有效期截止时间",
- "example" : "2023-04-03 12:01:45"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "店铺ID,订购实体为口碑球房的场景该字段必填",
- "example" : "2015052000077000000000182140"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "店铺名称,订购实体为口碑球房的场景该字段必填",
- "example" : "小张火锅店"
- },
- "shop_status" : {
- "type" : "string",
- "description" : "店铺状态(ONLINE--已上架 OFFLINE--未上架 AVAILABLE--已开通 INIT--未开通 EXPIRED--已过期)",
- "example" : "ONLINE"
- },
- "status" : {
- "type" : "string",
- "description" : "待服务商接单",
- "example" : "MERCHANT_ORDED---待服务商接单"
- }
- }
- },
- "OrderJourneyElement" : {
- "type" : "object",
- "properties" : {
- "arrival" : {
- "$ref" : "#/components/schemas/JourneyLocation"
- },
- "departure" : {
- "$ref" : "#/components/schemas/JourneyLocation"
- },
- "duration" : {
- "type" : "string",
- "description" : "行程时长,单位为秒",
- "example" : "3600"
- },
- "end_time" : {
- "type" : "string",
- "description" : "结束时间(格式化)",
- "example" : "2021-01-02 12:21:22"
- },
- "end_time_desc" : {
- "type" : "string",
- "description" : "结束时间描述(非结构化)",
- "example" : "1月2号"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "functional_services" : {
- "type" : "array",
- "description" : "功能服务列表",
- "items" : {
- "$ref" : "#/components/schemas/FunctionalService"
- }
- },
- "passagers" : {
- "type" : "array",
- "description" : "出行人",
- "items" : {
- "$ref" : "#/components/schemas/UserInfomation"
- }
- },
- "service_change_info" : {
- "$ref" : "#/components/schemas/JourneyServiceChangeInfo"
- },
- "service_provider" : {
- "$ref" : "#/components/schemas/JourneyMerchantInfo"
- },
- "start_time" : {
- "type" : "string",
- "description" : "开始时间格式化",
- "example" : "2021-01-01 12:21:22"
- },
- "start_time_desc" : {
- "type" : "string",
- "description" : "开始时间描述(非格式化)",
- "example" : "1月1号"
- }
- }
- },
- "OrderJourneyInfo" : {
- "type" : "object",
- "properties" : {
- "action" : {
- "type" : "string",
- "description" : "操作动作\t-DELETE 删除,删除后的行程不再展示",
- "example" : "DELETE"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "journey_create_time" : {
- "type" : "string",
- "description" : "行程创建时间",
- "example" : "2021-01-16 12:12:12"
- },
- "journey_desc" : {
- "type" : "string",
- "description" : "行程描述",
- "example" : "中国航空公司 C8888 上海-北京"
- },
- "journey_elements" : {
- "type" : "array",
- "description" : "行程元素列表",
- "items" : {
- "$ref" : "#/components/schemas/OrderJourneyElement"
- }
- },
- "journey_index" : {
- "type" : "string",
- "description" : "描述本行程为整个行程中的第几程",
- "example" : "2"
- },
- "journey_modify_time" : {
- "type" : "string",
- "description" : "行程修改时间",
- "example" : "2021-01-16 16:16:16"
- },
- "merchant_journey_no" : {
- "type" : "string",
- "description" : "商户行程单号\t注:同一个pid下的行程单号需唯一。同一个pid下外部行程单号唯一",
- "example" : "202101130000001"
- },
- "status" : {
- "type" : "string",
- "description" : "行程状态\t注:行程状态必须与支付宝侧进行约定",
- "example" : "MERCHANT_FINISHED"
- },
- "status_desc" : {
- "type" : "string",
- "description" : "行程状态描述",
- "example" : "已完成"
- },
- "sub_type" : {
- "type" : "string",
- "description" : "行程子类型",
- "example" : "abroad"
- },
- "title" : {
- "type" : "string",
- "description" : "行程标题",
- "example" : "标题"
- },
- "type" : {
- "type" : "string",
- "description" : "行程类型",
- "example" : "airticket"
- }
- }
- },
- "OrderLogisticsInformationRequest" : {
- "type" : "object",
- "properties" : {
- "logistics_code" : {
- "type" : "string",
- "description" : "物流公司编号。\r\t物流公司编号值请查看产品文档\r\t注:该值为空时,有可能匹配不到物流信息。若有则必传",
- "example" : "STO"
- },
- "tracking_no" : {
- "type" : "string",
- "description" : "物流单号",
- "example" : "P201802091000000002W"
- }
- }
- },
- "OrderPageQueryDTO" : {
- "type" : "object",
- "properties" : {
- "page_data" : {
- "type" : "array",
- "description" : "审核单数据信息",
- "items" : {
- "$ref" : "#/components/schemas/ApplyOrderData"
- }
- },
- "page_num" : {
- "type" : "string",
- "description" : "当前页码,默认第一页",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "每页记录数,默认10",
- "example" : "2"
- },
- "total_number" : {
- "type" : "integer",
- "description" : "记录总数",
- "example" : "1000"
- }
- }
- },
- "OrderParticipantInfo" : {
- "type" : "object",
- "properties" : {
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "logo_material_id" : {
- "type" : "string",
- "description" : "参与方logo素材id\t开发者通过 alipay.merchant.item.file.upload(商品文件上传接口)上传图片,获取到对应的素材 ID( material_id )",
- "example" : "2019010100502200000000000001"
- },
- "name" : {
- "type" : "string",
- "description" : "参与方名称",
- "example" : "东方航空"
- },
- "short_name" : {
- "type" : "string",
- "description" : "参与方简称",
- "example" : "东航"
- },
- "type" : {
- "type" : "string",
- "description" : "参与方类型",
- "example" : "服务提供商"
- },
- "uid" : {
- "type" : "string",
- "description" : "参与方支付宝uid",
- "example" : "2088202905583404"
- }
- }
- },
- "OrderShopInfo" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "店铺地址"
- },
- "alipay_shop_id" : {
- "type" : "string",
- "description" : "蚂蚁球房shop_id"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "球房其他业务属性,不同业务场景KEY枚举值不同,使用前请参考产品文档",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "merchant_shop_id" : {
- "type" : "string",
- "description" : "商户球房id\t支持英文、数字的组合"
- },
- "merchant_shop_link_page" : {
- "type" : "string",
- "description" : "店铺详情链接地址"
- },
- "name" : {
- "type" : "string",
- "description" : "店铺名称"
- },
- "phone_num" : {
- "type" : "string",
- "description" : "联系电话-支持固话或手机号\t仅支持数字、+、-"
- },
- "type" : {
- "type" : "string",
- "description" : "仅当alipay_shop_id字段值为非标准蚂蚁球房时使用,其他场景无需传入"
- }
- }
- },
- "OrderStatusData" : {
- "type" : "object",
- "properties" : {
- "order_id" : {
- "type" : "string",
- "description" : "申请单ID"
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "驳回原因"
- },
- "status" : {
- "type" : "string",
- "description" : "申请状态 AGREE、REJECT、EDIT、AUDIT"
- }
- }
- },
- "OrderVehicleInfo" : {
- "type" : "object",
- "properties" : {
- "license_plate_no" : {
- "type" : "string",
- "description" : "交通工具牌照号,如车牌号等",
- "example" : "沪A888888"
- },
- "memo" : {
- "type" : "string",
- "description" : "车辆信息备注",
- "example" : "备注"
- },
- "shift_no" : {
- "type" : "string",
- "description" : "班次",
- "example" : "班次"
- }
- }
- },
- "OrderVoucherAvailableCityCode" : {
- "type" : "object",
- "properties" : {
- "all_city" : {
- "type" : "boolean",
- "description" : "是否全国。选择全国后,无须填写city_codes字段。系统默认填充全国全部城市信息。"
- },
- "city_codes" : {
- "type" : "array",
- "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "OrderVoucherAvailableCityCodeModify" : {
- "type" : "object",
- "properties" : {
- "city_codes" : {
- "type" : "array",
- "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"100100\"]"
- }
- }
- },
- "OrderVoucherAvailableScopeResult" : {
- "type" : "object",
- "properties" : {
- "order_voucher_available_shop_result" : {
- "$ref" : "#/components/schemas/OrderVoucherAvailableShopResult"
- },
- "voucher_available_type" : {
- "type" : "string",
- "description" : "可用范围类型。"
- }
- }
- },
- "OrderVoucherAvailableShop" : {
- "type" : "object",
- "properties" : {
- "order_voucher_merchant_all_shop" : {
- "$ref" : "#/components/schemas/OrderVoucherMerchantAllShop"
- },
- "real_shop_ids" : {
- "type" : "array",
- "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- },
- "shop_ids" : {
- "type" : "array",
- "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "OrderVoucherAvailableShopModify" : {
- "type" : "object",
- "properties" : {
- "order_voucher_merchant_all_shop" : {
- "$ref" : "#/components/schemas/OrderVoucherMerchantAllShopModify"
- },
- "real_shop_ids" : {
- "type" : "array",
- "description" : "券可使用的商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
- },
- "shop_ids" : {
- "type" : "array",
- "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。接口参数是列表类型。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
- }
- }
- },
- "OrderVoucherAvailableShopResult" : {
- "type" : "object",
- "properties" : {
- "order_voucher_merchant_all_shop_result" : {
- "$ref" : "#/components/schemas/OrderVoucherMerchantAllShopResult"
- },
- "real_shop_fail_infos" : {
- "type" : "array",
- "description" : "请求失败的代运营商业关系球房详情",
- "items" : {
- "$ref" : "#/components/schemas/OrderVoucherRealShopFailInfo"
- }
- },
- "shop_fail_infos" : {
- "type" : "array",
- "description" : "请求失败的支付宝球房详情。",
- "items" : {
- "$ref" : "#/components/schemas/OrderVoucherShopFailInfo"
- }
- },
- "success_real_shop_ids" : {
- "type" : "array",
- "description" : "请求成功的代运营商业关系球房",
- "items" : {
- "type" : "string"
- }
- },
- "success_shop_ids" : {
- "type" : "array",
- "description" : "请求成功的支付宝球房。",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "OrderVoucherMerchantAllShop" : {
- "type" : "object",
- "properties" : {
- "exclude_shop_ids" : {
- "type" : "array",
- "description" : "券不可使用的球房列表。指定商户全部球房可用时可通过该字段排除部分不可用球房。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "OrderVoucherMerchantAllShopModify" : {
- "type" : "object",
- "properties" : {
- "exclude_shop_ids" : {
- "type" : "array",
- "description" : "券不可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
- }
- }
- },
- "OrderVoucherMerchantAllShopResult" : {
- "type" : "object",
- "properties" : {
- "exclude_shop_fail_infos" : {
- "type" : "array",
- "description" : "请求失败的不可用球房详情。",
- "items" : {
- "$ref" : "#/components/schemas/OrderVoucherShopFailInfo"
- }
- },
- "success_exclude_shop_ids" : {
- "type" : "array",
- "description" : "请求成功的不可用球房列表。",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "OrderVoucherRealShopFailInfo" : {
- "type" : "object",
- "properties" : {
- "fail_message" : {
- "type" : "string",
- "description" : "请求失败提示信息。"
- },
- "fail_reasons" : {
- "type" : "array",
- "description" : "请求失败原因。",
- "items" : {
- "type" : "string"
- }
- },
- "real_shop_id" : {
- "type" : "string",
- "description" : "请求失败的代运营商业关系球房 ID。"
- }
- }
- },
- "OrderVoucherShopFailInfo" : {
- "type" : "object",
- "properties" : {
- "fail_message" : {
- "type" : "string",
- "description" : "请求失败提示信息。"
- },
- "fail_reasons" : {
- "type" : "array",
- "description" : "请求失败的原因。",
- "items" : {
- "type" : "string"
- }
- },
- "shop_id" : {
- "type" : "string",
- "description" : "请求失败的支付球房 ID。"
- }
- }
- },
- "OrderVoucherUseRuleResult" : {
- "type" : "object",
- "properties" : {
- "voucher_available_scope_result" : {
- "$ref" : "#/components/schemas/OrderVoucherAvailableScopeResult"
- }
- }
- },
- "Org" : {
- "type" : "object",
- "properties" : {
- "org_id_number" : {
- "type" : "string",
- "description" : "企业证件号",
- "example" : "913301087458306077"
- },
- "org_id_type" : {
- "type" : "string",
- "description" : "企业证件类型,(证件号不为空时必填,详见企业证件类型)",
- "example" : "CRED_ORG_USCC"
- },
- "org_legal_id_number" : {
- "type" : "string",
- "description" : "法定代表人证件号",
- "example" : "330304199801011111"
- },
- "org_legal_id_type" : {
- "type" : "string",
- "description" : "法定代表人证件类型",
- "example" : "CRED_PSN_CH_IDCARD"
- },
- "org_legal_name" : {
- "type" : "string",
- "description" : "法定代表人名称",
- "example" : "折颜"
- },
- "org_name" : {
- "type" : "string",
- "description" : "企业名称",
- "example" : "杭州天谷信息科技有限公司"
- },
- "third_party_user_id" : {
- "type" : "string",
- "description" : "企业唯一标识:可传入平台机构id、企业证件号、企业邮箱等(个人用户与企业的唯一标识不可重复)",
- "example" : "913301087458306077"
- }
- }
- },
- "OuterMemberInfo" : {
- "type" : "object",
- "properties" : {
- "user_info" : {
- "type" : "string",
- "description" : "商户记录的用户信息",
- "example" : "爱投诉;爱买打折商品"
- }
- }
- },
- "OverseasExtendParams" : {
- "type" : "object",
- "properties" : {
- "goods_detail" : {
- "type" : "string",
- "description" : "商品明细列表",
- "example" : "[{\\\"goods_id\\\":\\\"001\\\",\\\"goods_amount\\\":\\\"100\\\"}]"
- }
- }
- },
- "PackageItemOpenInfo" : {
- "type" : "object",
- "properties" : {
- "consume_output_info" : {
- "$ref" : "#/components/schemas/ConsumeOutputInfo"
- },
- "file_download_url" : {
- "type" : "string",
- "description" : "发票文件下载链接",
- "example" : "http://txffp.oss-cn-beijing.aliyuncs.com/zfb/11b7678a6ab04271afd2c4dfd*******?Expires=1574665315&OSSAccessKeyId=LTAIYAJb********&Signature=%2BD6AX5gswetzBdz************%3D"
- },
- "file_type" : {
- "type" : "string",
- "description" : "文件类型,如pdf,ofd,jpg",
- "example" : "pdf"
- },
- "invoice_output_info" : {
- "$ref" : "#/components/schemas/InvoiceOutputInfo"
- },
- "item_source" : {
- "type" : "string",
- "description" : "项目来源,如:ocr\\einvoice\\consume",
- "example" : "ocr"
- },
- "item_sub_type" : {
- "type" : "string",
- "description" : "项目子类,如:出租车、火车、飞机等",
- "example" : "出租车"
- },
- "item_type" : {
- "type" : "string",
- "description" : "项目大类,如:餐饮美食、酒店住宿、差旅出行等",
- "example" : "餐饮美食"
- },
- "ocr_normal_scan_info" : {
- "$ref" : "#/components/schemas/OcrNormalScanInfo"
- },
- "ocr_plane_scan_info" : {
- "$ref" : "#/components/schemas/OcrPlaneScanInfo"
- },
- "ocr_taxi_scan_info" : {
- "$ref" : "#/components/schemas/OcrTaxiScanInfo"
- },
- "ocr_train_scan_info" : {
- "$ref" : "#/components/schemas/OcrTrainScanInfo"
- }
- }
- },
- "PaidOuterCardCycleInfoDTO" : {
- "type" : "object",
- "properties" : {
- "alipay_deduct_agreement" : {
- "type" : "string",
- "description" : "支付宝用户签约协议号"
- },
- "alipay_deduct_product_code" : {
- "type" : "string",
- "description" : "支付宝代扣产品码"
- },
- "alipay_deduct_scene" : {
- "type" : "string",
- "description" : "支付宝代扣场景码"
- },
- "close_reason" : {
- "type" : "string",
- "description" : "关闭连续购买原因。枚举如下:\tMANUAL_CLOSE(手动关闭)\tEXPIRE_CLOSE(过期关闭)\tCLOSE(关闭)"
- },
- "cycle_type" : {
- "type" : "string",
- "description" : "用户开通连续购买类型。枚举如下:\tYEAR(年)\tQUARTER(季度)\tMONTH(月)"
- },
- "open_status" : {
- "type" : "string",
- "description" : "开通连续购买状态。枚举如下:\tOPEN(打开)\tCLOSE(关闭)"
- }
- }
- },
- "PaidOuterCardCycleSellConfDTO" : {
- "type" : "object",
- "properties" : {
- "cycle_selling_url" : {
- "type" : "string",
- "description" : "用户开通连续购买地址"
- },
- "cycle_type" : {
- "type" : "array",
- "description" : "周期购买类型。枚举如下:\tYEAR 年\tQUARTER 季度\tMONTH 月",
- "items" : {
- "type" : "string"
- }
- },
- "support_cycle_sell" : {
- "type" : "boolean",
- "description" : "是否支持用户连续购买。true代表支持,false代表不支持。"
- }
- }
- },
- "PaidOuterCardExtraInfoDTO" : {
- "type" : "object",
- "properties" : {
- "action" : {
- "type" : "string",
- "description" : "用户操作类型,枚举如下:\tOPEN 开通\tUPGRADE 升级\tDOWNGRADE 降级\tRENEW 续费"
- },
- "cycle_info" : {
- "$ref" : "#/components/schemas/PaidOuterCardCycleInfoDTO"
- },
- "purchase_info" : {
- "$ref" : "#/components/schemas/PaidOuterCardPurchaseInfoDTO"
- }
- }
- },
- "PaidOuterCardManageUrlConfDTO" : {
- "type" : "object",
- "properties" : {
- "cycle_manage_url" : {
- "type" : "string",
- "description" : "连续购买管理地址。包括查看当前用户连续购买详情,关闭连续购买等功能"
- },
- "downgrade_url" : {
- "type" : "string",
- "description" : "付费外卡降级地址"
- },
- "refund_url" : {
- "type" : "string",
- "description" : "续费外卡退款地址"
- },
- "renew_url" : {
- "type" : "string",
- "description" : "付费外卡续费地址"
- },
- "upgrade_url" : {
- "type" : "string",
- "description" : "付费外卡升级地址"
- }
- }
- },
- "PaidOuterCardPriceDetailDTO" : {
- "type" : "object",
- "properties" : {
- "desc" : {
- "type" : "string",
- "description" : "方案描述"
- },
- "price" : {
- "type" : "string",
- "description" : "售卖具体金额。单位为元。支持两位小数。"
- },
- "price_type" : {
- "type" : "string",
- "description" : "售卖金额类型。目前支持\tFIXED:固定金额"
- },
- "worth" : {
- "type" : "string",
- "description" : "价值。单位为元。支持两位小数"
- }
- }
- },
- "PaidOuterCardPurchaseInfoDTO" : {
- "type" : "object",
- "properties" : {
- "action_date" : {
- "type" : "string",
- "description" : "用户购买、升级、降级、续费的操作时间。格式为:yyyy-MM-dd hh:mm:ss"
- },
- "alipay_trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号,由api: alipay.trade.create 返回"
- },
- "out_trade_no" : {
- "type" : "string",
- "description" : "商户订单号。与创建订单api:alipay.trade.create保持一致"
- },
- "price" : {
- "type" : "string",
- "description" : "用户购买金额。当购买/升级/续费场景必填,单位元,精确到小数点后2位"
- },
- "source" : {
- "type" : "string",
- "description" : "用户操作来源。枚举如下:\tALIPAY_TINY_APP(支付宝小程序)\tSELF_APP(商家APP)\tOTHER(其他)"
- }
- }
- },
- "PaidOuterCardSellingConfDTO" : {
- "type" : "object",
- "properties" : {
- "end_date" : {
- "type" : "string",
- "description" : "售卖结束时间。\t格式:yyyy-MM-dd HH:mm:ss\t如果永久有效则不传。"
- },
- "price_detail" : {
- "type" : "array",
- "description" : "售卖方案列表",
- "items" : {
- "$ref" : "#/components/schemas/PaidOuterCardPriceDetailDTO"
- }
- },
- "selling_url" : {
- "type" : "string",
- "description" : "售卖地址"
- },
- "start_date" : {
- "type" : "string",
- "description" : "售卖开始时间。格式:yyyy-MM-dd HH:mm:ss"
- }
- }
- },
- "PaidOuterCardTemplateConfDTO" : {
- "type" : "object",
- "properties" : {
- "cycle_selling_conf" : {
- "$ref" : "#/components/schemas/PaidOuterCardCycleSellConfDTO"
- },
- "manage_url_conf" : {
- "$ref" : "#/components/schemas/PaidOuterCardManageUrlConfDTO"
- },
- "open_selling_conf" : {
- "$ref" : "#/components/schemas/PaidOuterCardSellingConfDTO"
- }
- }
- },
- "Participant" : {
- "type" : "object",
- "properties" : {
- "bankcard_ext_info" : {
- "$ref" : "#/components/schemas/BankcardExtInfo"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "描述参与方信息的扩展属性,使用前请与支付宝工程师确认"
- },
- "identity" : {
- "type" : "string",
- "description" : "参与方的唯一标识"
- },
- "identity_type" : {
- "type" : "string",
- "description" : "参与方的标识类型,目前支持如下类型:\t1、ALIPAY_USER_ID 支付宝的会员ID\t2、ALIPAY_LOGON_ID:支付宝登录号,支持邮箱和手机号格式\t3、ALIPAY_OPEN_ID:支付宝openid"
- },
- "merchant_user_info" : {
- "type" : "string",
- "description" : "商户端的用户信息描述,目前可指定如下属性:\r\tmerchant_user_id:商户端的用户唯一ID\r\tmerchant_user_name:商户端的用户名\r\tmerchant_user_nickname:商户端的用户昵称\r\tmerchant_user_mobile:商户端的手机号"
- },
- "name" : {
- "type" : "string",
- "description" : "参与方真实姓名,如果非空,将校验收款支付宝账号姓名一致性。当identity_type=ALIPAY_LOGON_ID时,本字段必填。"
- }
- }
- },
- "PayParams" : {
- "type" : "object",
- "properties" : {
- "async_type" : {
- "type" : "string",
- "description" : "普通异步支付, 传入该参数时,如果满足受理条件,会先同步受理支付,然后在异步调度推进支付\t\tNORMAL_ASYNC: 普通异步,受理成功之后,会在交易关单之前通过一定的策略重试\t\tNEAR_REAL_TIME_ASYNC: 准实时异步,受理成功之后,会准实时发起1次调度",
- "example" : "NORMAL_ASYNC"
- },
- "retry_type" : {
- "type" : "string",
- "description" : "重试类型,当async_type传入NORMAL_ASYNC时,可以设置该参数,选择是否要重试,retry_type 可选,不设置时,可重试。\t● NONE_AND_CLOSETRADE:不重试,支付请求只会被执行1次,执行完成后如果交易未成功,会关闭交易\t● NONE:不重试,支付请求只会被执行1次,执行完成后,不做任何处理。交易到达了timeout_express指定的时间后,关闭交易。\t● RETY: 重试,支付请求在超时关单前,会按照策略重试",
- "example" : "NONE"
- }
- }
- },
- "PaymentFixVoucher" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "面额,每张优惠券可以抵扣的金额。\t\t限制:\t1、币种为人民币,单位为元。小数点以后最多保留两位。\t2、取值范围:0.1<=x<=3000"
- },
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。默认无门槛限制。 \t\t限制:\t1、币种为人民币,单位为元。小数点以后最多保留两位。 \t2、取值范围:0.1<=x<= 50000。\t3、若指定可核销商品编码,门槛金额必填。门槛金额为可核销商品部分的消费金额,而不是订单的消费金额。"
- }
- }
- },
- "PaymentVoucherAlipayBalanceRechargeInfo" : {
- "type" : "object",
- "properties" : {
- "logon_id" : {
- "type" : "string",
- "description" : "出资的支付宝登录账号\t限制:\t1、登录账号和用户ID必须且只能二选一"
- },
- "user_id" : {
- "type" : "string",
- "description" : "出资的支付宝用户id\t限制:\t1、登录账号和用户ID必须且只能二选一"
- }
- }
- },
- "PaymentVoucherAvailableGoods" : {
- "type" : "object",
- "properties" : {
- "goods_description" : {
- "type" : "string",
- "description" : "商品描述信息。 用于券面展示,向用户介绍商品",
- "example" : "特价手机"
- },
- "goods_ids" : {
- "type" : "array",
- "description" : "可优惠商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,可以使用优惠券。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"apple-01\",\"apple-02\"]"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "ipad"
- }
- }
- },
- "PaymentVoucherAvailableGoodsModify" : {
- "type" : "object",
- "properties" : {
- "goods_ids" : {
- "type" : "array",
- "description" : "可优惠商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,可以使用优惠券。\t限制:\t1、核销商品范围只能增大不能减小",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"apple-01\",\"apple-02\"]"
- }
- }
- },
- "PaymentVoucherAvailableMerchant" : {
- "type" : "object",
- "properties" : {
- "available_pids" : {
- "type" : "array",
- "description" : "优惠券可核销的直连商户PID\t\t限制:\t1、available_pids和available_smids至少二选一。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088102111111111\"]"
- },
- "available_smids" : {
- "type" : "array",
- "description" : "优惠券可核销的间连商户SMID\t\t限制: \t1、available_pids和available_smids至少二选一。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088102111111111\"]"
- }
- }
- },
- "PaymentVoucherAvailableMerchantModify" : {
- "type" : "object",
- "properties" : {
- "available_pids" : {
- "type" : "array",
- "description" : "优惠券可以核销的直连商户PID。默认不修改。\t 限制: \t1、核销商户范围只能增大不能减小。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088102111111111\"]"
- },
- "available_smids" : {
- "type" : "array",
- "description" : "优惠券可以核销的间连商户SMID。默认不修改。\t 限制: \t1、核销商户范围只能增大不能减小。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088102111111111\"]"
- }
- }
- },
- "PaymentVoucherBelongMerchantInfo" : {
- "type" : "object",
- "properties" : {
- "merchant_id" : {
- "type" : "string",
- "description" : "商户支付宝id,默认品牌名和品牌logo将从该商户信息中获取"
- },
- "merchant_id_type" : {
- "type" : "string",
- "description" : "商户id类型。 \t若传入的类型为直连商户则必须签约当面付且当前接口调用者与商户存在代运营关系\t当类型为SMID时表示为某个间连商户配券,但是券的归属者属于当前接口调用人。\t枚举值\tSMID 间连商户\tPID 直连商户"
- }
- }
- },
- "PaymentVoucherBudgetInfo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "营销资金预算,单位元。\t总预算=优惠金额*总发券张数"
- },
- "budget_type" : {
- "type" : "string",
- "description" : "营销资金预算类型\t枚举值:\tNO_CASH 免充值\tRECHARGE 预充值\t\t1、免充值:制券方无需提前充值资金,用户核销支付券时,直接从订单原价中扣除优惠减价金额,最终只将用户实际支付的金额结算给核销商户,商户实收少于订单原价。\t2.预充值: 制券方需将优惠预算提前充值到支付宝指定营销账户中,用户核销支付券时,系统从该账户可用余额中扣除优惠减价部分对应的资金,连同用户实际支付的资金,一并结算给核销商户,不影响实收。"
- },
- "recharge_info" : {
- "$ref" : "#/components/schemas/PaymentVoucherRechargeInfo"
- }
- }
- },
- "PaymentVoucherDisplayInfo" : {
- "type" : "object",
- "properties" : {
- "brand_name" : {
- "type" : "string",
- "description" : "商户品牌名称。 如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。 如果没有维护商家别名,则使用默认名称: 商家优惠。 用户领取优惠券后,品牌名称会对用户进行展示"
- },
- "customer_service_mobile" : {
- "type" : "string",
- "description" : "商家客服电话,会展示在支付宝卡包券详情页。"
- },
- "voucher_description" : {
- "type" : "string",
- "description" : "用于说明详细的活动规则,会展示在支付宝卡包券详情页。"
- },
- "voucher_detail_images" : {
- "type" : "array",
- "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张;",
- "items" : {
- "type" : "string"
- }
- },
- "voucher_image" : {
- "type" : "string",
- "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值 限制: 该字段在兑换券场景下必传 上传图片尺寸670*335,支持格式:png、jpg、jpeg、bmp,大小不超过2MB\t限制:\t1.指定可核销商品(available_goods)时必传"
- }
- }
- },
- "PaymentVoucherRechargeInfo" : {
- "type" : "object",
- "properties" : {
- "alipay_balance_recharge_info" : {
- "$ref" : "#/components/schemas/PaymentVoucherAlipayBalanceRechargeInfo"
- },
- "recharge_type" : {
- "type" : "string",
- "description" : "预充值方式。 \t枚举值 ALIPAY_BALANCE 支付宝余额预充值"
- }
- }
- },
- "PaymentVoucherSendRule" : {
- "type" : "object",
- "properties" : {
- "max_quantity_by_day" : {
- "type" : "integer",
- "description" : "设置此字段,允许指定单天最大发券数量。\t\t限制:\t每天发放张数*活动天数应小于等于优惠券发放总量"
- },
- "natural_person_limit" : {
- "type" : "boolean",
- "description" : "限制相同身份证号领取次数(voucher_quantity_limit_per_user)。默认false不限制。\t枚举值\ttrue:是\tfalse:否"
- },
- "phone_number_limit" : {
- "type" : "boolean",
- "description" : "限制相同手机号领取次数(voucher_quantity_limit_per_user)。默认false不限制\t枚举值\ttrue:是\tfalse:否"
- },
- "real_name_limit" : {
- "type" : "boolean",
- "description" : "限制支付宝实名用户才能领取支付券,默认为false表示不限制\t枚举值\ttrue\\false"
- },
- "voucher_quantity" : {
- "type" : "integer",
- "description" : "发行券的总数量。\t限制:\t1、发放总个数最少1个\t2、发放总个数最多99999999个"
- },
- "voucher_quantity_limit_per_user" : {
- "type" : "integer",
- "description" : "每人领取限制。 默认按照支付宝账号进行领取限制; \t不填写或填入0表示没有领取限制."
- },
- "voucher_quantity_limit_per_user_period_type" : {
- "type" : "string",
- "description" : "周期限领配置,限制每人在固定周期内领取张数(voucher_quantity_limit_per_user),默认LIFE_CYCLE\t\t枚举值为 \tDAY:每天\tWEEK:每周\tMONTH:每月\tLIFE_CYCLE:整个活动周期"
- }
- }
- },
- "PaymentVoucherUseRule" : {
- "type" : "object",
- "properties" : {
- "available_app_ids" : {
- "type" : "array",
- "description" : "可核销的支付宝小程序id\t\t限制: \t1、必须是支付宝小程序\t2、如果包含重复的小程序id会自动进行去重操作。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2021238412323412\"]"
- },
- "available_goods" : {
- "$ref" : "#/components/schemas/PaymentVoucherAvailableGoods"
- },
- "available_merchant" : {
- "$ref" : "#/components/schemas/PaymentVoucherAvailableMerchant"
- },
- "available_store_ids" : {
- "type" : "array",
- "description" : "可核销支付球房id。\t限制: \t1、available_store_ids中的球房id必须是支付宝球房id。 \t2、available_store_ids如果包含重复的球房id会自动进行去重操作。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
- },
- "fix_voucher" : {
- "$ref" : "#/components/schemas/PaymentFixVoucher"
- },
- "unavailable_goods_ids" : {
- "type" : "array",
- "description" : "不可核销商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,不可以使用优惠券。\t\t限制:\t1、available_goods与unavailable_goods_ids只能二选一或者同时为空",
- "items" : {
- "type" : "string"
- },
- "example" : "['apple-03','apple-04']"
- },
- "use_mode" : {
- "type" : "string",
- "description" : "核销跳转方式,默认CAN_USE(详情页展示可使用按钮)\t枚举值:\tSCAN_CODE 跳转到支付宝收钱码\tSELF_LINK 跳转至商家指定页面\tCAN_USE 卡包券详情页显示可使用按钮",
- "example" : "SELF_LINK"
- },
- "use_url" : {
- "type" : "string",
- "description" : "核销跳转链接\t限制:\t1、只有use_mode为SELF_LINK时该值有效且必传。\t2、核销跳转链接必须是支付宝小程序链接。",
- "example" : "alipays://platformapi/startapp?appId=201911136XXXXX&noneExit=true"
- },
- "voucher_quantity_limit_per_user" : {
- "type" : "integer",
- "description" : "每个支付宝账号的核销次数限制。 默认不限制",
- "example" : "1"
- },
- "voucher_quantity_limit_per_user_period_type" : {
- "type" : "string",
- "description" : "核销次数限制周期配置。默认值LIFE_CYCLE表示限制每个支付宝账号在整个活动期间核销次数。\t\t枚举值:\tDAY:每天 \tWEEK:每周 \tMONTH:每月 \tLIFE_CYCLE:整个活动",
- "example" : "DAY"
- },
- "voucher_valid_period" : {
- "$ref" : "#/components/schemas/PaymentVoucherValidPeriod"
- }
- }
- },
- "PaymentVoucherUseRuleDetail" : {
- "type" : "object",
- "properties" : {
- "fix_voucher" : {
- "$ref" : "#/components/schemas/PaymentFixVoucher"
- },
- "use_mode" : {
- "type" : "string",
- "description" : "核销跳转方式,默认CAN_USE(详情页展示可使用按钮) 枚举值: \tSCAN_CODE 跳转到支付宝付钱码 \tSELF_LINK 跳转至商家指定页面 \tCAN_USE 卡包券详情页显示可使用按钮",
- "example" : "SELF_LINK"
- },
- "use_url" : {
- "type" : "string",
- "description" : "核销跳转链接 限制: 1、只有use_mode为SELF_LINK时该值有效且必传。 2、核销跳转链接必须是支付宝小程序链接。",
- "example" : "alipays://platformapi/startapp?appId=201911136XXXXX&noneExit=true"
- },
- "voucher_quantity_limit_per_user" : {
- "type" : "integer",
- "description" : "每个支付宝账号的核销次数限制。 默认不限制",
- "example" : "1"
- },
- "voucher_quantity_limit_per_user_period_type" : {
- "type" : "string",
- "description" : "核销次数限制周期配置。默认值LIFE_CYCLE表示限制每个支付宝账号在整个活动期间核销次数。 枚举值: DAY:每天 WEEK:每周 MONTH:每月 LIFE_CYCLE:整个活动",
- "example" : "DAY"
- },
- "voucher_valid_period" : {
- "$ref" : "#/components/schemas/PaymentVoucherValidPeriod"
- }
- }
- },
- "PaymentVoucherUseRuleModify" : {
- "type" : "object",
- "properties" : {
- "available_app_ids" : {
- "type" : "string",
- "description" : "可核销的支付宝小程序id \t\t限制: \t1、必须是支付宝小程序 \t2、如果包含重复的小程序id会自动进行去重操作。\t3、可核销小程序范围只能扩大不能缩小",
- "example" : "[\"2021238412323412\"]"
- },
- "available_goods" : {
- "$ref" : "#/components/schemas/PaymentVoucherAvailableGoodsModify"
- },
- "available_merchant" : {
- "$ref" : "#/components/schemas/PaymentVoucherAvailableMerchantModify"
- },
- "available_store_ids" : {
- "type" : "string",
- "description" : "可核销支付球房id。 \t\t限制: \t1、available_store_ids中的球房id必须是支付宝球房id。 \t2、available_store_ids如果包含重复的球房id会自动进行去重操作。\t3、可核销球房范围只能扩大不能缩小",
- "example" : "[\"2018051000502000000011111111\",\"2018040200502000000011111111\",\"2018062800502000000022271997\"]"
- },
- "voucher_valid_period" : {
- "$ref" : "#/components/schemas/PaymentVoucherValidPeriodModify"
- }
- }
- },
- "PaymentVoucherValidPeriod" : {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string",
- "description" : "券有效期。\t枚举值:\tABSOLUTE:绝对时间\tRELATIVE:相对时间"
- },
- "valid_begin_time" : {
- "type" : "string",
- "description" : "券可使用的开始时间。\t\t格式为:yyyy-MM-dd HH:mm:ss\t\t限制:\ttype为ABSOLUTE时该字段必填。"
- },
- "valid_days_after_receive" : {
- "type" : "integer",
- "description" : "券生效后N天内可以使用。\t\t可以配合wait_days_after_receive字段使用。\t\t限制:\t1.type为RELATIVE时必填。\t2.valid_days_after_receive必须大于0。"
- },
- "valid_end_time" : {
- "type" : "string",
- "description" : "券可使用的结束时间。\t\t格式为yyyy-MM-dd HH:mm:ss\t\t限制:\t1、type为ABSOLUTE必填。\t2、券可使用的结束时间valid_end_time必须大于券的发放结束时间publish_end_time"
- },
- "wait_days_after_receive" : {
- "type" : "integer",
- "description" : "用户领券后需要等待N天,券才可以生效。默认用户领券后立刻生效。\t\t限制:\t1、type为RELATIVE时可选。"
- }
- }
- },
- "PaymentVoucherValidPeriodModify" : {
- "type" : "object",
- "properties" : {
- "valid_days_after_receive" : {
- "type" : "integer",
- "description" : "券生效后N天内可以使用。 限制: type为RELATIVE时可修改。 valid_days_after_receive必须大于0。 修改该时间,只允许延长,不允许缩短。",
- "example" : "3"
- },
- "valid_end_time" : {
- "type" : "string",
- "description" : "券可使用的结束时间。 格式为yyyy-MM-dd HH:mm:ss 限制: type为ABSOLUTE可修改。 券可使用的结束时间valid_end_time 必须大于 券的发放结束时间 publish_end_time 修改券可使用的结束时间,只能延长,不允许缩短。",
- "example" : "2017-01-13 23:59:59"
- }
- }
- },
- "PeriodRuleParams" : {
- "type" : "object",
- "properties" : {
- "execute_time" : {
- "type" : "string",
- "description" : "首次执行时间execute_time是周期扣款产品必填,即商户发起首次扣款的时间。精确到日,格式为yyyy-MM-dd\t结合其他必填的扣款周期参数,会确定商户以后的扣款计划。发起扣款的时间需符合这里的扣款计划。",
- "example" : "2019-01-23"
- },
- "period" : {
- "type" : "integer",
- "description" : "周期数period是周期扣款产品必填。与另一参数period_type组合使用确定扣款周期,例如period_type为DAY,period=90,则扣款周期为90天。",
- "example" : "3"
- },
- "period_type" : {
- "type" : "string",
- "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日),以此避免有些月份可能不存在对应日期的情况。",
- "example" : "DAY"
- },
- "single_amount" : {
- "type" : "string",
- "description" : "单次扣款最大金额single_amount是周期扣款产品必填,即每次发起扣款时限制的最大金额,单位为元。商户每次发起扣款都不允许大于此金额。",
- "example" : "10.99"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "总金额限制,单位为元。如果传入此参数,商户多次扣款的累计金额不允许超过此金额。",
- "example" : "600"
- },
- "total_payments" : {
- "type" : "integer",
- "description" : "总扣款次数。如果传入此参数,则商户成功扣款的次数不能超过此次数限制(扣款失败不计入)。",
- "example" : "12"
- }
- }
- },
- "PluginBetaItemInfo" : {
- "type" : "object",
- "properties" : {
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称",
- "example" : "小程序名称"
- },
- "beta_status" : {
- "type" : "string",
- "description" : "被邀测状态,待确认WAITCHECK/确认CHECKED/拒绝REJECT",
- "example" : "WAITCHECK"
- },
- "memo" : {
- "type" : "string",
- "description" : "拒绝原因",
- "example" : "拒绝原因"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID",
- "example" : "2019****"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "插件id",
- "example" : "2088xxx"
- },
- "plugin_version" : {
- "type" : "string",
- "description" : "插件版本",
- "example" : "0.0.1"
- },
- "qr_code_url" : {
- "type" : "string",
- "description" : "邀测二维码",
- "example" : "https://mobilecodec.alipay.com/show.htm?code=0le14985b5hyws8pcbyah5f"
- }
- }
- },
- "PluginUseConfigInfo" : {
- "type" : "object",
- "properties" : {
- "bundle_id" : {
- "type" : "string",
- "description" : "端",
- "example" : "com.alipay.alipaywallet"
- },
- "gray_code" : {
- "type" : "string",
- "description" : "灰度策略",
- "example" : "p1"
- },
- "plugin_develop_version" : {
- "type" : "string",
- "description" : "插件研发版本",
- "example" : "0.0.3"
- },
- "status" : {
- "type" : "string",
- "description" : "GRAY(灰度中)/RELEASE(在线状态)",
- "example" : "GRAY"
- }
- }
- },
- "PluginUseRelationInfo" : {
- "type" : "object",
- "properties" : {
- "beta_memo" : {
- "type" : "string",
- "description" : "邀测驳回原因",
- "example" : "测试不通过"
- },
- "beta_plugin_version" : {
- "type" : "string",
- "description" : "邀测插件版本号",
- "example" : "0.0.3"
- },
- "beta_qr_code_url" : {
- "type" : "string",
- "description" : "邀测二维码",
- "example" : "https://mobilecodec.alipay.com/show.htm?code=0le14985b5hyws8pcbyah5f"
- },
- "beta_status" : {
- "type" : "string",
- "description" : "WAITCHECK-待确认;CHECKED-确认;REJECT-拒绝",
- "example" : "WAITCHECK"
- },
- "gmt_active" : {
- "type" : "string",
- "description" : "激活时间",
- "example" : "2018-05-10 15:10:25"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "订购时间",
- "example" : "2018-05-10 15:10:25"
- },
- "gmt_invalid" : {
- "type" : "string",
- "description" : "插件失效时间",
- "example" : "9999-12-31 00:00:00"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "应用ID",
- "example" : "2012211102012056"
- },
- "plugin_deploy_version" : {
- "type" : "string",
- "description" : "插件构建版本",
- "example" : "0.2.1812171829.32"
- },
- "plugin_id" : {
- "type" : "string",
- "description" : "插件ID",
- "example" : "2012211102012088"
- },
- "plugin_status" : {
- "type" : "string",
- "description" : "插件状态,取值包括EXECUTING/WAIT_WORKING/WORKING/STOP_WORKING/WAIT_BUY",
- "example" : "WORKING"
- },
- "plugin_use_config_info_list" : {
- "type" : "array",
- "description" : "分端版本配置信息列表",
- "items" : {
- "$ref" : "#/components/schemas/PluginUseConfigInfo"
- }
- },
- "plugin_version" : {
- "type" : "string",
- "description" : "插件版本",
- "example" : "0.0.1"
- },
- "run_mode_type" : {
- "type" : "string",
- "description" : "插件运行状态,取值包括ONLINE/TRIAL/REVIEW/DEBUG",
- "example" : "ONLINE"
- },
- "source_from" : {
- "type" : "string",
- "description" : "渠道来源,取值包括SHOP_MINI/PLUGIN_DEBUG/PLUGIN_TRIAL/PLUGIN_AUDIT/GENERAL_SHOP_ID",
- "example" : "PLUGIN_DEBUG"
- }
- }
- },
- "PointCard" : {
- "type" : "object",
- "properties" : {
- "desc" : {
- "type" : "string",
- "description" : "工具的描述",
- "example" : "集点卡的功能描述"
- },
- "end_time" : {
- "type" : "string",
- "description" : "工具的有效期的结束时间(必须晚于活动的结束时间)",
- "example" : "2016-10-01 00:00:00"
- },
- "logo" : {
- "type" : "string",
- "description" : "工具的LOGO文件ID",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "name" : {
- "type" : "string",
- "description" : "工具的名称",
- "example" : "集点卡"
- },
- "start_time" : {
- "type" : "string",
- "description" : "工具的有效期的起始时间",
- "example" : "2016-05-01 00:00:00"
- },
- "type" : {
- "type" : "string",
- "description" : "工具类型,目前支持:\r\t集点卡:POINT_CARD",
- "example" : "POINT_CARD"
- }
- }
- },
- "PreCreateWaybillIstd" : {
- "type" : "object",
- "properties" : {
- "coupon_fee" : {
- "type" : "string",
- "description" : "优惠券费用",
- "example" : "1.00"
- },
- "deliver_fee" : {
- "type" : "string",
- "description" : "运费",
- "example" : "10.00"
- },
- "dispatch_duration" : {
- "type" : "integer",
- "description" : "预计骑手还剩多久接单(单位:秒)",
- "example" : "300"
- },
- "distance" : {
- "type" : "integer",
- "description" : "配送距离(单位:米)",
- "example" : "1000"
- },
- "fee" : {
- "type" : "string",
- "description" : "实际运费",
- "example" : "9.00"
- },
- "insurance_fee" : {
- "type" : "string",
- "description" : "保价费用",
- "example" : "0.00"
- },
- "logistics_code" : {
- "type" : "string",
- "description" : "即时配送公司编码",
- "example" : "FENGNIAO"
- },
- "logistics_token" : {
- "type" : "string",
- "description" : "配送公司可以返回此字段,当商家下单时候带上这个字段,保证在一段时间内运费不变",
- "example" : "token001"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "支付金额,实际扣减的费用以此字段为准",
- "example" : "9.00"
- },
- "service_code" : {
- "type" : "string",
- "description" : "即时配送公司服务代码",
- "example" : "fengniao01"
- },
- "third_code" : {
- "type" : "string",
- "description" : "即时配送公司返回的响应码。10000表示业务处理成功,40004表示业务处理失败。",
- "example" : "10000"
- },
- "third_sub_code" : {
- "type" : "string",
- "description" : "即时配送公司返回的错误码",
- "example" : "xxx"
- },
- "third_sub_msg" : {
- "type" : "string",
- "description" : "即时配送公司返回的错误描述",
- "example" : "xxx"
- }
- }
- },
- "PreOrderExtInfo" : {
- "type" : "object",
- "properties" : {
- "brand_id" : {
- "type" : "string",
- "description" : "品牌id",
- "example" : "123"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "品牌名称",
- "example" : "豫章人家"
- },
- "channel" : {
- "type" : "string",
- "description" : "请求渠道",
- "example" : "APP, AlipayMiniApp, Taobao"
- },
- "order_feature" : {
- "type" : "string",
- "description" : "单据属性,风控系统使用",
- "example" : "merchant_id@@@2088123456123456|||merchant_name@@@张三营业厅"
- }
- }
- },
- "PresetPayToolInfo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "array",
- "description" : "前置资产金额。单位:元。",
- "items" : {
- "type" : "string"
- },
- "example" : "12.21"
- },
- "assert_type_code" : {
- "type" : "string",
- "description" : "前置资产类型编码,和收单支付传入的preset_pay_tool里面的类型编码保持一致。",
- "example" : "盒马礼品卡:HEMA;抓猫猫红包:T_CAT_COUPON"
- }
- }
- },
- "ProductAgentStatusInfo" : {
- "type" : "object",
- "properties" : {
- "product_code" : {
- "type" : "string",
- "description" : "产品编码",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "product_name" : {
- "type" : "string",
- "description" : "产品名称",
- "example" : "当面付收单"
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "产品被驳回的原因",
- "example" : "请您在签约时上传与账户主体一致的证件。"
- },
- "status" : {
- "type" : "string",
- "description" : "none:未签约,表示还没有签约该产品 valid:已生效,表示合约已经生效,不需要再签约了 restrictValid:受限生效,表示合约已经生效,但是资料不全,功能受限 audit:审核中,已经有合约在审核中,请等待审核完成 waitConfirm:待商户确认协议,合约已经审核通过,需要商户确认后合约才生效 auditReject:审核未通过 invalid:合约失效,曾经签过合约,但已经失效了,可以重新发起签约 restrictInvalid:受限失效,受限合约失效了",
- "example" : "none|valid|restrictValid..."
- }
- }
- },
- "ProductInviteStatusInfo" : {
- "type" : "object",
- "properties" : {
- "product_code" : {
- "type" : "string",
- "description" : "产品编码",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "product_name" : {
- "type" : "string",
- "description" : "产品名称",
- "example" : "当面付收单"
- },
- "status" : {
- "type" : "string",
- "description" : "NONE:未签约,表示还没有签约该产品\tMERCHANT_AUDITING:审核中,已经有合约在审核中,请等待审核完成\tMERCHANT_CONFIRM_SUCCESS:已生效,表示合约已经生效,不需要再签约了\tMERCHANT_APPLY_ORDER_CANCELED:审核未通过",
- "example" : "NONE|MERCHANT_AUDITING|MERCHANT_CONFIRM_SUCCESS|MERCHANT_APPLY_ORDER_CANCELED"
- }
- }
- },
- "ProductSignStatusInfo" : {
- "type" : "object",
- "properties" : {
- "product_code" : {
- "type" : "string",
- "description" : "产品编码",
- "example" : "FACE_TO_FACE_PAYMENT"
- },
- "product_name" : {
- "type" : "string",
- "description" : "产品名称",
- "example" : "当面付收单"
- },
- "status" : {
- "type" : "string",
- "description" : "none:未签约,表示还没有签约该产品\r\tvalid:已生效,表示合约已经生效,不需要再签约了\r\trestrictValid:受限生效,表示合约已经生效,但是资料不全,功能受限\r\taudit:审核中,已经有合约在审核中,请等待审核完成\r\twaitConfirm:待商户确认协议,合约已经审核通过,需要商户确认后合约才生效\r\tauditReject:审核未通过\r\tinvalid:合约失效,曾经签过合约,但已经失效了,可以重新发起签约\r\trestrictInvalid:受限失效,受限合约失效了",
- "example" : "none|valid|restrictValid|audit|waitConfirm|auditReject|invalid|restrictInvalid"
- }
- }
- },
- "ProjectRuleInfo" : {
- "type" : "object",
- "properties" : {
- "effective_end_date" : {
- "type" : "string",
- "description" : "有效期截止",
- "example" : "2021-03-02 17:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "有效期起始",
- "example" : "2021-03-01 19:00:00"
- },
- "employee_list" : {
- "type" : "array",
- "description" : "切换open_id前请使用此字段:员工uid列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2088123412341234\"]"
- },
- "employee_open_id_list" : {
- "type" : "array",
- "description" : "切换open_id后请使用此字段:员工open_id列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"abcdxxxx\"]"
- },
- "expense_ctrl_rule_info_group_list" : {
- "type" : "array",
- "description" : "规则组列表",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseCtrRuleGroupInfo"
- }
- },
- "project_id" : {
- "type" : "string",
- "description" : "项目id",
- "example" : "1100"
- },
- "project_name" : {
- "type" : "string",
- "description" : "项目名称",
- "example" : "费控项目"
- }
- }
- },
- "PromiseDetail" : {
- "type" : "object",
- "properties" : {
- "auth_status" : {
- "type" : "boolean",
- "description" : "授权状态",
- "example" : "true"
- },
- "create_time" : {
- "type" : "string",
- "description" : "任务创建时间",
- "example" : "yyyy-mm-dd hh:mm:ss"
- },
- "end_time" : {
- "type" : "string",
- "description" : "任务结束时间",
- "example" : "yyyy-mm-dd hh:mm:ss"
- },
- "final_time" : {
- "type" : "string",
- "description" : "任务到达终态的时间",
- "example" : "yyyy-mm-dd hh:mm:ss"
- },
- "finish_periods" : {
- "type" : "integer",
- "description" : "任务完成期数",
- "example" : "1"
- },
- "merchant_id" : {
- "type" : "string",
- "description" : "芝麻侧的商户id",
- "example" : "lefit"
- },
- "merchant_logo" : {
- "type" : "string",
- "description" : "商户logo",
- "example" : "https://icon.png"
- },
- "merchant_name" : {
- "type" : "string",
- "description" : "商户名称",
- "example" : "乐刻"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "生活记录加入时的外部业务号",
- "example" : "84927419"
- },
- "period_type" : {
- "type" : "string",
- "description" : "周期类型",
- "example" : "multi"
- },
- "promise_name" : {
- "type" : "string",
- "description" : "生活记录模板名称",
- "example" : "每周攒钱,完成心愿"
- },
- "record_id" : {
- "type" : "string",
- "description" : "生活记录主记录id",
- "example" : "2022101865652385257"
- },
- "record_status" : {
- "type" : "string",
- "description" : "主任务状态",
- "example" : "PROCESSING、UN_FINISH、CANCELED、FINISH,分别对应进行中、未完成、已取消、已完成"
- },
- "start_time" : {
- "type" : "string",
- "description" : "任务开始时间",
- "example" : "yyyy-mm-dd hh:mm:ss"
- },
- "sub_record_status" : {
- "type" : "string",
- "description" : "子记录状态",
- "example" : "PROCESSING、UN_FINISH、CANCELED、FINISH,分别对应进行中、未完成、已取消、已完成"
- },
- "sub_title" : {
- "type" : "string",
- "description" : "副标题",
- "example" : "加入后7天内完成1次攒钱"
- },
- "template_id" : {
- "type" : "string",
- "description" : "生活记录模板id",
- "example" : "save_money_every_week"
- },
- "total_periods" : {
- "type" : "integer",
- "description" : "任务总期数",
- "example" : "4"
- }
- }
- },
- "PromoDeliveryInfo" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "201222222xxxxx"
- },
- "booth_code" : {
- "type" : "string",
- "description" : "展位码:boothCode表达的是具体渠道所属的展位码。例如:支付结果页PAYMENT_RESULT",
- "example" : "PAYMENT_RESULT"
- },
- "channel" : {
- "type" : "string",
- "description" : "可投放的渠道标识. 说明: 针对不同的boot_code,channel值各不相同.接口使用者可以认为channel是不同booth_code展位下的渠道的唯一标识。 例如: booth_code为PAYMENT_RESULT。 channel为某个商户的pid。",
- "example" : "2088xxxxxxx"
- },
- "channel_name" : {
- "type" : "string",
- "description" : "渠道名称",
- "example" : "支付宝官方渠道"
- },
- "delivery_status" : {
- "type" : "string",
- "description" : "投放状态.\t\t枚举值:\tACTIVE: 生效的投放。\tINACTIVE: 失效的投放。",
- "example" : "ACTIVE"
- }
- }
- },
- "PromoOperatorInfo" : {
- "type" : "object",
- "properties" : {
- "operator_id" : {
- "type" : "string",
- "description" : "操作人id"
- },
- "operator_type" : {
- "type" : "string",
- "description" : "操作人类型。SALES:口碑内部小二;MER:商户;MER_OPERATOR:商户员工;PROVIDER:服务商;PROVIDER_STAFF:服务商员工;"
- }
- }
- },
- "PromoPageInfo" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页大小",
- "example" : "20"
- }
- }
- },
- "PromoPageResult" : {
- "type" : "object",
- "properties" : {
- "page_num" : {
- "type" : "integer",
- "description" : "页码",
- "example" : "10"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "每页多少条",
- "example" : "10"
- },
- "total_count" : {
- "type" : "integer",
- "description" : "总条数",
- "example" : "10000"
- },
- "total_pages" : {
- "type" : "integer",
- "description" : "总共有多少页",
- "example" : "10"
- }
- }
- },
- "PromoParam" : {
- "type" : "object",
- "properties" : {
- "actual_order_time" : {
- "type" : "string",
- "description" : "存在延迟扣款这一类的场景,用这个时间表明用户发生交易的时间,比如说,在公交地铁场景,用户刷码出站的时间,和商户上送交易的时间是不一样的。",
- "example" : "2018-09-25 22:47:33"
- }
- }
- },
- "PromoTool" : {
- "type" : "object",
- "properties" : {
- "point_card" : {
- "$ref" : "#/components/schemas/PointCard"
- },
- "send_rule" : {
- "$ref" : "#/components/schemas/SendRule"
- },
- "status" : {
- "type" : "string",
- "description" : "单个营销工具的生效状态,当在招商部分券失效后会使用这个字段",
- "example" : "STARTED"
- },
- "voucher" : {
- "$ref" : "#/components/schemas/Voucher"
- },
- "voucher_no" : {
- "type" : "string",
- "description" : "营销工具uid,创建营销活动时无需设置",
- "example" : "2342343245234234"
- }
- }
- },
- "PromotePageData" : {
- "type" : "object",
- "properties" : {
- "biz_no" : {
- "type" : "string",
- "description" : "留资流水号",
- "example" : "Zybnom890437Mvcu"
- },
- "property_list" : {
- "type" : "array",
- "description" : "留资属性实例数据列表",
- "items" : {
- "$ref" : "#/components/schemas/PromotePagePropertyInstance"
- }
- }
- }
- },
- "PromotePageDetail" : {
- "type" : "object",
- "properties" : {
- "gmt_create" : {
- "type" : "string",
- "description" : "推广页创建时间,格式:yyyy-mm-dd hh:mm:ss",
- "example" : "2020-12-12 12:20:30"
- },
- "id" : {
- "type" : "integer",
- "description" : "推广页id",
- "example" : "2018374"
- },
- "name" : {
- "type" : "string",
- "description" : "推广页名称",
- "example" : "测试留资推广页"
- },
- "property_list" : {
- "type" : "array",
- "description" : "推广留资schema",
- "items" : {
- "$ref" : "#/components/schemas/PromotePageProperty"
- }
- },
- "type" : {
- "type" : "string",
- "description" : "推广页类型:COLLECT_INFO - 普通留资;TRADE - 交易留资",
- "example" : "COLLECT_INFO"
- }
- }
- },
- "PromotePageProperty" : {
- "type" : "object",
- "properties" : {
- "key" : {
- "type" : "string",
- "description" : "留资属性key",
- "example" : "orderId"
- },
- "name" : {
- "type" : "string",
- "description" : "留资属性名称",
- "example" : "订单号"
- }
- }
- },
- "PromotePagePropertyInstance" : {
- "type" : "object",
- "properties" : {
- "key" : {
- "type" : "string",
- "description" : "留资属性key",
- "example" : "orderId"
- },
- "name" : {
- "type" : "string",
- "description" : "留资属性名称",
- "example" : "订单号"
- },
- "value" : {
- "type" : "string",
- "description" : "留资属性实例值",
- "example" : "A27904vbvjlmn"
- }
- }
- },
- "PromotionRelationDTO" : {
- "type" : "object",
- "properties" : {
- "apply_reason" : {
- "type" : "string",
- "description" : "申请推广时填写的申请理由",
- "example" : "XXX"
- },
- "commodity_id" : {
- "type" : "string",
- "description" : "服务商品ID",
- "example" : "SS010101000000003954"
- },
- "commodity_name" : {
- "type" : "string",
- "description" : "服务商品名称",
- "example" : "测试服务"
- },
- "create_time" : {
- "type" : "string",
- "description" : "推广关系创建时间",
- "example" : "2020-10-12 12:10:10"
- },
- "promoter_contact_name" : {
- "type" : "string",
- "description" : "推广服务商联系人名称",
- "example" : "张三"
- },
- "promoter_contact_phone" : {
- "type" : "string",
- "description" : "推广服务商联系电话",
- "example" : "136xxxxxxxx"
- },
- "promoter_name" : {
- "type" : "string",
- "description" : "推广服务商的名称",
- "example" : "xx商户"
- },
- "promoter_pid" : {
- "type" : "string",
- "description" : "推广服务商的pid",
- "example" : "2088301324945205"
- },
- "promotion_id" : {
- "type" : "string",
- "description" : "推广任务id",
- "example" : "2018052401048283"
- },
- "promotion_name" : {
- "type" : "string",
- "description" : "推广任务的名称",
- "example" : "测试推广任务"
- }
- }
- },
- "PromotionTaskRelation" : {
- "type" : "object",
- "properties" : {
- "apply_reason" : {
- "type" : "string",
- "description" : "申请推广时填写的申请理由",
- "example" : "XXX"
- },
- "commodity_id" : {
- "type" : "string",
- "description" : "服务商品ID",
- "example" : "SS010101000000003954"
- },
- "commodity_name" : {
- "type" : "string",
- "description" : "服务商品名称",
- "example" : "测试服务"
- },
- "create_time" : {
- "type" : "string",
- "description" : "推广关系创建时间",
- "example" : "2020-10-12 12:10:10"
- },
- "promoter_contact_name" : {
- "type" : "string",
- "description" : "推广服务商联系人名称",
- "example" : "张三"
- },
- "promoter_contact_phone" : {
- "type" : "string",
- "description" : "推广服务商联系电话",
- "example" : "136xxxxxxxx"
- },
- "promoter_name" : {
- "type" : "string",
- "description" : "推广服务商的名称",
- "example" : "xx商户"
- },
- "promoter_pid" : {
- "type" : "string",
- "description" : "推广服务商的pid",
- "example" : "2088301324945205"
- },
- "promotion_id" : {
- "type" : "string",
- "description" : "推广任务id",
- "example" : "2018052401048283"
- },
- "promotion_name" : {
- "type" : "string",
- "description" : "推广任务的名称",
- "example" : "测试推广任务"
- }
- }
- },
- "PubChannelDTO" : {
- "type" : "object",
- "properties" : {
- "ext_info" : {
- "type" : "string",
- "description" : "扩展信息,无需配置"
- },
- "pub_channel" : {
- "type" : "string",
- "description" : "1、SHOP_DETAIL:店铺详情页 \r\t2、PAYMENT_RESULT: 支付成功页(支付成功页暂不支持)"
- }
- }
- },
- "PublicAuditStatus" : {
- "type" : "object",
- "properties" : {
- "desc" : {
- "type" : "string",
- "description" : "审核状态描述,如果审核驳回则有相关的驳回理由",
- "example" : "logo不符合规范"
- },
- "status" : {
- "type" : "string",
- "description" : "AUDITING:审核中,AUDIT_FAILED:审核驳回,AUDIT_SUCCESS:审核通过,AUDIT_NORMAL:无审核记录",
- "example" : "AUDITING"
- },
- "type" : {
- "type" : "string",
- "description" : "NAME:名称、AVATAR:头像、NAME_AVATAR:名称与头像、INTRODUCTION:简介",
- "example" : "NAME"
- }
- }
- },
- "PublicLabel" : {
- "type" : "object",
- "properties" : {
- "count" : {
- "type" : "integer",
- "description" : "标签用户量",
- "example" : "100000"
- },
- "id" : {
- "type" : "string",
- "description" : "标签编号",
- "example" : "10005556"
- },
- "name" : {
- "type" : "string",
- "description" : "标签名称",
- "example" : "标签1"
- }
- }
- },
- "PublishChannel" : {
- "type" : "object",
- "properties" : {
- "config" : {
- "type" : "string",
- "description" : "当type为MERCHANT_CROWD时,config需填入口令送的密码和图片,样例如下:\"config\":\"{\\\"PASSWORD\\\":\\\"口令送密码\\\",\\\"BACKGROUND_LOGO\\\":\\\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\\\"}\"",
- "example" : "{\"PASSWORD\":\"口令送密码\",\"BACKGROUND_LOGO\":\"1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC\"}"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "扩展信息,无需配置",
- "example" : "\"key\":\"value\""
- },
- "name" : {
- "type" : "string",
- "description" : "渠道名称",
- "example" : "投放到店铺"
- },
- "type" : {
- "type" : "string",
- "description" : "渠道类型,目前支持以下类型\r\tQR_CODE:二维码投放\r\tSHORT_LINK:短连接投放\r\tSHOP_DETAIL:店铺页投放\r\tPAYMENT_RESULT:支付成功页\r\tMERCHANT_CROWD:口令送\r\tURL_WITH_TOKEN:外部发奖活动,只有活动类型为DIRECT_SEND时才支持\r\tEXTERNAL:外部投放,口碑需要感知任何投放内容",
- "example" : "SHOP_DETAIL"
- }
- }
- },
- "QrCodeRouteGroup" : {
- "type" : "object",
- "properties" : {
- "mode" : {
- "type" : "string",
- "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,可唤起小程序)",
- "example" : "EXACT"
- },
- "route_group" : {
- "type" : "string",
- "description" : "路由组id(参数说明:该参数可用于alipay.open.mini.qrcode.unbind接口入参route_group,进行二维码解绑)",
- "example" : "eda224f222194cc48c27a3e6319fd331"
- },
- "route_url" : {
- "type" : "string",
- "description" : "规则路由地址",
- "example" : "https://www.alipay.com/isv/"
- }
- }
- },
- "QueryComplexLabelRule" : {
- "type" : "object",
- "properties" : {
- "label_id" : {
- "type" : "string",
- "description" : "标签id",
- "example" : "10000"
- },
- "label_name" : {
- "type" : "string",
- "description" : "标签名",
- "example" : "职业"
- },
- "label_value" : {
- "type" : "string",
- "description" : "当有多个取值时用英文\",\"分隔,不允许传入下划线\"_\"、竖线\"|\"或者空格\" \"",
- "example" : "程序员"
- },
- "operator" : {
- "type" : "string",
- "description" : "运算符",
- "example" : "EQ"
- }
- }
- },
- "QueryExtension" : {
- "type" : "object",
- "properties" : {
- "areas" : {
- "type" : "array",
- "description" : "扩展区列表",
- "items" : {
- "$ref" : "#/components/schemas/ExtensionArea"
- }
- },
- "extension_key" : {
- "type" : "string",
- "description" : "扩展区套id",
- "example" : "2013121100055552_7c3cb211-e239-42c0-abb0-fe80d02cfe51"
- },
- "label_rules" : {
- "type" : "array",
- "description" : "标签规则列表",
- "items" : {
- "$ref" : "#/components/schemas/QueryLabelRule"
- }
- },
- "status" : {
- "type" : "string",
- "description" : "扩展区状态,\"ON\"代表上线,\"OFF\"代表下线,只有上线的扩展区才能被用户看到",
- "example" : "ON"
- }
- }
- },
- "QueryGroup" : {
- "type" : "object",
- "properties" : {
- "count" : {
- "type" : "integer",
- "description" : "人群中包含人数",
- "example" : "888888"
- },
- "id" : {
- "type" : "string",
- "description" : "分组id",
- "example" : "100"
- },
- "label_rule" : {
- "type" : "array",
- "description" : "分组中的圈人规则",
- "items" : {
- "$ref" : "#/components/schemas/QueryComplexLabelRule"
- }
- },
- "name" : {
- "type" : "string",
- "description" : "用户分组名称",
- "example" : "测试分组"
- }
- }
- },
- "QueryLabelRule" : {
- "type" : "object",
- "properties" : {
- "label_id" : {
- "type" : "string",
- "description" : "标签id"
- },
- "label_name" : {
- "type" : "string",
- "description" : "标签名"
- },
- "label_value" : {
- "type" : "string",
- "description" : "标签值,多值会用英文逗号分隔"
- },
- "operator" : {
- "type" : "string",
- "description" : "运算符"
- }
- }
- },
- "QueryMenu" : {
- "type" : "object",
- "properties" : {
- "button" : {
- "type" : "array",
- "description" : "一级菜单列表",
- "items" : {
- "$ref" : "#/components/schemas/ButtonObject"
- }
- },
- "label_rule" : {
- "type" : "array",
- "description" : "标签规则项列表",
- "items" : {
- "$ref" : "#/components/schemas/QueryLabelRule"
- }
- },
- "menu_key" : {
- "type" : "string",
- "description" : "菜单唯一id",
- "example" : "default"
- },
- "type" : {
- "type" : "string",
- "description" : "菜单类型,icon:icon型菜单,text:文本型菜单",
- "example" : "icon"
- }
- }
- },
- "QuotaModifyDetail" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "授权协议号,和入参的协议号对应",
- "example" : "20216006003193457889"
- },
- "error_code" : {
- "type" : "string",
- "description" : "明细处理错误码,当success为false时有值",
- "example" : "INVALID_AGREEMENT_NO"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "错误描述,当success为false时有值",
- "example" : "无效的协议"
- },
- "success" : {
- "type" : "boolean",
- "description" : "当前协议下的明细处理结果",
- "example" : "true"
- }
- }
- },
- "QuotaQueryResponse" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "协议号",
- "example" : "20205321001042231004"
- },
- "error_code" : {
- "type" : "string",
- "description" : "单个协议查询结果错误码",
- "example" : "INVALID_AGREEMENT"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "单个协议响应错误描述",
- "example" : "无效的三方协议"
- },
- "quota_details" : {
- "$ref" : "#/components/schemas/AccountQuotaDetail"
- },
- "success" : {
- "type" : "string",
- "description" : "单个协议查询结果是否成功",
- "example" : "true"
- }
- }
- },
- "ReceiverAddressInfo" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "收货地址",
- "example" : "上海市浦东新区陆家嘴银城中路501号"
- },
- "division_code" : {
- "type" : "string",
- "description" : "中国标准城市区域码",
- "example" : "310115"
- },
- "mobile" : {
- "type" : "string",
- "description" : "收货人手机号",
- "example" : "13120180615"
- },
- "name" : {
- "type" : "string",
- "description" : "收货人的姓名",
- "example" : "张三"
- },
- "zip" : {
- "type" : "string",
- "description" : "收货地址邮编",
- "example" : "200120"
- }
- }
- },
- "ReceiverIstd" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "地址(街道、小区、大厦等,用于定位)"
- },
- "address_detail" : {
- "type" : "string",
- "description" : "地址详情(楼号、单元号、层号)"
- },
- "city" : {
- "type" : "string",
- "description" : "城市名称,如杭州市"
- },
- "coordinate_type" : {
- "type" : "integer",
- "description" : "坐标类型,0:火星坐标(高德,腾讯地图均采用火星坐标) 1:百度坐标。目前只支持0:火星坐标"
- },
- "lat" : {
- "type" : "string",
- "description" : "纬度"
- },
- "lng" : {
- "type" : "string",
- "description" : "经度"
- },
- "mobile_no" : {
- "type" : "string",
- "description" : "手机号"
- },
- "name" : {
- "type" : "string",
- "description" : "姓名"
- }
- }
- },
- "RecommendAccountDTO" : {
- "type" : "object",
- "properties" : {
- "alipay_account" : {
- "type" : "string",
- "description" : "推荐商家支付宝登录账号,邮箱或手机号码,脱敏处理"
- },
- "user_name" : {
- "type" : "string",
- "description" : "推荐商家支付宝账号名称,脱敏处理"
- }
- }
- },
- "RecruitEnrollInfo" : {
- "type" : "object",
- "properties" : {
- "cities" : {
- "type" : "array",
- "description" : "报名提交的活动城市码,详见<a href=\"https://opendocs.alipay.com/pre-open/02r07u\" target=\"_blank\">活动城市码</a>",
- "items" : {
- "type" : "string"
- }
- },
- "enroll_merchant" : {
- "$ref" : "#/components/schemas/RecruitEnrollMerchant"
- },
- "materials" : {
- "type" : "array",
- "description" : "报名提交的素材",
- "items" : {
- "$ref" : "#/components/schemas/RecruitMaterial"
- }
- },
- "mini_apps" : {
- "type" : "array",
- "description" : "报名提交的小程序信息,是否必选取决于方案要求",
- "items" : {
- "$ref" : "#/components/schemas/RecruitMiniApp"
- }
- },
- "vouchers" : {
- "type" : "array",
- "description" : "报名提交的券信息,是否必选取决于方案要求",
- "items" : {
- "$ref" : "#/components/schemas/RecruitVoucher"
- }
- }
- }
- },
- "RecruitEnrollMerchant" : {
- "type" : "object",
- "properties" : {
- "merchant_uid" : {
- "type" : "string",
- "description" : "商户唯一ID(商户pid)"
- }
- }
- },
- "RecruitEnrollRule" : {
- "type" : "object",
- "properties" : {
- "max_size" : {
- "type" : "integer",
- "description" : "最大数量",
- "example" : "1"
- },
- "min_size" : {
- "type" : "integer",
- "description" : "最小数量",
- "example" : "1"
- },
- "required" : {
- "type" : "boolean",
- "description" : "是否必填",
- "example" : "true"
- },
- "rule_data" : {
- "$ref" : "#/components/schemas/RecruitEnrollRuleData"
- },
- "type" : {
- "type" : "string",
- "description" : "招商报名时提交的内容类型:\t券:VOUCHER;\t小程序:MINI_APP;\t报名商户:ENROLL_MERCHANT;\t素材:MATERIAL;\t活动城市:CITY;",
- "example" : "VOUCHER"
- }
- }
- },
- "RecruitEnrollRuleData" : {
- "type" : "object",
- "properties" : {
- "recruit_voucher_rules" : {
- "type" : "array",
- "description" : "招商方案可提报的券的规则列表,不同的券有不同的规则。",
- "items" : {
- "$ref" : "#/components/schemas/RecruitVoucherRule"
- }
- },
- "schema" : {
- "type" : "string",
- "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",
- "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\"}]"
- }
- }
- },
- "RecruitMaterial" : {
- "type" : "object",
- "properties" : {
- "data" : {
- "type" : "string",
- "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。"
- },
- "description" : {
- "type" : "string",
- "description" : "对这个素材的描述,用于后续管理该素材"
- },
- "material_audit_info" : {
- "type" : "string",
- "description" : "素材审核信息,展示给商家的素材审核不通过的意见。素材审核通过时该字段为空。\t报名详情查询接口不用填写该字段。"
- },
- "name" : {
- "type" : "string",
- "description" : "素材名名称"
- },
- "subject_id" : {
- "type" : "string",
- "description" : "关联的报名主体ID。\tenroll_scene_type是VOUCHER时,报名主体ID是activity_id;enroll_scene_type是MINI_APP时,报名主体ID是mini_app_id"
- }
- }
- },
- "RecruitMiniApp" : {
- "type" : "object",
- "properties" : {
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序ID"
- }
- }
- },
- "RecruitPlanLight" : {
- "type" : "object",
- "properties" : {
- "description" : {
- "type" : "string",
- "description" : "招商方案描述:富文本内容,可能包含html标签",
- "example" : "<p><span style=\\\"color:#000000\\\"><span style=\\\"font-size:14px\\\"><span style=\\\"background-color:#ffffff\\\">招商规则说明</span></span></span></p>"
- },
- "enroll_end_time" : {
- "type" : "string",
- "description" : "报名结束时间",
- "example" : "2021-01-01 01:01:01"
- },
- "enroll_scene_type" : {
- "type" : "string",
- "description" : "招商方案所属报名场景\t枚举值:\tVOUCHER:券报名场景;\tMINI_APP:小程序报名场景;",
- "example" : "VOUCHER"
- },
- "enroll_start_time" : {
- "type" : "string",
- "description" : "报名开始时间",
- "example" : "2021-01-01 01:01:01"
- },
- "logo" : {
- "type" : "string",
- "description" : "方案头图链接,150x150 以上尺寸的方形图片",
- "example" : "https://xxxx"
- },
- "plan_id" : {
- "type" : "string",
- "description" : "招商方案ID",
- "example" : "2021041201000100000000999999"
- },
- "plan_name" : {
- "type" : "string",
- "description" : "招商方案名称",
- "example" : "中秋招商方案"
- },
- "status" : {
- "type" : "string",
- "description" : "方案状态: 可用:ENABLED",
- "example" : "ENABLED"
- }
- }
- },
- "RecruitVoucher" : {
- "type" : "object",
- "properties" : {
- "activity_id" : {
- "type" : "string",
- "description" : "券活动id。支持商家券(创建商家券请参考https://opendocs.alipay.com/apis/01xm17)和支付券(创建支付券请参考https://opendocs.alipay.com/pre-apis/027185,仅供受邀用户使用),取值均为返回结果的activity_id字段。"
- }
- }
- },
- "RecruitVoucherRule" : {
- "type" : "object",
- "properties" : {
- "amount_max" : {
- "type" : "string",
- "description" : "券面额(每张代金券可以抵扣的金额)的的最大值。 币种为人民币,单位为元。小数点以后最多保留两位。 该字段为空时表示不限制。",
- "example" : "15.00"
- },
- "amount_min" : {
- "type" : "string",
- "description" : "券面额(每张代金券可以抵扣的金额)的最小值。 币种为人民币,单位为元。小数点以后最多保留两位。 该字段为空时表示不限制。",
- "example" : "12.00"
- },
- "denomination_percent_max" : {
- "type" : "string",
- "description" : "券优惠比例的最大值。20代表优惠比例最多是20%。券优惠券比例=券优惠面额/门槛金额。\t浮点类型,取值范围为[1,100],左右均是闭区间,小数点以后最多保留两位。\t该字段为空时表示不限制。",
- "example" : "20"
- },
- "denomination_percent_min" : {
- "type" : "string",
- "description" : "券优惠比例的最小值。10代表优惠比例最少是10%。券优惠券比例=券优惠面额/门槛金额。\t浮点类型,取值范围为[1,100],左右均是闭区间,小数点以后最多保留两位。\t该字段为空时表示不限制。",
- "example" : "10"
- },
- "floor_amount_max" : {
- "type" : "string",
- "description" : "券门槛金额的最大值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
- "example" : "20.00"
- },
- "floor_amount_min" : {
- "type" : "string",
- "description" : "券门槛金额的最小值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
- "example" : "10.00"
- },
- "origin_amount_max" : {
- "type" : "string",
- "description" : "券原价的最大值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
- "example" : "20.00"
- },
- "origin_amount_min" : {
- "type" : "string",
- "description" : "券原价的最小值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
- "example" : "10.00"
- },
- "publish_end_time_max" : {
- "type" : "string",
- "description" : "券发放结束时间的最大值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
- "example" : "2022-01-13 23:59:59"
- },
- "publish_end_time_min" : {
- "type" : "string",
- "description" : "券发放结束时间的最小值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
- "example" : "2019-09-10 00:00:00"
- },
- "publish_start_time_max" : {
- "type" : "string",
- "description" : "券发放开始时间的最大值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
- "example" : "2022-01-13 23:59:59"
- },
- "publish_start_time_min" : {
- "type" : "string",
- "description" : "券发放开始时间的最小值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
- "example" : "2019-09-10 00:00:00"
- },
- "refund_type" : {
- "type" : "array",
- "description" : "退券类型要求,列表,总共有两种类型:\t过期退OVERDUE_REFUND\t随时退CAN_REFUND\t该字段为空时表示不限制。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"CAN_REFUND\",\"OVERDUE_REFUND\"]"
- },
- "sale_amount_max" : {
- "type" : "string",
- "description" : "用户购买优惠券需要支付的金额的最大值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
- "example" : "20.00"
- },
- "sale_amount_min" : {
- "type" : "string",
- "description" : "用户购买优惠券需要支付的金额的最小值。\t币种为人民币,单位为元。小数点以后最多保留两位。\t该字段为空时表示不限制。",
- "example" : "10.00"
- },
- "use_channel" : {
- "type" : "array",
- "description" : "券核销渠道要求,列表,总共有两个渠道:\t球房SHOP\t小程序MINI_APP\t该字段为空时表示不限制。",
- "items" : {
- "type" : "string"
- },
- "example" : "[ \"SHOP\", \"MINI_APP\" ]"
- },
- "valid_days_after_receive_min" : {
- "type" : "integer",
- "description" : "券生效后至少N天内可以使用。比如:valid_days_after_receive_min=20代表\t券生效后至少20天内可以使用。\t该字段为空时表示不限制。",
- "example" : "20"
- },
- "voucher_activity_type" : {
- "type" : "string",
- "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为兑换券)",
- "example" : "ITEM_FIX_ORDER_VOUCHER"
- },
- "voucher_quantity_limit_per_user_max" : {
- "type" : "integer",
- "description" : "每人领取限制的最大值。\t默认按照支付宝uid进行领取限制。\t该字段为空时表示不限制。",
- "example" : "20"
- },
- "voucher_quantity_limit_per_user_min" : {
- "type" : "integer",
- "description" : "每人领取限制的最小值。\t默认按照支付宝uid进行领取限制。\t该字段为空时表示不限制。",
- "example" : "10"
- },
- "voucher_quantity_max" : {
- "type" : "integer",
- "description" : "券库存数量的最大值。\t该字段为空时表示不限制。",
- "example" : "20"
- },
- "voucher_quantity_min" : {
- "type" : "integer",
- "description" : "券库存数量的最小值。\t该字段为空时表示不限制。",
- "example" : "10"
- },
- "voucher_valid_begin_time_min" : {
- "type" : "string",
- "description" : "券可使用的开始时间的最小值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
- "example" : "2022-01-13 23:59:59"
- },
- "voucher_valid_end_time_max" : {
- "type" : "string",
- "description" : "券可使用的结束时间的最大值。\t格式为:yyyy-MM-dd HH:mm:ss\t该字段为空时表示不限制。",
- "example" : "2022-01-13 23:59:59"
- }
- }
- },
- "RefundChargeInfo" : {
- "type" : "object",
- "properties" : {
- "charge_type" : {
- "type" : "string",
- "description" : "收单手续费trade,花呗分期手续hbfq,其他手续费charge"
- },
- "refund_charge_fee" : {
- "type" : "string",
- "description" : "实退费用。单位:元。"
- },
- "refund_sub_fee_detail_list" : {
- "type" : "array",
- "description" : "组合支付退费明细",
- "items" : {
- "$ref" : "#/components/schemas/RefundSubFee"
- }
- },
- "switch_fee_rate" : {
- "type" : "string",
- "description" : "签约费率"
- }
- }
- },
- "RefundGoodsDetail" : {
- "type" : "object",
- "properties" : {
- "goods_id" : {
- "type" : "string",
- "description" : "商品编号。\t对应支付时传入的goods_id",
- "example" : "apple-01"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "该商品的退款总金额,单位为元",
- "example" : "19.50"
- }
- }
- },
- "RefundRoyaltyResult" : {
- "type" : "object",
- "properties" : {
- "refund_amount" : {
- "type" : "string",
- "description" : "退分账金额。单位:元。",
- "example" : "10"
- },
- "result_code" : {
- "type" : "string",
- "description" : "退分账结果码",
- "example" : "SUCCESS"
- },
- "royalty_type" : {
- "type" : "string",
- "description" : "分账类型.\r\t普通分账为:transfer;\r\t补差为:replenish;\r\t为空默认为分账transfer;",
- "example" : "transfer"
- },
- "trans_in" : {
- "type" : "string",
- "description" : "转入人支付宝账号对应用户ID",
- "example" : "2088102210397302"
- },
- "trans_in_email" : {
- "type" : "string",
- "description" : "转入人支付宝账号",
- "example" : "zen_gwen@hotmail.com"
- },
- "trans_out" : {
- "type" : "string",
- "description" : "转出人支付宝账号对应用户ID",
- "example" : "2088102210397302"
- },
- "trans_out_email" : {
- "type" : "string",
- "description" : "转出人支付宝账号",
- "example" : "alipay-test03@alipay.com"
- }
- }
- },
- "RefundSubFee" : {
- "type" : "object",
- "properties" : {
- "refund_charge_fee" : {
- "type" : "string",
- "description" : "实退费用。单位:元。"
- },
- "switch_fee_rate" : {
- "type" : "string",
- "description" : "签约费率"
- }
- }
- },
- "RegionInfo" : {
- "type" : "object",
- "properties" : {
- "area_code" : {
- "type" : "string",
- "description" : "地址所属区代码"
- },
- "area_name" : {
- "type" : "string",
- "description" : "地址所属区名称"
- },
- "city_code" : {
- "type" : "string",
- "description" : "地址所属市代码"
- },
- "city_name" : {
- "type" : "string",
- "description" : "地址所属市名称"
- },
- "province_code" : {
- "type" : "string",
- "description" : "地址所属省份代码"
- },
- "province_name" : {
- "type" : "string",
- "description" : "地址所属省份名称"
- }
- }
- },
- "ReplyRecord" : {
- "type" : "object",
- "properties" : {
- "content" : {
- "type" : "string",
- "description" : "回复内容"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "回复时间"
- },
- "images" : {
- "type" : "array",
- "description" : "回复图片",
- "items" : {
- "type" : "string"
- }
- },
- "replier_role" : {
- "type" : "string",
- "description" : "回复角色\t商家:MERCHANT \t审核小二:AUDITOR"
- },
- "status" : {
- "type" : "string",
- "description" : "状态。只在replier_role = ‘AUDITOR’时有值。\tappealSuccess:申诉通过\tappealFailed:申诉不通过\trectifyPass:整改通过\trectifyReject:整改不通过"
- }
- }
- },
- "ReplyRecordResponse" : {
- "type" : "object",
- "properties" : {
- "content" : {
- "type" : "string",
- "description" : "回复内容",
- "example" : "已退款退货给您,物流单号为:12344444"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "回复时间",
- "example" : "2020-02-14 14:23:12"
- },
- "images" : {
- "type" : "array",
- "description" : "回复图片",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"http://mdn.alipay.com/wsdk/img?fileid=A*ME4GQq2j-5oAAAAAAAAAAAAAAQAAAQ&t=83fed12ef006ebcd8df04dfe79faad6c&bi=openpunsh&ts=0&zoom=original\"]"
- },
- "replier_name" : {
- "type" : "string",
- "description" : "回复人名称",
- "example" : "刘*"
- },
- "replier_role" : {
- "type" : "string",
- "description" : "用户:USER \t商家:MERCHANT\t系统:SYSTEM\t审核小二:AUDITOR\t政府单位:GOVERNMENT",
- "example" : "USER"
- }
- }
- },
- "Role" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "部门id(即租户实例ID、数据权限ID)",
- "example" : "ZPASFSCN"
- },
- "create_time" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2020-11-10 21:14:00"
- },
- "creator_id" : {
- "type" : "string",
- "description" : "创建人id",
- "example" : "20184359929433"
- },
- "description" : {
- "type" : "string",
- "description" : "角色描述描述",
- "example" : "这个角色是....."
- },
- "function_ids" : {
- "type" : "array",
- "description" : "角色关联额功能点id",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"43511\",\"345343\"]"
- },
- "id" : {
- "type" : "string",
- "description" : "角色id",
- "example" : "12"
- },
- "name" : {
- "type" : "string",
- "description" : "角色名",
- "example" : "知识库管理员"
- },
- "update_time" : {
- "type" : "string",
- "description" : "最后修改时间",
- "example" : "2020-11-10 21:20:00"
- },
- "updater_id" : {
- "type" : "string",
- "description" : "最后修改人id",
- "example" : "20190443599294"
- }
- }
- },
- "RoleId" : {
- "type" : "object",
- "properties" : {
- "ccs_instance_id" : {
- "type" : "string",
- "description" : "部门id(即租户实例ID、数据权限ID)"
- },
- "role_id" : {
- "type" : "string",
- "description" : "角色ID"
- }
- }
- },
- "RoyaltyDetail" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "分账金额",
- "example" : "10.00"
- },
- "detail_id" : {
- "type" : "string",
- "description" : "支付宝分账明细单号,每笔分账业务执行的明细单号",
- "example" : "2023030610032004370215900000"
- },
- "error_code" : {
- "type" : "string",
- "description" : "分账失败错误码,只在分账失败时返回",
- "example" : "TXN_RESULT_ACCOUNT_BALANCE_NOT_ENOUGH"
- },
- "error_desc" : {
- "type" : "string",
- "description" : "分账错误描述信息",
- "example" : "分账余额不足"
- },
- "execute_dt" : {
- "type" : "string",
- "description" : "分账执行时间",
- "example" : "2021-07-30 12:00:00"
- },
- "operation_type" : {
- "type" : "string",
- "description" : "分账操作类型。有以下几种类型: replenish(补差)、replenish_refund(退补差)、transfer(分账)、transfer_refund(退分账)",
- "example" : "transfer"
- },
- "state" : {
- "type" : "string",
- "description" : "分账状态,SUCCESS成功,FAIL失败,PROCESSING处理中",
- "example" : "FAIL"
- },
- "trans_in" : {
- "type" : "string",
- "description" : "分账转入账号,只有在operation_type为replenish_refund(退补差),transfer(分账)才返回该字段或trans_in_open_id。trans_in_open_id为分账转入方的openId,当trans_in_open_id不为空的时候,请优先使用trans_in_open_id。",
- "example" : "2088111111112222"
- },
- "trans_in_open_id" : {
- "type" : "string",
- "description" : "分账转入方的OpenId,OpenId为用户在该应用下支付宝的唯一用户标识。",
- "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc"
- },
- "trans_in_type" : {
- "type" : "string",
- "description" : "分账转入账号类型,userId表示是支付宝账号对应的支付宝唯一用户号,loginName表示是支付宝登录号,secondMerchantID表示是二级商户id。\t只有在operation_type为replenish_refund(退补差),transfer(分账)才返回该字段",
- "example" : "userId"
- },
- "trans_out" : {
- "type" : "string",
- "description" : "分账转出账号,只有在operation_type为replenish(补差),transfer_refund(退分账)类型才返回该字段或trans_out_open_id字段。trans_out_open_id字段为分账转出方的openId,当trans_out_open_id 字段不为空时,请优先使用trans_out_open_id。",
- "example" : "2088111111111111"
- },
- "trans_out_open_id" : {
- "type" : "string",
- "description" : "分账转出方的OpenId,OpenId为用户在该应用下支付宝内的唯一用户标识。",
- "example" : "095PJtAPYb2UkQ0mXk_X86Z_Pd7PtySKX-U3zUEwONcu3wc"
- },
- "trans_out_type" : {
- "type" : "string",
- "description" : "分账转出账号类型,userId表示是支付宝账号对应的支付宝唯一用户号,loginName表示是支付宝登录号,secondMerchantID表示是二级商户id。\t只有在operation_type为replenish(补差),transfer_refund(退分账)类型才返回该字段",
- "example" : "userId"
- }
- }
- },
- "RoyaltyDetailInfo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "分账金额,单位为元",
- "example" : "10.00"
- },
- "desc" : {
- "type" : "string",
- "description" : "分账描述",
- "example" : "分账给2088101126708402"
- },
- "trans_in_account_id" : {
- "type" : "string",
- "description" : "分账转入账户id。当分账账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当分账账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当分账账户id类型是loginName时,本参数为用户的支付宝登录号;当分账账户id类型是openId时,本参数为用户的在该应用下的支付宝OpenId; 当 trans_in_account_type 为defaultSettle时,本参数必须为空",
- "example" : "2088101126708402"
- },
- "trans_in_account_id_type" : {
- "type" : "string",
- "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 时,本参数必须为空。",
- "example" : "cardSerialNo"
- },
- "trans_in_account_type" : {
- "type" : "string",
- "description" : "分账账户类型。 bankCard: 分账账户为银行卡; alipayBalance: 分账账户为支付宝余额户; defaultSettle: 按默认结算规则分账",
- "example" : "alipayBalance"
- },
- "trans_in_entity_id" : {
- "type" : "string",
- "description" : "分账转出主体账 号。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID\r\t\r\t当分账转出类型为Store,本参数为StoreID",
- "example" : "SecondMerchant"
- },
- "trans_in_entity_type" : {
- "type" : "string",
- "description" : "分账转入主体类型。 SecondMerchant:分账转入主体为二级商户\r\t\r\tStore: 结算球房",
- "example" : "Store"
- },
- "trans_in_sub_merchant" : {
- "$ref" : "#/components/schemas/SubMerchant"
- },
- "trans_out_entity_id" : {
- "type" : "string",
- "description" : "分账转出主体账。\r\t\r\t当分账转出主体类型为SecondMerchant,本参数为二级商户的SecondMerchantId\r\t\r\t当分账转出类型为Store,本参数为StoreID",
- "example" : "2088"
- },
- "trans_out_entity_type" : {
- "type" : "string",
- "description" : "分账转出主体类型。 SecondMerchant:结算主体为二级商户\r\t\r\tStore: 结算球房",
- "example" : "SecondMerchant"
- },
- "trans_out_sub_merchant" : {
- "$ref" : "#/components/schemas/SubMerchant"
- }
- }
- },
- "RoyaltyDetailInfos" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "分账的金额,单位为元"
- },
- "amount_percentage" : {
- "type" : "string",
- "description" : "分账的比例,值为20代表按20%的比例分账"
- },
- "batch_no" : {
- "type" : "string",
- "description" : "分账批次号\r\t分账批次号。\r\t目前需要和转入账号类型为bankIndex配合使用。"
- },
- "desc" : {
- "type" : "string",
- "description" : "分账描述信息"
- },
- "out_relation_id" : {
- "type" : "string",
- "description" : "商户分账的外部关联号,用于关联到每一笔分账信息,商户需保证其唯一性。\r\t如果为空,该值则默认为“商户网站唯一订单号+分账序列号”"
- },
- "serial_no" : {
- "type" : "integer",
- "description" : "分账序列号,表示分账执行的顺序,必须为正整数"
- },
- "trans_in" : {
- "type" : "string",
- "description" : "如果转入账号类型为userId,本参数为接受分账金额的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。\r\t\t如果转入账号类型为bankIndex,本参数为28位的银行编号(商户和支付宝签约时确定)。\r\t如果转入账号类型为storeId,本参数为商户的球房ID。"
- },
- "trans_in_type" : {
- "type" : "string",
- "description" : "接受分账金额的账户类型:\r\t\tuserId:支付宝账号对应的支付宝唯一用户号。\r\t\tbankIndex:分账到银行账户的银行编号。目前暂时只支持分账到一个银行编号。\r\tstoreId:分账到球房对应的银行卡编号。\r\t默认值为userId。"
- },
- "trans_out" : {
- "type" : "string",
- "description" : "如果转出账号类型为userId,本参数为要分账的支付宝账号对应的支付宝唯一用户号。以2088开头的纯16位数字。"
- },
- "trans_out_type" : {
- "type" : "string",
- "description" : "要分账的账户类型。\r\t目前只支持userId:支付宝账号对应的支付宝唯一用户号。\r\t默认值为userId。"
- }
- }
- },
- "RoyaltyEntity" : {
- "type" : "object",
- "properties" : {
- "account" : {
- "type" : "string",
- "description" : "分账接收方账号。 当分账方类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字; 当分账方类型是loginName时,本参数为用户的支付宝登录号;当分账方类型是openId时,本参数传递支付宝openId信息。"
- },
- "account_open_id" : {
- "type" : "string",
- "description" : "分账接收方openId,本参数为分账接收方在该应用(AppId)下的唯一用户标识,仅用于分账关系查询接口出参。"
- },
- "bind_login_name" : {
- "type" : "string",
- "description" : "作为查询返回结果:分账收款方绑定时的支付宝登录号。分账关系绑定(alipay.trade.royalty.relation.bind)时,通过type为loginName绑定传入的支付宝登录号,若使用userId绑定则不返回。"
- },
- "login_name" : {
- "type" : "string",
- "description" : "作为查询返回结果:当前userId对应的支付宝登录号。当login_name与bind_login_name不相等时,表明该支付宝账户发生了登录号变更。"
- },
- "memo" : {
- "type" : "string",
- "description" : "分账关系描述"
- },
- "name" : {
- "type" : "string",
- "description" : "分账接收方真实姓名。\t绑定分账关系时:\t当分账方类型是userId时,本参数可以不传,若上传则进行校验不上传不会校验。\t当分账方类型是loginName时,本参数必传。\t解绑分账关系时:作为请求参数可不填,分账关系查询时不作为返回结果返回"
- },
- "type" : {
- "type" : "string",
- "description" : "分账接收方方类型。 userId:表示是支付宝账号对应的支付宝唯一用户号;loginName:表示是支付宝登录号;openId:表示支付宝openId。"
- }
- }
- },
- "RoyaltyInfo" : {
- "type" : "object",
- "properties" : {
- "royalty_detail_infos" : {
- "type" : "array",
- "description" : "分账明细的信息,可以描述多条分账指令,json数组。",
- "items" : {
- "$ref" : "#/components/schemas/RoyaltyDetailInfos"
- }
- },
- "royalty_type" : {
- "type" : "string",
- "description" : "分账类型\r\t卖家的分账类型,目前只支持传入ROYALTY(普通分账类型)。"
- }
- }
- },
- "Scene" : {
- "type" : "object",
- "properties" : {
- "scene_id" : {
- "type" : "string",
- "description" : "场景Id,最长32位,英文字母、数字以及下划线,开发者自定义",
- "example" : "1234"
- }
- }
- },
- "SchoolBaseInfo" : {
- "type" : "object",
- "properties" : {
- "campus_info" : {
- "type" : "array",
- "description" : "校区信息",
- "items" : {
- "$ref" : "#/components/schemas/CampusInfo"
- }
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码",
- "example" : "620900"
- },
- "inst_id" : {
- "type" : "string",
- "description" : "学校内标",
- "example" : "2088000151541822"
- },
- "inst_name" : {
- "type" : "string",
- "description" : "学校名称",
- "example" : "复旦大学"
- },
- "inst_std_code" : {
- "type" : "string",
- "description" : "学校外标",
- "example" : "12510181450882098Q"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码",
- "example" : "370000"
- }
- }
- },
- "SchoolSimpleInfo" : {
- "type" : "object",
- "properties" : {
- "campus_info" : {
- "$ref" : "#/components/schemas/CampusInfo"
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码",
- "example" : "620900"
- },
- "inst_id" : {
- "type" : "string",
- "description" : "学校内标",
- "example" : "2088000151541822"
- },
- "inst_name" : {
- "type" : "string",
- "description" : "学校名称",
- "example" : "复旦大学"
- },
- "inst_std_code" : {
- "type" : "string",
- "description" : "学校外标",
- "example" : "12510181450882098Q"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码",
- "example" : "370000"
- }
- }
- },
- "SearchAbilityOrderData" : {
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "申请单类型",
- "example" : "BRAND_BOX"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称",
- "example" : "小程序名称"
- },
- "app_status" : {
- "type" : "string",
- "description" : "小程序状态 ON_LINE、OFF_LINE",
- "example" : "ON_LINE"
- },
- "appid" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2021001105612404"
- },
- "apply_id" : {
- "type" : "string",
- "description" : "申请单id",
- "example" : "AP20200212100002488"
- },
- "apply_type" : {
- "type" : "string",
- "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
- "example" : "BRAND_BOX"
- },
- "audit_status" : {
- "type" : "string",
- "description" : "申请状态 AGREE、REJECT、EDIT、AUDIT",
- "example" : "AGREE"
- },
- "biz_id" : {
- "type" : "string",
- "description" : "bizId 为品牌box的boxID",
- "example" : "C100038430_2019042421000001069599_FUNCTION"
- },
- "box_status" : {
- "type" : "string",
- "description" : "品牌box的上下架状态 ONLINE OFFLINE",
- "example" : "ONLINE"
- },
- "brand_template_id" : {
- "type" : "string",
- "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四",
- "example" : "DEFAULT"
- },
- "children" : {
- "type" : "array",
- "description" : "二级服务信息",
- "items" : {
- "$ref" : "#/components/schemas/SearchAbilityOrderInfoOpenApi"
- }
- },
- "data_key" : {
- "type" : "string",
- "description" : "二级服务的唯一标识",
- "example" : "2019042421000001069599"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "更新时间",
- "example" : "2020-10-16 12:00:21"
- },
- "id" : {
- "type" : "string",
- "description" : "服务的唯一标识(优先使用serviceCode可忽略)",
- "example" : "3131231"
- },
- "is_old_data" : {
- "type" : "string",
- "description" : "是否是老工单",
- "example" : "false"
- },
- "major_status" : {
- "type" : "string",
- "description" : "服务主状态,INITIAL:初始化;VALID:已生效;INVALID:已失效",
- "example" : "INITIAL"
- },
- "online_time" : {
- "type" : "string",
- "description" : "上架时间",
- "example" : "2020-10-10 12:32:31"
- },
- "open_status" : {
- "type" : "boolean",
- "description" : "服务的可见性状态",
- "example" : "true"
- },
- "operator" : {
- "type" : "string",
- "description" : "下架操作者",
- "example" : "20881231231"
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "驳回原因",
- "example" : "驳回原因"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "场景码",
- "example" : "HOT_WORD_RANKING"
- },
- "scene_name" : {
- "type" : "string",
- "description" : "场景名称",
- "example" : "场景名称"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务码",
- "example" : "2019121121000102523089"
- },
- "sub_service_desc" : {
- "type" : "string",
- "description" : "子功能描述",
- "example" : "子功能描述"
- },
- "sub_service_name" : {
- "type" : "string",
- "description" : "子功能名称",
- "example" : "子功能名称"
- }
- }
- },
- "SearchAbilityOrderInfoOpenApi" : {
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "申请单类型",
- "example" : "BASE"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称",
- "example" : "搜索1"
- },
- "app_status" : {
- "type" : "string",
- "description" : "小程序状态",
- "example" : "ON_LINE"
- },
- "audit_status" : {
- "type" : "string",
- "description" : "审核状态",
- "example" : "AUDIT_PASS"
- },
- "biz_id" : {
- "type" : "string",
- "description" : "运营申请单详情biz_id",
- "example" : "2021001105610428"
- },
- "box_status" : {
- "type" : "string",
- "description" : "上架状态",
- "example" : "ONLINE"
- },
- "brand_template_id" : {
- "type" : "string",
- "description" : "品牌模板id",
- "example" : "ONE_WITH_TWO"
- },
- "data_key" : {
- "type" : "string",
- "description" : "二级服务唯一标识",
- "example" : "23232234"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "最近更新时间",
- "example" : "2020-12-11"
- },
- "id" : {
- "type" : "string",
- "description" : "唯一id",
- "example" : "123424"
- },
- "is_old_data" : {
- "type" : "boolean",
- "description" : "是否老工单",
- "example" : "false"
- },
- "major_status" : {
- "type" : "string",
- "description" : "服务主状态",
- "example" : "VALID"
- },
- "online_time" : {
- "type" : "string",
- "description" : "上架时间",
- "example" : "2020-11-12"
- },
- "open_status" : {
- "type" : "boolean",
- "description" : "小程序可见性",
- "example" : "true"
- },
- "operator" : {
- "type" : "string",
- "description" : "下架操作者",
- "example" : "232323"
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "驳回原因",
- "example" : "驳回原因"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "场景码",
- "example" : "sss"
- },
- "scene_name" : {
- "type" : "string",
- "description" : "场景名称",
- "example" : "aaa"
- },
- "search_app_id" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2021001105610428"
- },
- "sepc_code" : {
- "type" : "string",
- "description" : "应用标识",
- "example" : "SP_MINI_APP"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务码",
- "example" : "234345454"
- },
- "sub_service_desc" : {
- "type" : "string",
- "description" : "子功能描述",
- "example" : "111"
- },
- "sub_service_name" : {
- "type" : "string",
- "description" : "子功能名称",
- "example" : "子功能"
- }
- }
- },
- "SearchApplyPageQueryRequest" : {
- "type" : "object",
- "properties" : {
- "apply_type" : {
- "type" : "string",
- "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
- "example" : "BRAND_BOX"
- },
- "audit_status_list" : {
- "type" : "array",
- "description" : "筛选状态数组 AUDIT AGREE REJECT CANCEL EDIT",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"AUDIT\",\"AGREE\"]"
- },
- "category_code" : {
- "type" : "string",
- "description" : "类目编码",
- "example" : "2021001162676276"
- },
- "name" : {
- "type" : "string",
- "description" : "服务名称",
- "example" : "服务名称"
- },
- "page_num" : {
- "type" : "string",
- "description" : "当前页码",
- "example" : "10"
- },
- "page_size" : {
- "type" : "string",
- "description" : "页面的显示记录条数",
- "example" : "3"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务code",
- "example" : "2020062021000575859547"
- },
- "service_id" : {
- "type" : "string",
- "description" : "小程序appid",
- "example" : "2020072301000006648885"
- },
- "start_row" : {
- "type" : "string",
- "description" : "起始记录,起始:0",
- "example" : "1"
- },
- "sub_service_code" : {
- "type" : "string",
- "description" : "二级服务code",
- "example" : "2020062021000575859547"
- }
- }
- },
- "SearchBaseItems" : {
- "type" : "object",
- "properties" : {
- "can_search" : {
- "type" : "boolean",
- "description" : "搜索可见性",
- "example" : "true"
- },
- "key_words" : {
- "type" : "array",
- "description" : "提报关键词列表",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"111\",\"222\",\"333\"]"
- }
- }
- },
- "SearchBaseOrderCreateApiRequest" : {
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "搜索直达类型 BASE:基础信息,只支持基础信息工单提报",
- "example" : "BASE"
- },
- "appid" : {
- "type" : "string",
- "description" : "小程序Id",
- "example" : "2021001105612404"
- },
- "base_items" : {
- "$ref" : "#/components/schemas/SearchBaseItems"
- },
- "descprise" : {
- "type" : "string",
- "description" : "服务描述",
- "example" : "服务描述"
- },
- "is_draft" : {
- "type" : "boolean",
- "description" : "是否为草稿态",
- "example" : "true"
- },
- "order_id" : {
- "type" : "string",
- "description" : "申请单id,仅仅驳回或修改是传入",
- "example" : "AP20200212100002488"
- },
- "spec_code" : {
- "type" : "string",
- "description" : "服务的类型 SP_MINI_APP 小程序 SP_PUBLIC_APP 生活号",
- "example" : "SP_MINI_APP"
- }
- }
- },
- "SearchBoxAccountModule" : {
- "type" : "object",
- "properties" : {
- "app_infos" : {
- "type" : "array",
- "description" : "应用信息列表",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxAppInfo"
- }
- },
- "module_id" : {
- "type" : "string",
- "description" : "模块ID",
- "example" : "20220308000000168465"
- },
- "module_type" : {
- "type" : "string",
- "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
- "example" : "BOX_EXCLUSIVE_ACCOUNTS"
- }
- }
- },
- "SearchBoxActivity" : {
- "type" : "object",
- "properties" : {
- "box_activity_id" : {
- "type" : "string",
- "description" : "活动id",
- "example" : "20211223000000100000"
- },
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达id",
- "example" : "20211130000000100415"
- },
- "end_time" : {
- "type" : "string",
- "description" : "活动结束时间",
- "example" : "2022-09-30 23:59:59"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "审核失败原因",
- "example" : "品牌触发词必须完整包含品牌名称且不得使用泛词,建议调整。"
- },
- "material_type" : {
- "type" : "string",
- "description" : "IMAGE-图片/VIDEO-视频",
- "example" : "IMAGE"
- },
- "material_url" : {
- "type" : "string",
- "description" : "当material_type=\"IMAGE\"时,为图片url;当material_type=\"VIDEO\"时,为视频url",
- "example" : "http://mdn.alipayobjects.com/mrch_spc/afts/img/A*0XA2Qo_omj4AAAAAAAAAAAAADsF1AQ/original"
- },
- "run_status" : {
- "type" : "string",
- "description" : "运行状态,INITIAL-初始,ONLINE-已上架,EXPIRE-已失效,OFFLINE-已下架",
- "example" : "ONLINE"
- },
- "start_time" : {
- "type" : "string",
- "description" : "活动开始时间",
- "example" : "2022-02-10 08:00:00"
- },
- "status" : {
- "type" : "string",
- "description" : "配置状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效",
- "example" : "ONLINE"
- },
- "target_appid" : {
- "type" : "string",
- "description" : "跳转应用ID",
- "example" : "2021001191699651"
- },
- "target_appname" : {
- "type" : "string",
- "description" : "目标小程序名称",
- "example" : "目标小程序名称"
- },
- "target_regions" : {
- "type" : "array",
- "description" : "投放目标区域",
- "items" : {
- "$ref" : "#/components/schemas/DeliveryTargetRegion"
- }
- },
- "title" : {
- "type" : "string",
- "description" : "活动标题",
- "example" : "活动标题"
- },
- "video_info" : {
- "$ref" : "#/components/schemas/SearchBoxActivityVideoInfo"
- }
- }
- },
- "SearchBoxActivityVideoInfo" : {
- "type" : "object",
- "properties" : {
- "video_btn_text" : {
- "type" : "string",
- "description" : "视频按钮文案,2-4个汉字"
- },
- "video_coverimg_id" : {
- "type" : "string",
- "description" : "视频封面图片id,图片id可以通过调用接口alipay.open.file.upload上传图片,获取图片id(bizCode:search_box_videocover)。<a href=\"https://opendocs.alipay.com/b/03al6f\"> 图片规范 </a>"
- },
- "video_sub_title" : {
- "type" : "string",
- "description" : "视频副标题,2-16个汉字"
- },
- "video_title" : {
- "type" : "string",
- "description" : "视频主标题,2-10个汉字"
- }
- }
- },
- "SearchBoxAppInfo" : {
- "type" : "object",
- "properties" : {
- "app_name" : {
- "type" : "string",
- "description" : "应用名称"
- },
- "app_type" : {
- "type" : "string",
- "description" : "应用类型,TINY_APP-小程序/PUBLIC_APP-生活号/SHOP_APP-球房应用"
- },
- "relate_appid" : {
- "type" : "string",
- "description" : "应用ID"
- }
- }
- },
- "SearchBoxAreaKeyWordModule" : {
- "type" : "object",
- "properties" : {
- "latest_audit_area_keyword_info" : {
- "$ref" : "#/components/schemas/SearchBoxKeywordInfo"
- },
- "module_id" : {
- "type" : "string",
- "description" : "模块id",
- "example" : "20220308000000168465"
- },
- "module_type" : {
- "type" : "string",
- "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
- "example" : "BOX_EXCLUSIVE_AREA_KEYWORD"
- },
- "valid_area_keyword_info" : {
- "$ref" : "#/components/schemas/SearchBoxKeywordInfo"
- }
- }
- },
- "SearchBoxBasicInfo" : {
- "type" : "object",
- "properties" : {
- "box_id" : {
- "type" : "string",
- "description" : "搜索直达配置id",
- "example" : "20220117000000112680"
- },
- "brand_id" : {
- "type" : "string",
- "description" : "品牌id",
- "example" : "1000467882"
- },
- "name" : {
- "type" : "string",
- "description" : "搜索直达名称",
- "example" : "搜索直达名称"
- },
- "status" : {
- "type" : "string",
- "description" : "搜索直达配置状态,INITIAL-初始/ONLINE-已上架/EXPIRE-已失效/OFFLINE-已下架",
- "example" : "ONLINE"
- },
- "target_appid" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2018092561507369"
- }
- }
- },
- "SearchBoxBasicInfoModule" : {
- "type" : "object",
- "properties" : {
- "apply_no" : {
- "type" : "string",
- "description" : "申请单号",
- "example" : "2022010700503000000000487728"
- },
- "box_desc" : {
- "type" : "string",
- "description" : "介绍,已生效的数据",
- "example" : "品牌介绍"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "审核失败原因",
- "example" : "品牌触发词必须完整包含品牌名称且不得使用泛词,建议调整。"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2022-01-07 18:22:04"
- },
- "latest_audit_box_desc" : {
- "type" : "string",
- "description" : "介绍,最近一次审核内容",
- "example" : "品牌介绍"
- },
- "module_id" : {
- "type" : "string",
- "description" : "模块配置ID",
- "example" : "20220308000000168465"
- },
- "module_type" : {
- "type" : "string",
- "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
- "example" : "BOX_EXCLUSIVE_BASE"
- },
- "status" : {
- "type" : "string",
- "description" : "状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效",
- "example" : "AUDIT"
- }
- }
- },
- "SearchBoxImageModule" : {
- "type" : "object",
- "properties" : {
- "apply_no" : {
- "type" : "string",
- "description" : "申请单号"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "审核失败原因"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间"
- },
- "module_id" : {
- "type" : "string",
- "description" : "模块ID"
- },
- "module_type" : {
- "type" : "string",
- "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图"
- },
- "status" : {
- "type" : "string",
- "description" : "状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效"
- }
- }
- },
- "SearchBoxKeyWordModule" : {
- "type" : "object",
- "properties" : {
- "apply_no" : {
- "type" : "string",
- "description" : "申请单号",
- "example" : "2022010700503000000000487728"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "审核失败原因",
- "example" : "品牌触发词必须完整包含品牌名称且不得使用泛词,建议调整。"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "2022-01-07 18:22:04"
- },
- "keywords" : {
- "type" : "array",
- "description" : "自定义触发词(生效中)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"自定义触发词\"]"
- },
- "latest_audit_keywords" : {
- "type" : "array",
- "description" : "自定义触发词(最近一次审核内容)",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"自定义触发词\"]"
- },
- "module_id" : {
- "type" : "string",
- "description" : "模块配置ID",
- "example" : "20220308000000168465"
- },
- "module_type" : {
- "type" : "string",
- "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
- "example" : "BOX_EXCLUSIVE_KEYWORD"
- },
- "status" : {
- "type" : "string",
- "description" : "状态,INITIAL-初始/AUDIT-审核中/CANCEL-已取消/ONLINE-已上架/REJECT-驳回/OFFLINE-已下架/EXPIRE-已失效",
- "example" : "ONLINE"
- }
- }
- },
- "SearchBoxKeywordInfo" : {
- "type" : "object",
- "properties" : {
- "apply_no" : {
- "type" : "string",
- "description" : "申请单号"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "审核失败原因"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间"
- },
- "keywords" : {
- "type" : "array",
- "description" : "关键词",
- "items" : {
- "type" : "string"
- }
- },
- "module_id" : {
- "type" : "string",
- "description" : "模块ID"
- },
- "status" : {
- "type" : "string",
- "description" : "ONLINE--上架\tREJECT--驳回\tOFFLINE-已下架"
- }
- }
- },
- "SearchBoxServiceInfo" : {
- "type" : "object",
- "properties" : {
- "service_category_code" : {
- "type" : "string",
- "description" : "服务类目编码"
- },
- "service_category_name" : {
- "type" : "string",
- "description" : "服务类目名称"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务编码"
- },
- "service_name" : {
- "type" : "string",
- "description" : "服务名称"
- }
- }
- },
- "SearchBoxServiceModule" : {
- "type" : "object",
- "properties" : {
- "module_id" : {
- "type" : "string",
- "description" : "模块ID",
- "example" : "20220308000000168465"
- },
- "module_type" : {
- "type" : "string",
- "description" : "搜索直达模块类型,BOX_EXCLUSIVE_BASE-基础信息/BOX_EXCLUSIVE_KEYWORD-关键词/BOX_EXCLUSIVE_FUNCTIONS-功能服务/BOX_EXCLUSIVE_ACCOUNTS-关联账号/BOX_ATMOSPHERE_IMAGE-氛围图",
- "example" : "BOX_EXCLUSIVE_FUNCTIONS"
- },
- "service_infos" : {
- "type" : "array",
- "description" : "服务信息列表",
- "items" : {
- "$ref" : "#/components/schemas/SearchBoxServiceInfo"
- }
- }
- }
- },
- "SearchOperPageQueryRequest" : {
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
- "example" : "BRAND_BOX"
- },
- "appid" : {
- "type" : "string",
- "description" : "小程序ID",
- "example" : "2021001105612404"
- },
- "page_num" : {
- "type" : "string",
- "description" : "当前页",
- "example" : "1"
- },
- "page_size" : {
- "type" : "string",
- "description" : "每页显示条数",
- "example" : "2"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "场景码",
- "example" : "HOT_WORD_RANKING"
- },
- "spec_code" : {
- "type" : "string",
- "description" : "服务类型 SP_MINI_APP 小程序 SP_PUBLIC_APP 生活号",
- "example" : "SP_MINI_APP"
- }
- }
- },
- "SearchOrderBrandDetail" : {
- "type" : "object",
- "properties" : {
- "brand_detail" : {
- "$ref" : "#/components/schemas/BrandDetail"
- },
- "key" : {
- "type" : "string",
- "description" : "工单详情key值",
- "example" : "425d8560-35da-11eb-9de8-217f5d8e3c76"
- }
- }
- },
- "SearchOrderDetailData" : {
- "type" : "object",
- "properties" : {
- "access_type" : {
- "type" : "string",
- "description" : "申请单类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
- "example" : "BASE"
- },
- "app_category" : {
- "type" : "string",
- "description" : "小程序类目名",
- "example" : "旅行住宿_国际货运代理和报关行"
- },
- "app_icon" : {
- "type" : "string",
- "description" : "小程序图标",
- "example" : "http://appstoreisvpic.alipayobjects.com/dev/bec7d11f-bb62-4abf-9a75-0d10407b4ed8.png"
- },
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称",
- "example" : "小程序名称"
- },
- "app_status" : {
- "type" : "string",
- "description" : "小程序状态",
- "example" : "ON_LINE"
- },
- "appid" : {
- "type" : "string",
- "description" : "小程序ID",
- "example" : "2014060600164699"
- },
- "base_order_status" : {
- "$ref" : "#/components/schemas/OrderStatusData"
- },
- "biz_id" : {
- "type" : "string",
- "description" : "bizid 业务id",
- "example" : "765432123456"
- },
- "box_order_status" : {
- "$ref" : "#/components/schemas/OrderStatusData"
- },
- "box_status" : {
- "type" : "string",
- "description" : "上下架状态 ONLINE OFFLINE",
- "example" : "ONLINE"
- },
- "brand_template_id" : {
- "type" : "string",
- "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四",
- "example" : "DEFAULT"
- },
- "brandbox_orderstatus" : {
- "$ref" : "#/components/schemas/OrderStatusData"
- },
- "can_modify_keyword" : {
- "type" : "boolean",
- "description" : "是否可修改关键词",
- "example" : "true"
- },
- "describe" : {
- "type" : "string",
- "description" : "服务描述",
- "example" : "搜索提报测试小程序3"
- },
- "detail_base_items" : {
- "$ref" : "#/components/schemas/SearchOrderDetailDataBaseItems"
- },
- "detail_brand_items" : {
- "$ref" : "#/components/schemas/SearchOrderDetailDataBrandItems"
- },
- "detail_service_items" : {
- "$ref" : "#/components/schemas/SearchOrderDetailDataServiceItems"
- },
- "final_status" : {
- "type" : "string",
- "description" : "最终状态",
- "example" : "AGREE"
- },
- "gmtmodified" : {
- "type" : "string",
- "description" : "最后修改时间",
- "example" : "2020-10-15 11:34:23"
- },
- "keyword_gmt_modified" : {
- "type" : "string",
- "description" : "关键词的修改时间",
- "example" : "2020-10-14 14:25:50"
- },
- "online_time" : {
- "type" : "string",
- "description" : "上架时间",
- "example" : "2020-10-15 11:34:23"
- },
- "operator_type" : {
- "type" : "string",
- "description" : "操作人员类型",
- "example" : "操作人员类型"
- },
- "order_id" : {
- "type" : "string",
- "description" : "申请单id",
- "example" : "AP2020101501254498"
- },
- "partner_type" : {
- "type" : "string",
- "description" : "查询服务提供者生态类型 一二三方 1 | 2 | 3",
- "example" : "1"
- },
- "reject_node" : {
- "type" : "string",
- "description" : "驳回节点",
- "example" : "驳回节点"
- },
- "reject_reason" : {
- "type" : "string",
- "description" : "驳回原因",
- "example" : "驳回原因"
- },
- "scene_code" : {
- "type" : "string",
- "description" : "场景码",
- "example" : "HOT_WORD_RANKING"
- },
- "scene_name" : {
- "type" : "string",
- "description" : "场景名称",
- "example" : "场景名称"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务code",
- "example" : "2019121121000102523089"
- },
- "service_name" : {
- "type" : "string",
- "description" : "服务名",
- "example" : "服务名"
- },
- "status" : {
- "type" : "string",
- "description" : "申请单状态 AGREE、REJECT、AUDIT",
- "example" : "AUDIT"
- },
- "sub_service_code" : {
- "type" : "string",
- "description" : "二级服务code",
- "example" : "2019121121000102523089"
- },
- "template_id" : {
- "type" : "string",
- "description" : "模板Id",
- "example" : "WALLET-SEARCH@boxFunctionCommon"
- },
- "template_name" : {
- "type" : "string",
- "description" : "模板名称",
- "example" : "二级服务菜单直达"
- }
- }
- },
- "SearchOrderDetailDataBaseItems" : {
- "type" : "object",
- "properties" : {
- "can_search" : {
- "type" : "string",
- "description" : "搜索可见性",
- "example" : "true"
- },
- "desc" : {
- "type" : "string",
- "description" : "描述信息",
- "example" : "描述信息"
- },
- "img" : {
- "type" : "string",
- "description" : "img地址",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod/37945fc8-d09b-4b3a-a472-4673c55e9dc9.png"
- },
- "key_word" : {
- "type" : "string",
- "description" : "关键词",
- "example" : "测试"
- },
- "name" : {
- "type" : "string",
- "description" : "应用名称",
- "example" : "测试1"
- },
- "region" : {
- "type" : "string",
- "description" : "基础工单详情region",
- "example" : "0"
- },
- "serv_can_search" : {
- "type" : "string",
- "description" : "搜索可见性",
- "example" : "true"
- },
- "serv_search_keywords" : {
- "type" : "string",
- "description" : "搜索关键词",
- "example" : "搜索"
- },
- "template_id" : {
- "type" : "string",
- "description" : "模板id",
- "example" : "WALLET-SEARCH@boxFunctionCommon"
- },
- "url" : {
- "type" : "string",
- "description" : "跳转url链接",
- "example" : "https://appstoreisvpic.alipayobjects.com/prod"
- }
- }
- },
- "SearchOrderDetailDataBrandItems" : {
- "type" : "object",
- "properties" : {
- "biz_id" : {
- "type" : "string",
- "description" : "工单详情bizid",
- "example" : "C100038430_2020081121000352488483_FUNCTION"
- },
- "box_status" : {
- "type" : "string",
- "description" : "上下架状态",
- "example" : "ONLINE"
- },
- "brand_box_keywords" : {
- "type" : "string",
- "description" : "关键词信息",
- "example" : "烟草"
- },
- "brand_detail_list" : {
- "type" : "array",
- "description" : "工单详情数据信息",
- "items" : {
- "$ref" : "#/components/schemas/SearchOrderBrandDetail"
- }
- },
- "brand_template_id" : {
- "type" : "string",
- "description" : "品牌展示模板类型",
- "example" : "ONE_WITH_TWO"
- },
- "channel" : {
- "type" : "string",
- "description" : "工单详情数据channel",
- "example" : "OPENINSIGHT"
- },
- "merchant_type" : {
- "type" : "string",
- "description" : "工单详情数据merchant_type",
- "example" : "GENERAL"
- },
- "template_id" : {
- "type" : "string",
- "description" : "模板id",
- "example" : "WALLET-SEARCH@boxContent"
- }
- }
- },
- "SearchOrderDetailDataServiceItems" : {
- "type" : "object",
- "properties" : {
- "area_codes" : {
- "type" : "string",
- "description" : "服务工单详情area_codes",
- "example" : "1"
- },
- "carrier_code" : {
- "type" : "string",
- "description" : "carrier_code",
- "example" : "2019021863152020"
- },
- "carrier_list" : {
- "type" : "string",
- "description" : "服务工单数据carrier_list",
- "example" : "111"
- },
- "category_attribute_value" : {
- "type" : "string",
- "description" : "服务工单category_attribute_value",
- "example" : "111"
- },
- "category_code" : {
- "type" : "string",
- "description" : "类目id",
- "example" : "C100038432"
- },
- "category_ids" : {
- "type" : "string",
- "description" : "类目id",
- "example" : "XS3120"
- },
- "channel_type" : {
- "type" : "string",
- "description" : "渠道类型",
- "example" : "MERCHANT_SELF_MANAGE_MINI_APP"
- },
- "desc" : {
- "type" : "string",
- "description" : "描述",
- "example" : "描述"
- },
- "img" : {
- "type" : "string",
- "description" : "img地址",
- "example" : "https://mdn.alipayobjects.com/openpt_appstore/afts/img/A*1o71SaApF5YAAAAAAAAAAAAAATcnAQ/original"
- },
- "key_word" : {
- "type" : "string",
- "description" : "关键词",
- "example" : "关键词"
- },
- "key_word_list" : {
- "type" : "string",
- "description" : "关键词列表",
- "example" : "测试"
- },
- "logo" : {
- "type" : "string",
- "description" : "logo图片地址",
- "example" : "https://mdn.alipayobjects.com/openpt_appstore/afts/img/A*1o71SaApF5YAAAAAAAAAAAAAATcnAQ/original"
- },
- "name" : {
- "type" : "string",
- "description" : "应用名称",
- "example" : "应用名称"
- },
- "parent_service_code" : {
- "type" : "string",
- "description" : "服务编码",
- "example" : "2019041721000201048200"
- },
- "region" : {
- "type" : "string",
- "description" : "服务工单详情region",
- "example" : "1"
- },
- "serv_search_catalogs" : {
- "type" : "string",
- "description" : "serv_search_catalogs",
- "example" : "C100038432"
- },
- "serv_search_keywords" : {
- "type" : "string",
- "description" : "关键词",
- "example" : "关键词"
- },
- "service_code" : {
- "type" : "string",
- "description" : "2020112321000021082348",
- "example" : "服务码"
- },
- "service_name" : {
- "type" : "string",
- "description" : "服务名称",
- "example" : "测试1"
- },
- "service_time_end" : {
- "type" : "string",
- "description" : "服务结束时间",
- "example" : "23:59:59"
- },
- "service_time_start" : {
- "type" : "string",
- "description" : "服务开始时间",
- "example" : "00:00:00"
- },
- "short_desc" : {
- "type" : "string",
- "description" : "服务短描述",
- "example" : "服务短描述"
- },
- "spec_code" : {
- "type" : "string",
- "description" : "应用标识",
- "example" : "SP_SEARCH_SERVICE"
- },
- "template_id" : {
- "type" : "string",
- "description" : "模板id",
- "example" : "WALLET-SEARCH@boxFunctionCommon"
- }
- }
- },
- "SearchOrderRequest" : {
- "type" : "object",
- "properties" : {
- "apply_id" : {
- "type" : "string",
- "description" : "申请单id",
- "example" : "AP20200212100002488"
- },
- "apply_type" : {
- "type" : "string",
- "description" : "申请类型 BASE:基础信息, BRAND_BOX:品牌直达,SERVICE_BOX服务直达",
- "example" : "BASE"
- },
- "brand_template_id" : {
- "type" : "string",
- "description" : "品牌的模板id ONE_WITH_TWO:一拖二、DEFAULT:一拖四",
- "example" : "DEFAULT"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务code",
- "example" : "2019121121000102523089"
- },
- "spec_code" : {
- "type" : "string",
- "description" : "服务的类型默认使用小程序 SP_MINI_APP 小程序 SP_PUBLIC_APP 生活号",
- "example" : "SP_MINI_APP"
- }
- }
- },
- "SearchPartAgreeInfo" : {
- "type" : "object",
- "properties" : {
- "audit_info" : {
- "type" : "string",
- "description" : "剔除数据名称",
- "example" : "单车"
- },
- "audit_operator" : {
- "type" : "string",
- "description" : "剔除数据的operator信息",
- "example" : "liming"
- },
- "audit_reason" : {
- "type" : "string",
- "description" : "剔除原因",
- "example" : "剔除原因"
- },
- "audit_type" : {
- "type" : "string",
- "description" : "剔除数据类型",
- "example" : "aaa"
- }
- }
- },
- "SeatInfo" : {
- "type" : "object",
- "properties" : {
- "seat_class" : {
- "type" : "string",
- "description" : "座位等级",
- "example" : "一等座"
- },
- "seat_no" : {
- "type" : "string",
- "description" : "座位号",
- "example" : "12车12D"
- }
- }
- },
- "SendRule" : {
- "type" : "object",
- "properties" : {
- "allow_repeat_send" : {
- "type" : "string",
- "description" : "是否允许重复发奖:\r\ttrue代表允许,false代表不允许\r\t默认不设置,表明用户领取券后如果没有核销则不允许再次领取券\r\t如果设置为true,表明如果用户领取券后没有核销,还可以继续领取该券(只有配置publish_channels中type为URL_WITH_TOKEN外部发券时,该字段生效)",
- "example" : "true"
- },
- "min_cost" : {
- "type" : "string",
- "description" : "发券最低消费金额,单位元\r\t活动类型为消费送且不是消费送礼包时设置\r\t多营销工具之间不允许设置重复值",
- "example" : "100"
- },
- "send_budget" : {
- "type" : "string",
- "description" : "券的预算数量(仅对口令送随机抽奖有效,即当活动类型为GUESS_SEND,且营销工具PromoTool的个数大于1时,此字段必填,其余情况此字段必为空)",
- "example" : "1234"
- },
- "send_num" : {
- "type" : "string",
- "description" : "发券数目\r\t最少发1张券,最多发5张券",
- "example" : "1"
- }
- }
- },
- "SenderIstd" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "地址(街道、小区、大厦等,用于定位)"
- },
- "address_detail" : {
- "type" : "string",
- "description" : "地址详情(楼号、单元号、层号)"
- },
- "city" : {
- "type" : "string",
- "description" : "城市名称,如杭州市"
- },
- "coordinate_type" : {
- "type" : "integer",
- "description" : "坐标类型,0:火星坐标(高德,腾讯地图均采用火星坐标) 1:百度坐标, 目前只支持0"
- },
- "lat" : {
- "type" : "string",
- "description" : "纬度"
- },
- "lng" : {
- "type" : "string",
- "description" : "经度"
- },
- "mobile_no" : {
- "type" : "string",
- "description" : "手机号"
- },
- "name" : {
- "type" : "string",
- "description" : "姓名"
- }
- }
- },
- "ServiceCodeIstd" : {
- "type" : "object",
- "properties" : {
- "service_code" : {
- "type" : "string",
- "description" : "即时配送公司服务代码",
- "example" : "fengniao01"
- }
- }
- },
- "ServiceRecordCatRequest" : {
- "type" : "object",
- "properties" : {
- "cat_name" : {
- "type" : "string",
- "description" : "类目名称(需要每一级用;分隔封装)"
- },
- "first_cat" : {
- "type" : "string",
- "description" : "一级类目编码"
- },
- "fourth_cat" : {
- "type" : "string",
- "description" : "四级类目编码"
- },
- "instence_code" : {
- "type" : "string",
- "description" : "类目树编码"
- },
- "second_cat" : {
- "type" : "string",
- "description" : "二级类目编码"
- },
- "third_cat" : {
- "type" : "string",
- "description" : "三级类目编码"
- }
- }
- },
- "SettleCardInfo" : {
- "type" : "object",
- "properties" : {
- "account_branch_name" : {
- "type" : "string",
- "description" : "开户支行名"
- },
- "account_holder_name" : {
- "type" : "string",
- "description" : "卡户名"
- },
- "account_inst_city" : {
- "type" : "string",
- "description" : "开户行所在地-市"
- },
- "account_inst_id" : {
- "type" : "string",
- "description" : "开户行简称缩写"
- },
- "account_inst_name" : {
- "type" : "string",
- "description" : "银行名称"
- },
- "account_inst_province" : {
- "type" : "string",
- "description" : "开户行所在地-省"
- },
- "account_no" : {
- "type" : "string",
- "description" : "银行卡号"
- },
- "account_type" : {
- "type" : "string",
- "description" : "卡类型\r\t借记卡-DC\r\t信用卡-CC"
- },
- "bank_code" : {
- "type" : "string",
- "description" : "联行号"
- },
- "usage_type" : {
- "type" : "string",
- "description" : "账号使用类型\r\t对公-01\r\t对私-02"
- }
- }
- },
- "SettleClause" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "结算金额,单位为元",
- "example" : "0.1"
- },
- "currency" : {
- "type" : "string",
- "description" : "结算币种,支持人民币:CNY",
- "example" : "CNY"
- },
- "settle_account_entity" : {
- "type" : "string",
- "description" : "结算账号所属于的结算主体类型。\tsecondMerchant 二级商户的结算账号\tstore 球房的结算账号\t如果不填,默认为settleEntityType对应的类型",
- "example" : "secondMerchant"
- },
- "settle_account_id" : {
- "type" : "string",
- "description" : "结算账户id。\t\t当结算账户id类型是cardSerialNo时,本参数为用户在支付宝绑定的卡编号;当结算账户id类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号;当结算账户id类型是loginName时,本参数为用户的支付宝登录号; 当 settle_account_type 为defaultSettle时,本参数必须为空",
- "example" : "15912345678"
- },
- "settle_account_id_type" : {
- "type" : "string",
- "description" : "结算账户id类型。 \t当settle_account_type 为bankCard时,本参数为cardSerialNo,表示结算账户id是银行卡编号; 当settle_account_type 为alipayBalance时,本参数为userId或者loginName,其中userId表示结算账户id是支付宝唯一用户号,loginName表示结算账户id是支付宝登录号; 当 settle_account_type 为 defaultSettle 时,本参数必须为空",
- "example" : "loginName"
- },
- "settle_account_type" : {
- "type" : "string",
- "description" : "结算账户类型。\t\tbankCard: 结算账户为银行卡;\talipayBalance: 结算账户为支付宝余额户;\tdefaultSettle: 按默认结算规则结算",
- "example" : "alipayBalance"
- },
- "settle_entity_id" : {
- "type" : "string",
- "description" : "结算主体账号。\r\t当结算主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID",
- "example" : "19023454"
- },
- "settle_entity_type" : {
- "type" : "string",
- "description" : "结算主体类型。\r\tSecondMerchant:结算主体为二级商户",
- "example" : "SecondMerchant"
- },
- "sub_merchant" : {
- "$ref" : "#/components/schemas/SubMerchant"
- }
- }
- },
- "SettleConfirmExtendParams" : {
- "type" : "object",
- "properties" : {
- "royalty_freeze" : {
- "type" : "string",
- "description" : "是否进行资金冻结,用于后续分账,true表示冻结,false或不传表示不冻结",
- "example" : "true"
- }
- }
- },
- "SettleDetailInfo" : {
- "type" : "object",
- "properties" : {
- "actual_amount" : {
- "type" : "string",
- "description" : "仅在直付通账期模式下,当一笔交易需要分多次发起部分确认结算时使用,表示本次确认结算的实际结算金额。传递本字段后,原amount字段不再生效,结算金额以本字段为准。如已经发生过部分确认结算、不传递本字段则默认按剩余待结算金额一次性结算。"
- },
- "amount" : {
- "type" : "string",
- "description" : "结算的金额,单位为元。在创建订单和支付接口时必须和交易金额相同。在结算确认接口时必须等于交易金额减去已退款金额。直付通账期模式下,如使用部分结算能力、传递了actual_amount字段,则忽略本字段的校验、可不传。"
- },
- "settle_entity_id" : {
- "type" : "string",
- "description" : "结算主体标识。当结算主体类型为SecondMerchant时,为二级商户的SecondMerchantID;当结算主体类型为Store时,为球房的外标。"
- },
- "settle_entity_type" : {
- "type" : "string",
- "description" : "结算主体类型。\r\t二级商户:SecondMerchant;商户或者直连商户球房:Store"
- },
- "summary_dimension" : {
- "type" : "string",
- "description" : "结算汇总维度,按照这个维度汇总成批次结算,由商户指定。\t\t目前需要和结算收款方账户类型为cardAliasNo配合使用"
- },
- "trans_in" : {
- "type" : "string",
- "description" : "结算收款方。当结算收款方类型是cardAliasNo时,本参数为用户在支付宝绑定的卡编号;结算收款方类型是userId时,本参数为用户的支付宝账号对应的支付宝唯一用户号,以2088开头的纯16位数字;当结算收款方类型是loginName时,本参数为用户的支付宝登录号;当结算收款方类型是defaultSettle时,本参数不能传值,保持为空。"
- },
- "trans_in_type" : {
- "type" : "string",
- "description" : "结算收款方的账户类型。\t\tcardAliasNo:结算收款方的银行卡编号;\tuserId:表示是支付宝账号对应的支付宝唯一用户号;\tloginName:表示是支付宝登录号;\tdefaultSettle:表示结算到商户进件时设置的默认结算账号,结算主体为球房时不支持传defaultSettle;"
- }
- }
- },
- "SettleEntity" : {
- "type" : "object",
- "properties" : {
- "settle_entity_id" : {
- "type" : "string",
- "description" : "结算主体账号\t当结算主体类型为SecondMerchant,本参数为二级商户的SecondMerchantID;当结算主体类型为MerchantStore,本参数为商户球房ID。",
- "example" : "19023454"
- },
- "settle_entity_type" : {
- "type" : "string",
- "description" : "结算主体类型\tSecondMerchant:结算主体为二级商户;MerchantStore:结算主体为商户球房",
- "example" : "SecondMerchant"
- }
- }
- },
- "SettleExtendParams" : {
- "type" : "object",
- "properties" : {
- "royalty_finish" : {
- "type" : "string",
- "description" : "冻结分账场景下生效,其他场景传入无效。\t代表该交易分账是否完结,可选值:true/false,不传默认为false。\ttrue:代表分账完结,则本次分账处理完成后会把该笔交易的剩余冻结金额全额解冻。\tfalse:代表分账未完结。",
- "example" : "true"
- }
- }
- },
- "SettleExtraParams" : {
- "type" : "object",
- "properties" : {
- "quit_type" : {
- "type" : "string",
- "description" : "quit_type为USER_CANCEL_QUIT或者SETTLE_APPLY_QUIT",
- "example" : "SETTLE_APPLY_QUIT"
- },
- "settle_adjust_reason" : {
- "type" : "string",
- "description" : "action_type选择PAY_TO_ZERO时必填,\t\"SERVICE_CANCELED\":\"服务已取消\",\t\"OTHER_CHANNEL_PERFORMANCE\":\"户已通过其他方式履约\"",
- "example" : "SERVICE_CANCELED或OTHER_CHANNEL_PERFORMANCE"
- }
- }
- },
- "SettleInfo" : {
- "type" : "object",
- "properties" : {
- "settle_detail_infos" : {
- "type" : "array",
- "description" : "结算详细信息,json数组,目前只支持一条。",
- "items" : {
- "$ref" : "#/components/schemas/SettleDetailInfo"
- }
- },
- "settle_period_time" : {
- "type" : "string",
- "description" : "该笔订单的超期自动确认结算时间,到达期限后,将自动确认结算。此字段只在签约账期结算模式时有效。取值范围:1d~365d。d-天。 该参数数值不接受小数点。"
- }
- }
- },
- "ShopBusinessTime" : {
- "type" : "object",
- "properties" : {
- "close_time" : {
- "type" : "string",
- "description" : "关门时间 格式:HH:mm"
- },
- "open_time" : {
- "type" : "string",
- "description" : "开门时间 格式:HH:mm"
- },
- "week_day" : {
- "type" : "integer",
- "description" : "本对象表示周几的营业时间。1~6表示周一到周六,7表示周日"
- }
- }
- },
- "ShopCategoryConfigInfo" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "string",
- "description" : "类目ID",
- "example" : "2016031800159500"
- },
- "is_leaf" : {
- "type" : "string",
- "description" : "是否是叶子节点",
- "example" : "true"
- },
- "level" : {
- "type" : "string",
- "description" : "类目层级",
- "example" : "3"
- },
- "link" : {
- "type" : "string",
- "description" : "类目层级路径",
- "example" : "美食-中餐-淮扬菜"
- },
- "nm" : {
- "type" : "string",
- "description" : "类目名称",
- "example" : "淮扬菜"
- }
- }
- },
- "ShopCategoryInfo" : {
- "type" : "object",
- "properties" : {
- "category_id" : {
- "type" : "string",
- "description" : "类目编号",
- "example" : "2015050700000018"
- },
- "category_level" : {
- "type" : "string",
- "description" : "类目层级,目前最多支持1、2、3三级",
- "example" : "2"
- },
- "category_name" : {
- "type" : "string",
- "description" : "类目名称",
- "example" : "美食"
- }
- }
- },
- "ShopCommentInfo" : {
- "type" : "object",
- "properties" : {
- "avg_popularity" : {
- "type" : "string",
- "description" : "店铺30天平均人气值",
- "example" : "76"
- },
- "avg_popularity_name" : {
- "type" : "string",
- "description" : "avg_popularity字段展示文案",
- "example" : "口碑人气"
- },
- "score" : {
- "type" : "string",
- "description" : "球房评分,评分越高,球房质量越高",
- "example" : "3.2"
- },
- "star" : {
- "type" : "string",
- "description" : "球房星级,0~5,越高,店铺质量越高",
- "example" : "4.0"
- }
- }
- },
- "ShopExtInfo" : {
- "type" : "object",
- "properties" : {
- "key_name" : {
- "type" : "string",
- "description" : "KV数据对的key,表示该kv对象表示什么含义。"
- },
- "value" : {
- "type" : "string",
- "description" : "kv对象的值"
- }
- }
- },
- "ShopQueryOpenApiVO" : {
- "type" : "object",
- "properties" : {
- "business_address" : {
- "$ref" : "#/components/schemas/AddressInfo"
- },
- "business_time" : {
- "type" : "array",
- "description" : "店铺经营时间",
- "items" : {
- "$ref" : "#/components/schemas/ShopBusinessTime"
- }
- },
- "contact_mobile" : {
- "type" : "string",
- "description" : "店铺联系手机",
- "example" : "13901390139"
- },
- "contact_phone" : {
- "type" : "string",
- "description" : "店铺的联系固话",
- "example" : "010-62286228"
- },
- "new_shop_category" : {
- "type" : "string",
- "description" : "新版球房类目标准二级类目code。类目标准及与原shop_category映射关系参见文档https://gw.alipayobjects.com/os/bmw-prod/4b3f82df-e53e-4b84-bc41-fe025101e726.xlsx",
- "example" : "B0001"
- },
- "shop_category" : {
- "type" : "string",
- "description" : "店铺类目,取值参见文件https://mif-pub.alipayobjects.com/ShopCategory.xlsx 中的三级球房类目",
- "example" : "1001"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "蚂蚁店铺id",
- "example" : "2018011900502000000005124744"
- },
- "shop_info_status" : {
- "type" : "string",
- "description" : "当前名称、地址、经纬度信息准确一致,可用于数字化经营场景消费(01=已认证,02=待优化,03=审核中,99=未知)",
- "example" : "01"
- },
- "shop_name" : {
- "type" : "string",
- "description" : "店铺名称",
- "example" : "肯德基中关村店"
- },
- "shop_status" : {
- "type" : "string",
- "description" : "球房状态,01正常,03冻结",
- "example" : "01"
- },
- "shop_type" : {
- "type" : "string",
- "description" : "店铺经营类型,01表示直营,02表示加盟",
- "example" : "01"
- },
- "store_id" : {
- "type" : "string",
- "description" : "球房编号,表示该球房在该商户角色id(直连pid,间连smid)下,由商户自己定义的外部球房编号",
- "example" : "NO0001"
- }
- }
- },
- "ShopRecommendInfo" : {
- "type" : "object",
- "properties" : {
- "recommend" : {
- "type" : "string",
- "description" : "球房修改建议",
- "example" : "请修改店名为真实经营的球房名称,如有分店,请修改成品牌(分店名),如大润发(杭州西溪店)"
- },
- "recommend_address" : {
- "type" : "string",
- "description" : "推荐详细地址",
- "example" : "杭州市西湖区**路**号"
- },
- "recommend_latitude" : {
- "type" : "string",
- "description" : "推荐纬度",
- "example" : "30.111"
- },
- "recommend_longtitude" : {
- "type" : "string",
- "description" : "推荐经度",
- "example" : "120.3333"
- },
- "recommend_name" : {
- "type" : "string",
- "description" : "推荐球房名称",
- "example" : "大润发(杭州西溪店)"
- },
- "unconfidence_reason" : {
- "type" : "string",
- "description" : "球房不置信原因",
- "example" : "店名不准确"
- }
- }
- },
- "ShopSummaryQueryResponse" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "球房地址",
- "example" : "万塘路18号黄龙时代广场"
- },
- "branch_shop_name" : {
- "type" : "string",
- "description" : "分店名",
- "example" : "万塘路店"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "品牌名,不填写则默认为其它品牌",
- "example" : "肯德基"
- },
- "business_time" : {
- "type" : "string",
- "description" : "经营时间",
- "example" : "10:00-14:00"
- },
- "category_infos" : {
- "type" : "array",
- "description" : "球房类目列表",
- "items" : {
- "$ref" : "#/components/schemas/ShopCategoryInfo"
- }
- },
- "city_code" : {
- "type" : "string",
- "description" : "城市编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/AreaCodeList.zip\">点此下载</a>",
- "example" : "140500"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区县编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/AreaCodeList.zip\">点此下载</a>",
- "example" : "140521"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "json 字符串表示额外信息;\r\t\r\torder_biz_mode: 点餐营业模式, REGULAR-正餐、LIGHT_FAST-轻快餐;\r\tpre_order: 预点餐服务可用状态, 1-服务可用、0-服务不可用\r\torder: 到店点餐服务可用状态:1-服务可用、0-服务不可用",
- "example" : "{\"order_biz_mode\":\"REGULAR\",\"order\":\"1\",\"pre_order\":\"1\"}"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "2016-06-23 21:15:04.593"
- },
- "is_show" : {
- "type" : "string",
- "description" : "球房是否在客户端显示,T表示显示,F表示隐藏",
- "example" : "T"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度,只有在query_type=KB_PROMOTER非空",
- "example" : "31.226948"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度,只有在query_type=KB_PROMOTER非空",
- "example" : "121.549728"
- },
- "main_image" : {
- "type" : "string",
- "description" : "球房首图",
- "example" : "AM-uJRh2SRKz9N0r9zW4wQAAACMAAQEC"
- },
- "main_shop_name" : {
- "type" : "string",
- "description" : "主球房名",
- "example" : "海底捞"
- },
- "per_pay" : {
- "type" : "string",
- "description" : "人均价格。单位是分。例如:2000,表示20元",
- "example" : "100"
- },
- "pic_coll" : {
- "type" : "string",
- "description" : "图片集,是map转化成的json串,key是图片id,value是图片url",
- "example" : "{\"IUFIDASFIEUIOFKSFIUFE83IEI\":\"http://object.alipay.com/getpic.do?kjkdjkjj\"}"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码,国标码,详见国家统计局数据 <a href=\"http://aopsdkdownload.cn-hangzhou.alipay-pub.aliyun-inc.com/doc/AreaCodeList.zip\">点此下载</a>",
- "example" : "110000"
- },
- "shop_comment_info" : {
- "$ref" : "#/components/schemas/ShopCommentInfo"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "球房ID",
- "example" : "2015052100077000000000120773"
- },
- "shop_type" : {
- "type" : "string",
- "description" : "COMMON(普通球房)、MALL(商圈)",
- "example" : "COMMON"
- },
- "status" : {
- "type" : "string",
- "description" : "球房状态,OPEN:营业中、PAUSE:暂停营业、FREEZE:已冻结、CLOSE:球房已关闭",
- "example" : "OPEN"
- }
- }
- },
- "SignAddressInfo" : {
- "type" : "object",
- "properties" : {
- "city_code" : {
- "type" : "string",
- "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)"
- },
- "country_code" : {
- "type" : "string",
- "description" : "国家编码,中国默认:156"
- },
- "detail_address" : {
- "type" : "string",
- "description" : "详细地址"
- },
- "district_code" : {
- "type" : "string",
- "description" : "区县编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)"
- },
- "latitude" : {
- "type" : "string",
- "description" : "纬度,浮点型,小数点后最多保留6位 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker"
- },
- "longitude" : {
- "type" : "string",
- "description" : "经度,浮点型, 小数点后最多保留6位。 如需要录入经纬度,请以高德坐标系为准,录入时请确保经纬度参数准确。高德经纬度查询:http://lbs.amap.com/console/show/picker"
- },
- "province_code" : {
- "type" : "string",
- "description" : "省份编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)"
- }
- }
- },
- "SignData" : {
- "type" : "object",
- "properties" : {
- "ori_app_id" : {
- "type" : "string",
- "description" : "签名商户开放平台应用APPID",
- "example" : "2021000185629012"
- },
- "ori_char_set" : {
- "type" : "string",
- "description" : "编码类型(大小写敏感)",
- "example" : "UTF-8"
- },
- "ori_out_biz_no" : {
- "type" : "string",
- "description" : "ori_out_biz_no_001",
- "example" : "商户订单号"
- },
- "ori_sign" : {
- "type" : "string",
- "description" : "签名密文",
- "example" : "EqHFP0z4a9iaQ1ep=="
- },
- "ori_sign_type" : {
- "type" : "string",
- "description" : "签名算法(大小写敏感)",
- "example" : "RSA2"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "2088041181118800",
- "example" : "签名被授权方支付宝账号ID"
- }
- }
- },
- "SignField" : {
- "type" : "object",
- "properties" : {
- "auto_execute" : {
- "type" : "string",
- "description" : "平台自动签",
- "example" : "true"
- },
- "signer" : {
- "$ref" : "#/components/schemas/Signer"
- },
- "struct_key" : {
- "type" : "string",
- "description" : "模板组件id",
- "example" : "18247776929e433784636126b33b08a3"
- }
- }
- },
- "SignFieldBean" : {
- "type" : "object",
- "properties" : {
- "sign_field_type" : {
- "type" : "string",
- "description" : "签署类型:\t\tplatform-平台自动签:无需指定签署人。创建流程后,系统将自动盖上商户的默认企业印章。\t\tperson-个人签署:需要指定签署人个人信息。创建流程后,需通过签署插件完成签署。\torg-企业签署:需要指定签署企业信息与经办人个人信息。创建流程后,需经办人代企业完成签署。(企业暂不支持插件签署,可通过获取签署地址接口获取企业签署地址)",
- "example" : "person"
- },
- "signer" : {
- "$ref" : "#/components/schemas/SignerBean"
- },
- "struct_key" : {
- "type" : "string",
- "description" : "签署区key值",
- "example" : "signer1"
- }
- }
- },
- "SignRestrictInfo" : {
- "type" : "object",
- "properties" : {
- "restrict_product" : {
- "type" : "string",
- "description" : "产品码,支付宝定义的产品码",
- "example" : "I1011000100000000001"
- },
- "restrict_reason" : {
- "type" : "string",
- "description" : "受限的原因",
- "example" : "经营资质不符合要求"
- },
- "restrict_reason_code" : {
- "type" : "string",
- "description" : "受限原因编码",
- "example" : "001"
- },
- "restrict_version" : {
- "type" : "string",
- "description" : "受限版本,02-受限版 04-极速版",
- "example" : "02"
- }
- }
- },
- "Signer" : {
- "type" : "object",
- "properties" : {
- "email" : {
- "type" : "string",
- "description" : "邮箱",
- "example" : "593100192@tsign.cn"
- },
- "id_number" : {
- "type" : "string",
- "description" : "证件号",
- "example" : "330304199806083911"
- },
- "id_type" : {
- "type" : "string",
- "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 (证件号不为空,则必填)",
- "example" : "CRED_PSN_CH_IDCARD"
- },
- "mobile" : {
- "type" : "string",
- "description" : "手机号",
- "example" : "18888888888"
- },
- "name" : {
- "type" : "string",
- "description" : "姓名",
- "example" : "姓名"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝userId",
- "example" : "2088102924502823"
- }
- }
- },
- "SignerBean" : {
- "type" : "object",
- "properties" : {
- "email" : {
- "type" : "string",
- "description" : "个人邮箱",
- "example" : "593100192@tsign.cn"
- },
- "id_number" : {
- "type" : "string",
- "description" : "个人证件号",
- "example" : "330304199801011111"
- },
- "id_type" : {
- "type" : "string",
- "description" : "个人证件类型(证件号不为空时必填,详见个人证件类型说明 )",
- "example" : "CRED_PSN_CH_IDCARD"
- },
- "mobile" : {
- "type" : "string",
- "description" : "个人手机号",
- "example" : "18888888888"
- },
- "name" : {
- "type" : "string",
- "description" : "个人姓名",
- "example" : "折颜"
- },
- "org" : {
- "$ref" : "#/components/schemas/Org"
- },
- "third_party_user_id" : {
- "type" : "string",
- "description" : "个人唯一标识:可传入平台的个人用户id、支付宝userid、证件号、手机号、邮箱等。",
- "example" : "2088102924502823"
- }
- }
- },
- "SingleArticleAnalysisData" : {
- "type" : "object",
- "properties" : {
- "avg_read_time" : {
- "type" : "string",
- "description" : "人均阅读时长",
- "example" : "27.13"
- },
- "date" : {
- "type" : "string",
- "description" : "文章发布日期",
- "example" : "2017-09-08 15:00:18"
- },
- "deliver_user_cnt" : {
- "type" : "integer",
- "description" : "送达人数",
- "example" : "10"
- },
- "expose_user_cnt" : {
- "type" : "integer",
- "description" : "曝光人数",
- "example" : "30"
- },
- "praise_user_cnt" : {
- "type" : "integer",
- "description" : "点赞数",
- "example" : "20"
- },
- "read_user_cnt" : {
- "type" : "integer",
- "description" : "阅读人数",
- "example" : "20"
- },
- "reply_user_cnt" : {
- "type" : "integer",
- "description" : "评论数",
- "example" : "30"
- },
- "share_user_cnt" : {
- "type" : "integer",
- "description" : "分享人数",
- "example" : "40"
- },
- "title" : {
- "type" : "string",
- "description" : "文章标题",
- "example" : "文章标题"
- }
- }
- },
- "SkuCreateInfo" : {
- "type" : "object",
- "properties" : {
- "inventory" : {
- "type" : "integer",
- "description" : "库存",
- "example" : "100"
- },
- "material_list" : {
- "type" : "array",
- "description" : "SKU素材列表(最多3个)",
- "items" : {
- "$ref" : "#/components/schemas/MaterialCreateInfo"
- }
- },
- "original_price" : {
- "type" : "integer",
- "description" : "标价,单位分",
- "example" : "100"
- },
- "price" : {
- "type" : "integer",
- "description" : "售价,单位分",
- "example" : "100"
- },
- "property_list" : {
- "type" : "array",
- "description" : "SKU属性列表",
- "items" : {
- "$ref" : "#/components/schemas/ItemSkuPropertyInfo"
- }
- }
- }
- },
- "SkuModifyInfo" : {
- "type" : "object",
- "properties" : {
- "inventory" : {
- "type" : "integer",
- "description" : "库存",
- "example" : "100"
- },
- "material_list" : {
- "type" : "array",
- "description" : "SKU素材列表(会和SKU已存在素材做差异化比较后做增删改操作)",
- "items" : {
- "$ref" : "#/components/schemas/MaterialModifyInfo"
- }
- },
- "original_price" : {
- "type" : "integer",
- "description" : "标价,单位分",
- "example" : "100"
- },
- "price" : {
- "type" : "integer",
- "description" : "售价,单位分",
- "example" : "100"
- },
- "property_list" : {
- "type" : "array",
- "description" : "SKU属性列表(覆盖SKU已存在属性)",
- "items" : {
- "$ref" : "#/components/schemas/ItemSkuPropertyInfo"
- }
- },
- "sku_id" : {
- "type" : "string",
- "description" : "SKU ID(传空表示新增对应SKU)",
- "example" : "2018092600502220000000100274"
- }
- }
- },
- "SourceContentInfo" : {
- "type" : "object",
- "properties" : {
- "content_id" : {
- "type" : "string",
- "description" : "内容ID",
- "example" : "20210928OB02001002950004xxxx"
- },
- "link" : {
- "type" : "string",
- "description" : "支付宝内容链接",
- "example" : "alipays://xxxx"
- },
- "permission_status" : {
- "type" : "string",
- "description" : "内容分发范围。0 - 仅创作者自己可见,1 - 所有人可见,2 - 分发范围受限。",
- "example" : "1"
- },
- "source_author" : {
- "type" : "string",
- "description" : "作者",
- "example" : "作者"
- },
- "source_link" : {
- "type" : "string",
- "description" : "来源文章的原始链接地址",
- "example" : "http://test.xx.com"
- },
- "source_media_infos" : {
- "type" : "array",
- "description" : "素材列表",
- "items" : {
- "$ref" : "#/components/schemas/SourceMediaInfo"
- }
- },
- "source_offers" : {
- "type" : "array",
- "description" : "关联服务",
- "items" : {
- "$ref" : "#/components/schemas/SourceOffer"
- }
- },
- "source_publish_date" : {
- "type" : "string",
- "description" : "文章发布时间",
- "example" : "2018-09-30 10:10:10"
- },
- "source_status" : {
- "type" : "string",
- "description" : "内容状态\t0-审核中\t1-成功发布\t2-审核不通过\t3-己删除",
- "example" : "1"
- },
- "source_summary" : {
- "type" : "string",
- "description" : "文章的摘要",
- "example" : "文章的摘要"
- },
- "source_title" : {
- "type" : "string",
- "description" : "内容标题",
- "example" : "内容标题"
- },
- "source_type" : {
- "type" : "string",
- "description" : "内容类型(0-长图文 1-短图文 2-视频)",
- "example" : "1"
- },
- "special_tags" : {
- "type" : "array",
- "description" : "平台加工后的内容标签,例如\tHIGH_QUALITY: 优质",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"HIGH_QUALITY\"]"
- }
- }
- },
- "SourceMediaInfo" : {
- "type" : "object",
- "properties" : {
- "media_id" : {
- "type" : "string",
- "description" : "素材ID,对应“支付宝文件上传接口”获取的file_id",
- "example" : "A12334"
- },
- "media_type" : {
- "type" : "string",
- "description" : "素材类型。\t image:图片\t video:视频\tcover_static:静态封面",
- "example" : "image"
- }
- }
- },
- "SourceOffer" : {
- "type" : "object",
- "properties" : {
- "offer_id" : {
- "type" : "string",
- "description" : "offerId,根据offer类型对应不同ID。支持小程序的APPID/小程序服务的服务编码/优惠券的活动ID",
- "example" : "a2344"
- },
- "offer_type" : {
- "type" : "string",
- "description" : "offer类型。目前仅支持小程序(mini_app/service)、小程序服务(subservice)、营销活动(voucher)、商品(goods)。\t注意:其中“小程序”offer类型,在发布接口请用mini_app,查询接口返回为service",
- "example" : "mini_app"
- }
- }
- },
- "SpecialVoucher" : {
- "type" : "object",
- "properties" : {
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。说明:该字段可不填,认为无门槛;"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称。"
- },
- "origin_amount" : {
- "type" : "string",
- "description" : "原价。\t限制:\t币种为人民币,单位为元。小数点以后最多保留两位;\t取值范围:0.1<=x<=9999。"
- },
- "special_amount" : {
- "type" : "string",
- "description" : "特价,即:原价-特价=优惠金额。"
- }
- }
- },
- "SpecialVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "floor_amount" : {
- "type" : "string",
- "description" : "门槛金额。"
- },
- "special_amount" : {
- "type" : "string",
- "description" : "特价,即:原价-特价=优惠金额。"
- },
- "voucher_deduct_threshold_info" : {
- "$ref" : "#/components/schemas/VoucherDeductThresholdInfo"
- }
- }
- },
- "SpecifyAttachmentInfo" : {
- "type" : "object",
- "properties" : {
- "allow_more_uploads" : {
- "type" : "boolean",
- "description" : "是否允许上传更多附件,默认值为false。开启后,除了“collect_common_codes”中指定的附件,签署人可自由上传至多10张图片。",
- "example" : "true"
- },
- "allow_more_uploads_max_count" : {
- "type" : "integer",
- "description" : "允许上传更多附件时,可上传的最大附件数,一次流程中累计的上传附件数至多30(含“附件列表”数量)",
- "example" : "3"
- },
- "collect_cert_types" : {
- "type" : "array",
- "description" : "需要签署人上传的证件照片,可进行ORC识别,目前仅支持IDCARD",
- "items" : {
- "type" : "string"
- },
- "example" : "IDCARD"
- },
- "collect_common_codes" : {
- "type" : "array",
- "description" : "需要签署人上传的其他附件列表,即attachment_explain.details中定义的code列表",
- "items" : {
- "type" : "string"
- },
- "example" : "phonePicture1"
- },
- "third_party_user_id" : {
- "type" : "string",
- "description" : "个人唯一标识,对应签署区中指定的签署人",
- "example" : "tgxxteck"
- }
- }
- },
- "SpiResult" : {
- "type" : "object",
- "properties" : {
- "biz_code" : {
- "type" : "string",
- "description" : "isv自定义业务代码",
- "example" : "hotline"
- },
- "spi_id" : {
- "type" : "integer",
- "description" : "spi唯一id",
- "example" : "1"
- }
- }
- },
- "SpuAttribute" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string",
- "description" : "商品属性名",
- "example" : "材质"
- },
- "value" : {
- "type" : "array",
- "description" : "商品属性值",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"纯棉\",\"条轮\"]"
- }
- }
- },
- "SpuDetail" : {
- "type" : "object",
- "properties" : {
- "brand" : {
- "type" : "string",
- "description" : "商品品牌",
- "example" : "思有为"
- },
- "category" : {
- "type" : "string",
- "description" : "商品类目",
- "example" : "汽车配件"
- },
- "dimension" : {
- "type" : "string",
- "description" : "商品规格",
- "example" : "\"品牌\": \"思有为\", \"颜色分类\":\"黑色\",\"传感器类别\": \"24G\",\"毫米波型号\": 1001,\"最大探测距离\": \"15m\",\"是否支持到店安装\":\"是\",\"传感器数量\": \"2个\""
- },
- "icon" : {
- "type" : "string",
- "description" : "商品图片地址",
- "example" : "https://image.baidu.com/search/detail?ct=503316480&z=0&ipn=d"
- },
- "link_url" : {
- "type" : "string",
- "description" : "商品链接",
- "example" : "https://detail.tmall.com/item.htm?id=530187047412&ali_trackid=2:mm_26632614_0_0:1603785697_244_935652742"
- },
- "spu_id" : {
- "type" : "string",
- "description" : "商品ID",
- "example" : "spu001002003004005006"
- },
- "title" : {
- "type" : "string",
- "description" : "商品名称",
- "example" : "汽车盲点BSD并线辅助系统盲点监测变道后视镜盲区监控雷达预警"
- }
- }
- },
- "SpuInfo" : {
- "type" : "object",
- "properties" : {
- "brand" : {
- "type" : "string",
- "description" : "品牌名称",
- "example" : "壳牌"
- },
- "category" : {
- "type" : "string",
- "description" : "类目",
- "example" : "美妆"
- },
- "count" : {
- "type" : "integer",
- "description" : "商品数量",
- "example" : "1"
- },
- "icon" : {
- "type" : "string",
- "description" : "图片链接",
- "example" : "http://baidu.com/imge/dfadf.jpg"
- },
- "price" : {
- "type" : "string",
- "description" : "商品单价",
- "example" : "23"
- },
- "provider" : {
- "type" : "string",
- "description" : "商品提供方,店铺或品牌方",
- "example" : "XX店铺"
- },
- "spu_id" : {
- "type" : "string",
- "description" : "商品ID",
- "example" : "spu12141239912"
- }
- }
- },
- "StandardConditionInfo" : {
- "type" : "object",
- "properties" : {
- "rule_factor" : {
- "type" : "string",
- "description" : "条件类型"
- },
- "rule_id" : {
- "type" : "string",
- "description" : "费控条件ID"
- },
- "rule_name" : {
- "type" : "string",
- "description" : "费控条件名称"
- },
- "rule_operator" : {
- "type" : "string",
- "description" : "费控条件操作符 枚举值: LT(\"<\",\"小于\") LE(\"<=\",\"小于等于\") EQ(\"=\",\"等于\") NE(\"!=\",\"不等于\") GE(\">=\",\"大于等于\") GT(\">\",\"大于\")"
- },
- "rule_value" : {
- "type" : "string",
- "description" : "费控条件值"
- }
- }
- },
- "StandardIdInfo" : {
- "type" : "object",
- "properties" : {
- "outer_source_id" : {
- "type" : "string",
- "description" : "外部使用规则id",
- "example" : "123456"
- },
- "standard_id" : {
- "type" : "string",
- "description" : "使用规则id",
- "example" : "2022020900152608000000000001"
- }
- }
- },
- "StandardInfo" : {
- "type" : "object",
- "properties" : {
- "asset_share_source_info" : {
- "$ref" : "#/components/schemas/AssetShareSourceInfo"
- },
- "consume_mode" : {
- "type" : "string",
- "description" : "消费模式,不填为默认模式,枚举值:COUPON_ONLY(仅支持点券)\tCOUPON_AND_CAP(支持点券+余额)\tDEFAULT(默认模式)\t点券:消费时找员工的点券,没有或者用完了不可付;\t点券+余额:消费时找员工的点券,没有找员工的余额,没有或者用完了不可付。\t默认:有给员工设置员工余额以员工余额为准,用完为止。否则只受规则里的限额和企业账户资金上限管控;"
- },
- "expense_type_sub_category" : {
- "type" : "string",
- "description" : "费用类型子类,当制度的费用类型为MEAL时,支持到店、外卖;当费用类型为非MEAL时,与费用类型保持一致"
- },
- "open_rule_id" : {
- "type" : "string",
- "description" : "开票规则id,可通过接口alipay.ebpp.invoice.enterpriseconsume.enterpriseopenrule.create 创建并得到开票规则ID"
- },
- "outer_source_id" : {
- "type" : "string",
- "description" : "外部使用规则id,制度内使用规则该字段不允许重复"
- },
- "payment_policy" : {
- "type" : "string",
- "description" : "支付策略 当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略"
- },
- "standard_condition_info_list" : {
- "type" : "array",
- "description" : "使用规则条件列表",
- "items" : {
- "$ref" : "#/components/schemas/StandardConditionInfo"
- }
- },
- "standard_desc" : {
- "type" : "string",
- "description" : "使用规则描述(敏感词校验)"
- },
- "standard_id" : {
- "type" : "string",
- "description" : "制度ID(创建使用规则时非必填)"
- },
- "standard_name" : {
- "type" : "string",
- "description" : "规则名称"
- }
- }
- },
- "StandardRuleInfo" : {
- "type" : "object",
- "properties" : {
- "effective_end_date" : {
- "type" : "string",
- "description" : "有效期截止",
- "example" : "2021-08-27 00:00:00"
- },
- "effective_start_date" : {
- "type" : "string",
- "description" : "有效期起始",
- "example" : "2021-08-26 00:00:00"
- },
- "expense_ctrl_rule_info_list" : {
- "type" : "array",
- "description" : "费控条件列表",
- "items" : {
- "$ref" : "#/components/schemas/ExpenseCtrRuleInfo"
- }
- },
- "payment_policy" : {
- "type" : "string",
- "description" : "当笔消费金额大于规则可用余额时,用于控制支付策略,该字段缺省时采取因公账户和个人账户组合支付策略, 枚举值:PERSONAL(全部个人账户支付)",
- "example" : "PERSONAL"
- },
- "standard_desc" : {
- "type" : "string",
- "description" : "费控规则说明",
- "example" : "费控规则说明测试"
- },
- "standard_id" : {
- "type" : "string",
- "description" : "费控规则ID",
- "example" : "2021062800152601350000001466"
- },
- "standard_name" : {
- "type" : "string",
- "description" : "费控规则名称",
- "example" : "费控规则名称"
- }
- }
- },
- "StandardServiceBaseInfo" : {
- "type" : "object",
- "properties" : {
- "biz_status" : {
- "type" : "string",
- "description" : "服务状态",
- "example" : "INVALID"
- },
- "category_id" : {
- "type" : "string",
- "description" : "类目id",
- "example" : "C154984121"
- },
- "service_code" : {
- "type" : "string",
- "description" : "服务code",
- "example" : "S11111"
- },
- "service_name" : {
- "type" : "string",
- "description" : "服务名称",
- "example" : "肯德基"
- }
- }
- },
- "StationDetailInfo" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "站点编码",
- "example" : "12000020"
- },
- "ext_code" : {
- "type" : "string",
- "description" : "站点外部编码",
- "example" : "260000210002"
- },
- "name" : {
- "type" : "string",
- "description" : "站点中文名称",
- "example" : "蓝村路"
- }
- }
- },
- "StdPublicBindAccount" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "协议号是商户会员在支付宝公众账号中的唯一标识。",
- "example" : "20131017000001476688"
- },
- "app_id" : {
- "type" : "string",
- "description" : "公众账号ID",
- "example" : "2013091300001633"
- },
- "bind_account_no" : {
- "type" : "string",
- "description" : "绑定的商户会员号",
- "example" : "6226250032060088"
- },
- "display_name" : {
- "type" : "string",
- "description" : "公众账号期望支付宝用户在公众账号首页看到的关于该用户的显示信息,最长10个汉字。",
- "example" : "尾号0088"
- },
- "from_user_id" : {
- "type" : "string",
- "description" : "绑定的商户会员对应的支付宝用户号,以2088 开头的16位数字。",
- "example" : "2088123412341234"
- },
- "open_id" : {
- "type" : "string",
- "description" : "1",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "real_name" : {
- "type" : "string",
- "description" : "绑定的商户会员的真实姓名,最长10个汉字。",
- "example" : "王小毛"
- }
- }
- },
- "SubButton" : {
- "type" : "object",
- "properties" : {
- "action_param" : {
- "type" : "string",
- "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个字符,不允许冒号等特殊字符。"
- },
- "action_type" : {
- "type" : "string",
- "description" : "菜单类型:\r\tout——事件型菜单;\r\tlink——链接型菜单;\r\ttel——点击拨打电话;\r\tmap——点击查看地图;\r\tconsumption——点击查看用户与生活号管理员账号之间的消费记录"
- },
- "icon" : {
- "type" : "string",
- "description" : "icon图片url,必须是http协议的url,尺寸为60X60,最大不超过5M,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
- },
- "name" : {
- "type" : "string",
- "description" : "菜单名称,icon菜单名称不超过5个汉字,文本菜单名称不超过9个汉字,编码格式为GBK"
- }
- }
- },
- "SubFee" : {
- "type" : "object",
- "properties" : {
- "charge_fee" : {
- "type" : "string",
- "description" : "实收费用"
- },
- "original_charge_fee" : {
- "type" : "string",
- "description" : "原始费用"
- },
- "switch_fee_rate" : {
- "type" : "string",
- "description" : "签约费率"
- }
- }
- },
- "SubMerchant" : {
- "type" : "object",
- "properties" : {
- "merchant_id" : {
- "type" : "string",
- "description" : "支付宝二级商户编号。\t间连受理商户的支付宝商户编号,通过间连商户入驻接口后由支付宝生成。\t直付通和机构间连业务场景下必传。"
- },
- "merchant_type" : {
- "type" : "string",
- "description" : "二级商户编号类型。\t枚举值:\talipay:支付宝分配的间联商户编号;\t目前仅支持alipay,默认可以不传。"
- }
- }
- },
- "SubMerchantCommonEnterOpenModel" : {
- "type" : "object",
- "properties" : {
- "extend_fields" : {
- "type" : "string",
- "description" : "扩展字段,为json字符串格式;入驻支付即开票的产品该字段必填,用户白名单,由此字段传入;支付即开票商户配置维度,如果不传默认为SMID_MODE,目前仅支持SMID_MODE和PID_MODE",
- "example" : "\"{\\\\\"M_WHITE_LIST\\\\\":\\\\\"18997927882\\\\\", \\\\\"PAYMENT_OPEN_MERCHANT_DIMENSION\\\\\": \\\\\"PID_MODE\\\\\"}\""
- },
- "product_code" : {
- "type" : "string",
- "description" : "商户球房入驻的产品码,STANDARD_INVOICE:扫码开票,INVOICE_RETURN:企业自建-发票回传,INVOICE_EXPENSE:发票报销,PAYMENT_OPEN:支付即开票,PAY_FEE_OPEN:缴费后开票。",
- "example" : "STANDARD_INVOICE"
- },
- "s_short_name" : {
- "type" : "string",
- "description" : "商户球房所属的服务方简称。",
- "example" : "SAD"
- }
- }
- },
- "SubMerchantEnterOpenModel" : {
- "type" : "object",
- "properties" : {
- "extend_fields" : {
- "type" : "string",
- "description" : "扩展字段,为json字符串格式;入驻缴费后开票的产品如果需要传入自定义开票链接,由此字段传入。",
- "example" : "\"{\\\\\"MERCHANT_OPEN_URL\\\\\":\\\\\"http://xxx\\\\\"}\""
- },
- "industry" : {
- "type" : "string",
- "description" : "商户行业,枚举值如下:subway:地铁,etc:ETC,online_car_hailing:网约车,catering:餐饮,hotel:酒店,convenience_store:便利店,oil:加油,insurance:保险,service_provider:运营商,life_payment:生活缴费,political:政务,other:其他",
- "example" : "hotel"
- },
- "pid" : {
- "type" : "string",
- "description" : "开票商户pid,入驻支付即开票场景的时候,该字段必传",
- "example" : "2088102143353534"
- },
- "register_no" : {
- "type" : "string",
- "description" : "商户球房税号。",
- "example" : "91500000747150346A"
- },
- "sub_m_name" : {
- "type" : "string",
- "description" : "商户球房全称。",
- "example" : "杭州蚂蚁金服信息技术有限公司"
- },
- "sub_m_short_name" : {
- "type" : "string",
- "description" : "商户球房简称,只能由大写字母、下划线、数字组成,且必须以大写字母开头。",
- "example" : "MYJF_HZ"
- }
- }
- },
- "SubPackageInfo" : {
- "type" : "object",
- "properties" : {
- "builded_package_url" : {
- "type" : "string",
- "description" : "构建好的结果地址",
- "example" : "构建好的结果地址"
- },
- "new_builded_package_url" : {
- "type" : "string",
- "description" : "构建好的分包地址",
- "example" : "构建好的分包地址"
- },
- "new_size" : {
- "type" : "string",
- "description" : "2.0分包大小,单位字节",
- "example" : "1000"
- },
- "path" : {
- "type" : "string",
- "description" : "分包路径",
- "example" : "main/packageA/packageB"
- },
- "size" : {
- "type" : "string",
- "description" : "分包大小,单位字节",
- "example" : "1000"
- },
- "source_url" : {
- "type" : "string",
- "description" : "源码地址",
- "example" : "源码地址"
- },
- "type" : {
- "type" : "string",
- "description" : "分包类型: MAIN | SUB",
- "example" : "MAIN"
- }
- }
- },
- "SubServiceKeyWordInfo" : {
- "type" : "object",
- "properties" : {
- "app_name" : {
- "type" : "string",
- "description" : "小程序名称",
- "example" : "小程序名称123"
- },
- "keyword_info" : {
- "type" : "array",
- "description" : "此服务下的关键词",
- "items" : {
- "$ref" : "#/components/schemas/KeyWordInfo"
- }
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序id",
- "example" : "2021002172648359"
- },
- "sub_service_code" : {
- "type" : "string",
- "description" : "子服务code",
- "example" : "2022051021000880652471"
- },
- "sub_service_desc" : {
- "type" : "string",
- "description" : "子服务简单描述",
- "example" : "这是个服务"
- },
- "sub_service_name" : {
- "type" : "string",
- "description" : "子服务名",
- "example" : "这是服务名字"
- },
- "sub_service_status" : {
- "type" : "string",
- "description" : "子服务状态,\tINITIAL:初始化:VALID:已生效;INVALID:已失效",
- "example" : "INVALID"
- }
- }
- },
- "SubTaskInfo" : {
- "type" : "object",
- "properties" : {
- "execute_result" : {
- "type" : "string",
- "description" : "子任务执行结果;执行成功为成功,失败则填充失败结果",
- "example" : "航旅交通1经营内容涉及传销,金融互助平台不合作;"
- },
- "status" : {
- "type" : "string",
- "description" : "子任务状态\t状态 INIT:初始化 FAILURE:失败 FINISH:成功",
- "example" : "INIT"
- },
- "type" : {
- "type" : "string",
- "description" : "子任务类型\tSIGN_TASK:签约子任务\tOPE_TASK:代运营授权子任务\tAPP_TASK:应用授权子任务",
- "example" : "SIGN_TASK"
- },
- "type_desc" : {
- "type" : "string",
- "description" : "子任务类型描述",
- "example" : "签约子任务"
- }
- }
- },
- "SubscribeRelation" : {
- "type" : "object",
- "properties" : {
- "keep_state" : {
- "type" : "string",
- "description" : "订阅保持状态,即用户勾选“总是保持以上选择,不再询问”选项时勾选的订阅状态。枚举值:\t0:保持订阅。\t1:保持拒绝订阅。\t说明:若用户“总是保持以上选择,不再询问”选项,且选择订阅消息。下次触发消息订阅组件时,支付宝将自动发起一次静默订阅(不再拉起订阅组件,无需用户手动订阅)。",
- "example" : "0"
- },
- "show" : {
- "type" : "boolean",
- "description" : "模板是否展示在订阅组件中。枚举值:\ttrue:订阅组件中展示查询的模板。\tfalse:订阅组件中不展示模板",
- "example" : "true"
- },
- "subscribe_state" : {
- "type" : "string",
- "description" : "订阅状态。枚举值\t0:拒绝订阅。\t1:订阅",
- "example" : "0"
- },
- "subscribe_type" : {
- "type" : "string",
- "description" : "消息模板的订阅类型。枚举值:\tlongterm:长期性订阅\tonetime:一次性订阅",
- "example" : "longterm"
- },
- "template_id" : {
- "type" : "string",
- "description" : "消息模板id",
- "example" : "7c866fab64464afaa956223c74ce6cbc"
- }
- }
- },
- "SuccessDeliveryConfig" : {
- "type" : "object",
- "properties" : {
- "delivery_config" : {
- "$ref" : "#/components/schemas/DeliveryConfig"
- }
- }
- },
- "TargetInfo" : {
- "type" : "object",
- "properties" : {
- "target_id" : {
- "type" : "string",
- "description" : "应用id,例如小程序id",
- "example" : "2018001307627807"
- },
- "target_type" : {
- "type" : "string",
- "description" : "应用类型\t小程序传入:APPID\t生活号传入:PUBLICID",
- "example" : "APPID"
- }
- }
- },
- "TaskTypeData" : {
- "type" : "object",
- "properties" : {
- "name" : {
- "type" : "string",
- "description" : "商户数据回传的任务名称,供C端展示。当累计的数据类型为任务类型时,此为必传字段",
- "example" : "滴滴打车任务001"
- }
- }
- },
- "Template" : {
- "type" : "object",
- "properties" : {
- "context" : {
- "$ref" : "#/components/schemas/Context"
- },
- "template_id" : {
- "type" : "string",
- "description" : "消息模板ID",
- "example" : "cbb9fdded2b74fe4bb082de3ed1e1eb2"
- }
- }
- },
- "TemplateActionInfoDTO" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "行动点业务CODE,商户自定义"
- },
- "mini_app_url" : {
- "$ref" : "#/components/schemas/TemplateActionMiniAppUrlDTO"
- },
- "text" : {
- "type" : "string",
- "description" : "行动点展示文案"
- },
- "url" : {
- "type" : "string",
- "description" : "行动点跳转链接,当url_type取\"url\"或不填时必填"
- },
- "url_type" : {
- "type" : "string",
- "description" : "跳转链接类型,当前支持url和miniAppUrl,不填则默认为url类型:\r\turl:对应填写url参数,支持http(s)和支付宝schema地址等;\r\tminiAppUrl: 对应填写mini_app_url参数,跳转至指定的支付宝小程序页面"
- }
- }
- },
- "TemplateActionMiniAppUrlDTO" : {
- "type" : "object",
- "properties" : {
- "display_on_list" : {
- "type" : "string",
- "description" : "行动点按钮是否在列表页展示,true 或 false,不填则默认false;\r\t列表页可以配置展示最多2项小程序跳转行动点。"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "小程序appId"
- },
- "mini_page_param" : {
- "type" : "string",
- "description" : "指定小程序页面,不填则默认跳转至对应小程序首页"
- },
- "mini_query_param" : {
- "type" : "string",
- "description" : "query参数,商户自定义传参,填入值将以\"query\"为参数名提交至指定小程序页面"
- }
- }
- },
- "TemplateBenefitInfoDTO" : {
- "type" : "object",
- "properties" : {
- "benefit_desc" : {
- "type" : "array",
- "description" : "权益描述信息",
- "items" : {
- "type" : "string"
- }
- },
- "end_date" : {
- "type" : "string",
- "description" : "权益结束时间"
- },
- "start_date" : {
- "type" : "string",
- "description" : "开始时间"
- },
- "title" : {
- "type" : "string",
- "description" : "权益描述"
- }
- }
- },
- "TemplateCardLevelConfDTO" : {
- "type" : "object",
- "properties" : {
- "level" : {
- "type" : "string",
- "description" : "会员级别 该级别和开卡接口中的level要一致"
- },
- "level_desc" : {
- "type" : "string",
- "description" : "会员级别描述"
- },
- "level_icon" : {
- "type" : "string",
- "description" : "会员级别对应icon, 通过接口(alipay.offline.material.image.upload)上传图片"
- },
- "level_show_name" : {
- "type" : "string",
- "description" : "会员级别显示名称"
- }
- }
- },
- "TemplateColumnInfoDTO" : {
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "标准栏位:行为由支付宝统一定,同时已经分配标准Code\r\tBALANCE:会员卡余额\r\tPOINT:积分\r\tLEVEL:等级\r\tTELEPHONE:联系方式\r\t自定义栏位:行为由商户定义,自定义Code码(只要无重复)"
- },
- "group_title" : {
- "type" : "string",
- "description" : "若template_style_info.column_info_layout\r\t的值为grid,此项为宫格项所属分组标题。可空。如果需要展示该项,还需支付宝内部进行特殊配置。"
- },
- "icon_id" : {
- "type" : "string",
- "description" : "若template_style_info.column_info_layout\r\t的值为grid,此项为宫格项的展示icon。通过接口(alipay.offline.material.image.upload)上传图片。"
- },
- "more_info" : {
- "$ref" : "#/components/schemas/MoreInfoDTO"
- },
- "operate_type" : {
- "type" : "string",
- "description" : "1、openNative:打开二级页面,展现 more中descs\r\t2、openWeb:打开URL\r\t3、staticinfo:静态信息\r\t注意:\r\t不填则默认staticinfo;\r\t标准code尽量使用staticinfo,例如TELEPHONE商家电话栏位就只支持staticinfo;"
- },
- "tag" : {
- "type" : "string",
- "description" : "若template_style_info.column_info_layout\r\t的值为grid,此项为宫格项标签。可空。"
- },
- "title" : {
- "type" : "string",
- "description" : "栏目的标题"
- },
- "value" : {
- "type" : "string",
- "description" : "卡包详情页面,卡栏位右边展现的值\r\t\r\tTELEPHONE栏位的商家联系电话号码由此value字段传入"
- }
- }
- },
- "TemplateFieldRuleDTO" : {
- "type" : "object",
- "properties" : {
- "field_name" : {
- "type" : "string",
- "description" : "字段名称,现在支持如下几个Key(暂不支持自定义)\r\tBalance:金额\r\tPoint:整数\r\tLevel:任意字符串\r\tOpenDate:开卡日期\r\tValidDate:过期日期"
- },
- "rule_name" : {
- "type" : "string",
- "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的值"
- },
- "rule_value" : {
- "type" : "string",
- "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)"
- }
- }
- },
- "TemplateInfo" : {
- "type" : "object",
- "properties" : {
- "fill_contents" : {
- "type" : "array",
- "description" : "模板填充项",
- "items" : {
- "$ref" : "#/components/schemas/FillContent"
- }
- },
- "name" : {
- "type" : "string",
- "description" : "文件名称",
- "example" : "iphone手机签收单"
- },
- "signfields" : {
- "$ref" : "#/components/schemas/SignField"
- },
- "template_id" : {
- "type" : "string",
- "description" : "模板id",
- "example" : "6b95e887c4b342a8b6501bd334b286df"
- }
- }
- },
- "TemplateInfoBean" : {
- "type" : "object",
- "properties" : {
- "fill_contents" : {
- "type" : "array",
- "description" : "模板填充项,根据组件key值传入填写内容",
- "items" : {
- "$ref" : "#/components/schemas/FillContent"
- }
- },
- "name" : {
- "type" : "string",
- "description" : "签署文件名称",
- "example" : "iPhone手机签收单"
- },
- "signfields" : {
- "type" : "array",
- "description" : "签署区,根据签署区key值传入对应的签署人信息",
- "items" : {
- "$ref" : "#/components/schemas/SignFieldBean"
- }
- },
- "template_id" : {
- "type" : "string",
- "description" : "模板id,通过创建合同模板获取",
- "example" : "6b95e887c4b342a8b6501bd334b286df"
- }
- }
- },
- "TemplateMdcodeNotifyConfDTO" : {
- "type" : "object",
- "properties" : {
- "ext_params" : {
- "type" : "string",
- "description" : "扩展参数信息;\r\t格式为key-value键值对;\r\t支付宝POST请求指定url时,除BizCardNo等固定参数外,将带上ext_params中配置的所有key-value参数。"
- },
- "url" : {
- "type" : "string",
- "description" : "商户接收发码通知的地址链接;\r\t只支持https地址;\r\t用户打开会员卡时,支付宝提交POST请求此url地址,通知商户发码。"
- }
- }
- },
- "TemplateOpenCardConfDTO" : {
- "type" : "object",
- "properties" : {
- "card_rights" : {
- "type" : "array",
- "description" : "领卡权益信息",
- "items" : {
- "$ref" : "#/components/schemas/TemplateRightsContentDTO"
- }
- },
- "conf" : {
- "type" : "string",
- "description" : "配置,预留字段,暂时不用"
- },
- "open_card_source_type" : {
- "type" : "string",
- "description" : "ISV:外部系统\r\tMER:直连商户"
- },
- "open_card_url" : {
- "type" : "string",
- "description" : "开卡连接,必须http、https开头"
- },
- "source_app_id" : {
- "type" : "string",
- "description" : "渠道APPID,提供领卡页面的服务提供方"
- }
- }
- },
- "TemplateRightsContentDTO" : {
- "type" : "object",
- "properties" : {
- "detail" : {
- "type" : "string",
- "description" : "权益内容详情"
- },
- "logo_id" : {
- "type" : "string",
- "description" : "权益icon图片Id(目前用于开卡授权页使用),通过接口(alipay.offline.material.image.upload)上传图片"
- },
- "title" : {
- "type" : "string",
- "description" : "权益内容标题"
- }
- }
- },
- "TemplateStyleInfoDTO" : {
- "type" : "object",
- "properties" : {
- "background_id" : {
- "type" : "string",
- "description" : "背景图片Id,通过接口(alipay.offline.material.image.upload)上传图片\r\t\r\t图片说明:2M以内,格式:bmp、png、jpeg、jpg、gif;\r\t尺寸不小于1020*643px;\r\t图片不得有圆角,不得拉伸变形"
- },
- "banner_img_id" : {
- "type" : "string",
- "description" : "banner图片地址。 通过接口(alipay.offline.material.image.upload)上传图片。"
- },
- "banner_url" : {
- "type" : "string",
- "description" : "banner跳转地址。"
- },
- "bg_color" : {
- "type" : "string",
- "description" : "字体颜色(非背景色),只影响卡详情中部信息区域字体颜色"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "品牌商名称"
- },
- "card_show_name" : {
- "type" : "string",
- "description" : "钱包端显示名称(字符串长度)"
- },
- "color" : {
- "type" : "string",
- "description" : "注意:此字段已废弃。\r\t卡片颜色"
- },
- "column_info_layout" : {
- "type" : "string",
- "description" : "栏位信息布局。目前只支持list(列表)或grid(宫格)形式。如果为空则默认为list。"
- },
- "feature_descriptions" : {
- "type" : "array",
- "description" : "特色信息,用于领卡预览",
- "items" : {
- "type" : "string"
- }
- },
- "front_image_enable" : {
- "type" : "boolean",
- "description" : "设置是否在卡面展示(个人头像)图片信息,默认不展示;\r\t当前仅用于身份验证信息类型的个人头像图片;\r\t图片id随创建卡/更新卡时传入;\r\t详见会员卡产品文档。"
- },
- "front_text_list_enable" : {
- "type" : "boolean",
- "description" : "设置是否在卡面展示文案信息,默认不展示;\r\t文案信息分行展示,最多展示4行文案,每行文案分为label和value两部分;\r\t文案实际内容随创建卡/更新卡时传入;\r\t详见会员卡产品说明文档。"
- },
- "logo_id" : {
- "type" : "string",
- "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;"
- },
- "slogan" : {
- "type" : "string",
- "description" : "标语"
- },
- "slogan_img_id" : {
- "type" : "string",
- "description" : "标语图片, 通过接口(alipay.offline.material.image.upload)上传图片"
- }
- }
- },
- "TemplateUsageInfo" : {
- "type" : "object",
- "properties" : {
- "app_version" : {
- "type" : "string",
- "description" : "商家小程序版本号",
- "example" : "0.0.1"
- },
- "mini_app_id" : {
- "type" : "string",
- "description" : "商家小程序appId",
- "example" : "2018011111111111"
- }
- }
- },
- "Text" : {
- "type" : "object",
- "properties" : {
- "content" : {
- "type" : "string",
- "description" : "文本消息的内容"
- },
- "title" : {
- "type" : "string",
- "description" : "文本消息的标题"
- }
- }
- },
- "TicketDetailInfo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "总金额,元为单位",
- "example" : "10.00"
- },
- "end_station" : {
- "type" : "string",
- "description" : "终点站编码",
- "example" : "21003002"
- },
- "end_station_name" : {
- "type" : "string",
- "description" : "终点站中文名称",
- "example" : "浦电路"
- },
- "quantity" : {
- "type" : "string",
- "description" : "票数量",
- "example" : "8"
- },
- "start_station" : {
- "type" : "string",
- "description" : "起点站编码",
- "example" : "12300002"
- },
- "start_station_name" : {
- "type" : "string",
- "description" : "起点站中文名称",
- "example" : "蓝村路"
- },
- "status" : {
- "type" : "string",
- "description" : "订单状态",
- "example" : "SUCCESS"
- },
- "ticket_price" : {
- "type" : "string",
- "description" : "单价,元为单位",
- "example" : "5.00"
- },
- "ticket_type" : {
- "type" : "string",
- "description" : "票类型",
- "example" : "oneway"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "0123456789"
- }
- }
- },
- "TicketInfo" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "地址\t不同类型下的地址含义不同。若type为MEAL_NUM,address则代表取餐地点;若type为PICKUP_CODE,address则代表取件地点。其他类型查看小程序订单产品文档",
- "example" : "上海市南泉北路447号"
- },
- "end_time" : {
- "type" : "string",
- "description" : "截止时间,如果凭证自提/核销时间是一个时间段可传入该字段,time代表自提开始时间,end_time代表自提结束时间,结束时间必须晚于开始时间",
- "example" : "2020-01-21 11:30:00"
- },
- "resv_type" : {
- "type" : "string",
- "description" : "凭证预约类型,一般不需要传入。可选值为INSTANT/RESERVATION,其中INSTANT代表是实时凭证,RESERVATION代表是预约凭证,不传入默认为实时凭证。区别在于预约凭证一般不是当场可取,而是用户下单后的很多天之后才可以凭借凭证提取",
- "example" : "RESERVATION"
- },
- "shop" : {
- "type" : "string",
- "description" : "凭证可核销球房/货品自提球房,如果自提球房与购买球房不一致,可传入该字段提示用户自提球房",
- "example" : "杭州面馆西溪路店"
- },
- "ticket_no" : {
- "type" : "string",
- "description" : "单据号\t不同类型下单据号含义不同。若类型为MEAL_NUM,则ticket_no表示取餐号;若类型为PICKUP_CODE,则ticket_no表示取件码;其他类型查看小程序订单产品文档",
- "example" : "A0001"
- },
- "time" : {
- "type" : "string",
- "description" : "时间,如果传入了end_time则该字段必传\t不同类型下的地址含义不同。若type为MEAL_NUM,time则代表取餐时间;若type为PICKUP_CODE,address则代表取件时间。其他类型查看小程序订单产品文档",
- "example" : "2020-01-21 11:02:02"
- },
- "type" : {
- "type" : "string",
- "description" : "凭证类型\tMEAL_NUM 取餐号\tPICKUP_CODE 取件码\tSELF_PICK_CODE 自提码\tPASSWORD 口令\t具体类型查看产品文档",
- "example" : "MEAL_NUM"
- }
- }
- },
- "TicketOrderInfo" : {
- "type" : "object",
- "properties" : {
- "arrival" : {
- "$ref" : "#/components/schemas/JourneyLocation"
- },
- "content" : {
- "type" : "string",
- "description" : "凭证内容",
- "example" : "凭证内容"
- },
- "departure" : {
- "$ref" : "#/components/schemas/JourneyLocation"
- },
- "effective_num" : {
- "type" : "integer",
- "description" : "凭证有效数",
- "example" : "1"
- },
- "end_time" : {
- "type" : "string",
- "description" : "结束时间",
- "example" : "2020-02-01 08:00:00"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "face_value" : {
- "type" : "string",
- "description" : "票面价",
- "example" : "10.00"
- },
- "functional_services" : {
- "type" : "array",
- "description" : "功能服务信息",
- "items" : {
- "$ref" : "#/components/schemas/FunctionalService"
- }
- },
- "invalid_reason" : {
- "type" : "string",
- "description" : "凭证失效原因",
- "example" : "用户取消"
- },
- "locations" : {
- "type" : "array",
- "description" : "凭证可使用地点",
- "items" : {
- "$ref" : "#/components/schemas/JourneyLocation"
- }
- },
- "merchant_ticket_no" : {
- "type" : "string",
- "description" : "商户侧凭证ID或核销码",
- "example" : "out_20210820"
- },
- "seat_infos" : {
- "type" : "array",
- "description" : "座位信息",
- "items" : {
- "$ref" : "#/components/schemas/SeatInfo"
- }
- },
- "service_provider" : {
- "$ref" : "#/components/schemas/OrderParticipantInfo"
- },
- "shops" : {
- "type" : "array",
- "description" : "凭证可使用球房列表",
- "items" : {
- "$ref" : "#/components/schemas/OrderShopInfo"
- }
- },
- "start_time" : {
- "type" : "string",
- "description" : "凭证开始时间",
- "example" : "2020-01-01 08:00:00"
- },
- "status" : {
- "type" : "string",
- "description" : "凭证状态",
- "example" : "TICKETED"
- },
- "ticket_create_time" : {
- "type" : "string",
- "description" : "凭证创建时间",
- "example" : "2020-01-01 08:00:01"
- },
- "ticket_modify_time" : {
- "type" : "string",
- "description" : "凭证修改时间,精确到毫秒",
- "example" : "2020-01-01 08:00:01"
- },
- "ticket_num" : {
- "type" : "integer",
- "description" : "凭证购买数",
- "example" : "2"
- },
- "ticket_users" : {
- "type" : "array",
- "description" : "凭证使用者信息",
- "items" : {
- "$ref" : "#/components/schemas/UserInfomation"
- }
- },
- "title" : {
- "type" : "string",
- "description" : "凭证标题",
- "example" : "上海-杭州"
- },
- "vehicle_info" : {
- "$ref" : "#/components/schemas/OrderVehicleInfo"
- }
- }
- },
- "TimeRangeInfo" : {
- "type" : "object",
- "properties" : {
- "begin_time" : {
- "type" : "string",
- "description" : "开始时间 格式:HH:mm:ss"
- },
- "end_time_info" : {
- "$ref" : "#/components/schemas/EndTimeInfo"
- }
- }
- },
- "TimeRestrictInfo" : {
- "type" : "object",
- "properties" : {
- "disable_period_info" : {
- "type" : "array",
- "description" : "不可用时间段",
- "items" : {
- "$ref" : "#/components/schemas/VoucherUseTimeRuleInfo"
- }
- },
- "usable_period_info" : {
- "type" : "array",
- "description" : "可用时间段",
- "items" : {
- "$ref" : "#/components/schemas/VoucherUseTimeRuleInfo"
- }
- }
- }
- },
- "TimesTypeSyncData" : {
- "type" : "object",
- "properties" : {
- "discount_amount" : {
- "type" : "string",
- "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元",
- "example" : "8.75"
- },
- "discount_desc" : {
- "type" : "string",
- "description" : "商户数据回传的优惠信息的名称。",
- "example" : "消费满减优惠001"
- },
- "task_amount" : {
- "type" : "string",
- "description" : "用户和商户发生交易的交易单金额,单位元。",
- "example" : "3.57"
- },
- "task_desc" : {
- "type" : "string",
- "description" : "任务描述",
- "example" : "完成一次任务001"
- },
- "task_times" : {
- "type" : "integer",
- "description" : "当为次数型任务时必须传。",
- "example" : "1"
- }
- }
- },
- "TipsDelivery" : {
- "type" : "object",
- "properties" : {
- "delivery_content" : {
- "type" : "string",
- "description" : "收藏引导文案内容",
- "example" : "点击收藏,下次访问更方便"
- },
- "delivery_id" : {
- "type" : "string",
- "description" : "收藏引导投放活动ID",
- "example" : "20211114000003057595"
- },
- "delivery_name" : {
- "type" : "string",
- "description" : "收藏引导投放活动的名称",
- "example" : "首页收藏引导投放活动"
- },
- "end_time" : {
- "type" : "string",
- "description" : "活动结束时间",
- "example" : "2021-12-23 14:29:00"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "文案审核驳回理由,仅AUDIT_REJECTED生效",
- "example" : "当前文案语义不通顺,请修改"
- },
- "match_type" : {
- "type" : "string",
- "description" : "匹配类型:GLOBAL为全局生效,TARGETURL为目标页面生效,需配置相应页面地址match_url。",
- "example" : "TARGETURL"
- },
- "match_url" : {
- "type" : "string",
- "description" : "目标页面地址",
- "example" : "/page/web"
- },
- "start_time" : {
- "type" : "string",
- "description" : "活动开始时间",
- "example" : "2021-11-11 14:31:13"
- },
- "status" : {
- "type" : "string",
- "description" : "活动状态。 枚举值: INIT: 初始化;AUDITING: 审核中;AUDIT_REJECTED:审核驳回;WORKING: 生效中;PUASE: 暂停;FINISHED 已结束;",
- "example" : "WORKING"
- }
- }
- },
- "Topic" : {
- "type" : "object",
- "properties" : {
- "img_url" : {
- "type" : "string",
- "description" : "营销位图片url",
- "example" : "https://oalipay-dl-django.alicdn.com/rest/1.0/image?fileIds=xxx&zoom=xxx"
- },
- "link_type" : {
- "type" : "string",
- "description" : "跳转类型,网页:HTTP、小程序:APP",
- "example" : "HTTP"
- },
- "link_url" : {
- "type" : "string",
- "description" : "营销位跳转地址,点击营销位头图跳到的链接url。",
- "example" : "https://www.alipay.com"
- },
- "sub_title" : {
- "type" : "string",
- "description" : "营销位描述",
- "example" : "营销位描述"
- },
- "title" : {
- "type" : "string",
- "description" : "营销位名称",
- "example" : "营销位名称"
- },
- "topic_id" : {
- "type" : "string",
- "description" : "营销位id",
- "example" : "CG202011131013300867029"
- },
- "topic_items" : {
- "type" : "array",
- "description" : "营销位内容列表",
- "items" : {
- "$ref" : "#/components/schemas/TopicItem"
- }
- }
- }
- },
- "TopicItem" : {
- "type" : "object",
- "properties" : {
- "img_url" : {
- "type" : "string",
- "description" : "内容图片url, 尺寸为300*300,最大不超过3M,支持格式:.jpg、.png ,请先调用<a href=\"https://docs.open.alipay.com/api_3/alipay.offline.material.image.upload\"> 图片上传接口</a>获得图片url"
- },
- "link_type" : {
- "type" : "string",
- "description" : "跳转类型,网页:HTTP、小程序:APP,不传默认HTTP"
- },
- "link_url" : {
- "type" : "string",
- "description" : "跳转链接,点击营销位内容图片跳到的链接url"
- },
- "sub_title" : {
- "type" : "string",
- "description" : "内容说明"
- },
- "title" : {
- "type" : "string",
- "description" : "内容标题"
- }
- }
- },
- "TradeComplainQueryResponse" : {
- "type" : "object",
- "properties" : {
- "complain_event_id" : {
- "type" : "string",
- "description" : "支付宝侧投诉单号",
- "example" : "2020092300102000000001459758"
- },
- "complain_reason" : {
- "type" : "string",
- "description" : "投诉原因",
- "example" : "重复扣款"
- },
- "content" : {
- "type" : "string",
- "description" : "已经扣除了我的钱,为什么再次扣款???",
- "example" : "投诉内容"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "投诉单创建时间",
- "example" : "2020-02-14 14:23:12"
- },
- "gmt_finished" : {
- "type" : "string",
- "description" : "投诉单结束时间",
- "example" : "2020-02-14 14:23:12"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "投诉单修改时间",
- "example" : "2020-02-14 14:23:12"
- },
- "images" : {
- "type" : "array",
- "description" : "投诉图片",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"http://mdn.alipay.com/wsdk/img?fileid=A*ME4GQq2j-5oAAAAAAAAAAAAAAQAAAQ&t=83fed12ef006ebcd8df04dfe79faad6c&bi=openpunsh&ts=0&zoom=original\"]"
- },
- "leaf_category_name" : {
- "type" : "string",
- "description" : "投诉诉求",
- "example" : "我要退款"
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "商家订单号",
- "example" : "tp1234567899"
- },
- "phone_no" : {
- "type" : "string",
- "description" : "投诉人电话号码",
- "example" : "15768789890"
- },
- "status" : {
- "type" : "string",
- "description" : "状态\t商家处理中:MERCHANT_PROCESSING\t商家已反馈:MERCHANT_FEEDBACKED\t投诉已完结:FINISHED\t投诉已撤销:CANCELLED\t平台处理中:PLATFORM_PROCESSING\t平台处理完结:PLATFORM_FINISH\t系统关闭:CLOSED",
- "example" : "MERCHANT_PROCESSING"
- },
- "target_id" : {
- "type" : "string",
- "description" : "应用id,例如小程序id、生活号id、商家pid",
- "example" : "2018001307627807"
- },
- "target_type" : {
- "type" : "string",
- "description" : "应用类型\t小程序为:APPID\t生活号为:PUBLICID\t商家为:PID",
- "example" : "APPID"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2020092322001448341410785740"
- }
- }
- },
- "TradeFundBill" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "该支付工具类型所使用的金额。单位:元。"
- },
- "bank_code" : {
- "type" : "string",
- "description" : "银行卡支付时的银行代码"
- },
- "fund_channel" : {
- "type" : "string",
- "description" : "交易使用的资金渠道,详见 <a href=\"https://opendocs.alipay.com/open/common/103259\">支付渠道列表</a>"
- },
- "fund_type" : {
- "type" : "string",
- "description" : "渠道所使用的资金类型,目前只在资金渠道(fund_channel)是银行卡渠道(BANKCARD)的情况下才返回该信息(DEBIT_CARD:借记卡,CREDIT_CARD:信用卡,MIXED_CARD:借贷合一卡)"
- },
- "real_amount" : {
- "type" : "string",
- "description" : "渠道实际付款金额"
- }
- }
- },
- "TradeFundBillDetail" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "交易金额"
- },
- "asset_type_code" : {
- "type" : "string",
- "description" : "资产类型编码"
- },
- "asset_user_id" : {
- "type" : "string",
- "description" : "资产的属主"
- },
- "asset_user_open_id" : {
- "type" : "string",
- "description" : "资产的属主openid"
- },
- "biz_pay_type" : {
- "type" : "string",
- "description" : "支付业务类型\t\tPAY-支付\t\tREFUND-退款"
- },
- "create_time" : {
- "type" : "string",
- "description" : "创建时间"
- },
- "payment_no" : {
- "type" : "string",
- "description" : "支付单据号"
- }
- }
- },
- "TradeInfoDTO" : {
- "type" : "object",
- "properties" : {
- "buyer_id" : {
- "type" : "string",
- "description" : "买家ID",
- "example" : "208888888888"
- },
- "create_time" : {
- "type" : "string",
- "description" : "交易创建时间",
- "example" : "2010-11-11 11:11:11"
- },
- "platform_order_id" : {
- "type" : "string",
- "description" : "外部平台订单号",
- "example" : "781773393333012410369282"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单总金额",
- "example" : "88"
- },
- "trade_amount" : {
- "type" : "string",
- "description" : "订单总金额",
- "example" : "88"
- },
- "trade_fund_bill_list" : {
- "type" : "array",
- "description" : "资金单明细",
- "items" : {
- "$ref" : "#/components/schemas/TradeFundBillDetail"
- }
- },
- "trade_no" : {
- "type" : "string",
- "description" : "交易单号",
- "example" : "1231231321321"
- },
- "trade_status" : {
- "type" : "string",
- "description" : "交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款)",
- "example" : "TRADE_SUCCESS"
- }
- }
- },
- "TradeItemResult" : {
- "type" : "object",
- "properties" : {
- "alipay_order_no" : {
- "type" : "string",
- "description" : "支付宝订单号。对账使用,不脱敏"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "交易创建时间"
- },
- "gmt_pay" : {
- "type" : "string",
- "description" : "交易支付时间"
- },
- "gmt_refund" : {
- "type" : "string",
- "description" : "交易退款时间"
- },
- "goods_memo" : {
- "type" : "string",
- "description" : "商品备注信息"
- },
- "goods_title" : {
- "type" : "string",
- "description" : "商品名称"
- },
- "merchant_order_no" : {
- "type" : "string",
- "description" : "商户订单号,创建支付宝交易时传入的信息。对账使用,不脱敏"
- },
- "net_mdiscount" : {
- "type" : "string",
- "description" : "商家优惠金额"
- },
- "other_account" : {
- "type" : "string",
- "description" : "对方账户"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "订单退款金额"
- },
- "service_fee" : {
- "type" : "string",
- "description" : "服务费金额"
- },
- "store_name" : {
- "type" : "string",
- "description" : "球房名称"
- },
- "store_no" : {
- "type" : "string",
- "description" : "球房编号"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "订单金额"
- },
- "trade_status" : {
- "type" : "string",
- "description" : "订单状态(待付款,成功,关闭,待发货,待确认收货,已预付,进行中)"
- },
- "trade_type" : {
- "type" : "string",
- "description" : "业务类型,帮助商户作为对账参考"
- }
- }
- },
- "TradeSettleDetail" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "实际操作金额,单位为元,两位小数。该参数的值为分账或补差或结算时传入",
- "example" : "10.00"
- },
- "operation_dt" : {
- "type" : "string",
- "description" : "操作日期",
- "example" : "2019-05-16 09:59:17"
- },
- "operation_serial_no" : {
- "type" : "string",
- "description" : "商户操作序列号。商户发起请求的外部请求号。",
- "example" : "2321232323232"
- },
- "operation_type" : {
- "type" : "string",
- "description" : "结算操作类型。有以下几种类型:\treplenish(补差)、replenish_refund(退补差)、transfer(分账)、transfer_refund(退分账)、settle(结算)、settle_refund(退结算)、on_settle(待结算)。",
- "example" : "replenish"
- },
- "ori_trans_in" : {
- "type" : "string",
- "description" : "商户请求的转入账号",
- "example" : "2088111111111111"
- },
- "ori_trans_out" : {
- "type" : "string",
- "description" : "商户请求的转出账号",
- "example" : "2088111111111111"
- },
- "trans_in" : {
- "type" : "string",
- "description" : "转入账号",
- "example" : "2088111111111111"
- },
- "trans_out" : {
- "type" : "string",
- "description" : "转出账号",
- "example" : "2088111111111111"
- }
- }
- },
- "TradeSettleInfo" : {
- "type" : "object",
- "properties" : {
- "trade_settle_detail_list" : {
- "type" : "array",
- "description" : "交易结算明细信息",
- "items" : {
- "$ref" : "#/components/schemas/TradeSettleDetail"
- }
- }
- }
- },
- "TransferAccountBookDetailResult" : {
- "type" : "object",
- "properties" : {
- "account" : {
- "type" : "string",
- "description" : "付款/收款账户。充值记录中是付款账户。提现、转账记录中是收款账户。支付宝名称及账号脱敏;银行账户的户名脱敏,银行账户显示银行名称+银行卡号后四位",
- "example" : "*三(招商银行2456)"
- },
- "amount" : {
- "type" : "string",
- "description" : "金额",
- "example" : "100.00"
- },
- "biz_desc" : {
- "type" : "string",
- "description" : "业务类型描述。可用于区分业务类型,和不同子账本",
- "example" : "薪资代发-明细转账-I{2088000117463004}"
- },
- "fund_desc" : {
- "type" : "string",
- "description" : "资金来源/去向类型。在充值记录中,表示资金来源类型,在转账和提现类型中,表示去向类型",
- "example" : "银行卡"
- },
- "instruction_id" : {
- "type" : "string",
- "description" : "银行单据号。对账使用,无需脱敏",
- "example" : "20190101***"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注信息",
- "example" : "普通充值"
- },
- "order_no" : {
- "type" : "string",
- "description" : "业务订单号。该笔业务单据的唯一识别编号",
- "example" : "20190101***"
- },
- "service_fee" : {
- "type" : "string",
- "description" : "服务费金额",
- "example" : "1.00"
- },
- "status" : {
- "type" : "string",
- "description" : "资金状态",
- "example" : "成功"
- },
- "sub_type_desc" : {
- "type" : "string",
- "description" : "子类型。“充值类型”,普通充值、大额充值。“转账类型”,暂无实现。转账至支付宝账户、转账至银行卡、批量转账支付宝账户、批量转账至银行卡、批量付款。“提现类型”,暂无实现。普通提现、批量委托提现。对账使用,无需脱敏",
- "example" : "普通充值"
- },
- "trans_dt" : {
- "type" : "string",
- "description" : "业务发生时间",
- "example" : "2019-01-01 00:00:00"
- },
- "type_desc" : {
- "type" : "string",
- "description" : "查询类型描述:充值、转账、提现",
- "example" : "充值"
- }
- }
- },
- "TransferDetailResult" : {
- "type" : "object",
- "properties" : {
- "account" : {
- "type" : "string",
- "description" : "付款/收款账户。充值记录中是付款账户。提现、转账记录中是收款账户。支付宝名称及账号脱敏;银行账户的户名脱敏,银行账户显示银行名称+银行卡号后四位",
- "example" : "*三(招商银行2456)"
- },
- "amount" : {
- "type" : "string",
- "description" : "金额",
- "example" : "100.00"
- },
- "fund_desc" : {
- "type" : "string",
- "description" : "资金来源/去向类型。在充值记录中,表示资金来源类型,在转账和提现类型中,表示去向类型",
- "example" : "银行卡"
- },
- "instruction_id" : {
- "type" : "string",
- "description" : "银行单据号。对账使用,无需脱敏",
- "example" : "20190101***"
- },
- "memo" : {
- "type" : "string",
- "description" : "备注信息",
- "example" : "普通充值"
- },
- "order_no" : {
- "type" : "string",
- "description" : "业务订单号。该笔业务单据的唯一识别编号",
- "example" : "20190101***"
- },
- "service_fee" : {
- "type" : "string",
- "description" : "服务费金额",
- "example" : "1.00"
- },
- "status" : {
- "type" : "string",
- "description" : "资金状态",
- "example" : "成功"
- },
- "sub_type_desc" : {
- "type" : "string",
- "description" : "子类型。“充值类型”,普通充值、大额充值。“转账类型”,暂无实现。转账至支付宝账户、转账至银行卡、批量转账支付宝账户、批量转账至银行卡、批量付款。“提现类型”,暂无实现。普通提现、批量委托提现。对账使用,无需脱敏",
- "example" : "普通充值"
- },
- "trans_dt" : {
- "type" : "string",
- "description" : "业务发生时间",
- "example" : "2019-01-01 00:00:00"
- },
- "type_desc" : {
- "type" : "string",
- "description" : "查询类型描述:充值、转账、提现",
- "example" : "充值"
- }
- }
- },
- "TreeInfo" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "description" : "类目树ID",
- "example" : "1"
- },
- "instance_code" : {
- "type" : "string",
- "description" : "知识库对应的类目树名称,与treeId不可同时为空",
- "example" : "TREE_cVE_MHk8_1532332260914"
- },
- "name" : {
- "type" : "string",
- "description" : "类目名称",
- "example" : "蚂蚁科技"
- }
- }
- },
- "UnfreezeExtendParams" : {
- "type" : "object",
- "properties" : {
- "quit_type" : {
- "type" : "string",
- "description" : "退出类型",
- "example" : "SETTLE_APPLY_QUIT"
- },
- "total_discount_amount" : {
- "type" : "string",
- "description" : "芝麻Go开始到到期过程中享受的优惠总金额",
- "example" : "3.00"
- },
- "total_real_pay_amount" : {
- "type" : "string",
- "description" : "芝麻Go开始到到期过程中任务相关支付的总金额。",
- "example" : "3.00"
- },
- "total_task_count" : {
- "type" : "string",
- "description" : "芝麻Go开始到到期过程中和任务相关的完成次数",
- "example" : "0"
- }
- }
- },
- "UpdatedAuthenticationDetails" : {
- "type" : "object",
- "properties" : {
- "authentication_mechanisms" : {
- "type" : "array",
- "description" : "鉴权机制",
- "items" : {
- "type" : "string"
- },
- "example" : "ApplicationRedirect"
- },
- "nonce" : {
- "type" : "string",
- "description" : "随机数",
- "example" : "4A941B84"
- },
- "partial_transaction_details_signature" : {
- "type" : "string",
- "description" : "交易签名信息",
- "example" : "U2VydmVyIGdlbmVyYXRlZCB0cmFuc2FjdGlvbiBkZXRhaWxzIHNpZ25hdHVyZQ=="
- },
- "pin_format" : {
- "type" : "string",
- "description" : "6位密码或者长密码",
- "example" : "sixDigits"
- },
- "signing_key_material" : {
- "type" : "string",
- "description" : "签名秘钥",
- "example" : "U2lnbmluZyBrZXkgbWF0ZXJpYWw="
- }
- }
- },
- "UseRule" : {
- "type" : "object",
- "properties" : {
- "ext_info" : {
- "type" : "string",
- "description" : "扩展属性,无需设置",
- "example" : "\\\"key\\\":\\\"value\\\""
- },
- "forbidden_time" : {
- "$ref" : "#/components/schemas/ForbbidenTime"
- },
- "limit_rule" : {
- "type" : "string",
- "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【备注】支付渠道限制不允许修改",
- "example" : "USE_NO_LIMIT"
- },
- "min_consume" : {
- "type" : "string",
- "description" : "券核销的最低消费门槛,单位元",
- "example" : "10"
- },
- "pay_redirect_url" : {
- "type" : "string",
- "description" : "券买单跳转链接",
- "example" : "https://mycar-parkingplatform.alipay-eco.com/pbizplatform/park/parking/stayPayCarList?entrance=1"
- },
- "suit_shops" : {
- "type" : "array",
- "description" : "券适用球房列表\r\t仅品牌商发起的招商活动可为空\r\t直发奖类型活动必须与活动适用球房一致\r\t最多支持10w家球房",
- "items" : {
- "type" : "string"
- },
- "example" : "2015110600077000000002125023,2015110600077000000002125022"
- },
- "use_time" : {
- "type" : "array",
- "description" : "券可用时间段",
- "items" : {
- "$ref" : "#/components/schemas/UseTime"
- }
- }
- }
- },
- "UseTime" : {
- "type" : "object",
- "properties" : {
- "dimension" : {
- "type" : "string",
- "description" : "券可用时段时间维度,目前支持周(W)",
- "example" : "W"
- },
- "times" : {
- "type" : "string",
- "description" : "券可用时间段\r\t可用时间段起止时间用逗号分隔,多个时间段之间用^分隔\r\t如, \"16:00:00,20:00:00^21:00:00,22:00:00\"表示16点至20点,21点至22点可用\r\t时间段不可重叠",
- "example" : "16:00:00,20:00:00^21:00:00,22:00:00"
- },
- "values" : {
- "type" : "string",
- "description" : "券可用时间维度值\r\t周维度的取值范围1-7(周一至周日),多个可用时段用逗号分隔\r\t如\"1,3,5\",对应周一,周三,周五可用",
- "example" : "1,3,5"
- }
- }
- },
- "UserAnalysisData" : {
- "type" : "object",
- "properties" : {
- "cancel_user_cnt" : {
- "type" : "string",
- "description" : "取消关注人数",
- "example" : "40"
- },
- "cumulate_user_cnt" : {
- "type" : "string",
- "description" : "累积关注人数",
- "example" : "60"
- },
- "date" : {
- "type" : "string",
- "description" : "日期",
- "example" : "20171101"
- },
- "grow_user_cnt" : {
- "type" : "string",
- "description" : "净增关注人数",
- "example" : "20"
- },
- "new_user_cnt" : {
- "type" : "string",
- "description" : "新关注人数",
- "example" : "30"
- }
- }
- },
- "UserDetails" : {
- "type" : "object",
- "properties" : {
- "user_change_mobile" : {
- "type" : "string",
- "description" : "用户变更手机号,替换旧的手机号"
- },
- "user_mobile" : {
- "type" : "string",
- "description" : "孩子家长的手机号"
- },
- "user_name" : {
- "type" : "string",
- "description" : "张三"
- },
- "user_relation" : {
- "type" : "string",
- "description" : "孩子与家长的关系: 1、爸爸 2、妈妈 3、爷爷 4、奶奶 5、外公 6、外婆 7、家长"
- }
- }
- },
- "UserIdentityInfo" : {
- "type" : "object",
- "properties" : {
- "h_school_info" : {
- "$ref" : "#/components/schemas/HSchoolInfo"
- }
- }
- },
- "UserInfomation" : {
- "type" : "object",
- "properties" : {
- "cert_no" : {
- "type" : "string",
- "description" : "证件号"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "身份证:IDENTITY_CARD、护照:PASSPORT、军官证:OFFICER_CARD、士兵证:SOLDIER_CARD、户口本:HOKOU等。"
- },
- "ext_info" : {
- "type" : "array",
- "description" : "扩展信息",
- "items" : {
- "$ref" : "#/components/schemas/OrderExtInfo"
- }
- },
- "mobile" : {
- "type" : "string",
- "description" : "手机号"
- },
- "name" : {
- "type" : "string",
- "description" : "姓名"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户(user_id)在应用(appId)下的唯一用户标识"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝uid"
- }
- }
- },
- "UserInvoiceInfoOpenApiResponse" : {
- "type" : "object",
- "properties" : {
- "accept_electronic" : {
- "type" : "boolean",
- "description" : "(AR开票使用)是否接受电子票 true:是,false:否",
- "example" : "true"
- },
- "address" : {
- "type" : "string",
- "description" : "公司注册地址",
- "example" : "广州市增城区新塘镇沿江大道20号1601房"
- },
- "auto" : {
- "type" : "boolean",
- "description" : "(AR开票使用)是否自动申请开票 true:是,false:否",
- "example" : "true"
- },
- "bank_account" : {
- "type" : "string",
- "description" : "银行账户",
- "example" : "3602201309100137669"
- },
- "bank_name" : {
- "type" : "string",
- "description" : "开户行",
- "example" : "中国工商银行广州市第二支行"
- },
- "business_licence_url" : {
- "type" : "string",
- "description" : "营业执照地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "creator" : {
- "type" : "string",
- "description" : "资料创建人",
- "example" : "李某某"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "1533039333744"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "1533039333744"
- },
- "hold" : {
- "type" : "boolean",
- "description" : "(AR开票使用)是否暂停开票\r\ttrue:暂停开票,false:可开票",
- "example" : "true"
- },
- "id" : {
- "type" : "string",
- "description" : "开票资料ID",
- "example" : "2017061410122000544800280000000001"
- },
- "ip_id" : {
- "type" : "string",
- "description" : "商户PID,\r\ttype=01时表示OU用户,填充的是InstId机构代码,例如Z50,\r\ttype=02时表示商户MID,\r\ttype=03时表示商户PID",
- "example" : "10000004"
- },
- "last_modifier" : {
- "type" : "string",
- "description" : "最后修改人",
- "example" : "李某某"
- },
- "open_account_permit_url" : {
- "type" : "string",
- "description" : "银行开户许可证地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "other_qualification_url" : {
- "type" : "string",
- "description" : "其它资质证明地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "status" : {
- "type" : "string",
- "description" : "资料状态,01:待审,02:已审(有效), 03:已作废",
- "example" : "02"
- },
- "task_date" : {
- "type" : "string",
- "description" : "上一次任务执行时间(针对自动开票场景),格式:YYYYMMDD",
- "example" : "20180723"
- },
- "tax_no" : {
- "type" : "string",
- "description" : "纳税人识别号(购方税号)",
- "example" : "91440106058924978D"
- },
- "tax_payer_qualification" : {
- "type" : "string",
- "description" : "纳税人开票资格种类\r\t01:一般纳税人,02:小规模纳税人",
- "example" : "01"
- },
- "tax_qualification_url" : {
- "type" : "string",
- "description" : "一般纳税人资格证书地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "tax_reg_cert_url" : {
- "type" : "string",
- "description" : "税务登记证地址",
- "example" : "gfcenter/inv/userinvoicefile/aruserprofilepic_2088721075211978_15133031297372951.jpg"
- },
- "taxpayer_quali_valid" : {
- "type" : "string",
- "description" : "纳税人资格开始时间 (时间戳)",
- "example" : "1533039333744"
- },
- "telephone" : {
- "type" : "string",
- "description" : "公司注册电话",
- "example" : "0571-82523768"
- },
- "title" : {
- "type" : "string",
- "description" : "发票抬头",
- "example" : "支付宝"
- },
- "tnt_inst_id" : {
- "type" : "string",
- "description" : "租户ID",
- "example" : "ANTGW2CN"
- },
- "type" : {
- "type" : "string",
- "description" : "开票资料用户类型 \r\t01:OU,02:商户,03:C用户",
- "example" : "02"
- },
- "user_mail_info_list" : {
- "type" : "array",
- "description" : "收件人地址列表",
- "items" : {
- "$ref" : "#/components/schemas/UserMailInfoVO"
- }
- }
- }
- },
- "UserMailInfoOrder" : {
- "type" : "object",
- "properties" : {
- "city" : {
- "type" : "string",
- "description" : "联系所在城市"
- },
- "country" : {
- "type" : "string",
- "description" : "联系人国家"
- },
- "county_district" : {
- "type" : "string",
- "description" : "联系人所在县/区"
- },
- "detail_address" : {
- "type" : "string",
- "description" : "联系所在详细地址"
- },
- "email" : {
- "type" : "string",
- "description" : "电子邮箱"
- },
- "ip_role_id" : {
- "type" : "string",
- "description" : "商户ipRole(pid)"
- },
- "name" : {
- "type" : "string",
- "description" : "联系人名字"
- },
- "province" : {
- "type" : "string",
- "description" : "联系人省份"
- },
- "street" : {
- "type" : "string",
- "description" : "联系人所在街道"
- },
- "telephone" : {
- "type" : "string",
- "description" : "联系人电话"
- }
- }
- },
- "UserMailInfoVO" : {
- "type" : "object",
- "properties" : {
- "address" : {
- "type" : "string",
- "description" : "收件人地址",
- "example" : "中国|浙江省|杭州市|西湖区|蒋村街道|10号楼99号"
- },
- "city" : {
- "type" : "string",
- "description" : "城市",
- "example" : "杭州市"
- },
- "country" : {
- "type" : "string",
- "description" : "国家",
- "example" : "中国"
- },
- "county_district" : {
- "type" : "string",
- "description" : "县区",
- "example" : "西湖区"
- },
- "detail_address" : {
- "type" : "string",
- "description" : "详细地址",
- "example" : "10号楼99号"
- },
- "email" : {
- "type" : "string",
- "description" : "邮件人的电子邮箱",
- "example" : "hahaha@alipay.com"
- },
- "gmt_create" : {
- "type" : "string",
- "description" : "创建时间",
- "example" : "1533039333744"
- },
- "gmt_modified" : {
- "type" : "string",
- "description" : "修改时间",
- "example" : "1533039333744"
- },
- "id" : {
- "type" : "string",
- "description" : "收件人信息ID",
- "example" : "2017031410122000565000480000002129"
- },
- "name" : {
- "type" : "string",
- "description" : "收件人姓名",
- "example" : "朱文三"
- },
- "pid" : {
- "type" : "string",
- "description" : "pid用于指定该地址归属的PID,应对集团模式的商户所设定,发票邮寄地址根据PID确定",
- "example" : "2088812004337486"
- },
- "province" : {
- "type" : "string",
- "description" : "省份",
- "example" : "浙江省"
- },
- "street" : {
- "type" : "string",
- "description" : "街道",
- "example" : "蒋村街道"
- },
- "telephone" : {
- "type" : "string",
- "description" : "收件人电话",
- "example" : "0891-3983888"
- }
- }
- },
- "UserRiskPrediction" : {
- "type" : "object",
- "properties" : {
- "phone_recycle_risk_leve" : {
- "type" : "string",
- "description" : "用户绑定手机号被二次放号风险等级。\tNO_RESULT:手机号风险未入库\tNO_RISK:用户绑定手机无二次放号风险,高置信度\tLOW_RISK:用户绑定手机二次放号风险较小,商户自行决策是否相信。\tHIGH_RISK:用户绑定手机已被放号,高置信度",
- "example" : "HIGH_RISK"
- },
- "refused_payment_risk_level" : {
- "type" : "string",
- "description" : "用户拒付风险等级。\tNO_SIGN:商户未签约。\tNO_RESULT:未查询到账户信息。\tLOW_RISK:用户拒付风险为低;处理建议:用户可以先享受服务,再进行支付。\tMEDIUM_RISK:用户拒付风险为中;处理建议:根据业务场景客户自行判断提供或者不提供。\tHIGH_RISK:用户拒付风险为高;处理建议:不建议先提供给用户服务。",
- "example" : "HIGH_RISK"
- }
- }
- },
- "UserTradeInfoDTO" : {
- "type" : "object",
- "properties" : {
- "goods_info_list" : {
- "type" : "array",
- "description" : "商品信息列表",
- "items" : {
- "$ref" : "#/components/schemas/GoodsInfoDTO"
- }
- },
- "partner_id" : {
- "type" : "string",
- "description" : "球房ISV的PID",
- "example" : "208881123"
- },
- "risk_level" : {
- "type" : "string",
- "description" : "是否是风险交易:NO_RISK-无风险;POTENTIAL_RISK-潜在风险(中等风险);HIGH_RISK-高风险",
- "example" : "NO_RISK"
- },
- "trade_amount" : {
- "type" : "string",
- "description" : "交易总金额,单位元,精确两位小数点",
- "example" : "68.12"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "交易单号",
- "example" : "202110000111"
- },
- "trade_time" : {
- "type" : "string",
- "description" : "交易时间",
- "example" : "2022-02-11 00:00:00"
- },
- "unfiltered_total_goods_count" : {
- "type" : "integer",
- "description" : "商品数据会根据活动商品列表进行过滤,该字段代表未过滤的商品列表大小",
- "example" : "100"
- },
- "user_id" : {
- "type" : "string",
- "description" : "消费者支付宝ID",
- "example" : "2088111"
- }
- }
- },
- "UserVoucherBaseInfo" : {
- "type" : "object",
- "properties" : {
- "associate_trade_no" : {
- "type" : "string",
- "description" : "若商家券操作过关联商户订单信息,则该字段返回商家券已关联的商户订单号。"
- },
- "create_time" : {
- "type" : "string",
- "description" : "领券时间"
- },
- "valid_begin_time" : {
- "type" : "string",
- "description" : "券可使用的开始时间。 格式为:yyyy-MM-dd HH:mm:ss"
- },
- "valid_end_time" : {
- "type" : "string",
- "description" : "券可使用的结束时间。 格式为yyyy-MM-dd HH:mm:ss"
- },
- "voucher_id" : {
- "type" : "string",
- "description" : "支付宝券id"
- },
- "voucher_max_use_times" : {
- "type" : "integer",
- "description" : "券最大核销次数"
- },
- "voucher_name" : {
- "type" : "string",
- "description" : "券名称"
- },
- "voucher_status" : {
- "type" : "string",
- "description" : "券状态。SENDED:可用 USED:已核销(即完全使用), EXPIRED:已过期(只能查询6个月内数据)"
- },
- "voucher_used_times" : {
- "type" : "integer",
- "description" : "券已核销次数"
- }
- }
- },
- "UserVoucherInfo" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "activity_id" : {
- "type" : "string",
- "description" : "活动 id。",
- "example" : "2016042700826004508401111111"
- },
- "available_begin_time" : {
- "type" : "string",
- "description" : "券可用开始时间。",
- "example" : "2017-01-01 00:00:01"
- },
- "available_end_time" : {
- "type" : "string",
- "description" : "券可用结束时间。",
- "example" : "2017-01-01 00:00:01"
- },
- "belong_merchant_id" : {
- "type" : "string",
- "description" : "券归属商户 pid。",
- "example" : "2088102111111111"
- },
- "create_time" : {
- "type" : "string",
- "description" : "用户领券时间。",
- "example" : "2017-01-01 00:00:01"
- },
- "user_voucher_base_info" : {
- "$ref" : "#/components/schemas/UserVoucherBaseInfo"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_customer_guide_info" : {
- "$ref" : "#/components/schemas/VoucherCustomerGuideInfo"
- },
- "voucher_deduct_info" : {
- "$ref" : "#/components/schemas/VoucherDeductInfo"
- },
- "voucher_display_lite_info" : {
- "$ref" : "#/components/schemas/CommonVoucherDisplayLiteInfo"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_id" : {
- "type" : "string",
- "description" : "用户券 id。支付宝为用户优惠券唯一分配的 id。",
- "example" : "2021072900073002214009F8QHR3"
- },
- "voucher_name" : {
- "type" : "string",
- "description" : "券名称。展示在支付宝卡包中的券名称。",
- "example" : "满10减1"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_status" : {
- "type" : "string",
- "description" : "券状态。",
- "example" : "SENDED"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "券类型。",
- "example" : "FIX_VOUCHER"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- },
- "voucher_use_rule_lite_info" : {
- "$ref" : "#/components/schemas/CommonVoucherUseRuleLiteInfo"
- }
- }
- },
- "ViolationEvent" : {
- "type" : "object",
- "properties" : {
- "can_appeal" : {
- "type" : "boolean",
- "description" : "商家是否可以申诉",
- "example" : "true"
- },
- "can_rectify" : {
- "type" : "boolean",
- "description" : "商家是否可以整改",
- "example" : "true"
- },
- "punish_action" : {
- "type" : "string",
- "description" : "处罚动作及有效期",
- "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\"]"
- },
- "status" : {
- "type" : "string",
- "description" : "违规工单状态枚举:\tPUNISH_DONE:处罚生效中\tPUNISH_APPEAL_REVOKED:处罚已撤销\tPUNISH_INVALID_REVOKED:处罚已到期\tWAITING_RECTIFY:待整改 \tRECTIFY_AUDITOR_PROCESSING:整改审核中\tRECTIFY_REJECTED:整改不通过\tRECTIFY_PASSED:整改通过\tRECTIFY_TIMEOUT :整改已超时",
- "example" : "PUNISH_DONE"
- },
- "target_id" : {
- "type" : "string",
- "description" : "违规对象ID",
- "example" : "2022000000000011"
- },
- "target_name" : {
- "type" : "string",
- "description" : "违规对象名称",
- "example" : "xxx测试小程序"
- },
- "target_type" : {
- "type" : "string",
- "description" : "违规对象类型\t小程序ID:APPID \t生活号ID:PUBLICID",
- "example" : "APPID"
- },
- "violation_record_id" : {
- "type" : "string",
- "description" : "违规记录ID",
- "example" : "202201001200001001"
- },
- "violation_time" : {
- "type" : "string",
- "description" : "违规时间",
- "example" : "2020-01-01 00:00:01"
- },
- "violation_type" : {
- "type" : "string",
- "description" : "即平台依据平台规范/规则,判定商户的违规类型",
- "example" : "数据和系统安全/敏感参数泄露风险"
- }
- }
- },
- "Voucher" : {
- "type" : "object",
- "properties" : {
- "allow_split" : {
- "type" : "boolean",
- "description" : "是否允许拆分,券在核销的时候是否允许券的面额拆分使用。(仅限渠道类型为ISV企业福利:ISV_ENTERPRISE_BENIFIT的场景使用)",
- "example" : "false"
- },
- "available_amount" : {
- "type" : "string",
- "description" : "券剩余面额,单位元\r\t券详情查询接口返回,可拆分券中的券详情展示用",
- "example" : "100"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "券副标题",
- "example" : "券副标题"
- },
- "clause_terms" : {
- "type" : "array",
- "description" : "券的说明条款",
- "items" : {
- "$ref" : "#/components/schemas/ClauseTerm"
- }
- },
- "delay_info" : {
- "$ref" : "#/components/schemas/DelayInfo"
- },
- "desc" : {
- "type" : "string",
- "description" : "券详细说明\r\t最多包含500个字符",
- "example" : "券的详细说明"
- },
- "desc_detail_list" : {
- "type" : "array",
- "description" : "券使用说明描述列表",
- "items" : {
- "$ref" : "#/components/schemas/VoucherDescDetail"
- }
- },
- "display_config" : {
- "$ref" : "#/components/schemas/DisplayConfig"
- },
- "donate_flag" : {
- "type" : "string",
- "description" : "券是否可转赠,默认为可转赠",
- "example" : "true"
- },
- "effect_type" : {
- "type" : "string",
- "description" : "券生效的方式,目前支持以下方式\r\t立即生效:IMMEDIATELY\r\t延迟生效:DELAY\r\t仅在券有效期类型为相对有效期时生效",
- "example" : "IMMEDIATELY"
- },
- "end_time" : {
- "type" : "string",
- "description" : "券有效期的结束时间\r\t仅在券有效期类型为绝对有效期时生效\r\t必须晚于活动结束时间",
- "example" : "2016-11-01 00:00:00"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "券的扩展信息",
- "example" : "\"key\":\"value\""
- },
- "item_info" : {
- "$ref" : "#/components/schemas/ItemInfo"
- },
- "logo" : {
- "type" : "string",
- "description" : "券LOGO文件ID,调用图片上传接口alipay.offline.material.image.upload获得",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "max_amount" : {
- "type" : "string",
- "description" : "最高优惠金额,单位元\r\t指用券最高可以优惠的金额\r\t必须为合法金额类型字符串仅当券类型为折扣券(RATE),每满减券(PER_FULL_CUT)有效",
- "example" : "100"
- },
- "multi_use_mode" : {
- "type" : "string",
- "description" : "券叠加的属性,\r\t仅全场券可设置该选项;\r\tNO_MULTI:不可与其他全场券和单品券叠加;\r\tMULTI_USE_WITH_SINGLE:\r\t该全场优惠和单品优惠的叠加\r\t;MULTI_USE_WITH_OTHE\r\tRS:该全场优惠和其他所有优惠都可以叠加",
- "example" : "NO_MULTI"
- },
- "name" : {
- "type" : "string",
- "description" : "名称",
- "example" : "券的名称"
- },
- "rate" : {
- "type" : "string",
- "description" : "折扣率\r\t仅当券类型为折扣券时有效\r\t有效折扣率取值范围0.11-0.99\r\t仅允许保留小数点后两位",
- "example" : "0.8"
- },
- "relative_time" : {
- "type" : "string",
- "description" : "券相对有效期,单位天\r\t仅在券有效期类型为相对有效期时生效\r\t如,设5表示领券领取后5日内有效",
- "example" : "1"
- },
- "rounding_rule" : {
- "type" : "string",
- "description" : "券核销时,抹零方式,目前支持:\tNOT_AUTO_ROUNDING:不自动抹零\tAUTO_ROUNDING_YUAN:自动抹零到元\tAUTO_ROUNDING_JIAO:自动抹零到角\tROUNDING_UP_YUAN:四舍五入到元\tROUNDING_UP_JIAO:四舍五入到角",
- "example" : "NOT_AUTO_ROUNDING"
- },
- "start_time" : {
- "type" : "string",
- "description" : "券有效期的开始时间\r\t仅在券有效期类型为绝对有效期时生效",
- "example" : "2016-05-01 00:00:00"
- },
- "type" : {
- "type" : "string",
- "description" : "券类型,目前支持以下类型:\r\tEXCHANGE:兑换券;\r\tMONEY:代金券;\r\tREDUCETO:减至券;\r\tRATE:折扣券;\r\tPER_FULL_CUT:每满减券",
- "example" : "MONEY"
- },
- "use_instructions" : {
- "type" : "array",
- "description" : "券的使用说明\r\t使用须知最多6条,且每条最多100字",
- "items" : {
- "type" : "string"
- },
- "example" : "券的使用说明"
- },
- "use_rule" : {
- "$ref" : "#/components/schemas/UseRule"
- },
- "validate_type" : {
- "type" : "string",
- "description" : "券有效期类型,目前支持以下类型:\r\tRELATIVE:相对有效期\r\tFIXED:绝对有效期",
- "example" : "FIXED"
- },
- "verify_mode" : {
- "type" : "string",
- "description" : "该字段仅在兑换券条件下(即券类型为EXCHANGE),用于设置兑换券的核销方式\r\tUSER_CLICK:用户自己点击券上的按钮核销\r\tMERCHANT_SCAN:商户通过APP扫码核销\r\t其他情况下此字段为空",
- "example" : "MERCHANT_SCAN"
- },
- "voucher_img" : {
- "type" : "string",
- "description" : "券图片文件ID,调用上传图片接口alipay.offline.material.image.upload获得",
- "example" : "1T8Pp00AT7eo9NoAJkMR3AAAACMAAQEC"
- },
- "voucher_note" : {
- "type" : "string",
- "description" : "券的备注\r\t\r\t用于收银系统识别指定券使用;如备注中传入“123”,券发出后核销时将在当面付接口将该值传回,供收银系统识别",
- "example" : "券的备注"
- },
- "worth_value" : {
- "type" : "string",
- "description" : "券面额,单位元必须为合法金额类型字符串券类型为代金券(MONEY)、减至券(REDUCETO)、每满减券(PER_FULL_CUT)时必填\r\t如:\r\t代金券:10元代金券中的10为券面额;\r\t每满减券:毎满100减10元,其中的10为券面额;\r\t减至券:单品原价100,现价10元,其中10为券面额,单品减至券的券面额必须低于单品原价",
- "example" : "10"
- }
- }
- },
- "VoucherAbsolutePeriodInfo" : {
- "type" : "object",
- "properties" : {
- "time_restrict_info" : {
- "$ref" : "#/components/schemas/TimeRestrictInfo"
- },
- "valid_begin_time" : {
- "type" : "string",
- "description" : "券可使用的开始时间。 格式为:yyyy-MM-dd HH:mm:ss。"
- },
- "valid_end_time" : {
- "type" : "string",
- "description" : "券可使用的结束时间。 格式为yyyy-MM-dd HH:mm:ss。"
- }
- }
- },
- "VoucherAvailableAccountInfo" : {
- "type" : "object",
- "properties" : {
- "available_pids" : {
- "type" : "array",
- "description" : "优惠券可核销的直连商户PID",
- "items" : {
- "type" : "string"
- }
- },
- "available_smids" : {
- "type" : "array",
- "description" : "优惠券可核销的间连商户SMID",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherAvailableAppInfo" : {
- "type" : "object",
- "properties" : {
- "available_app_ids" : {
- "type" : "array",
- "description" : "可核销的支付宝小程序id",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherAvailableGeographyAllShopInfo" : {
- "type" : "object",
- "properties" : {
- "exclude_shop_ids" : {
- "type" : "array",
- "description" : "券不可使用的球房列表。指定商户全部球房可用时可通过该字段排除部分不可用球房。 列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- },
- "merchant_ids" : {
- "type" : "array",
- "description" : "全部球房可用的商户ID",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherAvailableGeographyAllShopResultInfo" : {
- "type" : "object",
- "properties" : {
- "fail_exclude_shop_infos" : {
- "type" : "array",
- "description" : "请求失败的不可用球房详情。",
- "items" : {
- "$ref" : "#/components/schemas/VoucherFailShopInfo"
- }
- },
- "success_exclude_shop_ids" : {
- "type" : "array",
- "description" : "请求成功的不可用球房列表。",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherAvailableGeographyCityInfo" : {
- "type" : "object",
- "properties" : {
- "all_city" : {
- "type" : "boolean",
- "description" : "是否全国。 选择全国后,无须填写city_codes字段。系统默认填充全国全部城市信息。"
- },
- "available_city_codes" : {
- "type" : "array",
- "description" : "城市编码。请按照https://gw.alipayobjects.com/os/basement_prod/253c4dcb-b8a4-4a1e-8be2-79e191a9b6db.xlsx 表格中内容填写。 (参考资料: http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/)",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherAvailableGeographyScopeInfo" : {
- "type" : "object",
- "properties" : {
- "available_geography_city_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableGeographyCityInfo"
- },
- "available_geography_scope_type" : {
- "type" : "string",
- "description" : "券可用地理位置类型。"
- },
- "available_geography_shop_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableGeographyShopInfo"
- }
- }
- },
- "VoucherAvailableGeographyScopeResultInfo" : {
- "type" : "object",
- "properties" : {
- "available_geography_shop_result_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableGeographyShopResultInfo"
- }
- }
- },
- "VoucherAvailableGeographyShopInfo" : {
- "type" : "object",
- "properties" : {
- "available_geography_all_shop" : {
- "$ref" : "#/components/schemas/VoucherAvailableGeographyAllShopInfo"
- },
- "available_real_shop_ids" : {
- "type" : "array",
- "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- },
- "available_shop_ids" : {
- "type" : "array",
- "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherAvailableGeographyShopResultInfo" : {
- "type" : "object",
- "properties" : {
- "available_geography_all_shop_result_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableGeographyAllShopResultInfo"
- },
- "fail_available_real_shop_infos" : {
- "type" : "array",
- "description" : "失败的物理球房详情。",
- "items" : {
- "$ref" : "#/components/schemas/VoucherFailShopInfo"
- }
- },
- "fail_available_shop_infos" : {
- "type" : "array",
- "description" : "失败的可用球房。",
- "items" : {
- "$ref" : "#/components/schemas/VoucherFailShopInfo"
- }
- },
- "success_available_real_shop_ids" : {
- "type" : "array",
- "description" : "代运营商业关系球房列表,列表中的球房id是调用接口alipay.business.relation.shop.create创建球房返回的real_shop_id 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- },
- "success_available_shop_ids" : {
- "type" : "array",
- "description" : "券可使用的球房列表。列表中的球房id是通过调用接口ant.merchant.expand.shop.create创建球房返回的支付宝球房id 接口参数是列表类型。",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherAvailableGoodsInfo" : {
- "type" : "object",
- "properties" : {
- "available_goods_sku_ids" : {
- "type" : "array",
- "description" : "可优惠商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,可以使用优惠券。",
- "items" : {
- "type" : "string"
- }
- },
- "exclude_goods_sku_ids" : {
- "type" : "array",
- "description" : "不可核销商品编码,商家自定义商品编码。当用户支付时,交易中的商品编码和支付券配置的商品编码有任一匹配时,不可以使用优惠券。",
- "items" : {
- "type" : "string"
- }
- },
- "goods_description" : {
- "type" : "string",
- "description" : "商品描述"
- },
- "goods_detail" : {
- "type" : "string",
- "description" : "商品详情,会展示在特定渠道(如服务市场团购业务插件的套餐明细)。"
- },
- "goods_detail_images" : {
- "type" : "array",
- "description" : "商品详情图片列表,会展示在特定渠道(如服务市场团购业务插件的头图)",
- "items" : {
- "type" : "string"
- }
- },
- "goods_detail_rich_description" : {
- "type" : "string",
- "description" : "商品详情富文本描述"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称。"
- },
- "origin_amount" : {
- "type" : "string",
- "description" : "商品原价"
- }
- }
- },
- "VoucherAvailableScope" : {
- "type" : "object",
- "properties" : {
- "order_voucher_available_city_code" : {
- "$ref" : "#/components/schemas/OrderVoucherAvailableCityCode"
- },
- "order_voucher_available_shop" : {
- "$ref" : "#/components/schemas/OrderVoucherAvailableShop"
- },
- "voucher_available_type" : {
- "type" : "string",
- "description" : "可用范围类型。"
- }
- }
- },
- "VoucherAvailableScopeInfo" : {
- "type" : "object",
- "properties" : {
- "voucher_available_account_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableAccountInfo"
- },
- "voucher_available_app_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableAppInfo"
- },
- "voucher_available_geography_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableGeographyScopeInfo"
- },
- "voucher_available_goods_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableGoodsInfo"
- }
- }
- },
- "VoucherAvailableScopeModify" : {
- "type" : "object",
- "properties" : {
- "modify_type" : {
- "type" : "string",
- "description" : "可用范围修改类型。",
- "example" : "ADD"
- },
- "order_voucher_available_city_code" : {
- "$ref" : "#/components/schemas/OrderVoucherAvailableCityCodeModify"
- },
- "order_voucher_available_shop" : {
- "$ref" : "#/components/schemas/OrderVoucherAvailableShopModify"
- }
- }
- },
- "VoucherAvailableScopeResultInfo" : {
- "type" : "object",
- "properties" : {
- "voucher_available_geography_scope_result_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableGeographyScopeResultInfo"
- }
- }
- },
- "VoucherBalanceRechargeInfo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "支付宝余额充值金额\t 限制: \t1.币种为人民币,单位元。 \t2. 总预算=优惠金额*总发券张数"
- },
- "logon_id" : {
- "type" : "string",
- "description" : "出资的商户支付宝登录账号 \t限制: \tlogon_id和partner_id必须且只能二选一"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "出资的商户支付宝ID \t限制: \tlogon_id和partner_id必须且只能二选一"
- }
- }
- },
- "VoucherBudgetSupplyInfo" : {
- "type" : "object",
- "properties" : {
- "budget_type" : {
- "type" : "string",
- "description" : "营销资金预算类型 \t枚举值: \tNO_CASH 免充值 \tRECHARGE 预充值 \t\t1、免充值:制券方无需提前充值资金,用户核销支付券时,直接从订单原价中扣除优惠减价金额,最终只将用户实际支付的金额结算给核销商户,商户实收少于订单原价。 \t2.预充值: 制券方需将优惠预算提前充值到支付宝指定营销账户中,用户核销支付券时,系统从该账户可用余额中扣除优惠减价部分对应的资金,连同用户实际支付的资金,一并结算给核销商户,不影响实收。"
- },
- "voucher_recharge_info" : {
- "$ref" : "#/components/schemas/VoucherRechargeInfo"
- }
- }
- },
- "VoucherConsultInfo" : {
- "type" : "object",
- "properties" : {
- "ceiling_amount" : {
- "type" : "string",
- "description" : "封顶优惠金额,单位为元",
- "example" : "4.0"
- },
- "item_promo_info" : {
- "$ref" : "#/components/schemas/ItemPromoInfo"
- },
- "optimal" : {
- "type" : "boolean",
- "description" : "是否为可使用的互斥券中最优的(目前返回的记录该值均为true,即可忽略该值判断)",
- "example" : "true"
- },
- "promo_amount" : {
- "type" : "string",
- "description" : "优惠总金额,单位为元",
- "example" : "30.00"
- },
- "promo_text" : {
- "type" : "string",
- "description" : "优惠文案",
- "example" : "大杯拿铁限时享受满10减1"
- },
- "promo_type" : {
- "type" : "string",
- "description" : "优惠类型: 代金(FIX),折扣(DISCOUNT),减至(SPECIAL,即特价券)",
- "example" : "FIX"
- },
- "reduction_amount" : {
- "type" : "string",
- "description" : "满减金额,单位为元,仅针对代金券",
- "example" : "2.0"
- },
- "reduction_ratio" : {
- "type" : "string",
- "description" : "优惠额度,如3折券,返回0.7,仅针对折扣券",
- "example" : "0.7"
- },
- "specified_amount" : {
- "type" : "string",
- "description" : "减至金额,单位为元,仅针对减至券",
- "example" : "32.0"
- },
- "threshold_amount" : {
- "type" : "string",
- "description" : "优惠门槛,单位为元(部分券没有门槛金额)",
- "example" : "120.00"
- },
- "voucher_id" : {
- "type" : "string",
- "description" : "券id",
- "example" : "202010220007300232330005DGEE"
- },
- "voucher_name" : {
- "type" : "string",
- "description" : "券名称",
- "example" : "商家全场5折优惠"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "券类型: 1)全场券(ALL) 2)单品券(ITEM)",
- "example" : "ALL"
- }
- }
- },
- "VoucherCustomerGuideInfo" : {
- "type" : "object",
- "properties" : {
- "voucher_send_guide_info" : {
- "$ref" : "#/components/schemas/VoucherSendGuideInfo"
- },
- "voucher_use_guide_info" : {
- "$ref" : "#/components/schemas/VoucherUseGuideInfo"
- }
- }
- },
- "VoucherDeductInfo" : {
- "type" : "object",
- "properties" : {
- "customer_define_voucher_info" : {
- "$ref" : "#/components/schemas/CustomerDefineVoucherInfo"
- },
- "discount_voucher_info" : {
- "$ref" : "#/components/schemas/DiscountVoucherInfo"
- },
- "exchange_voucher_info" : {
- "$ref" : "#/components/schemas/ExchangeVoucherInfo"
- },
- "fix_voucher_info" : {
- "$ref" : "#/components/schemas/FixVoucherInfo"
- },
- "special_voucher_info" : {
- "$ref" : "#/components/schemas/SpecialVoucherInfo"
- },
- "voucher_type" : {
- "type" : "string",
- "description" : "券类型。"
- }
- }
- },
- "VoucherDeductThresholdInfo" : {
- "type" : "object",
- "properties" : {
- "customer_define_voucher_threshold_desc" : {
- "type" : "string",
- "description" : "自定义门槛描述"
- },
- "voucher_express_info" : {
- "$ref" : "#/components/schemas/VoucherExpressInfo"
- },
- "voucher_goods_quantity_specification_info" : {
- "$ref" : "#/components/schemas/VoucherGoodsQuantitySpecificationInfo"
- }
- }
- },
- "VoucherDescDetail" : {
- "type" : "object",
- "properties" : {
- "details" : {
- "type" : "array",
- "description" : "具体描述信息列表",
- "items" : {
- "type" : "string"
- },
- "example" : "周一到周五可用"
- },
- "images" : {
- "type" : "array",
- "description" : "图片描述信息",
- "items" : {
- "type" : "string"
- },
- "example" : "https://dl.django.t.taobao.com/rest/1.0/image?fileIds=RY7twkJVR26nz8OeXRIjvAAAACMAAQED&zoom=original"
- },
- "title" : {
- "type" : "string",
- "description" : "券说明的标题",
- "example" : "温馨提示"
- },
- "url" : {
- "type" : "string",
- "description" : "券外部详情描述",
- "example" : "www.alipay.com"
- }
- }
- },
- "VoucherDetail" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "优惠券面额,它应该会等于商家出资加上其他出资方出资"
- },
- "id" : {
- "type" : "string",
- "description" : "券id"
- },
- "memo" : {
- "type" : "string",
- "description" : "优惠券备注信息"
- },
- "merchant_contribute" : {
- "type" : "string",
- "description" : "商家出资(特指发起交易的商家出资金额)"
- },
- "name" : {
- "type" : "string",
- "description" : "券名称"
- },
- "other_contribute" : {
- "type" : "string",
- "description" : "其他出资方出资金额,可能是支付宝,可能是品牌商,或者其他方,也可能是他们的一起出资"
- },
- "other_contribute_detail" : {
- "type" : "array",
- "description" : "优惠券的其他出资方明细",
- "items" : {
- "$ref" : "#/components/schemas/ContributeDetail"
- }
- },
- "purchase_ant_contribute" : {
- "type" : "string",
- "description" : "如果使用的这张券是用户购买的,则该字段代表用户在购买这张券时平台优惠的金额"
- },
- "purchase_buyer_contribute" : {
- "type" : "string",
- "description" : "如果使用的这张券是用户购买的,则该字段代表用户在购买这张券时用户实际付款的金额"
- },
- "purchase_merchant_contribute" : {
- "type" : "string",
- "description" : "如果使用的这张券是用户购买的,则该字段代表用户在购买这张券时商户优惠的金额"
- },
- "template_id" : {
- "type" : "string",
- "description" : "券模板id"
- },
- "type" : {
- "type" : "string",
- "description" : "券类型,如:\tALIPAY_FIX_VOUCHER - 全场代金券\tALIPAY_DISCOUNT_VOUCHER - 折扣券\tALIPAY_ITEM_VOUCHER - 单品优惠券\tALIPAY_CASH_VOUCHER - 现金抵价券\tALIPAY_BIZ_VOUCHER - 商家全场券\t注:不排除将来新增其他类型的可能,商家接入时注意兼容性避免硬编码"
- }
- }
- },
- "VoucherDisplayInfo" : {
- "type" : "object",
- "properties" : {
- "brand_logo" : {
- "type" : "string",
- "description" : "商家logo。需要通过\talipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "商户品牌名称。如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。如果没有维护商家别名,则使用默认名称:商家优惠。用户领取优惠券后,品牌名称会对用户进行展示"
- },
- "customer_service_mobile" : {
- "type" : "string",
- "description" : "客服电话"
- },
- "customer_service_url" : {
- "type" : "string",
- "description" : "客服链接"
- },
- "voucher_comment" : {
- "type" : "string",
- "description" : "券补充说明,该字段为可运营字段,可描述商品特色\t会展示在用户支付宝卡包券详情页"
- },
- "voucher_description" : {
- "type" : "string",
- "description" : "券详细使用说明。"
- },
- "voucher_detail_images" : {
- "type" : "array",
- "description" : "券详细图列表,会展示在用户支付宝卡包券详情页。需要通过\talipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE\t,接口返回的resource_id即为该参数的值。上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。",
- "items" : {
- "type" : "string"
- }
- },
- "voucher_image" : {
- "type" : "string",
- "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页。需要通过\talipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值"
- }
- }
- },
- "VoucherDisplayInfoModify" : {
- "type" : "object",
- "properties" : {
- "brand_logo" : {
- "type" : "string",
- "description" : "商家logo \t需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值",
- "example" : "adeDSktiQO-u5vJUqVbcQwAAACMAAQED"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "商户品牌名称。",
- "example" : "商家优惠"
- },
- "customer_service_mobile" : {
- "type" : "string",
- "description" : "客服电话",
- "example" : "81XXXXXXX"
- },
- "customer_service_url" : {
- "type" : "string",
- "description" : "客服链接",
- "example" : "alipay://xxxx"
- },
- "voucher_comment" : {
- "type" : "string",
- "description" : "券补充说明,该字段为可运营字段,可描述商品特色 会展示在用户支付宝卡包券详情页。",
- "example" : "食材新鲜,品质之选"
- },
- "voucher_description" : {
- "type" : "string",
- "description" : "券详细使用说明。",
- "example" : "1、本券不可兑换现金,不可找零。2、每个用户最多可以领取1张。3、如果订单发生退款,优惠券无法退还。"
- },
- "voucher_detail_images" : {
- "type" : "array",
- "description" : "券详细图列表,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE ,接口返回的resource_id即为该参数的值 上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"adeDSktiQO-u5vJUqVbcQwAAACMAAQE1\",\"adeDSktiQO-u5vJUqVbcQwAAACMAAQE2\",\"adeDSktiQO-u5vJUqVbcQwAAACMAAQE3\"]"
- },
- "voucher_image" : {
- "type" : "string",
- "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值。",
- "example" : "adeDSktiQO-u5vJUqVbcQwAAACMAAQED"
- }
- }
- },
- "VoucherDisplayPatternInfo" : {
- "type" : "object",
- "properties" : {
- "brand_logo" : {
- "type" : "string",
- "description" : "商家logo 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_BRAND_LOGO,返回的resource_id即为该参数的值。"
- },
- "brand_logo_url" : {
- "type" : "string",
- "description" : "商家品牌logo链接"
- },
- "brand_name" : {
- "type" : "string",
- "description" : "商户品牌名称。 如果不设置品牌名称,则默认使用支付宝商家系统中维护的商家别名。 如果没有维护商家别名,则使用默认名称: 商家优惠。 用户领取优惠券后,品牌名称会对用户进行展示。"
- },
- "customer_service_mobile" : {
- "type" : "string",
- "description" : "客服电话。"
- },
- "customer_service_url" : {
- "type" : "string",
- "description" : "客服链接。"
- },
- "voucher_description" : {
- "type" : "string",
- "description" : "券详细使用说明。"
- },
- "voucher_detail_image_urls" : {
- "type" : "array",
- "description" : "券详情链接",
- "items" : {
- "type" : "string"
- }
- },
- "voucher_detail_images" : {
- "type" : "array",
- "description" : "券详细图列表,会展示在用户支付宝卡包券详情页 需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_DETAIL_IMAGE ,接口返回的resource_id即为该参数的值 上传图片尺寸600*600,支持格式:png、jpg、jpeg、bmp,大小不超过2MB。",
- "items" : {
- "type" : "string"
- }
- },
- "voucher_image" : {
- "type" : "string",
- "description" : "券详情页封面图,会展示在用户支付宝卡包券详情页。\t需要通过 alipay.marketing.material.image.upload接口上传图片,指定file_key为PROMO_VOUCHER_IMAGE,接口返回的resource_id即为该参数的值。"
- },
- "voucher_image_url" : {
- "type" : "string",
- "description" : "券封面链接"
- },
- "voucher_name" : {
- "type" : "string",
- "description" : "券名称。"
- }
- }
- },
- "VoucherExchangeGoodsInfo" : {
- "type" : "object",
- "properties" : {
- "exchange_goods_name" : {
- "type" : "string",
- "description" : "兑换商品名称"
- }
- }
- },
- "VoucherExpressInfo" : {
- "type" : "object",
- "properties" : {
- "pay_express" : {
- "type" : "string",
- "description" : "邮费标识,属于券的服务,用于用户门槛信息展示"
- }
- }
- },
- "VoucherFailShopInfo" : {
- "type" : "object",
- "properties" : {
- "fail_message" : {
- "type" : "string",
- "description" : "请求失败提示信息。"
- },
- "fail_reasons" : {
- "type" : "array",
- "description" : "请求失败的原因。",
- "items" : {
- "type" : "string"
- }
- },
- "real_shop_id" : {
- "type" : "string",
- "description" : "请求失败的物理球房 id。"
- },
- "shop_id" : {
- "type" : "string",
- "description" : "请求失败的支付球房 ID。"
- }
- }
- },
- "VoucherFileInfo" : {
- "type" : "object",
- "properties" : {
- "file_download_url" : {
- "type" : "string",
- "description" : "发票文件下载"
- },
- "file_name" : {
- "type" : "string",
- "description" : "文件名"
- },
- "file_type" : {
- "type" : "string",
- "description" : "文件类型"
- }
- }
- },
- "VoucherGoodsQuantitySpecificationInfo" : {
- "type" : "object",
- "properties" : {
- "directional_type" : {
- "type" : "string",
- "description" : "定向类型用于规格设置,比如:FIX 表示 固定满X件,APPOINT 表示指定第N件"
- },
- "specification_quantity" : {
- "type" : "integer",
- "description" : "数量"
- },
- "specification_unit" : {
- "type" : "string",
- "description" : "单位"
- }
- }
- },
- "VoucherInventoryInfo" : {
- "type" : "object",
- "properties" : {
- "send_count" : {
- "type" : "integer",
- "description" : "已发放数量。"
- },
- "use_count" : {
- "type" : "integer",
- "description" : "已核销数量。"
- }
- }
- },
- "VoucherMiniAppSendGuideInfo" : {
- "type" : "object",
- "properties" : {
- "mini_app_url" : {
- "type" : "string",
- "description" : "小程序发券链接"
- }
- }
- },
- "VoucherMiniAppUseGuideInfo" : {
- "type" : "object",
- "properties" : {
- "mini_app_service_codes" : {
- "type" : "array",
- "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
- "items" : {
- "type" : "string"
- }
- },
- "mini_app_url" : {
- "type" : "string",
- "description" : "小程序核销链接"
- }
- }
- },
- "VoucherPackageActivityInfo" : {
- "type" : "object",
- "properties" : {
- "activity_base_info" : {
- "$ref" : "#/components/schemas/ActivityBaseInfo"
- },
- "voucher_available_scope_info" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeInfo"
- },
- "voucher_deduct_info" : {
- "$ref" : "#/components/schemas/VoucherDeductInfo"
- },
- "voucher_display_pattern_info" : {
- "$ref" : "#/components/schemas/VoucherDisplayPatternInfo"
- },
- "voucher_send_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSendModeInfo"
- },
- "voucher_use_rule_info" : {
- "$ref" : "#/components/schemas/VoucherUseRuleInfo"
- }
- }
- },
- "VoucherPackageBaseInfo" : {
- "type" : "object",
- "properties" : {
- "purchase_end_time" : {
- "type" : "string",
- "description" : "券包购买结束时间"
- },
- "purchase_start_time" : {
- "type" : "string",
- "description" : "券包购买开始时间"
- },
- "voucher_package_id" : {
- "type" : "string",
- "description" : "券包id"
- },
- "voucher_package_name" : {
- "type" : "string",
- "description" : "券包名称"
- },
- "voucher_package_status" : {
- "type" : "string",
- "description" : "券包状态。 CREATED:已创建, ENABLE: 已发布(包含进行中和已过期,已过期以voucher_package_purchase_end_time为准), PAUSED: 已暂停, DISABLE: 已停止;"
- },
- "voucher_total_amount" : {
- "type" : "string",
- "description" : "券包总价值(单位是元): 券包下券的优惠总额(满减券指优惠面额,折扣券指优惠上限,特价券指原价减去特价)"
- }
- }
- },
- "VoucherPackageConsultResult" : {
- "type" : "object",
- "properties" : {
- "consult_result_code" : {
- "type" : "string",
- "description" : "券包购买咨询结果code:\tSUCCESS:可以领取;\tPRODUCT_NOT_ENABLE:产品不可用;\tNOT_IN_SELL_TIME:不在销售时间内;\tPRODUCT_SOLD_OUT:产品售罄;\tUSER_PURCHASE_LIMIT:用户购买上限;\tOTHER:不可购买,未知原因",
- "example" : "SUCCESS"
- },
- "voucher_package_id" : {
- "type" : "string",
- "description" : "券包id",
- "example" : "IP20220628016671405804297103167741"
- }
- }
- },
- "VoucherPackageInfo" : {
- "type" : "object",
- "properties" : {
- "voucher_package_base_info" : {
- "$ref" : "#/components/schemas/VoucherPackageBaseInfo"
- },
- "voucher_package_sales_lite_info" : {
- "$ref" : "#/components/schemas/VoucherPackageSalesLiteInfo"
- }
- }
- },
- "VoucherPackageModeInfo" : {
- "type" : "object",
- "properties" : {
- "voucher_package_id" : {
- "type" : "string",
- "description" : "券包id,对应alipay.marketing.activity.voucherpackage.query中voucher_package_id。"
- }
- }
- },
- "VoucherPackageSalesInfo" : {
- "type" : "object",
- "properties" : {
- "budget" : {
- "type" : "integer",
- "description" : "券包售卖预算,单位是份数",
- "example" : "1000"
- },
- "pay_channel" : {
- "type" : "string",
- "description" : "券包购买支付渠道\tpcredit:花呗\tcreditCard:信用卡\tcredit_group:花呗与信用卡\t为空则不限渠道",
- "example" : "pcredit"
- },
- "purchase_url" : {
- "type" : "string",
- "description" : "券包购买链接",
- "example" : "http://123.htm"
- },
- "sale_count_limit_in_period" : {
- "type" : "integer",
- "description" : "券包售卖期限内最大购买次数",
- "example" : "5"
- },
- "sale_period_limit" : {
- "type" : "string",
- "description" : "券包购买期限类型\tNO:不限制 \tALL:售卖时间内 \tDAY:天 \tWEEK:周 \tMONTH:月",
- "example" : "NO"
- },
- "sale_price" : {
- "type" : "string",
- "description" : "券包售卖价格,单位是元",
- "example" : "1.99"
- }
- }
- },
- "VoucherPackageSalesLiteInfo" : {
- "type" : "object",
- "properties" : {
- "budget" : {
- "type" : "integer",
- "description" : "券包预算,单位是份数",
- "example" : "100"
- },
- "sale_price" : {
- "type" : "string",
- "description" : "券包售卖价格,单位是元",
- "example" : "3.99"
- }
- }
- },
- "VoucherPackageUseRule" : {
- "type" : "object",
- "properties" : {
- "use_rule_desc" : {
- "type" : "string",
- "description" : "券包使用规则",
- "example" : "当前券包的券必须在线下扫码点餐场景使用"
- }
- }
- },
- "VoucherRechargeInfo" : {
- "type" : "object",
- "properties" : {
- "recharge_type" : {
- "type" : "string",
- "description" : "预充值方式。 \t枚举值:\tALIPAY_BALANCE 支付宝余额预充值"
- },
- "voucher_balance_recharge_info" : {
- "$ref" : "#/components/schemas/VoucherBalanceRechargeInfo"
- }
- }
- },
- "VoucherRefundDetailInfo" : {
- "type" : "object",
- "properties" : {
- "voucher_refund_use_times" : {
- "type" : "integer",
- "description" : "本次取消核销次数",
- "example" : "1"
- }
- }
- },
- "VoucherRelativePeriodInfo" : {
- "type" : "object",
- "properties" : {
- "time_restrict_info" : {
- "$ref" : "#/components/schemas/TimeRestrictInfo"
- },
- "valid_days_after_receive" : {
- "type" : "integer",
- "description" : "券生效后 N 天内可以使用。 可以配合wait_days_after_receive 字段使用。"
- },
- "wait_days_after_receive" : {
- "type" : "integer",
- "description" : "用户领券后需要等待 N 天,券才可以生效。 \t字段值为 0 表示用户领券后立刻生效。"
- }
- }
- },
- "VoucherSaleModeInfo" : {
- "type" : "object",
- "properties" : {
- "fund_custody_mode" : {
- "type" : "string",
- "description" : "资金托管方式"
- },
- "overdue_refundable" : {
- "type" : "boolean",
- "description" : "是否支持优惠券过期后,自动退款给用户。 不填默认否,枚举值: true:是 false:否。自动退款功能需要服务商在优惠券过期时,主动调用alipay.marketing.activity.order.refund接口进行退款。 如果配置优惠券时选择了过期自动退款,但是实际券过期后,服务商没有进行退款,那么用户投诉后,需要服务商进行解决。"
- },
- "overdue_refundable_need_confirm" : {
- "type" : "boolean",
- "description" : "在支持过期自动退款后,支付宝发起自动退款前 是否需要向商户确认退款。 不填默认否,枚举值: true:是 false:否。\t\t如果选择了 true:是 ,则需要商户配合接入 过期自动退款前是否需要向商户确认SPI(spi.alipay.marketing.activity.order.refundconfirm) 以及 退款确认结果API(alipay.marketing.activity.order.refundconfirmcommit)"
- },
- "payee_pid" : {
- "type" : "string",
- "description" : "收款账号。 目前的结算规则是,每核销一笔优惠券,支付宝会打款到该收款账户。"
- },
- "refundable" : {
- "type" : "boolean",
- "description" : "购买的优惠券是否允许退款。 不填默认否,枚举值: true:是 false:否"
- },
- "refundable_need_confirm" : {
- "type" : "boolean",
- "description" : "在支持随时退后,支付宝发起退款前用于判断是否需要向商户确认退款。 不填默认否,枚举值: true:是 false:否。 如果选择了 true:是 ,则需要商户配合接入退款前是否需要向商户确认SPI(spi.alipay.marketing.activity.order.refundconfirm)"
- },
- "sale_amount" : {
- "type" : "string",
- "description" : "用户购买优惠券需要支付的金额"
- },
- "settle_info" : {
- "$ref" : "#/components/schemas/BizfundSettleInfo"
- }
- }
- },
- "VoucherSendGuide" : {
- "type" : "object",
- "properties" : {
- "voucher_detail_url" : {
- "type" : "string",
- "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。"
- }
- }
- },
- "VoucherSendGuideInfo" : {
- "type" : "object",
- "properties" : {
- "mini_app_send_guide_info" : {
- "$ref" : "#/components/schemas/VoucherMiniAppSendGuideInfo"
- },
- "send_guide_mode" : {
- "type" : "array",
- "description" : "发放引导模式",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherSendGuideModify" : {
- "type" : "object",
- "properties" : {
- "voucher_detail_url" : {
- "type" : "string",
- "description" : "领(购)券详情页链接,从支付宝公域跳转到服务商(商户)自定义领(购)券详情页。说明:当 voucher_type=EXCHANGE_VOUCHER 时,该字段可修改,其他不允许修改。",
- "example" : "alipays://platformapi/startapp?appId=xxxx"
- }
- }
- },
- "VoucherSendModeInfo" : {
- "type" : "object",
- "properties" : {
- "voucher_package_mode_info" : {
- "$ref" : "#/components/schemas/VoucherPackageModeInfo"
- },
- "voucher_sale_mode_info" : {
- "$ref" : "#/components/schemas/VoucherSaleModeInfo"
- },
- "voucher_send_mode" : {
- "type" : "string",
- "description" : "券发放模式。"
- },
- "voucher_send_rule_info" : {
- "$ref" : "#/components/schemas/VoucherSendRuleInfo"
- }
- }
- },
- "VoucherSendRuleDetail" : {
- "type" : "object",
- "properties" : {
- "natural_person_limit" : {
- "type" : "boolean",
- "description" : "是否开启自然人领取限制。自然人表示按照身份证纬度进行领取限制。"
- },
- "phone_number_limit" : {
- "type" : "boolean",
- "description" : "是否开启电话号码领取限制。"
- },
- "voucher_quantity" : {
- "type" : "integer",
- "description" : "发行券的数量。"
- },
- "voucher_quantity_limit_per_user" : {
- "type" : "integer",
- "description" : "每人领取限制。默认按照支付宝uid进行领取限制;\t不填写或填入0,默认没有领取限制。"
- }
- }
- },
- "VoucherSendRuleDetailModify" : {
- "type" : "object",
- "properties" : {
- "natural_person_limit" : {
- "type" : "boolean",
- "description" : "是否开启自然人领取限制。 自然人表示按照身份证纬度进行领取限制。",
- "example" : "true"
- },
- "phone_number_limit" : {
- "type" : "string",
- "description" : "是否开启电话号码领取限制。",
- "example" : "true"
- },
- "voucher_quantity_limit_per_user" : {
- "type" : "integer",
- "description" : "每人领取限制。 默认按照支付宝uid进行领取限制;",
- "example" : "1"
- }
- }
- },
- "VoucherSendRuleInfo" : {
- "type" : "object",
- "properties" : {
- "max_quantity_by_day" : {
- "type" : "integer",
- "description" : "设置此字段,允许指定单天最大发券数量。"
- },
- "natural_person_limit" : {
- "type" : "boolean",
- "description" : "是否开启自然人领取限制。 自然人表示按照身份证纬度进行领取限制。"
- },
- "phone_number_limit" : {
- "type" : "boolean",
- "description" : "是否开启电话号码领取限制。"
- },
- "phone_number_need_input_limit" : {
- "type" : "boolean",
- "description" : "下单时是否需要用户填写手机号码"
- },
- "publish_end_time" : {
- "type" : "string",
- "description" : "券发放结束时间。 格式为:yyyy-MM-dd HH:mm:ss"
- },
- "publish_start_time" : {
- "type" : "string",
- "description" : "券发放开始时间。 格式为:yyyy-MM-dd HH:mm:ss"
- },
- "quantity" : {
- "type" : "integer",
- "description" : "发行券的数量。"
- },
- "quantity_limit_per_user" : {
- "type" : "integer",
- "description" : "每人领取限制。 默认按照支付宝账号进行领取限制; 不填写或填入0表示没有领取限制."
- },
- "quantity_limit_per_user_period_type" : {
- "type" : "string",
- "description" : "周期限领配置,限制每人在固定周期内领取张数(voucher_quantity_limit_per_user),默认LIFE_CYCLE"
- },
- "real_name_limit" : {
- "type" : "boolean",
- "description" : "限制支付宝实名用户才能领取支付券,默认为false表示不限制 枚举值 true\\false"
- }
- }
- },
- "VoucherSummary" : {
- "type" : "object",
- "properties" : {
- "publish_count" : {
- "type" : "integer",
- "description" : "券已发放数量。"
- },
- "used_count" : {
- "type" : "integer",
- "description" : "券已核销数量。"
- }
- }
- },
- "VoucherUseDetailInfo" : {
- "type" : "object",
- "properties" : {
- "voucher_use_times" : {
- "type" : "integer",
- "description" : "本次核销次数",
- "example" : "1"
- }
- }
- },
- "VoucherUseDetailResultInfo" : {
- "type" : "object",
- "properties" : {
- "voucher_max_un_use_times" : {
- "type" : "integer",
- "description" : "剩余可核销次数"
- }
- }
- },
- "VoucherUseGuide" : {
- "type" : "object",
- "properties" : {
- "mini_app_id" : {
- "type" : "string",
- "description" : "券可用的小程序appId,卡包详情页可跳转到该appId"
- },
- "mini_app_path" : {
- "type" : "string",
- "description" : "指定跳转到mini_app_id时的具体页面路径。"
- },
- "mini_app_use_guide" : {
- "type" : "boolean",
- "description" : "小程序核销。"
- },
- "offline_code_use_guide" : {
- "type" : "boolean",
- "description" : "线下扫码核销。"
- },
- "service_codes" : {
- "type" : "array",
- "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherUseGuideInfo" : {
- "type" : "object",
- "properties" : {
- "mini_app_use_guide_info" : {
- "$ref" : "#/components/schemas/VoucherMiniAppUseGuideInfo"
- },
- "use_guide_mode" : {
- "type" : "array",
- "description" : "使用引导模式",
- "items" : {
- "type" : "string"
- }
- }
- }
- },
- "VoucherUseGuideModify" : {
- "type" : "object",
- "properties" : {
- "mini_app_id" : {
- "type" : "string",
- "description" : "券可用的小程序 appId,卡包详情页可跳转到该 appId。",
- "example" : "2021238412323412"
- },
- "mini_app_path" : {
- "type" : "string",
- "description" : "指定跳转到 mini_app_id 时的具体页面路径。",
- "example" : "/index/path/path&query=xx%3dxx"
- },
- "service_codes" : {
- "type" : "array",
- "description" : "小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"2020030921000303380758\"]"
- }
- }
- },
- "VoucherUseRule" : {
- "type" : "object",
- "properties" : {
- "discount_voucher" : {
- "$ref" : "#/components/schemas/DiscountVoucher"
- },
- "exchange_voucher" : {
- "$ref" : "#/components/schemas/ExchangeVoucher"
- },
- "fix_voucher" : {
- "$ref" : "#/components/schemas/FixVoucher"
- },
- "special_voucher" : {
- "$ref" : "#/components/schemas/SpecialVoucher"
- },
- "voucher_available_scope" : {
- "$ref" : "#/components/schemas/VoucherAvailableScope"
- },
- "voucher_valid_period" : {
- "$ref" : "#/components/schemas/VoucherValidPeriod"
- }
- }
- },
- "VoucherUseRuleInfo" : {
- "type" : "object",
- "properties" : {
- "quantity_limit_per_user" : {
- "type" : "integer",
- "description" : "核销次数限制。"
- },
- "quantity_limit_per_user_period_type" : {
- "type" : "string",
- "description" : "核销周期。"
- },
- "voucher_max_use_times" : {
- "type" : "integer",
- "description" : "券最大核销次数。"
- },
- "voucher_use_ext_info" : {
- "type" : "string",
- "description" : "自定义扩展信息"
- },
- "voucher_use_time_info" : {
- "$ref" : "#/components/schemas/VoucherUseTimeInfo"
- }
- }
- },
- "VoucherUseRuleModify" : {
- "type" : "object",
- "properties" : {
- "exchange_voucher" : {
- "$ref" : "#/components/schemas/ExchangeVoucherModify"
- },
- "voucher_available_scope" : {
- "$ref" : "#/components/schemas/VoucherAvailableScopeModify"
- },
- "voucher_valid_period" : {
- "$ref" : "#/components/schemas/VoucherValidPeriodModify"
- }
- }
- },
- "VoucherUseTimeInfo" : {
- "type" : "object",
- "properties" : {
- "absolute_period_info" : {
- "$ref" : "#/components/schemas/VoucherAbsolutePeriodInfo"
- },
- "period_type" : {
- "type" : "string",
- "description" : "券有效期。"
- },
- "relative_period_info" : {
- "$ref" : "#/components/schemas/VoucherRelativePeriodInfo"
- }
- }
- },
- "VoucherUseTimeRuleInfo" : {
- "type" : "object",
- "properties" : {
- "date_rule_info" : {
- "$ref" : "#/components/schemas/DateRuleInfo"
- },
- "holiday_rule_info" : {
- "$ref" : "#/components/schemas/HolidayRuleInfo"
- },
- "rule_type" : {
- "type" : "string",
- "description" : "规则类型"
- },
- "week_rule_info" : {
- "$ref" : "#/components/schemas/WeekRuleInfo"
- }
- }
- },
- "VoucherValidPeriod" : {
- "type" : "object",
- "properties" : {
- "type" : {
- "type" : "string",
- "description" : "券有效期。"
- },
- "valid_begin_time" : {
- "type" : "string",
- "description" : "券可使用的开始时间。格式为:yyyy-MM-dd HH:mm:ss"
- },
- "valid_days_after_receive" : {
- "type" : "integer",
- "description" : "券生效后N天内可以使用。可以配合wait_days_after_receive字段使用。"
- },
- "valid_end_time" : {
- "type" : "string",
- "description" : "券可使用的结束时间。格式为yyyy-MM-dd HH:mm:ss"
- },
- "wait_days_after_receive" : {
- "type" : "integer",
- "description" : "用户领券后需要等待N天,券才可以生效。如果该字段填入0或者不填写,则用户领券后立刻生效。"
- }
- }
- },
- "VoucherValidPeriodModify" : {
- "type" : "object",
- "properties" : {
- "valid_begin_time" : {
- "type" : "string",
- "description" : "券可使用的开始时间。格式为:yyyy-MM-dd HH:mm:ss。",
- "example" : "2017-01-10 00:00:00"
- },
- "valid_days_after_receive" : {
- "type" : "integer",
- "description" : "券生效后 N 天内可以使用。",
- "example" : "3"
- },
- "valid_end_time" : {
- "type" : "string",
- "description" : "券可使用的结束时间。格式为yyyy-MM-dd HH:mm:ss。",
- "example" : "2017-01-13 23:59:59"
- },
- "wait_days_after_receive" : {
- "type" : "integer",
- "description" : "用户领券后需要等待 N 天,券才可以生效。",
- "example" : "2"
- }
- }
- },
- "WaitRepaymentOrderInfo" : {
- "type" : "object",
- "properties" : {
- "advance_order_id" : {
- "type" : "string",
- "description" : "垫资单id",
- "example" : "20190128002630010000170001187808"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "买家的支付宝用户id",
- "example" : "2088302483540171"
- },
- "biz_product" : {
- "type" : "string",
- "description" : "通常为商户签约的收单产品码",
- "example" : "GENERAL_WITHHOLDING"
- },
- "open_id" : {
- "type" : "string",
- "description" : "买家的支付宝用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "orig_biz_order_id" : {
- "type" : "string",
- "description" : "原始的业务单号,通常为支付宝交易号",
- "example" : "2018060821001001820554093702"
- },
- "wait_repayment_amount" : {
- "type" : "integer",
- "description" : "垫资金额",
- "example" : "2.04"
- }
- }
- },
- "WaybillInvoice" : {
- "type" : "object",
- "properties" : {
- "waybill_amount" : {
- "type" : "string",
- "description" : "即时配送运单金额",
- "example" : "100"
- },
- "waybill_no" : {
- "type" : "string",
- "description" : "即时配送运单编号",
- "example" : "waybill_no_00001"
- }
- }
- },
- "WaybillInvoiceIstd" : {
- "type" : "object",
- "properties" : {
- "reason" : {
- "type" : "string",
- "description" : "失败原因,需要传单个配送单的驳回原因",
- "example" : "开票失败原因"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "商家球房编号",
- "example" : "shop_no_00001"
- },
- "waybill_amount" : {
- "type" : "string",
- "description" : "即时配送运单金额,waybill_invoce_status为1的情况下不能为空",
- "example" : "100"
- },
- "waybill_invoice_status" : {
- "type" : "integer",
- "description" : "明细的运单开票状态,1:开票成功 2:不可开票 3:可开票;整体开票状态为0的情况下,无开票明细;整体开票状态为1,明细开票状态全部是1;整体开票状态为2,明细开票状态为2或者3",
- "example" : "0"
- },
- "waybill_no" : {
- "type" : "string",
- "description" : "即时配送运单编号",
- "example" : "waybillNo_20200811"
- }
- }
- },
- "WaybillInvoiceQueryIstd" : {
- "type" : "object",
- "properties" : {
- "reason" : {
- "type" : "string",
- "description" : "失败原因,需要传单个即时配送运单的驳回原因",
- "example" : "开票金额错误"
- },
- "shop_no" : {
- "type" : "string",
- "description" : "商家球房编号",
- "example" : "shop_no_20200818"
- },
- "waybill_amount" : {
- "type" : "string",
- "description" : "即时配送运单金额,waybill_invoce_status为1的情况下不能为空",
- "example" : "200"
- },
- "waybill_invoice_status" : {
- "type" : "integer",
- "description" : "明细的运单开票状态,1:开票成功 2:不可开票 3:可开票;整体开票状态为0的情况下,无开票明细;整体开票状态为1,明细开票状态全部是1;整体开票状态为2,明细开票状态全部为2",
- "example" : "0"
- },
- "waybill_no" : {
- "type" : "string",
- "description" : "即时配送运单编号",
- "example" : "waybill_no_20200811"
- }
- }
- },
- "WeekRuleInfo" : {
- "type" : "object",
- "properties" : {
- "time_range_info" : {
- "$ref" : "#/components/schemas/TimeRangeInfo"
- },
- "week_day" : {
- "type" : "string",
- "description" : "星期数,以“,”连接多个星期数"
- }
- }
- },
- "WidgetActivityInfo" : {
- "type" : "object",
- "properties" : {
- "activity_click_url" : {
- "type" : "string",
- "description" : "活动点击跳转到小程序的链接地址",
- "example" : "alipays://platformapi/startapp?appId= 2017072607907880&page=pages/index/index?param=xxxx"
- },
- "activity_id" : {
- "type" : "string",
- "description" : "活动的唯一标识,同一个小程序橱窗下,该标识唯一,请开发者自行保证",
- "example" : "8948968498"
- },
- "activity_name" : {
- "type" : "string",
- "description" : "活动名称",
- "example" : "这是一个活动名称"
- },
- "activity_picture_urls" : {
- "type" : "array",
- "description" : "活动图片链接,最多不能超过5个",
- "items" : {
- "type" : "string"
- },
- "example" : "[\"https://xxx.xxx.com/xxx.jpg\"]"
- }
- }
- },
- "WidgetGoodsInfo" : {
- "type" : "object",
- "properties" : {
- "buying_url" : {
- "type" : "string",
- "description" : "该商品的小程序购买链接,如果需要进行公域推广,请字段请必填"
- },
- "goods_brand" : {
- "type" : "string",
- "description" : "商品品牌,如果需要进行公域推广,该字段请必填"
- },
- "goods_comment" : {
- "type" : "string",
- "description" : "商品辅助说明文案"
- },
- "goods_description_label" : {
- "type" : "string",
- "description" : "商品说明标签(如-随心退)"
- },
- "goods_id" : {
- "type" : "string",
- "description" : "商品的唯一标识,同一个小部件下,该标识唯一,请开发者自行保证"
- },
- "goods_label" : {
- "type" : "string",
- "description" : "营销标签(如-限量特价),每个商品仅支持一个营销标签"
- },
- "goods_name" : {
- "type" : "string",
- "description" : "商品名称"
- },
- "goods_type" : {
- "type" : "string",
- "description" : "商品所属品类"
- },
- "main_pic_url" : {
- "type" : "string",
- "description" : "商品主图片地址,如果需要进行公域推广,该字段请必填。"
- },
- "need_public_promo" : {
- "type" : "boolean",
- "description" : "是否需要进行公域推广,默认情况下为false"
- },
- "order_number" : {
- "type" : "integer",
- "description" : "商品排序,自然整数, 数字越小越靠前"
- },
- "original_price" : {
- "type" : "string",
- "description" : "单位\"元\"的商品原价,传入数字,不需要传入\"元\"。如果需要进行公域推广,该字段请必填。"
- },
- "publish_cities" : {
- "type" : "string",
- "description" : "投放城市的列表,详见https://www.mca.gov.cn/article/sj/xzqh/2020/2020/202007170301.html,有多个用英文,分隔。如果没有限制则不传入"
- },
- "remaining_quantity" : {
- "type" : "integer",
- "description" : "剩余库存,如果需要进行公域推广,该字段请必填,并且当剩余库存为0时,请及时同步。"
- },
- "sell_price" : {
- "type" : "string",
- "description" : "单位\"元\"的售价,传入数字,不需要传入\"元\"。如果需要进行公域推广,该字段请必填。"
- },
- "sell_tag_list" : {
- "type" : "array",
- "description" : "商品的卖点标签,如果需要进行公域推广,请至少填写两个卖点标签。",
- "items" : {
- "type" : "string"
- }
- },
- "sold_quantity" : {
- "type" : "integer",
- "description" : "已售数量"
- },
- "status" : {
- "type" : "string",
- "description" : "商品状态,商品的上下架,默认情况为上架,上架为ONLINE,下架为OFFLINE"
- },
- "total_quantity" : {
- "type" : "integer",
- "description" : "总库存量"
- }
- }
- },
- "ZMGOBasicConfig" : {
- "type" : "object",
- "properties" : {
- "biz_type" : {
- "type" : "string",
- "description" : "商户在芝麻GO配置的业务身份编码"
- },
- "contact" : {
- "type" : "string",
- "description" : "商家客服电话"
- },
- "isv_pid" : {
- "type" : "string",
- "description" : "运营商商户支付宝ID。若非ISV代理模式,也就是商户自运营模式,此属性取值与partner_id一致。"
- },
- "merchant_custom_logo" : {
- "type" : "string",
- "description" : "商户LOGO"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务单号,供幂等使用,需保证每次请求的值都不同"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户的支付宝ID,即为此商户创建芝麻GO模板"
- },
- "template_name" : {
- "type" : "string",
- "description" : "芝麻GO模板名称"
- },
- "template_no" : {
- "type" : "string",
- "description" : "模板编号"
- }
- }
- },
- "ZMGOCycleFlexConfig" : {
- "type" : "object",
- "properties" : {
- "cycle_flex_withhold_fee_name" : {
- "type" : "string",
- "description" : "周期灵活扣的费用名称"
- },
- "cycle_flex_withhold_max_price" : {
- "type" : "string",
- "description" : "周期灵活扣单期扣款的最大额度"
- },
- "cycle_flex_withhold_total_period_count" : {
- "type" : "integer",
- "description" : "周期灵活扣的总期数"
- }
- }
- },
- "ZMGOCycleWithholdConfig" : {
- "type" : "object",
- "properties" : {
- "deduct_plan" : {
- "type" : "array",
- "description" : "扣款计划",
- "items" : {
- "type" : "string"
- }
- },
- "exemption_period" : {
- "type" : "string",
- "description" : "豁免期天数"
- },
- "period" : {
- "type" : "string",
- "description" : "周期"
- },
- "period_type" : {
- "type" : "string",
- "description" : "扣款周期类型,支持DAY-天模式,MONTH-月模式"
- },
- "support_cycle_withhold_high_mode" : {
- "type" : "boolean",
- "description" : "是否支持周期扣高级模式,高级模式下扣款计划中内一起的扣款金额可以进行定制"
- },
- "support_exemption_period" : {
- "type" : "boolean",
- "description" : "是否支持豁免期,如果支持豁免期,用户开通后再豁免期内退出无需扣款"
- },
- "withhold_mode" : {
- "type" : "string",
- "description" : "设置扣款模式,目前支持每月固定日期或固定时间间隔"
- }
- }
- },
- "ZMGOExtConfig" : {
- "type" : "object",
- "properties" : {
- "text_content_fill_rule_id" : {
- "type" : "string",
- "description" : "文本内容填充规则ID"
- },
- "text_content_fill_variable" : {
- "type" : "string",
- "description" : "文本内容填充变量,变量key由运营同学提供"
- }
- }
- },
- "ZMGOObligationConfig" : {
- "type" : "object",
- "properties" : {
- "benefit_url" : {
- "type" : "string",
- "description" : "芝麻GO管理页做任务按钮对应链接"
- },
- "obligation_amount" : {
- "type" : "string",
- "description" : "完成任务所需的最少额度,当obligation_template取值为:OBTL002时必传"
- },
- "obligation_template" : {
- "type" : "string",
- "description" : "承诺模式下,义务的类型,包含次数类型和金额类型:\t OBTL001(\"OBTL001\", \"在x时间内完成n次\"),\t OBTL002(\"OBTL002\", \"在x时间内达到n元金额\")"
- },
- "obligation_times" : {
- "type" : "string",
- "description" : "完成任务所需的最少次数,当obligation_template取值为:OBTL001时必填"
- },
- "promise_type_desc" : {
- "type" : "string",
- "description" : "任务描述"
- },
- "task_progress_redirect_schema" : {
- "type" : "string",
- "description" : "芝麻GO管理页任务进度重定向链接"
- }
- }
- },
- "ZMGOOpenConfig" : {
- "type" : "object",
- "properties" : {
- "apply_button_desc" : {
- "type" : "string",
- "description" : "开通页按钮文案描述;传入内容后开通页点击开通按钮展示文案会使用该字段传入内容"
- },
- "appoint_date" : {
- "type" : "string",
- "description" : "固定到期时间或每月的第几日。 (1)当period_mode为APPOINT_DATE时,取值固定日期,如\"2022-06-01 00:00:00\",表示协议在6月1号0点到期; (2)当period_mode为FIX_DATE,取值\"3\",表示协议在period_time个月后的3号到期。"
- },
- "card_color_scheme" : {
- "type" : "string",
- "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\", \"紫色\");"
- },
- "custom_open_tip_list" : {
- "type" : "string",
- "description" : "未完成任务规则详情"
- },
- "custom_open_tips" : {
- "type" : "string",
- "description" : "规则详情"
- },
- "freeze_amount" : {
- "type" : "string",
- "description" : "担保金额额度"
- },
- "min_sign_interval" : {
- "type" : "string",
- "description" : "用户签约间隔时间"
- },
- "period_mode" : {
- "type" : "string",
- "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\", \"指定日期\"),"
- },
- "period_time" : {
- "type" : "string",
- "description" : "周期时长\t当period_mode为RELATIVE_DATE、ABSOLATE_DATE、ABSOLUTE_PLUS_1_DATE、FIX_DATE时必填"
- },
- "show_sign_success_page" : {
- "type" : "boolean",
- "description" : "是否展示签约完成页"
- },
- "sign_again_schema" : {
- "type" : "string",
- "description" : "用户签约商户活动到期"
- },
- "sign_success_task_button_desc" : {
- "type" : "string",
- "description" : "签约完成页任务按钮描述,当展示签约完成页=true的时候 改内容必填"
- },
- "support_expire_deferral" : {
- "type" : "boolean",
- "description" : "是否支持延期特权"
- }
- }
- },
- "ZMGOQuitConfig" : {
- "type" : "object",
- "properties" : {
- "quit_desc" : {
- "type" : "string",
- "description" : "退出提示"
- },
- "quit_jump_url" : {
- "type" : "string",
- "description" : "退出跳转商家页地址,当quit_type取值为:QUIT_MERCHANT_JUMP,必传"
- },
- "quit_type" : {
- "type" : "string",
- "description" : "退出芝麻GO方式,取值:\t (1)QUIT_COMMON(\"QUIT_COMMON\", \"标准退出\"),\t(2)QUIT_MERCHANT_JUMP(\"QUIT_MERCHANT_JUMP\", \"商家页退出\"),\t(3)QUIT_ONLY_TIPS(\"QUIT_ONLY_TIPS\", \"仅退出提示\")"
- }
- }
- },
- "ZMGORightConfig" : {
- "type" : "object",
- "properties" : {
- "cumulative_preferential_redirect_schema" : {
- "type" : "string",
- "description" : "芝麻GO管理页已享优惠进度的重定向链接"
- },
- "custom_benefit_desc" : {
- "type" : "string",
- "description" : "权益描述"
- },
- "custom_sub_benefit_desc" : {
- "type" : "string",
- "description" : "权益描述子标题"
- }
- }
- },
- "ZMGOSettlementConfig" : {
- "type" : "object",
- "properties" : {
- "custom_fee_name" : {
- "type" : "string",
- "description" : "会员费扣费名称"
- },
- "cycle_flex_withhold_config" : {
- "$ref" : "#/components/schemas/ZMGOCycleFlexConfig"
- },
- "cycle_withhold_config" : {
- "$ref" : "#/components/schemas/ZMGOCycleWithholdConfig"
- },
- "exp_stop_delay_days" : {
- "type" : "integer",
- "description" : "预计结算延迟天数,当exp_stop_time_mode取值RELATIVE_DATE、ABSOLATE_DATE、ABSOLUTE_PLUS_1_DATE时,必传"
- },
- "exp_stop_time" : {
- "type" : "string",
- "description" : "预期结算时间,当exp_stop_time_mode取值APPOINT_DATE时,必传"
- },
- "exp_stop_time_mode" : {
- "type" : "string",
- "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\", \"指定日期\")"
- },
- "fulfilltimes_custom_settlement_plan" : {
- "type" : "string",
- "description" : "按履约次数灵活扣款计划。当settlement_type取值为fulfillTimesCustomSettlement时,此属性必传"
- },
- "settlement_type" : {
- "type" : "string",
- "description" : "结算类型,取值:\t BENEFIT_SETTLEMENT(\"benefitSettlement\", \"按权益金额结算\"),\t FULFILL_TIMES_CUSTOM_SETTLEMENT(\"fulfillTimesCustomSettlement\",\"按履约次数扣款\")"
- }
- }
- },
- "ZMGoOutDiscountInfo" : {
- "type" : "object",
- "properties" : {
- "discount_amount" : {
- "type" : "string",
- "description" : "商户回传的优惠金额,如用户享受的红包金额,单位元",
- "example" : "8.75"
- },
- "discount_name" : {
- "type" : "string",
- "description" : "商户数据回传的优惠信息的名称",
- "example" : "滴滴打车优惠001"
- },
- "discount_type" : {
- "type" : "string",
- "description" : "优惠信息的类型。为枚举值,商户可任意选择一个值作为入参传入。可取值:\t(\"exclusiveBenefit\",\"专享优惠\"),\t(\"exclusiveDiscount\",\"专享折扣\"),\t(\"appreciationBenefit\", \"增值权益\"),\t(\"memberPoint\", \"会员积分\")",
- "example" : "exclusiveBenefit"
- }
- }
- },
- "ZMGoTradeInfo" : {
- "type" : "object",
- "properties" : {
- "amount" : {
- "type" : "string",
- "description" : "用户和商户发生交易的交易单金额,单位元",
- "example" : "3.57"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "用户和商户发生交易的交易单号,仅在商户需要回传交易信息时传入。",
- "example" : "2020081722001435461000061785"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditagreementQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "EXTRA_PARAM_FORMAT_ERROR", "INVALID_PARAMETER", "CREDIT_AUTH_NOT_EXIST", "ILLEGAL_QUERY", "CREDIT_AGREEMENT_NOT_EXIST", "DEPEND_FAILURE" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditagreementQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_status" : {
- "type" : "string",
- "description" : "开通/授权状态,VALID: 有效,INVALID: 无效",
- "example" : "VALID"
- },
- "biz_time" : {
- "type" : "string",
- "description" : "开通时间,agreement_status为VALID有效。",
- "example" : "2020-09-15 11:23:04"
- },
- "credit_agreement_id" : {
- "type" : "string",
- "description" : "芝麻开通/授权协议号",
- "example" : "ZMOP99202011240100520025162811"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "该字段只在特殊业务场景下,根据业务方约定返回;一般业务场景下不需要消费该字段",
- "example" : "{\"key\":\"value\"}"
- },
- "out_agreement_no" : {
- "type" : "string",
- "description" : "商户外部协议号",
- "example" : "2014070700166653"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditagreementTransferErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditagreementTransferModel" : {
- "type" : "object",
- "properties" : {
- "category_id" : {
- "type" : "string",
- "description" : "芝麻外部类目",
- "example" : "credit_pay_test"
- },
- "deduct_agreement_no" : {
- "type" : "string",
- "description" : "用户的代扣协议号",
- "example" : "20215401139331610689"
- },
- "out_agreement_no" : {
- "type" : "string",
- "description" : "商户外部协议号,不同的支付宝用户需要传递不同的外部单号",
- "example" : "2014070700166653"
- },
- "zm_service_id" : {
- "type" : "string",
- "description" : "芝麻信用服务ID",
- "example" : "2020050722001440031000061082"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditagreementTransferResponseModel" : {
- "type" : "object",
- "properties" : {
- "credit_agreement_id" : {
- "type" : "string",
- "description" : "芝麻开通协议号",
- "example" : "ZMOP99202011240100520025162811"
- },
- "out_agreement_no" : {
- "type" : "string",
- "description" : "商户外部协议号",
- "example" : "2014070700166653"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditbizorderFinishErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "ORDER_NOT_EXIST", "INVALID_PARAMETER", "ORDER_STATUS_INVALID", "MERCHANT_NO_PERMISSION_OPERATE_ORDER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditbizorderFinishModel" : {
- "type" : "object",
- "properties" : {
- "credit_biz_order_id" : {
- "type" : "string",
- "description" : "信用服务订单号",
- "example" : "ZMCB20201021200102012"
- },
- "is_fulfilled" : {
- "type" : "string",
- "description" : "用户此订单是否守约。\t传true时,用户在芝麻信用-守约记录中,该笔订单是已守约状态;\t传false时,用户在芝麻信用-守约记录中,该笔订单是已取消状态。",
- "example" : "true"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户外部请求号",
- "example" : "2014070700166653"
- },
- "remark" : {
- "type" : "string",
- "description" : "商户对本次操作的附言描述",
- "example" : "完结订单"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditbizorderFinishResponseModel" : {
- "type" : "object",
- "properties" : {
- "credit_biz_order_id" : {
- "type" : "string",
- "description" : "信用服务订单号",
- "example" : "ZMCB20201021200102012"
- },
- "order_status" : {
- "type" : "string",
- "description" : "信用服务订单状态.INIT: 下单状态; TRADE_CLOSED: 订单取消或者交易全额退款; TRADE_FINISHED:扣款成功状态",
- "example" : "INIT"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户外部请求号",
- "example" : "4977164666634053"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditbizorderOrderErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditbizorderOrderModel" : {
- "type" : "object",
- "properties" : {
- "amount_type" : {
- "type" : "string",
- "description" : "只有当传递了order_amount时,该参数才有意义; 1)该参数不传时,默认为ORDER_AMOUNT。 2)传ORDER_AMOUNT时,表示order_amount传入的金额为后付金额,在发起扣款时,最大扣款支付金额为order_amount传入的值; 3)传RISK_AMOUNT时,表示ORDER_AMOUNT传入的金额为风险预估金额,在发起扣款时,最大扣款支付金额为商户签约时约定的上限额度。",
- "example" : "RISK_AMOUNT"
- },
- "body" : {
- "type" : "string",
- "description" : "订单描述",
- "example" : "Iphone6 16G"
- },
- "category_id" : {
- "type" : "string",
- "description" : "芝麻外部类目",
- "example" : "credit_pay_after_use"
- },
- "credit_agreement_id" : {
- "type" : "string",
- "description" : "芝麻开通协议号",
- "example" : "ZMOP99202011240100520025162811"
- },
- "extend_params" : {
- "type" : "string",
- "description" : "业务扩展参数",
- "example" : "{\"key\":\"value\"}"
- },
- "order_amount" : {
- "type" : "string",
- "description" : "订单金额,该金额为当前订单扣款的累计最大额度。例如,下单时传递10.00,则扣款时最大支付金额为10元。若该参数不传,则默认使用商户签约时约定的上限额度。芝麻速办业务场景(极速回收、极速返利、极速退款等)商户请求时,order_amount必传,且amount_type类型需传递ORDER_AMOUNT。",
- "example" : "88.66"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户外部订单号,保证不重复",
- "example" : "out00120312323232"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码,不传默认为CREDIT_PAY_AFTER_USE",
- "example" : "CREDIT_PAY_AFTER_USE"
- },
- "subject" : {
- "type" : "string",
- "description" : "订单标题。\t注意:不可使用特殊字符,如 /,=,& 等。",
- "example" : "Iphone6 16G"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditbizorderOrderResponseModel" : {
- "type" : "object",
- "properties" : {
- "credit_biz_order_id" : {
- "type" : "string",
- "description" : "信用服务订单号",
- "example" : "ZMCB99202103310000450000041833"
- },
- "out_order_no" : {
- "type" : "string",
- "description" : "商户传入的外部订单号",
- "example" : "out1210212021212"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditbizorderQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "BIZ_ERROR", "INVALID_PARAMETER", "ILLEGAL_QUERY" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPayafteruseCreditbizorderQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "create_time" : {
- "type" : "string",
- "description" : "订单创建时间",
- "example" : "2020-09-15 11:23:04"
- },
- "credit_agreement_id" : {
- "type" : "string",
- "description" : "芝麻开通协议号",
- "example" : "ZMOP2014070700166653"
- },
- "credit_biz_order_id" : {
- "type" : "string",
- "description" : "信用服务订单号",
- "example" : "ZMCB20201021200102012"
- },
- "order_status" : {
- "type" : "string",
- "description" : "信用服务订单状态。INIT: 下单状态;TRADE_CLOSED: 订单取消或者交易全额退款; TRADE_FINISHED:扣款成功状态",
- "example" : "INIT"
- },
- "product_code" : {
- "type" : "string",
- "description" : "产品码",
- "example" : "CREDIT_PAY_AFTER_USE"
- },
- "total_amount" : {
- "type" : "string",
- "description" : "信用服务订单金额",
- "example" : "88.88"
- },
- "trade_no" : {
- "type" : "string",
- "description" : "支付宝交易号",
- "example" : "2021030422001428451400037476"
- },
- "zm_service_id" : {
- "type" : "string",
- "description" : "芝麻信用服务ID",
- "example" : "2020050722001440031000061082"
- }
- }
- },
- "ZhimaCreditPeZmgoAgreementQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ZMGO_BIZ_AGR_NULL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPeZmgoAgreementQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花芝轻会员协议号。",
- "example" : "20185513447859192007"
- },
- "agreement_name" : {
- "type" : "string",
- "description" : "协议名称",
- "example" : "花呗先享会员"
- },
- "agreement_status" : {
- "type" : "string",
- "description" : "协议状态。Y表示状态有效,P表示状态失效中,N表示状态已失效",
- "example" : "Y"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "2088302424419340"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "代表签约芝麻GO所属业务类型",
- "example" : "zm_zmgo"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户userId",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "sign_time" : {
- "type" : "string",
- "description" : "该条芝麻GO协议签约时间",
- "example" : "2021-09-27 00:00:00"
- },
- "start_time" : {
- "type" : "string",
- "description" : "该芝麻GO协议开始时间",
- "example" : "2021-09-27 00:00:00"
- }
- }
- },
- "ZhimaCreditPeZmgoAgreementUnsignErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPeZmgoAgreementUnsignModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
- "example" : "ZMGO_AGR2020122710020604120000000001"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "支付宝的用户id",
- "example" : "2088302841345600"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝的用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088302424614288"
- },
- "quit_type" : {
- "type" : "string",
- "description" : "quit_type为USER_CANCEL_QUIT或者SETTLE_APPLY_QUIT",
- "example" : "SETTLE_APPLY_QUIT"
- }
- }
- },
- "ZhimaCreditPeZmgoAgreementUnsignResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
- "example" : "ZMGO_AGR2020122710020604120000000001"
- },
- "withhold_plan_no" : {
- "type" : "string",
- "description" : "调用芝麻GO结算受理接口时,需要传入该值",
- "example" : "ZMGO_WHD2021022210020603120000301613"
- }
- }
- },
- "ZhimaCreditPeZmgoBizoptCloseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPeZmgoBizoptCloseModel" : {
- "type" : "object",
- "properties" : {
- "alipay_user_id" : {
- "type" : "string",
- "description" : "支付宝用户Id",
- "example" : "2088302841345600"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户Id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号,由商户生成,请确保唯一性",
- "example" : "99202005050100930053707258"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户Id",
- "example" : "2088302424614288"
- },
- "template_id" : {
- "type" : "string",
- "description" : "芝麻GO配置模板Id",
- "example" : "2021012300020903090008858258"
- }
- }
- },
- "ZhimaCreditPeZmgoBizoptCloseResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_opt_no" : {
- "type" : "string",
- "description" : "芝麻GO签约申请时生成的签约申请单据号",
- "example" : "ZMGO_OPT2021020110020607850000006001"
- },
- "open_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号",
- "example" : "9e8cc8da16866a79161ee033cb58497b"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088302424614288"
- },
- "user_id" : {
- "type" : "string",
- "description" : "蚂蚁统一会员ID",
- "example" : "2088302841345600"
- }
- }
- },
- "ZhimaCreditPeZmgoCumulationSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPeZmgoCumulationSyncModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "芝麻go协议号,唯一标识一个芝麻go协议。为必传入参。",
- "example" : "20195108518085620000"
- },
- "amount_type_data" : {
- "$ref" : "#/components/schemas/AmountTypeData"
- },
- "biz_action" : {
- "type" : "string",
- "description" : "数据回传的动作类型,为枚举值,为必传入参。\t可取值:\t(\"ORDER_PAID\", \"正向支付\"),(\"ORDER_REFUND\", \"逆向退款\")。\t其中ORDER_PAID表示回传为正向的,即订单金额累加,优惠累加,任务次数累加;而ORDER_REFUND表示回传为逆向的,即订单金额退款,优惠退款,任务次数回退。",
- "example" : "ORDER_PAID"
- },
- "biz_time" : {
- "type" : "string",
- "description" : "交易发生时间,包括:订单交易时间,优惠核销时间,以及任务完成时间。为必传入参。\t如:用户在【2019-03-08 00:00:00】核销了一个红包,但是【2019-03-10 00:00:00】才进行数据回传,此时biz_time取值红包核销的时间,也就是【2019-03-08 00:00:00】。",
- "example" : "2019-03-08 19:51:35"
- },
- "cumulate_data_type" : {
- "type" : "string",
- "description" : "累计类型。为枚举值,为必传入参。\t可取值:(\"AMOUNT\", \"金额类型\"),(\"TASK\", \"任务类型\"),(\"AMOUNT_TASK\", \"额度和任务类型\")。\t其中,交易解耦模式仅允许AMOUNT或TASK。而交易绑定模式下,仅允许AMOUNT_TASK。",
- "example" : "AMOUNT"
- },
- "ext_info" : {
- "type" : "string",
- "description" : "扩展字段,格式为Json格式的字符串,非必传。",
- "example" : "{\"number\":\"20200303938282939\"}"
- },
- "has_alipay_trade" : {
- "type" : "boolean",
- "description" : "是否为支付宝交易。仅在累计模式为【交易绑定模式】下被消费。当芝麻Go模板配置的累计模式为交易绑定模式时,此时需传入扩展参数是否为支付宝交易。若是支付宝交易,传值true,否则为false。若不传此字段,默认为false。\t若为true,则会对交易号trade_no进行校验,校验是否为支付宝交易,以及用户userId和商户partnerId是否一致,若校验不通过,累计失败。",
- "example" : "false"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户userId,蚂蚁统一会员ID,为必传入参。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号。需保证唯一,为必传入参。\t若接口调用失败,提示信息为更换幂等号,商户更换此字段重新发起调用。",
- "example" : "2020081211223006150094012926289"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID,为必传入参。",
- "example" : "2088621805983504"
- },
- "pay_out_biz_no" : {
- "type" : "string",
- "description" : "逆向对应的正向外部业务号。逆向场景为必传入参。也就是biz_action为ORDER_REFUND时为必传入参。\t逆向时需通过此字段明确对应的正向的外部业务号。",
- "example" : "2020081211223006150094012926289"
- },
- "request_from" : {
- "type" : "string",
- "description" : "取固定值ExternalMerchantSource,为必传入参。表示数据回传来源为外部商户,数据回传内部逻辑需感知。",
- "example" : "ExternalMerchantSource"
- },
- "task_type_data" : {
- "$ref" : "#/components/schemas/TaskTypeData"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户userId,蚂蚁统一会员ID,为必传入参。",
- "example" : "2088602002015001"
- }
- }
- },
- "ZhimaCreditPeZmgoCumulationSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_no" : {
- "type" : "string",
- "description" : "芝麻go协议号,唯一标识一个芝麻go协议。\t累计成功后返回此字段。",
- "example" : "20195108518085620000"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "数据回传失败原因描述。\t累计失败后返回此字段。",
- "example" : "入参userId为空"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户userId,蚂蚁统一会员ID。\t累计成功后返回此字段。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号。需保证唯一,若接口调用失败,提示信息为更换幂等号,商户更换此字段重新发起调用。\t累计成功后返回此字段。",
- "example" : "2020081211223006150094012926289"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户userId,蚂蚁统一会员ID。\t累计成功后返回此字段。",
- "example" : "2088602002015001"
- }
- }
- },
- "ZhimaCreditPeZmgoPreorderCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPeZmgoPreorderCreateModel" : {
- "type" : "object",
- "properties" : {
- "alipay_open_id" : {
- "type" : "string",
- "description" : "支付宝用户ID。同一个外部请求号,调用方要确保支付宝userId取值不变",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "支付宝用户ID。同一个外部请求号,调用方要确保支付宝userId取值不变",
- "example" : "2088759402857364"
- },
- "biz_time" : {
- "type" : "string",
- "description" : "业务发生时间,如2016-07-06 00:00:02\t签约超时关单时间依赖这个时间\t这个时间会做幂等校验,如果创单幂等,但时间不同会失败",
- "example" : "2016-07-06 00:00:02"
- },
- "custom_temp_conf" : {
- "type" : "string",
- "description" : "废弃字段,勿用",
- "example" : "SHOW_AGREEMENT_LIST=true"
- },
- "expire_aisle_data" : {
- "type" : "string",
- "description" : "协议到期后通知",
- "example" : "业务方到期标识"
- },
- "ext_template_conf" : {
- "$ref" : "#/components/schemas/ExtTemplateConf"
- },
- "extend_params" : {
- "$ref" : "#/components/schemas/PreOrderExtInfo"
- },
- "freeze_amount" : {
- "type" : "string",
- "description" : "冻结金额,单位:元",
- "example" : "1.00"
- },
- "isv_pid" : {
- "type" : "string",
- "description" : "ISV商户ID",
- "example" : "2088374762857463"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号,唯一",
- "example" : "ORDER_12345678"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088437463829741"
- },
- "partner_user_identifier" : {
- "type" : "string",
- "description" : "商户侧用户唯一标识。ex.商户侧uid",
- "example" : "user102934889234"
- },
- "pay_aisle_data" : {
- "type" : "string",
- "description" : "结算成功后通知",
- "example" : "业务方结算标识"
- },
- "sign_aisle_data" : {
- "type" : "string",
- "description" : "签约成功后通知",
- "example" : "业务方签约标识"
- },
- "template_id" : {
- "type" : "string",
- "description" : "签约芝麻GO的模板ID",
- "example" : "2020122200020903760008552025"
- },
- "timeout_express" : {
- "type" : "string",
- "description" : "超时关单时间\t默认1H。1m~15d。m表示分钟,h表示小时,d表示天。该参数数值不接受小数点, 如1.5h,可转换为90m\t签约超时关单时间依赖这个时间",
- "example" : "15m"
- }
- }
- },
- "ZhimaCreditPeZmgoPreorderCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_type" : {
- "type" : "string",
- "description" : "业务类型",
- "example" : "hongbaoqiandao"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088990000000000"
- },
- "preorder_no" : {
- "type" : "string",
- "description" : "芝麻GO预创建单号",
- "example" : "ZMGO_ASO2019071000020903940000062019"
- }
- }
- },
- "ZhimaCreditPeZmgoSettleApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPeZmgoSettleApplyModel" : {
- "type" : "object",
- "properties" : {
- "action_type" : {
- "type" : "string",
- "description" : "DEFAULT_SETTLE 默认结算模式;\tPAY_TO_ZERO 支付转0元;",
- "example" : "DEFAULT_SETTLE或PAY_TO_ZERO"
- },
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
- "example" : "ZMGO_AGR2020122710020604120000000001"
- },
- "alipay_open_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "2088101117955611"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
- "example" : "8077735255938032"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088102146225135"
- },
- "pay_amount" : {
- "type" : "string",
- "description" : "需要支付的金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "2.00"
- },
- "settle_extend_params" : {
- "$ref" : "#/components/schemas/SettleExtraParams"
- },
- "total_discount_amount" : {
- "type" : "string",
- "description" : "芝麻GO任务开始到到期过程中和任务相关享受的总优惠金额,单位为:元(人民币),精确到小数点后两位。",
- "example" : "3.00"
- },
- "total_real_pay_amount" : {
- "type" : "string",
- "description" : "芝麻GO任务开始到到期过程中和任务相关支付的总金额,单位为:元(人民币),精确到小数点后两位。",
- "example" : "3.00"
- },
- "total_task_count" : {
- "type" : "string",
- "description" : "芝麻GO任务开始到到期过程中和任务相关完成的任务次数",
- "example" : "0"
- },
- "withhold_plan_no" : {
- "type" : "string",
- "description" : "芝麻GO结算时,需要传入的扣款单据号。来源于协议到期通知消息,外部商户接入时,该参数必填",
- "example" : "ZMGO_WHD2021010510020603410000006001"
- }
- }
- },
- "ZhimaCreditPeZmgoSettleApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号。",
- "example" : "ZMGO_AGR2020122710020604120000000001"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "根据商户传入的轻会员协议结算周期内累计消费数据与支付宝端轻会员协议结算周期内消费数据比对之后,若数据不一致,则会返回对应的异常数据比对结果。",
- "example" : "累计支付宝支付金额不一致,支付宝:100.00元,商户:150.00元"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号,用于标示请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。",
- "example" : "8077735255938032"
- },
- "settle_status" : {
- "type" : "string",
- "description" : "Y(\"Y\", \"支付成功\"),\tP(\"P\", \"支付中\"),\tN(\"N\", \"支付失败\"),",
- "example" : "P"
- },
- "withhold_plan_no" : {
- "type" : "string",
- "description" : "芝麻GO结算时,需要传入的扣款单据号。来源于协议到期通知消息",
- "example" : "ZMGO_WHD2021010510020603410000006001"
- }
- }
- },
- "ZhimaCreditPeZmgoSettleRefundErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPeZmgoSettleRefundModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "签约芝麻GO的业务协议号,在签约成功、结算成功等通知中回回传给商户。",
- "example" : "ZMGO_AGR2021010510020604080000006001"
- },
- "alipay_open_id" : {
- "type" : "string",
- "description" : "支付宝用户ID",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "支付宝用户ID",
- "example" : "2088302841345600"
- },
- "memo" : {
- "type" : "string",
- "description" : "本次退款说明",
- "example" : "退款"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号",
- "example" : "99202005050100930053707258"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088302424614288"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "退款金额,单位为:元(人民币),精确到小数点后两位",
- "example" : "3.00"
- },
- "refund_type" : {
- "type" : "string",
- "description" : "退款类型:\tMEMBER_FEE_REFUND 会员费结算退款 ,WITHHOLD_FEE_REFUND 周期扣款金额退款。\t不填写默认为 MEMBER_FEE_REFUND",
- "example" : "MEMBER_FEE_REFUND"
- },
- "withhold_plan_no" : {
- "type" : "string",
- "description" : "芝麻侧扣款计划单据号,在结算扣款成功的通知消息中会回传。",
- "example" : "ZMGO_WHD2021010510020603410000006001"
- }
- }
- },
- "ZhimaCreditPeZmgoSettleRefundResponseModel" : {
- "type" : "object",
- "properties" : {
- "fail_reason" : {
- "type" : "string",
- "description" : "退款操作错误原因描述",
- "example" : "退款金额超限"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "外部请求号",
- "example" : "99202005050100930053707258"
- },
- "refund_amount" : {
- "type" : "string",
- "description" : "本次请求退款金额",
- "example" : "3.00"
- },
- "refund_opt_no" : {
- "type" : "string",
- "description" : "芝麻GO退款生成的内部唯一流水,外部商户可以拿这个参数进行对账",
- "example" : "ZMGO_OPT202107271002060716000012522x"
- },
- "retry" : {
- "type" : "boolean",
- "description" : "此字段含义,商家接入时需咨询对接技术。",
- "example" : "true"
- },
- "withhold_plan_no" : {
- "type" : "string",
- "description" : "本次退款的扣款计划单号",
- "example" : "ZMGO_WHD2021010510020603410000006001"
- }
- }
- },
- "ZhimaCreditPeZmgoSettleUnfreezeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCreditPeZmgoSettleUnfreezeModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "支付宝系统中用以唯一标识用户签约记录的编号,即花呗先享协议号",
- "example" : "20185513447859192007"
- },
- "alipay_open_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "alipay_user_id" : {
- "type" : "string",
- "description" : "买家在支付宝的用户id",
- "example" : "2088101117955611"
- },
- "biz_time" : {
- "type" : "string",
- "description" : "解冻成功时间",
- "example" : "2014-09-15 11:23:04"
- },
- "order_title" : {
- "type" : "string",
- "description" : "解冻的描述",
- "example" : "2088411663864410"
- },
- "out_request_no" : {
- "type" : "string",
- "description" : "商户本次操作的请求流水号,用于标识请求流水的唯一性,不能包含除中文、英文、数字以外的字符,需要保证在商户端不重复。由商户传入,最终返回给商户。",
- "example" : "8077735255938032"
- },
- "partner_id" : {
- "type" : "string",
- "description" : "商户ID",
- "example" : "2088411663864410"
- },
- "unfreeze_amount" : {
- "type" : "string",
- "description" : "解冻金额",
- "example" : "3.00"
- },
- "unfreeze_extend_params" : {
- "$ref" : "#/components/schemas/UnfreezeExtendParams"
- }
- }
- },
- "ZhimaCreditPeZmgoSettleUnfreezeResponseModel" : {
- "type" : "object",
- "properties" : {
- "fail_reaseon" : {
- "type" : "string",
- "description" : "失败原因",
- "example" : "余额户可用资金不足"
- },
- "retry" : {
- "type" : "string",
- "description" : "是否可以重试",
- "example" : "true|false"
- },
- "unfreeze_amount" : {
- "type" : "string",
- "description" : "解冻金额字符串",
- "example" : "1.00"
- },
- "unfreeze_status" : {
- "type" : "string",
- "description" : "解冻状态",
- "example" : "Y/N"
- }
- }
- },
- "ZhimaCustomerJobworthAuthenticationQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "USER_NOT_AUTHORIZE", "TOKEN_INVALID", "NOT_OPEN_ZM", "USER_NOT_OPEN_JOBWORTH", "INVALID_PARAMETER", "JOB_WORTH_BLACK_LIST", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCustomerJobworthAuthenticationQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "identity_result" : {
- "type" : "string",
- "description" : "SUCCESS代表可信,FAILED代表不可信,WAITING_VERIFY代表未知需要等待结果",
- "example" : "SUCCESS/FAILED/WAITING_VERIFY"
- },
- "identity_result_skip_url" : {
- "type" : "string",
- "description" : "身份认证查询结果页面的小程序链接,有芝麻提供,用户在端内可直接访问",
- "example" : "alipays://platformapi/startapp?appId"
- },
- "token_status" : {
- "type" : "string",
- "description" : "代表订单状态",
- "example" : "FINISH"
- }
- }
- },
- "ZhimaCustomerJobworthCloudresumeQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "USER_NOT_AUTHORIZE", "QUERY_DATA_IS_NULL", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCustomerJobworthCloudresumeQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "birthday" : {
- "type" : "string",
- "description" : "出身日期",
- "example" : "出生日期"
- },
- "certificates" : {
- "type" : "array",
- "description" : "证书名称",
- "items" : {
- "$ref" : "#/components/schemas/CloudResumeCertificateInfo"
- }
- },
- "education_experiences" : {
- "type" : "array",
- "description" : "教育经历",
- "items" : {
- "$ref" : "#/components/schemas/CloudResumeEducationExperience"
- }
- },
- "gender" : {
- "type" : "string",
- "description" : "性别",
- "example" : "男 or 女"
- },
- "phone" : {
- "type" : "string",
- "description" : "手机号码",
- "example" : "1234"
- },
- "pic_url" : {
- "$ref" : "#/components/schemas/CloudResumeHeadPic"
- },
- "position_intentions" : {
- "type" : "array",
- "description" : "求职期望",
- "items" : {
- "$ref" : "#/components/schemas/CloudResumePositionIntention"
- }
- },
- "skills" : {
- "type" : "array",
- "description" : "技能信息",
- "items" : {
- "$ref" : "#/components/schemas/CloudResumeSkillInfo"
- }
- },
- "user_name" : {
- "type" : "string",
- "description" : "姓名",
- "example" : "姓名"
- },
- "work_experiences" : {
- "type" : "array",
- "description" : "工作经历",
- "items" : {
- "$ref" : "#/components/schemas/CloudResumeWorkExperience"
- }
- },
- "work_start_date" : {
- "type" : "integer",
- "description" : "工作开始日期",
- "example" : "123"
- }
- }
- },
- "ZhimaCustomerJobworthInfoQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BLACK_CONTROL", "JOB_ID_NOT_MATCH", "CONFIG_ERROR_WITHOUT_SERVICE_ID", "USER_NOT_AUTHORIZE", "ILLEGAL_ARGUMENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCustomerJobworthInfoQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "acceptance_id" : {
- "type" : "string",
- "description" : "受理台单号作为jsapi的一个参数。如果不使用jsapi可以忽略",
- "example" : "ZMEV99202108230100080001977388"
- },
- "auth_token" : {
- "type" : "string",
- "description" : "用于授权校验,授权之前需要通过token校验",
- "example" : "124780137240912384128394"
- },
- "html_url" : {
- "type" : "string",
- "description" : "h5url",
- "example" : "https://ssss"
- },
- "picture_url" : {
- "type" : "string",
- "description" : "职得工作证图片url,可以直接用于展示",
- "example" : "http://www.123.com"
- },
- "scene_result" : {
- "type" : "boolean",
- "description" : "场景授权结果",
- "example" : "true"
- },
- "sub_code" : {
- "type" : "string",
- "description" : "业务编码",
- "example" : "USER_NOT_OPEN_ZHIMA"
- },
- "sub_msg" : {
- "type" : "string",
- "description" : "业务中文结果信息",
- "example" : "用户没有开通芝麻"
- },
- "update_url" : {
- "type" : "string",
- "description" : "工作证图片更新的url,需要跳转到工作证小程序中进行更新",
- "example" : "http://www.123123.com"
- },
- "url" : {
- "type" : "string",
- "description" : "职得工作证跳转小程序链接",
- "example" : "http://www.123.com?XXX"
- }
- }
- },
- "ZhimaCustomerJobworthJobdataAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "ILLEGAL_ARGUMENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCustomerJobworthJobdataAddModel" : {
- "type" : "object",
- "properties" : {
- "cert_no" : {
- "type" : "string",
- "description" : "身份证证件号",
- "example" : "1101121983010****5"
- },
- "cert_type" : {
- "type" : "string",
- "description" : "0:身份证1:护照2:台湾同胞回乡证3:港澳居民往来内地通行证4:台湾居民通行证5:港澳居民通行证",
- "example" : "0"
- },
- "conn_key" : {
- "type" : "string",
- "description" : "关联key,受理台返回",
- "example" : "abcd12345678"
- },
- "job_data_list" : {
- "type" : "array",
- "description" : "回传信息",
- "items" : {
- "$ref" : "#/components/schemas/JobWorthJobdata"
- }
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝uid",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝uid",
- "example" : "2088302586280165"
- },
- "user_name" : {
- "type" : "string",
- "description" : "用户中文名",
- "example" : "张三"
- }
- }
- },
- "ZhimaCustomerJobworthJobdataAddResponseModel" : {
- "type" : "object",
- "properties" : {
- "acceptance_id" : {
- "type" : "string",
- "description" : "受理台单号,用来调用工作证受理台",
- "example" : "abcd1234"
- },
- "sub_code" : {
- "type" : "string",
- "description" : "错误码",
- "example" : "INVALID_PARAMETER"
- },
- "sub_msg" : {
- "type" : "string",
- "description" : "业务中文结果信息",
- "example" : "参数有误"
- },
- "url" : {
- "type" : "string",
- "description" : "职得工作证跳转小程序链接",
- "example" : "http://www.123.com?XXX"
- }
- }
- },
- "ZhimaCustomerJobworthPictureUploadErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "ILLEGAL_ARGUMENT", "PICTURE_UPLOAD_LIMIT_ERROR", "PICTURE_TYPE_ERROR", "SYSTEM_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCustomerJobworthPictureUploadModel" : {
- "type" : "object",
- "properties" : {
- "content" : {
- "type" : "string",
- "description" : "图片对应的base64字符串,支持jpg和png,1M之内",
- "example" : "-"
- },
- "pic_type" : {
- "type" : "string",
- "description" : "只能传入指定类型,具体类型看文档",
- "example" : "JOB_DATA_UPLOAD"
- }
- }
- },
- "ZhimaCustomerJobworthPictureUploadResponseModel" : {
- "type" : "object",
- "properties" : {
- "pic_id" : {
- "type" : "string",
- "description" : "图片返回ID",
- "example" : "abcd123456"
- },
- "sub_code" : {
- "type" : "string",
- "description" : "错误码",
- "example" : "PICTURE_UPLOAD_LIMIT_ERROR"
- },
- "sub_msg" : {
- "type" : "string",
- "description" : "错误原因",
- "example" : "图片上传限制"
- }
- }
- },
- "ZhimaCustomerJobworthPositionAddErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaCustomerJobworthPositionAddModel" : {
- "type" : "object",
- "properties" : {
- "jobworth_position_info" : {
- "$ref" : "#/components/schemas/JobWorthPositionInfo"
- }
- }
- },
- "ZhimaCustomerJobworthPositionAddResponseModel" : {
- "type" : "object",
- "properties" : {
- "position_id" : {
- "type" : "string",
- "description" : "岗位信息ID",
- "example" : "123456789012345678901234"
- },
- "sub_code" : {
- "type" : "string",
- "description" : "业务错误",
- "example" : "SALARY_ERROR"
- },
- "sub_msg" : {
- "type" : "string",
- "description" : "业务错误信息",
- "example" : "薪水格式错误"
- }
- }
- },
- "ZhimaMerchantSubsidiariesApplyErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaMerchantSubsidiariesApplyModel" : {
- "type" : "object",
- "properties" : {
- "pid" : {
- "type" : "string",
- "description" : "商户pid",
- "example" : "2088101117955612"
- },
- "service_id" : {
- "type" : "string",
- "description" : "信用服务id",
- "example" : "20210413000000000000xxxxxxxx"
- },
- "smid" : {
- "type" : "string",
- "description" : "二级商户进件id",
- "example" : "2088101118048455"
- },
- "sub_merchant_contact_number" : {
- "type" : "string",
- "description" : "子商户联系电话",
- "example" : "200-000-0000"
- },
- "sub_merchant_jump_link" : {
- "type" : "string",
- "description" : "子商户跳转链接",
- "example" : "https://xxxxxxxx"
- },
- "sub_merchant_logo_url" : {
- "type" : "string",
- "description" : "子商户logo地址",
- "example" : "https://xxxxxxxx"
- },
- "sub_merchant_name" : {
- "type" : "string",
- "description" : "子商户名",
- "example" : "XXX商户"
- },
- "sub_pid" : {
- "type" : "string",
- "description" : "子商户id",
- "example" : "2088101117955611"
- }
- }
- },
- "ZhimaMerchantSubsidiariesApplyResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_error_code" : {
- "type" : "string",
- "description" : "业务错误码",
- "example" : "1001"
- },
- "biz_error_message" : {
- "type" : "string",
- "description" : "业务错误信息",
- "example" : "处理失败"
- },
- "order_no" : {
- "type" : "string",
- "description" : "工单标识",
- "example" : "100010"
- }
- }
- },
- "ZhimaMerchantSubsidiariesCloseErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "BIZ_FAIL", "INVALID_PARAMETER", "DATA_UPDATE_ERROR", "PROCESS_CANCEL_ERROR", "NO_AUTHORITY_HANDLE_DISSENT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaMerchantSubsidiariesCloseModel" : {
- "type" : "object",
- "properties" : {
- "order_no" : {
- "type" : "string",
- "description" : "工单标识",
- "example" : "100010"
- }
- }
- },
- "ZhimaMerchantSubsidiariesCloseResponseModel" : {
- "type" : "object",
- "properties" : {
- "biz_error_code" : {
- "type" : "string",
- "description" : "业务错误码",
- "example" : "1001"
- },
- "biz_error_message" : {
- "type" : "string",
- "description" : "业务错误信息",
- "example" : "处理失败"
- },
- "order_memo" : {
- "type" : "string",
- "description" : "工单审核备注",
- "example" : "审核通过"
- },
- "order_no" : {
- "type" : "string",
- "description" : "工单标识,业务成功时返回工单号",
- "example" : "100010"
- },
- "order_status" : {
- "type" : "string",
- "description" : "工单状态",
- "example" : "AGREE"
- }
- }
- },
- "ZhimaMerchantZmgoCumulateQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaMerchantZmgoCumulateQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "aggr_amount" : {
- "type" : "string",
- "description" : "总共累计金额",
- "example" : "99.99"
- },
- "aggr_discount_amount" : {
- "type" : "string",
- "description" : "总共累计优惠金额",
- "example" : "83.88"
- },
- "aggr_times" : {
- "type" : "integer",
- "description" : "总共累计次数",
- "example" : "4"
- },
- "agreement_id" : {
- "type" : "string",
- "description" : "芝麻go协议号,唯一标识一个芝麻go协议。",
- "example" : "20195108518085620000"
- },
- "detail_list" : {
- "type" : "array",
- "description" : "详情数据列表",
- "items" : {
- "$ref" : "#/components/schemas/CumulateDataDetail"
- }
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "查询失败原因",
- "example" : "协议已经失效"
- },
- "page_no" : {
- "type" : "integer",
- "description" : "分页参数,返回传入的值。",
- "example" : "1"
- },
- "page_size" : {
- "type" : "integer",
- "description" : "分页参数,返回传入的值。",
- "example" : "20"
- }
- }
- },
- "ZhimaMerchantZmgoCumulateSyncErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "AGREEMENT_STATUS_INVALID" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaMerchantZmgoCumulateSyncModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "芝麻go协议号,唯一标识一个芝麻go协议。",
- "example" : "20195108518085620000"
- },
- "amount_type_sync_data" : {
- "$ref" : "#/components/schemas/AmountTypeSyncData"
- },
- "biz_action" : {
- "type" : "string",
- "description" : "数据回传的动作类型。枚举如下:\t* POSITIVE:正向回传,即订单金额累加,优惠累加,任务次数累加。\t* REVERSE:逆向回传,即订单金额退款,优惠退款,任务次数回退。",
- "example" : "POSITIVE"
- },
- "biz_time" : {
- "type" : "string",
- "description" : "回传数据发生的实际时间,包括:订单交易时间,优惠核销时间,以及任务完成时间。为必传入参。 如:用户在【2019-03-08 00:00:00】核销了一个红包,但是【2019-03-10 00:00:00】才进行数据回传,此时biz_time取值红包核销的时间,也就是【2019-03-08 00:00:00】。",
- "example" : "2019-03-08 19:51:35"
- },
- "data_type" : {
- "type" : "string",
- "description" : "回传数据类型,枚举:\tTASK - 进度型,影响进度\tDISCOUNT - 优惠型",
- "example" : "TASK"
- },
- "discount_type_sync_data" : {
- "$ref" : "#/components/schemas/DiscountTypeSyncData"
- },
- "open_id" : {
- "type" : "string",
- "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,唯一标识一笔回传数据。",
- "example" : "2020081211223006150094012926289"
- },
- "provider_pid" : {
- "type" : "string",
- "description" : "数据回传的商户 ID,即和用户发生业务来往的 PID 主体。商户账号在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。",
- "example" : "2088621805983504"
- },
- "refer_out_biz_no" : {
- "type" : "string",
- "description" : "逆向对应的正向外部业务号。逆向场景为必传入参。也就是biz_action为REVERSE时为必传入参。 逆向时需通过此字段明确对应的正向的外部业务号。",
- "example" : "2020081211223006150094012926289"
- },
- "sub_biz_action" : {
- "type" : "string",
- "description" : "数据回传动作子类型,枚举值,为必传入参。\tADD - 新增数据\tUPDATE - 修改数据\t备注:UPDATE只能更新金额信息。",
- "example" : "ADD"
- },
- "times_type_sync_data" : {
- "$ref" : "#/components/schemas/TimesTypeSyncData"
- },
- "user_id" : {
- "type" : "string",
- "description" : "用户 id,用户在支付宝的唯一标识,以 2088 开头的 16 位纯数字组成。\t",
- "example" : "2088602002015001"
- }
- }
- },
- "ZhimaMerchantZmgoCumulateSyncResponseModel" : {
- "type" : "object",
- "properties" : {
- "agreement_id" : {
- "type" : "string",
- "description" : "芝麻go协议号,唯一标识一个芝麻go协议。",
- "example" : "20195108518085620000"
- },
- "fail_reason" : {
- "type" : "string",
- "description" : "数据回传失败原因描述",
- "example" : "协议已经失效"
- },
- "out_biz_no" : {
- "type" : "string",
- "description" : "外部业务号,唯一标识一笔回传数据。",
- "example" : "2020081211223006150094012926289"
- }
- }
- },
- "ZhimaMerchantZmgoTemplateCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "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" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaMerchantZmgoTemplateCreateModel" : {
- "type" : "object",
- "properties" : {
- "basic_config" : {
- "$ref" : "#/components/schemas/ZMGOBasicConfig"
- },
- "ext_config" : {
- "$ref" : "#/components/schemas/ZMGOExtConfig"
- },
- "obligation_config" : {
- "$ref" : "#/components/schemas/ZMGOObligationConfig"
- },
- "open_config" : {
- "$ref" : "#/components/schemas/ZMGOOpenConfig"
- },
- "quit_config" : {
- "$ref" : "#/components/schemas/ZMGOQuitConfig"
- },
- "right_config" : {
- "$ref" : "#/components/schemas/ZMGORightConfig"
- },
- "settlement_config" : {
- "$ref" : "#/components/schemas/ZMGOSettlementConfig"
- }
- }
- },
- "ZhimaMerchantZmgoTemplateCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "template_no" : {
- "type" : "string",
- "description" : "芝麻GO模板号",
- "example" : "ZMGO_TPL202206091002000195047"
- }
- }
- },
- "ZhimaMerchantZmgoTemplateQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "REQUEST_ACCESS_ILLEGAL" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZhimaMerchantZmgoTemplateQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "basic_config" : {
- "$ref" : "#/components/schemas/ZMGOBasicConfig"
- },
- "ext_config" : {
- "$ref" : "#/components/schemas/ZMGOExtConfig"
- },
- "obligation_config" : {
- "$ref" : "#/components/schemas/ZMGOObligationConfig"
- },
- "open_config" : {
- "$ref" : "#/components/schemas/ZMGOOpenConfig"
- },
- "quit_config" : {
- "$ref" : "#/components/schemas/ZMGOQuitConfig"
- },
- "right_config" : {
- "$ref" : "#/components/schemas/ZMGORightConfig"
- },
- "settlement_config" : {
- "$ref" : "#/components/schemas/ZMGOSettlementConfig"
- }
- }
- },
- "ZhubUidTelPair" : {
- "type" : "object",
- "properties" : {
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户open_id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "phone" : {
- "type" : "string",
- "description" : "手机号",
- "example" : "13817337490"
- },
- "user_id" : {
- "type" : "string",
- "description" : "支付宝uid",
- "example" : "2088302193568425"
- }
- }
- },
- "ZolozAuthenticationCustomerFacemanageCreateErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "EXTRACT_FAIL", "UNABLE_GET_IMAGE", "ILLEGAL_CERT", "NOT_OPEN_SMILE", "UID_NOT_FOUND" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZolozAuthenticationCustomerFacemanageCreateModel" : {
- "type" : "object",
- "properties" : {
- "areacode" : {
- "type" : "string",
- "description" : "地域编码",
- "example" : "010"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "人脸产品能力,预热场景,需要传college,k12,scenic,subway,traffic。具体值视具体场景",
- "example" : "1"
- },
- "bizscale" : {
- "type" : "string",
- "description" : "业务量规模",
- "example" : "99999999活跃人数"
- },
- "brandcode" : {
- "type" : "string",
- "description" : "商户品牌",
- "example" : "KFC"
- },
- "devicenum" : {
- "type" : "string",
- "description" : "商户机具唯一编码,关键参数\t人脸预热,传logicGroupId",
- "example" : "123456"
- },
- "extinfo" : {
- "type" : "string",
- "description" : "拓展参数",
- "example" : "{}"
- },
- "facetype" : {
- "type" : "string",
- "description" : "入库类型 IDCARD:身份证 ALIPAY_USER:支付宝用户id, ALIPAY_TEL:手机号入库 CUSTOMER:自定义 DIRECT_CLIENT_PRE:本地预写入 DIRECT_CLIENT:本地客户端库 ENCLOSED:封闭场景",
- "example" : "DIRECT_CLIENT"
- },
- "faceval" : {
- "type" : "string",
- "description" : "入库用户信息 人脸预热,alipayUid必填",
- "example" : "示例[{\"alipayUid\":\"2088402144983195\",\"customUserId\":\"01\", \"faceContent\":\"base64String\"}]"
- },
- "group" : {
- "type" : "string",
- "description" : "分组5",
- "example" : "group0"
- },
- "storecode" : {
- "type" : "string",
- "description" : "球房编码",
- "example" : "HZ1000435"
- },
- "validtimes" : {
- "type" : "string",
- "description" : "有效期天数,如7天、30天、365天",
- "example" : "7"
- }
- }
- },
- "ZolozAuthenticationCustomerFacemanageCreateResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "string",
- "description" : "业务结果",
- "example" : "{}"
- },
- "retcode" : {
- "type" : "string",
- "description" : "返回码",
- "example" : "OK_SUCCESS"
- },
- "retcodesub" : {
- "type" : "string",
- "description" : "返回详细码",
- "example" : "Z3161"
- },
- "retmessage" : {
- "type" : "string",
- "description" : "返回信息",
- "example" : "成功"
- },
- "retmessagesub" : {
- "type" : "string",
- "description" : "返回详细信息",
- "example" : "非法参数类型"
- }
- }
- },
- "ZolozAuthenticationCustomerFacemanageDeleteErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZolozAuthenticationCustomerFacemanageDeleteModel" : {
- "type" : "object",
- "properties" : {
- "areacode" : {
- "type" : "string",
- "description" : "地域编码",
- "example" : "010"
- },
- "biz_type" : {
- "type" : "string",
- "description" : "人脸产品能力",
- "example" : "1"
- },
- "bizscale" : {
- "type" : "string",
- "description" : "业务量",
- "example" : "9999999999"
- },
- "brandcode" : {
- "type" : "string",
- "description" : "商户品牌",
- "example" : "KFC"
- },
- "devicenum" : {
- "type" : "string",
- "description" : "商户机具唯一编码,关键参数",
- "example" : "商户机具唯一编码"
- },
- "extinfo" : {
- "type" : "string",
- "description" : "拓展参数",
- "example" : "{}"
- },
- "facetype" : {
- "type" : "string",
- "description" : "入库类型\tIDCARD:身份证\tALIPAY_USER:支付宝用户id,\tALIPAY_TEL:手机号入库\tCUSTOMER:自定义",
- "example" : "IDCARD,ALIPAY_USER, ALIPAY_TEL,CUSTOMER"
- },
- "faceval" : {
- "type" : "string",
- "description" : "入库用户信息",
- "example" : "类型为IDCARD数据格式:[{\"certName\": \"张三\",\"certNo\":\"3101101999xxxxxxxx\",\"certType\":\"IDCARD\"}]类型ALIPAY_USER数据格式:[{\"alipayUid\":\"20885022\"}]"
- },
- "group" : {
- "type" : "string",
- "description" : "分组",
- "example" : "group0"
- },
- "storecode" : {
- "type" : "string",
- "description" : "球房编码",
- "example" : "HZ1000435"
- },
- "validtimes" : {
- "type" : "string",
- "description" : "有效期天数,如7天、30天、365天",
- "example" : "7"
- }
- }
- },
- "ZolozAuthenticationCustomerFacemanageDeleteResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "string",
- "description" : "返回值",
- "example" : "{}"
- },
- "retcode" : {
- "type" : "string",
- "description" : "返回码",
- "example" : "OK_SUCCESS"
- },
- "retcodesub" : {
- "type" : "string",
- "description" : "返回详细码",
- "example" : "Z3111"
- },
- "retmessage" : {
- "type" : "string",
- "description" : "返回信息",
- "example" : "成功"
- },
- "retmessagesub" : {
- "type" : "string",
- "description" : "返回详细信息",
- "example" : "出库成功"
- }
- }
- },
- "ZolozAuthenticationCustomerFtokenQueryErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "BIZ_ERROR", "INVALID_PARAMETER", "SYSTEM_ERROR", "FTOKEN_INVALID", "TOKEN_NOT_FOUND", "UID_NOT_FOUND", "TOKEN_EXPIRED", "TOKEN_CONSUMED" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZolozAuthenticationCustomerFtokenQueryModel" : {
- "type" : "object",
- "properties" : {
- "biz_type" : {
- "type" : "string",
- "description" : "1、1:1人脸验证能力\r\t2、1:n人脸搜索能力(支付宝uid入库)\r\t3、1:n人脸搜索能力(支付宝手机号入库)\r\t4、手机号和人脸识别综合能力",
- "example" : "1"
- },
- "ext_info" : {
- "$ref" : "#/components/schemas/FaceExtInfo"
- },
- "ftoken" : {
- "type" : "string",
- "description" : "人脸token",
- "example" : "fp0593e8d5c136277f13fd5bc36c13a7db7"
- },
- "zim_id" : {
- "type" : "string",
- "description" : "刷脸初始化流程中产生的zimId值",
- "example" : "3b35b4677de2c69bb5bab69a4a5168d62"
- }
- }
- },
- "ZolozAuthenticationCustomerFtokenQueryResponseModel" : {
- "type" : "object",
- "properties" : {
- "age_check_result" : {
- "type" : "string",
- "description" : "年龄是否在指定范围内,未指定范围则返回空,true/false",
- "example" : "true"
- },
- "authimg_base_64" : {
- "type" : "string",
- "description" : "图片base64 encodeString",
- "example" : "图片base64 encodeString"
- },
- "cert_name" : {
- "type" : "string",
- "description" : "证件姓名",
- "example" : "张三"
- },
- "cert_no" : {
- "type" : "string",
- "description" : "身份证号码",
- "example" : "身份证号码"
- },
- "face_id" : {
- "type" : "string",
- "description" : "由ISV定义的对自然人唯一编码,举例可以是身份证号码和姓名的MD5值,或者是其他编码方式,要求脱敏、随机且在ISV可以唯一说明一个自然人",
- "example" : "6458f8361582010447730145389650"
- },
- "open_id" : {
- "type" : "string",
- "description" : "支付宝用户open_id",
- "example" : "074a1CcTG1LelxKe4xQC0zgNdId0nxi95b5lsNpazWYoCo5"
- },
- "uid" : {
- "type" : "string",
- "description" : "支付宝uid",
- "example" : "2088002842508713"
- },
- "uid_tel_pair_list" : {
- "type" : "array",
- "description" : "用户名信息返回的列表",
- "items" : {
- "$ref" : "#/components/schemas/ZhubUidTelPair"
- }
- }
- }
- },
- "ZolozAuthenticationCustomerSmilepayInitializeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "SYSTEM_ERROR", "INVALID_PARAMETER", "BIZ_ERROR", "MACHINE_SERVICE_SUSPEND", "BIZ_ID_REPEAT" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZolozAuthenticationCustomerSmilepayInitializeModel" : {
- "type" : "object",
- "properties" : {
- "service_id" : {
- "type" : "string",
- "description" : "刷脸服务Id",
- "example" : "pay-刷脸支付\nauth-刷脸核身"
- },
- "service_params" : {
- "type" : "string",
- "description" : "商户可传入刷脸服务所需的扩展参数,json格式",
- "example" : "{\"key1\": \"value1\"}"
- },
- "zimmetainfo" : {
- "type" : "string",
- "description" : "{ \"apdidToken\": \"设备指纹\", \"appName\": \"应用名称\", \"appVersion\": \"应用版本\", \"bioMetaInfo\": \"生物信息如2.3.0:3,-4\" }",
- "example" : "{ \"apdidToken\": \"设备指纹\", \"appName\": \"应用名称\", \"appVersion\": \"应用版本\", \"bioMetaInfo\": \"生物信息如2.3.0:3,-4\" }"
- }
- }
- },
- "ZolozAuthenticationCustomerSmilepayInitializeResponseModel" : {
- "type" : "object",
- "properties" : {
- "result" : {
- "type" : "string",
- "description" : "返回值",
- "example" : "{\"zimId\":\"54acb4edf8884e9c38c5c3614cc53ae3c\",\"type\":\"zimInit\",\"zimInitClientData\":\"唤起人脸客户端参数\"}"
- }
- }
- },
- "ZolozAuthenticationSmilepayInitializeErrorResponseModel" : {
- "required" : [ "code", "message" ],
- "type" : "object",
- "properties" : {
- "code" : {
- "type" : "string",
- "description" : "错误码",
- "enum" : [ "INVALID_PARAMETER", "SYSTEM_ERROR", "BIZ_ERROR" ]
- },
- "links" : {
- "type" : "string",
- "description" : "解决方案链接"
- },
- "message" : {
- "type" : "string",
- "description" : "错误描述"
- }
- }
- },
- "ZolozAuthenticationSmilepayInitializeModel" : {
- "type" : "object",
- "properties" : {
- "apdid_token" : {
- "type" : "string",
- "description" : "设备指纹,用于唯一标识一台设备",
- "example" : "40Kl9e97cQcMJka5gfT0arVPq7GTaR6yE5f73mj8zqBW9eOPZQEAAA=="
- },
- "app_name" : {
- "type" : "string",
- "description" : "人脸识别应用名称",
- "example" : "com.alipay.zoloz.smile"
- },
- "app_version" : {
- "type" : "string",
- "description" : "人脸识别应用版本号",
- "example" : "3.7.0.201809191618"
- },
- "base_ver" : {
- "type" : "string",
- "description" : "基础包版本号",
- "example" : "7.1.1"
- },
- "bio_meta_info" : {
- "type" : "string",
- "description" : "生物识别元信息",
- "example" : "3.13.0:12419136,6"
- },
- "device_model" : {
- "type" : "string",
- "description" : "设备型号",
- "example" : "T2"
- },
- "device_type" : {
- "type" : "string",
- "description" : "设备类型",
- "example" : "android"
- },
- "ext_info" : {
- "$ref" : "#/components/schemas/FaceExtParams"
- },
- "machine_info" : {
- "$ref" : "#/components/schemas/FaceMachineInfo"
- },
- "merchant_info" : {
- "$ref" : "#/components/schemas/FaceMerchantInfo"
- },
- "os_version" : {
- "type" : "string",
- "description" : "操作系统版本号",
- "example" : "7.1.1"
- },
- "remote_log_id" : {
- "type" : "string",
- "description" : "业务ID",
- "example" : "bcf71c4290f288f4421ee9d49eedbf1e2840ba"
- },
- "zim_ver" : {
- "type" : "string",
- "description" : "ZIM版本号",
- "example" : "1.0.0"
- }
- }
- },
- "ZolozAuthenticationSmilepayInitializeResponseModel" : {
- "type" : "object",
- "properties" : {
- "ret_code_sub" : {
- "type" : "string",
- "description" : "返回详细码",
- "example" : "Z3161"
- },
- "ret_message_sub" : {
- "type" : "string",
- "description" : "返回详细信息",
- "example" : "操作成功"
- },
- "zim_id" : {
- "type" : "string",
- "description" : "ZIM上下文ID",
- "example" : "e0bdf675bc8b6f442eb03b2109d59c92d"
- },
- "zim_init_client_data" : {
- "type" : "string",
- "description" : "客户端协议",
- "example" : "客户端渲染数据,JSON或PB格式"
- }
- }
- }
- },
- "parameters" : {
- "AuthToken" : {
- "name" : "auth_token",
- "in" : "query",
- "description" : "用户授权令牌",
- "allowEmptyValue" : true,
- "schema" : {
- "type" : "string"
- }
- },
- "TargetAppId" : {
- "name" : "target_app_id",
- "in" : "query",
- "description" : "目标isv应用ID",
- "schema" : {
- "type" : "string"
- }
- }
- }
- }
- }
|