{"info":{"_postman_id":"bde15a38-e06f-46a8-82f2-ccdcffd42381","name":"Crypton Mobile CryptoStips API","description":"<html><head></head><body><p>CryptoStips is a simple and secure way of uploading stipulations such as customer photo requirements like Pay stubs, including but not limited to Proof of identification, income, address, and billing from your local device or mobile phone as part of your business transaction. You will be able to send, download, and get the status of every stips request.</p>\n<p>This documentation will help you get started with using CryptoStips API endpoints.</p>\n<p><strong>Overview</strong></p>\n<ol><li><p>You will need an API Key and Secret code to use any endpoints. Authorization is basic auth over HTTPS/TLS. You just need to include in every request your authorization header key and value. Your API key would be your basic auth username and API secret as the password.</p></li><li><p>All requests should be done over HTTPS</p></li><li><p>Request body and response to every request is in JSON format. Make sure to set <code>Content-Type: application/json</code> in the headers of every request.</p></li><li><p>HTTP status codes will be sent to every response to any API call. <code>200 OK</code> response means the call was successful. <code>4XX</code> or <code>5XX</code> response means there was an error on the API call.</p></li><li><p>All errors are represented by a JSON response of <code>\"error\": {}</code> key indicating the name of the error and a description.</p></li><li><p>If you need help on using CryptonMobile CryptoStips API, you may send an email to<a href=\"mailto:support@cryptonmobile.com\">support@cryptonmobile.com</a></p></li></ol></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"13429452","collectionId":"bde15a38-e06f-46a8-82f2-ccdcffd42381","publishedId":"2s935rLP5r","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2023-02-09T09:43:58.000Z"},"item":[{"name":"Create Image Request","id":"b90f0a57-8255-40d0-a23e-2aa886912a83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"title\": \"Loan Application for John Wick - Loan # 12345690\",\r\n    \"message\": \"Hi John! To continue with your application, please submit your requirements in this link #URL# Reply STOP to stop. \",\r\n    \"isSendSMS\": true,\r\n    \"isSendEmail\": true,\r\n\t\"statusCallbackUrl\": \"https://your-webhook-url.com\",\r\n    \"customer\":{\r\n        \"FirstName\": \"John\",\r\n        \"LastName\": \"Wick\",\r\n        \"PhoneNumber\": \"+11234567890\",\r\n        \"Email\": \"customer@email.com\"\r\n    },\r\n\t\"documents\":[\r\n\t\t{\r\n\t\t\t\"name\": \"Driver's License\",\r\n\t\t\t\"instructions\": \"Please upload a clear copy of your Driver's License\",\r\n\t\t\t\"isRequired\": true\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"name\": \"Passport\",\r\n            \"instructions\":\"Please upload a clear copy of your Passport\",\r\n\t\t\t\"isRequired\": true\r\n\t\t},\r\n        {\r\n\t\t\t\"name\": \"Payslip\",\r\n\t\t\t\"isRequired\": false\r\n\t\t}\r\n\t],\r\n    \"customFields\":[\r\n        {\r\n            \"name\": \"CustomerName\",\r\n            \"value\": \"John Wick\"\r\n        },\r\n        {\r\n            \"name\": \"EmpId\",\r\n            \"value\": \"1234\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://cryptostipsapi.edocs.co/v1/imagerequest","description":"<p>This endpoint allows you to get an Image Request Link that you can use to send to your customers or integrate into your own application. The generated Image Request Link may be sent to a customer via your own application or any messaging application such as SMS/ email/ online messaging.</p>\n<img src=\"https://content.pstmn.io/85b51661-6019-426c-85b7-7f2d11e4304d/aW1hZ2UucG5n\" width=\"400\" height=\"710\" />\n\n<p>The sender can assign any required document, set a custom instruction for each requirement, and set whether the requirement is optional or not. The customer will be the one to upload the stipulation documents such as income documents, proof of residence, pay stubs, bank statements, and identification cards.</p>\n<p>Here is how CryptoStips page will look when the upload URL is visited:</p>\n<img src=\"https://content.pstmn.io/4a91ed3c-ba33-40c9-9858-f1721adeb9bb/aW1hZ2UucG5n\" width=\"575\" height=\"833\" />\n\n<p>*The Company Logo as seen above may be customized with your own logo upon request.</p>\n<p>The customer will be asked to upload a photo of any required document to an image (jpeg or png) or pdf format. CryptoStips will securely store and host the uploaded file to be retrieved/downloaded by the Sender at any time.</p>\n<img src=\"https://content.pstmn.io/bedd7467-906d-44a5-9d7a-5199242100a6/aW1hZ2UucG5n\" width=\"574\" height=\"826\" />\n\n<p><strong>Request Notes</strong></p>\n<ol>\n<li><p><strong>Title</strong> (string, required) : This will serve as the heading of the Image Request upload page.</p>\n</li>\n<li><p><strong>Message</strong> (string, required): This is the custom text message the user will receive along with the link. You can set the description, branch codes, customer names, or any custom message that will best describe the upload page. Here is where you include <code>#URL#</code> in the message, which will be replaced by the generated upload link. For email notifications, messages are already set by default.</p>\n</li>\n<li><p><strong>IsSendSMS</strong> (boolean, required): Setting this to true will enable the API to send an SMS notification to the recipient.</p>\n</li>\n<li><p><strong>IsSendEmail</strong> (boolean, required): Setting this to true will enable the API to send an email notification to the recipient.</p>\n</li>\n<li><p><strong>StatusCallbackUrl</strong> (string, optional): This is the webhook URL that you can use to get real-time status on every activity in an API request.</p>\n</li>\n<li><p><strong>Customer</strong> : A customer is the recipient of the Image Request. The <strong>customer</strong> section contains the following elements:</p>\n<ul>\n<li><strong>FirstName</strong> (string, required): First name of the customer.</li>\n<li><strong>LastName</strong> (string, required): Last name of the customer.</li>\n<li><strong>PhoneNumber</strong> (string, required): Phone number of the customer.</li>\n<li><strong>Email</strong> (string, optional): Email address of the customer.</li>\n</ul>\n</li>\n<li><p><strong>Documents</strong> : This is the list of documents you want to require on your Image Request upload page. You can send single or multiple documents, add instructions, and set the document if required or optional. The <strong>Documents</strong> section contains the following elements:</p>\n<ul>\n<li><p><strong>Name</strong> (string, required): This refers to the type of document required. Common examples are Driver's Licenses, Passports, Pay Stubs, Proof of Billing, Proof of Income, Utility Bills, and the like.</p>\n</li>\n<li><p><strong>Instructions</strong> (string, optional): This is where you can set a specific description or instruction with the document.</p>\n</li>\n<li><p><strong>IsRequired</strong> (boolean, required): Boolean indicating whether the document is required. Setting the I<strong>sRequired</strong> option to true will make the document required, and when false, optional.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>CustomFields</strong> : This is a list of name and value pairs that you want to associate with the specific request. If you have additional remarks that were not provided in the previous sections, they can be set in this element. The <strong>CustomFields</strong> section contains the following elements:</p>\n<ul>\n<li><p><strong>Name</strong> (string, required): This is the name of the variable that you will set.</p>\n</li>\n<li><p><strong>Value</strong> (string, required): This contains the value of the variable you set from the Name section. Common Value pairs are remarks, notes, branch codes, and many more.</p>\n</li>\n</ul>\n</li>\n</ol>\n<p><strong>Response Notes</strong></p>\n<p>A successful request will have an <code>HTTP 200 OK</code> response with a body containing the generated image request link and necessary details including the unique identifier, validity period, and creation timestamp of the image request.</p>\n","urlObject":{"protocol":"https","path":["v1","imagerequest"],"host":["cryptostipsapi","edocs","co"],"query":[],"variable":[]}},"response":[{"id":"41476900-a75a-4b48-b3b7-e3ee2c0bf81f","name":"Create Image Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"title\": \"Loan Application for John Wick - Loan # 12345690\",\r\n    \"message\": \"Hi John! To continue with your application, please submit your requirements in this link #URL# Reply STOP to stop. \",\r\n    \"isSendSMS\": true,\r\n    \"isSendEmail\": true,\r\n\t\"statusCallbackUrl\": \"https://your-webhook-url.com\",\r\n    \"customer\":{\r\n        \"FirstName\": \"John\",\r\n        \"LastName\": \"Wick\",\r\n        \"PhoneNumber\": \"+11234567890\",\r\n        \"Email\": \"customer@email.com\"\r\n    },\r\n\t\"documents\":[\r\n\t\t{\r\n\t\t\t\"name\": \"Driver's License\",\r\n\t\t\t\"instructions\": \"Please upload a clear copy of your Driver's License\",\r\n\t\t\t\"isRequired\": true\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"name\": \"Passport\",\r\n            \"instructions\":\"Please upload a clear copy of your Passport\",\r\n\t\t\t\"isRequired\": true\r\n\t\t},\r\n        {\r\n\t\t\t\"name\": \"Payslip\",\r\n\t\t\t\"isRequired\": false\r\n\t\t}\r\n\t],\r\n    \"customFields\":[\r\n        {\r\n            \"name\": \"CustomerName\",\r\n            \"value\": \"John Wick\"\r\n        },\r\n        {\r\n            \"name\": \"EmpId\",\r\n            \"value\": \"1234\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://cryptostipsapi.edocs.co/v1/imagerequest"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 03 Apr 2024 09:40:19 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"imageRequestId\": \"{imageRequestId}\",\n    \"imageRequestLink\": \"https://cryptostips.edocs.co/uploadstips?t=abc123xyz\",\n    \"linkValidity\": \"2024-04-06T09:40:20.5246675Z\",\n    \"dateCreated\": \"2024-04-03T09:40:20.5824669Z\"\n}"}],"_postman_id":"b90f0a57-8255-40d0-a23e-2aa886912a83"},{"name":"Resend Image Request","id":"c05e72ba-3e20-4b22-b712-85960238006c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"isSendSMS\": false,\r\n    \"isSendEmail\": true,\r\n    \"PhoneNumber\": \"+11234567890\",\r\n    \"Email\": \"customer+updated@email.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://cryptostipsapi.edocs.co/v1/imagerequest/{{imageRequestId}}/resend","description":"<p>This endpoint allows resending the image request with updated notification preferences.</p>\n<p><strong>Request Notes</strong></p>\n<ol>\n<li><p><strong>IsSendSMS</strong> (boolean, optional): Flag indicating whether to send an SMS notification to the user.</p>\n</li>\n<li><p><strong>IsSendEmail</strong> (boolean, optional): Flag indicating whether to send an email notification to the user.</p>\n</li>\n<li><p><strong>PhoneNumber</strong> (string, optional): Updated phone number for SMS notification. A valid format for the Phone number is Country code + Phone number.</p>\n</li>\n<li><p><strong>Email</strong> (string, optional): Updated email address for email notification.</p>\n</li>\n</ol>\n<p><strong>Response Notes</strong></p>\n<p>A successful request will have an <code>HTTP 200 OK</code> response and the image request will be resent with updated notification preferences.</p>\n","urlObject":{"protocol":"https","path":["v1","imagerequest","{{imageRequestId}}","resend"],"host":["cryptostipsapi","edocs","co"],"query":[],"variable":[]}},"response":[{"id":"30748090-4950-463c-8934-cc1a6d675602","name":"Resend Image Request","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"isSendSMS\": false,\r\n    \"isSendEmail\": true,\r\n    \"PhoneNumber\": \"+11234567890\",\r\n    \"Email\": \"customer+updated@email.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://cryptostipsapi.edocs.co/v1/imagerequest/{{imageRequestId}}/resend"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 03 Apr 2024 10:17:22 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"imageRequestId\": \"{imageRequestId}\",\n    \"imageRequestLink\": \"https://cryptostips.edocs.co/uploadstips?t=abc123xyz\",\n    \"linkValidity\": \"2024-04-06T10:17:22.6735525Z\"\n}"}],"_postman_id":"c05e72ba-3e20-4b22-b712-85960238006c"},{"name":"Get Image Request Documents","id":"c0b7d97c-529d-4386-b011-405ee80b9c5d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cryptostipsapi.edocs.co/v1/imagerequest/{{imageRequestId}}","description":"<p>This endpoint allows you to get the status, details, and uploaded Image Request Document from the Id of Create Image Request. You will need to place the Image Request Id at the endpoint URL before the <code>documents</code> section.</p>\n<p><strong>Response Notes</strong></p>\n<p>A successful request will have an <code>HTTP 200 OK</code> response with a body containing the following:</p>\n<ol>\n<li><p>imageRequestId -This is a reference to the Image Request Id you used in this request.</p>\n</li>\n<li><p>Status - This refers to the current state of the activity done with the Image Request Link. Available status values are <code>Viewed, Completed.</code></p>\n</li>\n<li><p>DateCreated - This contains the date and time stamp to which the Image Request link was submitted.</p>\n</li>\n<li><p>DateCompleted - This contains the date and time stamp to which the Image Request link was completed.</p>\n</li>\n<li><p>Documents - This is the list of documents you have included on your CryptoStips API request. This section may contain single or multiple set of documents. The <strong>Documents</strong> section contains the following elements:</p>\n<ol>\n<li><p>DocumentId - This is a unique identifier of the Document.</p>\n</li>\n<li><p>Name - This is a reference to the type of document you have set on your CryptoStips API request.</p>\n</li>\n<li><p>FileName - This is a reference to the custom filename you have set on your CryptoStips API request.</p>\n</li>\n<li><p>DownloadURI - This is the generated download URL link of the document that you will need to be able to download Image Request Document. See <code>Download Document</code>for more details.</p>\n</li>\n</ol>\n</li>\n<li><p>CustomFields - These are additional details associated with the Create Image Request. It has two elements:</p>\n<ol>\n<li>Name - This is the name of the variable that was set.</li>\n<li>Value - The value of the variable you set from the Name element.</li>\n</ol>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["v1","imagerequest","{{imageRequestId}}"],"host":["cryptostipsapi","edocs","co"],"query":[],"variable":[]}},"response":[{"id":"186e04cb-9cb0-447b-973e-18eb87d5c7df","name":"Get Image Request Documents","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cryptostipsapi.edocs.co/v1/imagerequest/{{imageRequestId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Server","value":"Microsoft-IIS/10.0"},{"key":"Strict-Transport-Security","value":"max-age=2592000"},{"key":"X-Powered-By","value":"ASP.NET"},{"key":"Date","value":"Wed, 03 Apr 2024 10:35:36 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"imageRequestId\": \"{imageRequestId}\",\n    \"status\": \"Completed\",\n    \"dateCreated\": \"2024-04-03T09:40:20.583\",\n    \"dateCompleted\": \"2024-04-03T10:18:14.67\",\n    \"documents\": [\n        {\n            \"documentId\": \"{documentId}\",\n            \"name\": \"Driver's License\",\n            \"fileName\": \"Drivers-License.jpg\",\n            \"downloadUri\": \"https://cryptostipsapi.edocs.co/v1/imagerequest/{imageRequestId}/download/{documentId}\"\n        },\n        {\n            \"documentId\": \"{documentId}\",\n            \"name\": \"Passport\",\n            \"fileName\": \"Passport.jpg\",\n            \"downloadUri\": \"https://cryptostipsapi.edocs.co/v1/imagerequest/{imageRequestId}/download/{documentId}\"\n        },\n        {\n            \"documentId\": \"{documentId}\",\n            \"name\": \"Payslip\",\n            \"fileName\": \"Payslip.jpg\",\n            \"downloadUri\": \"https://cryptostipsapi.edocs.co/v1/imagerequest/{imageRequestId}/download/{documentId}\"\n        }\n    ],\n    \"customFields\": [\n        {\n            \"name\": \"CustomerName\",\n            \"value\": \"John Wick\"\n        },\n        {\n            \"name\": \"EmpId\",\n            \"value\": \"1234\"\n        }\n    ]\n}"}],"_postman_id":"c0b7d97c-529d-4386-b011-405ee80b9c5d"},{"name":"Download Document","id":"f7da50e1-f2b9-4c01-917b-026e15da04e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"<username>"},{"key":"password","value":"<password>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://cryptostipsapi.edocs.co/v1/imagerequest/{{imageRequestId}}/download/{{documentId}}","description":"<p>This endpoint allows you to download a single document using the <code>downloadURI</code> element from <code>Get Documents</code> endpoint. You will need to place the <code>downloadURI</code> value on the URL of this request.</p>\n<p><strong>Response Notes</strong></p>\n<p>A successful request will have an <code>HTTP 200 OK</code> response with a body containing the uploaded document.</p>\n","urlObject":{"protocol":"https","path":["v1","imagerequest","{{imageRequestId}}","download","{{documentId}}"],"host":["cryptostipsapi","edocs","co"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7da50e1-f2b9-4c01-917b-026e15da04e7"}],"event":[{"listen":"prerequest","script":{"id":"08e7757c-c81a-42a6-aea5-3fa540df19b4","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bb423e0d-1499-4912-abb8-3dd98edaa5d8","type":"text/javascript","exec":[""]}}]}