{"info":{"_postman_id":"bd2e8493-e12b-49c7-84aa-32093eda9b04","name":"Methodist Collection  DEMO API","description":"<html><head></head><body><p>This suite of API end points are designed to make Methodist Church collections by integration easy and quick.\nIt features 4 endpoints i.e. </p>\n<p>-LoadDeclaration\n-SubmitPosting\n-ReversePosting\n-VerifyPosting</p>\n<p>All these end points give any of these response codes in the reponse payloads: 00 - Success, 03 - Failed, 05 - Error.</p>\n<p>To access it one needs to send valid API Key &amp; Basic Authorisation details in the request header.</p>\n<p>Please note that the credentials used here are all for demo/test purposes. \nBanks should contact the service provider for API Key and Basic Auth credential for test/live usage.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1860266","collectionId":"bd2e8493-e12b-49c7-84aa-32093eda9b04","publishedId":"S11PpFzR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-03-06T22:06:02.000Z"},"item":[{"name":"https://epaydemo.methodistpay.com/api/CollectionDemo/LoadDeclaration?declarationcode=M200501-2019-06","id":"2954d2b2-5c8d-4ae8-bb2e-97986c6967d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"API-KEY","value":"UATEUDHDFHCBFJFJCNFHVLFDJJFGDSCXVX","type":"text"}],"url":"https://epaydemo.methodistpay.com/api/CollectionDemo/LoadDeclaration?declarationcode=SD0000033","description":"<p>This service endpoint is used to fetch details on a declaration code. This is useful when a verification of payable amount(net amount) is performed in the banking software before the teller performs actual collection. </p>\n","urlObject":{"protocol":"https","path":["api","CollectionDemo","LoadDeclaration"],"host":["epaydemo","methodistpay","com"],"query":[{"key":"declarationcode","value":"SD0000033"}],"variable":[]}},"response":[],"_postman_id":"2954d2b2-5c8d-4ae8-bb2e-97986c6967d0"},{"name":"http://epaydemo.collectionspaypoint.com/api/CollectionDemo/SubmitPosting","id":"52f2d4ad-143b-492a-aa20-f24e97e037d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"API-KEY","type":"text","value":"28E72AB2C87F41DBA9668B6E4325AC24"}],"body":{"mode":"raw","raw":"{\r\n  \"Poster\": \"mirabel.addison@adb.com.gh\",\r\n  \"PostingDescription\": \"Society Payment\",\r\n  \"Payee\": \"John Doe\",\r\n  \"PayeeContact\": \"0244123457\",\r\n  \"Amount\": 2521.19,\r\n  \"PaymentOption\": \"CHEQUE\",\r\n  \"ChequeNumber\": \"ZB#123\",\r\n  \"DeclarationCode\": \"M130501-2019-01\",\r\n  \"ReferenceNumber\": \"REFMCG00012\",\r\n  \"CollectingAccount\": \"7771234567899\"\r\n}"},"url":"http://epaydemo.collectionspaypoint.com/api/CollectionDemo/SubmitPosting","description":"<p>This service endpoint is used to make a payment for a declaration code. It requires the reference number and other posting details.\nThe response contains a Collection ID which indicates the ID assigned the payment by the Methodist Church.</p>\n","urlObject":{"protocol":"http","path":["api","CollectionDemo","SubmitPosting"],"host":["epaydemo","collectionspaypoint","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"52f2d4ad-143b-492a-aa20-f24e97e037d6"},{"name":"http://epaydemo.collectionspaypoint.com/api/CollectionDemo/ReversePosting","id":"3d99c2e8-54e1-4dbe-921b-3e9b3df47347","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"API-KEY","value":"363637JG8F43D18552F1FHE7430A2D25","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"ReversalPoster\": \"demo_bank_client\",\r\n  \"Reason\": \"Bad Posting\",\r\n  \"CollectionID\": 75,\r\n  \"ReferenceNumber\": \"REF00991\"\r\n}"},"url":"http://epaydemo.collectionspaypoint.com/api/CollectionDemo/ReversePosting","description":"<p>Use this service endpoint to reverse a collection ealier sent. The CollectionID and Reference are required</p>\n","urlObject":{"protocol":"http","path":["api","CollectionDemo","ReversePosting"],"host":["epaydemo","collectionspaypoint","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d99c2e8-54e1-4dbe-921b-3e9b3df47347"},{"name":"http://epaydemo.collectionspaypoint.com/api/CollectionDemo/VerifyPosting","id":"eaa609e0-7d73-42b1-af38-5d18762f178c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"API-KEY","value":"363637JG8F43D18552F1FHE7430A2D25","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"CollectionID\": 75,\r\n  \"ReferenceNumber\": \"REF00991\"\r\n}"},"url":"http://epaydemo.collectionspaypoint.com/api/CollectionDemo/VerifyPosting","description":"<p>This service endpoint can be used to check the details of a posting earlier sent. Details needed include the Reference and Collection ID</p>\n","urlObject":{"protocol":"http","path":["api","CollectionDemo","VerifyPosting"],"host":["epaydemo","collectionspaypoint","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"eaa609e0-7d73-42b1-af38-5d18762f178c"}],"event":[{"listen":"prerequest","script":{"id":"2375857a-22ad-4acf-8884-8acbc95ce86d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b4c8571d-c507-4f8e-b704-a0b4edd200bf","type":"text/javascript","exec":[""]}}]}