{"info":{"_postman_id":"6e9fb6e9-7e25-4deb-919a-cfcc7268a71e","name":"Public Dopple UAT Merchant API Restful v1.0","description":"<html><head></head><body><h2 id=\"how-to-use-dopple-api\">How to use Dopple API:</h2>\n<h4 id=\"requirements\">Requirements</h4>\n<p>You will need an account set up and access to your api_key and relevant system_id to fully utilise this Dopple API.</p>\n<h2 id=\"production-and-uat-environments\">Production and UAT Environments:</h2>\n<h4 id=\"production\">Production</h4>\n<p><a href=\"https://app.dopplepay.com\">https://app.dopplepay.com</a></p>\n<h4 id=\"uat\">UAT</h4>\n<p><a href=\"https://uat-app.dopplepay.com\">https://uat-app.dopplepay.com</a></p>\n<h2 id=\"important-notes\">Important notes:</h2>\n<h4 id=\"monetary-values\">Monetary Values</h4>\n<p>All monetary values must be in pence. For example: £123.45 must be represented as 12345.</p>\n<h4 id=\"api-key\">API Key</h4>\n<p>Your api_key must be kept secret as this is how we authorise API requests. We reserve the right to rotate these keys at regular intervals, or when we believe your key may have been compromised.</p>\n<h4 id=\"application-status\">Application Status</h4>\n<p>List of statuses an application can have during a journey:</p>\n<p>Initialised<br>Customer Started Application<br>With Lender<br>Action Required By Lender<br>Action Required By Customer<br>Accepted By Lender<br>Referred By Lender<br>Declined By Lender<br>Declined By All Lenders<br>Customer Signed And Deposit Paid<br>Merchant Submitted POD<br>Fulfilled By Merchant<br>Remittance Sent To Merchant<br>Cancelled By Customer<br>Cancelled By Merchant<br>Abandoned By Customer<br>Fully Refunded</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5980637","collectionId":"6e9fb6e9-7e25-4deb-919a-cfcc7268a71e","publishedId":"2sA35A95nZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"2e3532","highlight":"FF6666"},"publishDate":"2024-03-27T12:52:17.000Z"},"item":[{"name":"Create a New Application","event":[{"listen":"prerequest","script":{"id":"43637f69-1d36-444e-9684-15113166c377","exec":["let min = 1000;","let max = 30000;","let randomNumber = Math.floor(Math.random() * (min - max + 1) + max);","","pm.environment.set(\"merchant_unique_reference\", randomNumber);"],"type":"text/javascript","packages":{}}}],"id":"7ef7411c-3f74-4ff6-81f4-b228b1b4acf4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"goods\": [\n        {\n            \"description\": \"Item 1\",\n            \"price\": 100000\n        },\n        {\n            \"description\": \"Item 2\",\n            \"price\": 100000\n        }\n    ],\n    \"consumer_details\": {\n        \"title\": \"Mr\",\n        \"first_name\": \"Dwayne\",\n        \"last_name\": \"Dibley\",\n        \"email\": \"someone@example.com\",\n        \"mobile_number\": \"07123456789\",\n        \"gender\": \"Male\",\n        \"dob\": \"1990-01-01\",\n        \"marital_status\": \"Single\",\n        \"monthly_mortgage_or_rent_amount\": \"100000\",\n        \"residential_status\": \"Private Tenant\",\n        \"annual_household_income_amount\": \"3000000\",\n        \"address\": {\n            \"address_line_1\": \"1 Some Street\",\n            \"address_line_2\": \"\",\n            \"address_line_3\": \"\",\n            \"post_town\": \"Some Town\",\n            \"county\": \"Someshire\",\n            \"postcode\": \"AB1 2CD\"\n        },\n        \"employment\": {\n            \"status\": \"armed_forces\",\n            \"occupation\": \"Soldier\",\n            \"employer_name\": \"British Army\",\n            \"years\": \"6\",\n            \"annual_salary_amount\": \"2000000\"\n        },\n        \"bank\": {\n            \"account_number\": \"11111111\",\n            \"sort_code\": \"089300\",\n            \"years\": \"6\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/merchants/applications?api_key={{api_key}}&system_id={{system_id}}&merchant_unique_reference={{merchant_unique_reference}}&csn_url={{csn_url}}&return_url_accepted={{return_url_accepted}}&return_url_declined={{return_url_declined}}&return_url_other={{return_url_other}}","description":"<p>Create a new application for Online applications. The URL in the response will send the customer to the Dopple application form process.</p>\n<p>The only mandatory field of the body section is <strong>goods</strong>, an array of the items in the order and their prices. There must be at least one value in the good array: an array containg a description of the item, and its price in pence.</p>\n","urlObject":{"path":["api","merchants","applications"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"api_key","value":"{{api_key}}"},{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"system_id","value":"{{system_id}}"},{"description":{"content":"<p>Mandatory. This is your unique reference that will allow you to identify the application on your system. Usually this will be your order or basket reference. This value submitted must not have been used before in association with the system_id, so if you potentially reuse the same references, you will need to append the reference to ensure no duplicates occur.</p>\n","type":"text/plain"},"key":"merchant_unique_reference","value":"{{merchant_unique_reference}}"},{"description":{"content":"<p>Mandatory (must begin with https://). The url for us to send CSNs for this application</p>\n","type":"text/plain"},"key":"csn_url","value":"{{csn_url}}"},{"description":{"content":"<p>Mandatory (must begin with https://). The url we are to redirect the shopper to once a loan has signed a loan contract (and paid the deposit if required)</p>\n","type":"text/plain"},"key":"return_url_accepted","value":"{{return_url_accepted}}"},{"description":{"content":"<p>Mandatory (must begin with https://). The url we are to redirect the shopper to if we are unable to find a lender to lend to the shopper</p>\n","type":"text/plain"},"key":"return_url_declined","value":"{{return_url_declined}}"},{"description":{"content":"<p>Mandatory (must begin with https://). The url we are to redirect the shopper to for outcomes other than accepted or declined (for example, abandoned or cancelled applications)</p>\n","type":"text/plain"},"key":"return_url_other","value":"{{return_url_other}}"}],"variable":[]}},"response":[{"id":"a46a2636-02fd-4859-b7b3-385bddc302ed","name":"Example Success with standard information","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"goods\": [\n        {\n            \"description\": \"Item 1\",\n            \"price\": 100000\n        },\n        {\n            \"description\": \"Item 2\",\n            \"price\": 50000\n        }\n    ],\n    \"consumer_details\": {\n        \"title\": \"Mr\",\n        \"first_name\": \"Dwayne\",\n        \"last_name\": \"Dibley\",\n        \"email\": \"someone@example.com\",\n        \"mobile_number\": \"07123456789\",\n        \"gender\": \"Male\",\n        \"dob\": \"1990-01-01\",\n        \"marital_status\": \"Single\",\n        \"monthly_mortgage_or_rent_amount\": \"100000\",\n        \"residential_status\": \"Private Tenant\",\n        \"annual_household_income_amount\": \"3000000\",\n        \"address\": {\n            \"address_line_1\": \"1 Some Street\",\n            \"address_line_2\": \"\",\n            \"address_line_3\": \"\",\n            \"post_town\": \"Some Town\",\n            \"county\": \"Someshire\",\n            \"postcode\": \"AB1 2CD\"\n        },\n        \"employment\": {\n            \"status\": \"armed_forces\",\n            \"occupation\": \"Soldier\",\n            \"employer_name\": \"British Army\",\n            \"years\": \"6\",\n            \"annual_salary_amount\": \"2000000\"\n        },\n        \"bank\": {\n            \"account_number\": \"11111111\",\n            \"sort_code\": \"089300\",\n            \"years\": \"6\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications?api_key={{api_key}}&system_id={{system_id}}&merchant_unique_reference={{merchant_unique_reference}}&csn_url={{csn_url}}&return_url_accepted={{return_url_accepted}}&return_url_declined={{return_url_declined}}&return_url_other={{return_url_other}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications"],"query":[{"key":"api_key","value":"{{api_key}}","type":"text","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","type":"text","description":"Mandatory"},{"key":"merchant_unique_reference","value":"{{merchant_unique_reference}}","type":"text","description":"Mandatory. This is your unique reference that will allow you to identify the application on your system. Usually this will be your order or basket reference. This value submitted must not have been used before in association with the system_id, so if you potentially reuse the same references, you will need to append the reference to ensure no duplicates occur."},{"key":"csn_url","value":"{{csn_url}}","type":"text","description":"Mandatory (must begin with https://). The url for us to send CSNs for this application"},{"key":"return_url_accepted","value":"{{return_url_accepted}}","type":"text","description":"Mandatory (must begin with https://). The url we are to redirect the shopper to once a loan has signed a loan contract (and paid the deposit if required)"},{"key":"return_url_declined","value":"{{return_url_declined}}","type":"text","description":"Mandatory (must begin with https://). The url we are to redirect the shopper if we are unable to find a lender to lend to the shopper"},{"key":"return_url_other","value":"{{return_url_other}}","type":"text","description":"Mandatory (must begin with https://). The url we are to redirect the shopper to for outcomes other tha accepted or declined (for example, abandoned or cancelled applications)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://uat-app.dopplepay.com/apply?a=554f4afd-fa51-4e4a-9430-56cd838f8197\",\n    \"application_id\": \"998287c7-58c9-4378-b6c5-47ddb8f198a2\"\n}"},{"id":"a1a7db64-2404-4c65-809c-bfcfe3e293bc","name":"Example Success with deposit information","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"deposit_amount\": 15000,\n    \"goods\": [\n        {\n            \"description\": \"Item 1\",\n            \"price\": 100000\n        },\n        {\n            \"description\": \"Item 2\",\n            \"price\": 50000\n        }\n    ],\n    \"consumer_details\": {\n        \"title\": \"Mr\",\n        \"first_name\": \"Dwayne\",\n        \"last_name\": \"Dibley\",\n        \"email\": \"someone@example.com\",\n        \"mobile_number\": \"07123456789\",\n        \"gender\": \"Male\",\n        \"dob\": \"1990-01-01\",\n        \"marital_status\": \"Single\",\n        \"monthly_mortgage_or_rent_amount\": \"100000\",\n        \"residential_status\": \"Private Tenant\",\n        \"annual_household_income_amount\": \"3000000\",\n        \"address\": {\n            \"address_line_1\": \"1 Some Street\",\n            \"address_line_2\": \"\",\n            \"address_line_3\": \"\",\n            \"post_town\": \"Some Town\",\n            \"county\": \"Someshire\",\n            \"postcode\": \"AB1 2CD\"\n        },\n        \"employment\": {\n            \"status\": \"armed_forces\",\n            \"occupation\": \"Soldier\",\n            \"employer_name\": \"British Army\",\n            \"years\": \"6\",\n            \"annual_salary_amount\": \"2000000\"\n        },\n        \"bank\": {\n            \"account_number\": \"11111111\",\n            \"sort_code\": \"089300\",\n            \"years\": \"6\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications?api_key={{api_key}}&system_id={{system_id}}&merchant_unique_reference={{merchant_unique_reference}}&csn_url={{csn_url}}&return_url_accepted={{return_url_accepted}}&return_url_declined={{return_url_declined}}&return_url_other={{return_url_other}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"},{"key":"merchant_unique_reference","value":"{{merchant_unique_reference}}","description":"Mandatory. This is your unique reference that will allow you to identify the application on your system. Usually this will be your order or basket reference. This value submitted must not have been used before in association with the system_id, so if you potentially reuse the same references, you will need to append the reference to ensure no duplicates occur."},{"key":"csn_url","value":"{{csn_url}}","description":"Mandatory (must begin with https://). The url for us to send CSNs for this application"},{"key":"return_url_accepted","value":"{{return_url_accepted}}","description":"Mandatory (must begin with https://). The url we are to redirect the shopper to once a loan has signed a loan contract (and paid the deposit if required)"},{"key":"return_url_declined","value":"{{return_url_declined}}","description":"Mandatory (must begin with https://). The url we are to redirect the shopper if we are unable to find a lender to lend to the shopper"},{"key":"return_url_other","value":"{{return_url_other}}","description":"Mandatory (must begin with https://). The url we are to redirect the shopper to for outcomes other tha accepted or declined (for example, abandoned or cancelled applications)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://uat-app.dopplepay.com/apply?a=217f4afd-fa51-4e4a-9430-56cd838f8197\",\n    \"application_id\": \"998287c7-58c9-2295-b6c5-47ddb8f198a2\"\n}"},{"id":"bfd38604-caa0-43b6-b21d-c3c5728b4594","name":"Example Success with minimal information","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"goods\": [\n        {\n            \"description\": \"Item 1\",\n            \"price\": 100000\n        },\n        {\n            \"description\": \"Item 2\",\n            \"price\": 50000\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications?api_key={{api_key}}&system_id={{system_id}}&merchant_unique_reference={{merchant_unique_reference}}&csn_url={{csn_url}}&return_url_accepted={{return_url_accepted}}&return_url_declined={{return_url_declined}}&return_url_other={{return_url_other}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"},{"key":"merchant_unique_reference","value":"{{merchant_unique_reference}}","description":"Mandatory. This is your unique reference that will allow you to identify the application on your system. Usually this will be your order or basket reference. This value submitted must not have been used before in association with the system_id, so if you potentially reuse the same references, you will need to append the reference to ensure no duplicates occur."},{"key":"csn_url","value":"{{csn_url}}","description":"Mandatory (must begin with https://). The url for us to send CSNs for this application"},{"key":"return_url_accepted","value":"{{return_url_accepted}}","description":"Mandatory (must begin with https://). The url we are to redirect the shopper to once a loan has signed a loan contract (and paid the deposit if required)"},{"key":"return_url_declined","value":"{{return_url_declined}}","description":"Mandatory (must begin with https://). The url we are to redirect the shopper if we are unable to find a lender to lend to the shopper"},{"key":"return_url_other","value":"{{return_url_other}}","description":"Mandatory (must begin with https://). The url we are to redirect the shopper to for outcomes other tha accepted or declined (for example, abandoned or cancelled applications)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://uat-app.dopplepay.com/apply?a=e5508f76-f635-477a-bb2d-e231bc8ab36e\",\n    \"application_id\": \"99828869-378e-4679-afec-c10fdecc379e\"\n}"},{"id":"714343f3-ae77-45ed-8491-4cec5ce5161c","name":"Example Fail with minimal information","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"goods\": [\n\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications?api_key={{api_key}}&system_id={{system_id}}&merchant_unique_reference={{merchant_unique_reference}}&csn_url={{csn_url}}&return_url_accepted={{return_url_accepted}}&return_url_declined={{return_url_declined}}&return_url_other={{return_url_other}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"},{"key":"merchant_unique_reference","value":"{{merchant_unique_reference}}","description":"Mandatory. This is your unique reference that will allow you to identify the application on your system. Usually this will be your order or basket reference. This value submitted must not have been used before in association with the system_id, so if you potentially reuse the same references, you will need to append the reference to ensure no duplicates occur."},{"key":"csn_url","value":"{{csn_url}}","description":"Mandatory (must begin with https://). The url for us to send CSNs for this application"},{"key":"return_url_accepted","value":"{{return_url_accepted}}","description":"Mandatory (must begin with https://). The url we are to redirect the shopper to once a loan has signed a loan contract (and paid the deposit if required)"},{"key":"return_url_declined","value":"{{return_url_declined}}","description":"Mandatory (must begin with https://). The url we are to redirect the shopper if we are unable to find a lender to lend to the shopper"},{"key":"return_url_other","value":"{{return_url_other}}","description":"Mandatory (must begin with https://). The url we are to redirect the shopper to for outcomes other tha accepted or declined (for example, abandoned or cancelled applications)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"A0003\",\n        \"reason\": \"Invalid request, missing data\"\n    },\n    \"additional_data\": {\n        \"application_data\": {\n            \"goods\": [],\n            \"api_key\": \"1963942d-e9ed-4ce5-a098-4ecd5e4d886d\",\n            \"system_id\": \"99b9596d-0c4e-463f-b26c-add3940a8876\",\n            \"merchant_unique_reference\": \"20117\",\n            \"csn_url\": \"https://example.com/csn_url\",\n            \"return_url_accepted\": \"https://example.com/accepted\",\n            \"return_url_declined\": \"https://example.com/declined\",\n            \"return_url_other\": \"https://example.com/other\"\n        }\n    }\n}"}],"_postman_id":"7ef7411c-3f74-4ff6-81f4-b228b1b4acf4"},{"name":"Get current details of an Application","id":"0542bb36-debf-43fd-bdc0-2fb1cb5625ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/merchants/applications/{{application_id}}/?api_key={{api_key}}&system_id={{system_id}}","description":"<p>Returns the current details of an application</p>\n","urlObject":{"path":["api","merchants","applications","{{application_id}}",""],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"api_key","value":"{{api_key}}"},{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"system_id","value":"{{system_id}}"}],"variable":[]}},"response":[{"id":"2d737f76-89dc-48c5-b52d-a60ba98b4011","name":"Example","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications/{{application_id}}/?api_key={{api_key}}&system_id={{system_id}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications","{{application_id}}",""],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"application_id\": \"9ba7a40e-75d5-4836-bea0-a2a2a21b96d0\",\n    \"url\": \"https://uat-app.dopplepay.com/apply?a=42520079-da33-4769-b988-41bdb6ea52a1\",\n    \"merchant_unique_reference\": \"2793311\",\n    \"status\": \"Customer Started Application\",\n    \"financials\": {\n        \"order_total_amount\": 200000\n    },\n    \"customer\": {\n        \"title\": \"Mr\",\n        \"first_name\": \"Dwayne\",\n        \"last_name\": \"Dibley\",\n        \"mobile_number\": \"07123456789\",\n        \"address_line_1\": \"1 Some Street\",\n        \"address_line_2\": null,\n        \"address_line_3\": null,\n        \"post_town\": \"Some Town\",\n        \"county\": \"Someshire\",\n        \"postcode\": \"AB1 2CD\"\n    },\n    \"goods\": [\n        {\n            \"description\": \"Item 1\",\n            \"price\": \"100000\"\n        },\n        {\n            \"description\": \"Item 2\",\n            \"price\": \"100000\"\n        }\n    ]\n}"}],"_postman_id":"0542bb36-debf-43fd-bdc0-2fb1cb5625ce"},{"name":"Get Link for Existing Application","id":"e8412332-a21d-42e7-8040-706659197d0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/merchants/applications/{{application_id}}/link?api_key={{api_key}}&system_id={{system_id}}","description":"<p>Use this request to obtain the Dopple URL for an application in case the customer has exited the process and wishes to resume.</p>\n","urlObject":{"path":["api","merchants","applications","{{application_id}}","link"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"api_key","value":"{{api_key}}"},{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"system_id","value":"{{system_id}}"}],"variable":[]}},"response":[{"id":"b2dd8b21-b7ca-471b-834b-d119cc46c642","name":"Example","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications/{{application_id}}/link?api_key={{api_key}}&system_id={{system_id}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications","{{application_id}}","link"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"https://uat-app.dopplepay.com/apply?a=42520079-da33-4769-b988-41bdb6ea52ee\",\n    \"application_id\": \"9ba7a40e-75d5-4836-bea0-a2a2a21b96d4\"\n}"}],"_postman_id":"e8412332-a21d-42e7-8040-706659197d0b"},{"name":"Get Minimum/Maximum Loan Amount","id":"b3ef7dbc-6636-426e-b8a5-56f2fbc9a7b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{domain}}/api/merchants/applications/minimum_maximum_loan_amounts/{{system_id}}?api_key={{api_key}}&system_id={{system_id}}","description":"<p>Returns the minimum and maximum loan amount offered based on the collection of rate cards applicable to your account.</p>\n","urlObject":{"path":["api","merchants","applications","minimum_maximum_loan_amounts","{{system_id}}"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"api_key","value":"{{api_key}}"},{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"system_id","value":"{{system_id}}"}],"variable":[]}},"response":[{"id":"bbbdffa2-6ddb-42cb-b793-56675120bd5e","name":"Example","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications/minimum_maximum_loan_amounts/{{system_id}}?api_key={{api_key}}&system_id={{system_id}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications","minimum_maximum_loan_amounts","{{system_id}}"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"min_amount\": \"10000\",\n    \"max_amount\": \"5000000\"\n}"}],"_postman_id":"b3ef7dbc-6636-426e-b8a5-56f2fbc9a7b0"},{"name":"Resend CSN for an Application","id":"4df3f0a4-fb91-4404-99a4-597ee12d7b61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/merchants/applications/{{application_id}}/resend-csn?api_key={{api_key}}&system_id={{system_id}}","description":"<p>Instructs our system to send the current status of an application as a CSN to the CSN URL. Our response will indicate whether delivery of the CSN was successful. If we recieve a 200 response from the CSN URL the resent CSN is delivered.</p>\n","urlObject":{"path":["api","merchants","applications","{{application_id}}","resend-csn"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"api_key","value":"{{api_key}}"},{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"system_id","value":"{{system_id}}"}],"variable":[]}},"response":[{"id":"928a2672-fcac-4b2f-b1b3-fecbf23d9097","name":"Example Success","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications/{{application_id}}/resend-csn?api_key={{api_key}}&system_id={{system_id}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications","{{application_id}}","resend-csn"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"success\"\n}"},{"id":"95f0f0da-d5d7-498f-bf9d-4dfa5196ccc0","name":"Example Fail","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications/{{application_id}}/resend-csn?api_key={{api_key}}&system_id={{system_id}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications","{{application_id}}","resend-csn"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"error\": {\n        \"code\": \"M0005\",\n        \"reason\": \"We resent the CSN via http_post but did not receive a 200 response\"\n    },\n    \"additional_data\": {\n        \"response_code: \": 404\n    }\n}"}],"_postman_id":"4df3f0a4-fb91-4404-99a4-597ee12d7b61"},{"name":"Cancel an Application","id":"25c9c0d9-dbca-4e94-94cd-d361a0c51882","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/merchants/applications/{{application_id}}/cancel?api_key={{api_key}}&system_id={{system_id}}","description":"<p>This endpoint will cancel an application, and should be used when a customer no longer wishes to proceed.</p>\n","urlObject":{"path":["api","merchants","applications","{{application_id}}","cancel"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"api_key","value":"{{api_key}}"},{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"system_id","value":"{{system_id}}"}],"variable":[]}},"response":[{"id":"4451056e-005b-45ef-b898-9a46c5acdce8","name":"Example","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications/{{application_id}}/cancel?api_key={{api_key}}&system_id={{system_id}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications","{{application_id}}","cancel"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n    \"application_id\": \"9ba7a40e-75d5-4836-bea0-a2a2a21b96d6\",\n    \"status\": \"Cancelled By Merchant\"\n}"}],"_postman_id":"25c9c0d9-dbca-4e94-94cd-d361a0c51882"},{"name":"Refund an Application","id":"de6efa55-cfed-47e6-a563-552a88f21964","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/merchants/applications/{{application_id}}/refund?api_key={{api_key}}&system_id={{system_id}}","description":"<p>This endpoint will refund an application, and should be used when a merchant has processed a refund.</p>\n","urlObject":{"path":["api","merchants","applications","{{application_id}}","refund"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"api_key","value":"{{api_key}}"},{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"system_id","value":"{{system_id}}"}],"variable":[]}},"response":[{"id":"2b251c85-c905-450c-af2b-08d5b12fdfed","name":"Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications/{{application_id}}/refund?api_key={{api_key}}&system_id={{system_id}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications","{{application_id}}","refund"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"application_id\": \"998287c7-58c9-2222-b6c5-47ddb7f198a3\",\n    \"status\": \"Refunded By Merchant\"\n}"}],"_postman_id":"de6efa55-cfed-47e6-a563-552a88f21964"},{"name":"Partially Refund an Application","id":"97a6e7c5-ce97-4067-a484-192506b483be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"value\":10000\n}","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/merchants/applications/{{application_id}}/partial-refund?api_key={{api_key}}&system_id={{system_id}}","description":"<p>This endpoint will partially refund an application, and should be used when a merchant wants to refund only part of the purchase.</p>\n","urlObject":{"path":["api","merchants","applications","{{application_id}}","partial-refund"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"api_key","value":"{{api_key}}"},{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"system_id","value":"{{system_id}}"}],"variable":[]}},"response":[{"id":"5b169c43-d8ab-4cc4-944f-f3608f7d38fc","name":"Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"value\":100000\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications/{{application_id}}/partial-refund?api_key={{api_key}}&system_id={{system_id}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications","{{application_id}}","partial-refund"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"application_id\": \"998287c7-2222-4378-b6c5-44ade5f198a3\",\n    \"status\": \"Remittance Sent To Merchant\"\n}"}],"_postman_id":"97a6e7c5-ce97-4067-a484-192506b483be"},{"name":"Fulfil an Application","id":"49a7f803-c7ec-43f7-b057-5bbfe060b19b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{domain}}/api/merchants/applications/{{application_id}}/fulfil?api_key={{api_key}}&system_id={{system_id}}","description":"<p>This endpoint will fulfill an application, and should be used when a the product has been delivered and all requirements for fulfilment are ready.</p>\n","urlObject":{"path":["api","merchants","applications","{{application_id}}","fulfil"],"host":["{{domain}}"],"query":[{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"api_key","value":"{{api_key}}"},{"description":{"content":"<p>Mandatory</p>\n","type":"text/plain"},"key":"system_id","value":"{{system_id}}"}],"variable":[]}},"response":[{"id":"02601f6e-7e8e-4bbe-8de6-bde9c255b2cc","name":"Example","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"https://uat-app.dopplepay.com/api/merchants/applications/{{application_id}}/fulfil?api_key={{api_key}}&system_id={{system_id}}","protocol":"https","host":["uat-app","dopplepay","com"],"path":["api","merchants","applications","{{application_id}}","fulfil"],"query":[{"key":"api_key","value":"{{api_key}}","description":"Mandatory"},{"key":"system_id","value":"{{system_id}}","description":"Mandatory"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"application_id\": \"998274c7-11c9-4378-b6c5-47ccb8f198a3\",\n    \"status\": \"Fulfilled By Merchant\"\n}"}],"_postman_id":"49a7f803-c7ec-43f7-b057-5bbfe060b19b"}],"event":[{"listen":"prerequest","script":{"id":"dd253fb3-2305-4629-a956-ca4c17f49e5d","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2753a9b4-0397-45c9-91c4-f42d8204b7a8","type":"text/javascript","exec":[""]}}]}