forked from unimatrix/web
8 lines
2.4 KiB
JavaScript
8 lines
2.4 KiB
JavaScript
export const POSTBANK_CONTRACTS=Object.freeze({
|
|
server:{title:'Game server link',state:'not_linked',request:{method:'POST',path:'/api/bank/integrations/game/payments',fields:['requestId','sourceAccount','targetAccount','amount','reference','gameReceipt']},response:{paymentId:'unique payment reference',state:'queued | posted | rejected'},note:'Future server-to-server integration. No request is sent from this placeholder. Server credentials must never be supplied by a browser.'},
|
|
mandates:{title:'Account authorisations',state:'planned',request:{method:'POST',path:'/api/bank/authorisations',fields:['accountNumber','clientNumber','permissions','startsAt','expiresAt','confirmed']},response:{authorisationId:'new authorisation reference',state:'active | pending'},note:'Creation, editing and revocation of mandates are deferred. Existing imported authority remains checked by the central API.'},
|
|
investments:{title:'Securities service',state:'planned',request:{method:'POST',path:'/api/bank/investments/orders',fields:['requestId','securitiesAccount','settlementAccount','instrument','side','quantity','confirmed']},response:{orderId:'unique order reference',state:'accepted | rejected'},note:'No trading request is sent. Civic/Public and all 979 funding or settlement accounts are forbidden. Personal eligibility does not grant access to official money.'},
|
|
loans:{title:'Credit applications',state:'planned',request:{method:'POST',path:'/api/bank/loans/applications',fields:['requestId','accountNumber','amount','motivation','confirmed']},response:{applicationId:'application reference',state:'submitted'},note:'Credit applications, approvals, payouts and repayments are deferred.'},
|
|
companies:{title:'Company registration link',state:'prepared',request:{method:'POST',path:'/api/bank/integrations/entities',fields:['sourceEventId','kind','externalKey','displayName']},response:{entityId:'bank entity reference',state:'not_activated'},note:'Trusted central company-registry event, not a browser endpoint. No companies are invented. Existing approved companies are read from the central registry.'},
|
|
economy:{title:'Cost-of-living index',state:'baseline',request:{method:'GET',path:'/api/bank/integrations/economy-index',fields:[]},response:{index:100,base:100,source:'baseline',observedAt:null},note:'No live economy feed is linked. P&O uses the published baseline until an independently verified index is integrated.'}
|
|
});
|

Staff