{"info":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"19035881","collectionId":"4e8b757f-1146-45ee-a531-5025f130f16c","publishedId":"2s93zCa1nF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"336699"},"publishDate":"2023-07-14T15:51:13.000Z"},"item":[{"name":"Overview","item":[{"name":"Introduction","item":[],"id":"fa798bfc-607e-45f5-9ac8-caa517359c70","description":"<p>The BridgePay Recurring Billing API is a RESTful API providing an Internet-facing web services interface for the creation and management of Recurring Billing Accounts and Contracts.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"24667e13-7bf9-4506-8050-2c09806715a2"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"b013b649-6062-4176-a6dd-28825ce51274"}}],"_postman_id":"fa798bfc-607e-45f5-9ac8-caa517359c70"},{"name":"Connection Strings","item":[],"id":"0f9ed3bc-e41f-4017-ada6-30b232f329f8","description":"<p>The following URLs are the base URLs used for the Recurring Billing API:</p>\n<p><strong>TEST</strong><br /><a href=\"http://www.bridgepaynetsecuretest.com/Recurringbilling.Api/api/\">http://www.bridgepaynetsecuretest.com/Recurringbilling.Api/api/</a></p>\n<p><strong>PROD</strong><br /><a href=\"http://www.bridgepaynetsecuretx.com/Recurringbilling.Api/api/\">http://www.bridgepaynetsecuretx.com/Recurringbilling.Api/api/</a></p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a56a5c8f-7d7e-422a-a171-5bf73e188f14"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"70192912-27b5-40ae-a97a-7c155f260df1"}}],"_postman_id":"0f9ed3bc-e41f-4017-ada6-30b232f329f8"},{"name":"Key Elements","item":[],"id":"49e6ba9f-531d-4fe3-a8c3-79220ca06686","description":"<p>The Recurring Billing API requires a series of hierarchical objects which will be used to construct a recurring billing contract. Users are encouraged to work through the order laid out in the process flow section to create each necessary object.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"34814ba2-c185-4cf5-8b55-a55ad3e10322"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"4cbe795b-d241-4adf-80f4-3227869ea173"}}],"_postman_id":"49e6ba9f-531d-4fe3-a8c3-79220ca06686"},{"name":"Process Flow","item":[],"id":"ecd960ab-3d31-41dc-ad5a-d15e26f42d24","description":"<p>There is a process flow the must be followed from the creation of an account, to the creation and scheduling of a contract; however, note that step 4 must be completed using the <a href=\"https://documenter.getpostman.com/view/12042629/TWDTNzVn#a9b57c47-6136-419a-96ab-bcda773a963c\">WalletAPI</a>'s CreateWalletView method. The process is listed as follows:</p>\n<ol>\n<li>Create Account (Generates AccountID)</li>\n<li>Create Address (Generates AddresID)</li>\n<li>Create Contact (Generates ContactID)</li>\n<li>Create Wallet with Payment Method via <a href=\"https://documenter.getpostman.com/view/12042629/TWDTNzVn#a9b57c47-6136-419a-96ab-bcda773a963c\">WalletAPI</a> (Generates WalletID)</li>\n<li>Create Account Holder (Generates AccountHolderID)</li>\n<li>Create Product (Generates ProductID)</li>\n<li>CreateBilling Frequency (Generates FrequencyID)</li>\n<li>CreateContract (Generates ContractID)</li>\n</ol>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"d8bebdbc-1785-4e44-a0af-c96910104354"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"47e9c77c-c259-4a61-93e8-079d8bc9af59"}}],"_postman_id":"ecd960ab-3d31-41dc-ad5a-d15e26f42d24"},{"name":"Authentication Information","item":[],"id":"553a5d10-7d57-4673-a046-748cad0c6db5","description":"<p>All end points are authenticated by basic authentication, which must be provided in the authorization header using Authorization: Basic, along with the 64bit encoded credential string using iso-8859-1 encoding. Credentials are formed by the username/password combination. In addition, all traffic must be submitted over the https transport protocol; non-http traffic will be forwarded to the appropriate https endpoint.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"05958795-6c4d-4fa2-a67d-cada3ef7d868"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"ab814b64-712f-49b6-9e8c-e1904f7b70d4"}}],"_postman_id":"553a5d10-7d57-4673-a046-748cad0c6db5"},{"name":"Sample Request & Response","item":[],"id":"b1e80fee-2191-47ca-8a9c-9f62bedc2fad","description":"<p>Rather than provide a sample request and response layout, because they are different for each request, this section will provide information on the three methods supported by the API.</p>\n<h4 id=\"get\">GET</h4>\n<p>Unless otherwise specified, all get collection commands return an EntityList object where T is the EntityModel for that particular endpoints (for example EntityList for the api/accounts/).The EntityModel is composed of the Results objects which contains an IEnumerable of the returned entities, the Links objects which contains the self-describing links, as well as the TotalCount, TotalPages, and Page objects which contain information about the total entities, total pages, and current page respectively. Each collection endpoint accepts the following arguments in addition to any specific entity arguments:</p>\n<ul>\n<li>IncludeGraph: specifies whether to return the whole graph, the default is false if not specified</li>\n<li>Page: specifies which page of results to return, 0 is the default.</li>\n<li>Page_Size: specifies the number of records to return per page, 25 is the default.</li>\n<li>SearchFalse: specifies on whether to take into account false values when filtering, false isthe default.</li>\n</ul>\n<p>The collection endpoints can filter on any property for the entity which the end point represents. For example, the api/accounts endpoint could accept any or all of Name, AccountNumber, or IsActive query string arguments along with the default arguments. To return a single record, specify the ID as specified by the route api/{controller}/{id} (for example api/accounts/1) and optional specify the query string argument IncludeGraph=true (default is false) to return the whole graph of an object (i.e. child elements and collections).</p>\n<h4 id=\"post\">POST</h4>\n<p>Posts use the same endpoints as a collection get, and you must specify every required field for an endpoint to successfully post an entity. You can also post a graph including non-collection child elements as specified below. Do not post the ID of the item either in the URL or the body of the post, as the Id is automatically assigned when the item is added to the database. The return of this will contain a result with the newly posted entity including the generated Id identifier.</p>\n<h4 id=\"putpatch\">PUT/PATCH</h4>\n<p>Put is similar to post, except that it is used to update already existing items and the ID should be specified both in the body and the URL. Using Put, you must specify every field for each entity you are updating, so if you updating a graph with one child element off the parent you must specify every field for both parent and child. If you are not updating a child element just leave it as null. Patch like Put, is used for updating and you must specify the Id in both the query string and the body, however with Patch you only need to specify the fields you updating. This is true on graphs as well, so that you could specify just one field and a child element and update both the Parent and the Child entity on one call.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"6bc04db4-3e1a-4366-a1ea-76bc23c55f32"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"a0c91623-3547-4db4-80a0-043ae6863db8"}}],"_postman_id":"b1e80fee-2191-47ca-8a9c-9f62bedc2fad"}],"id":"a5d6b064-393a-44b4-a862-533d17019287","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"a8cc22bc-8d6f-461f-a0cd-4489cbfa7d1c"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"168b9581-354d-449a-a9f6-50734d95b063"}}],"_postman_id":"a5d6b064-393a-44b4-a862-533d17019287","description":""},{"name":"Integration Support","item":[],"id":"4d45ed55-dc82-4448-a31f-fa291332eae9","description":"<p><em><strong>A test or live merchant account with BridgePay is necessary to successfully process transactions. To acquire a test account, complete the test account request form located on the</strong></em> <a href=\"https://bridgepaynetwork.force.com/TA/s/test-account-request\">BridgePay Integrator Support Portal</a><em><strong>.</strong></em></p>\n<p>To review additional documentation, please visit the <a href=\"https://bridgepaynetwork.atlassian.net/wiki/spaces/DC/overview?homepageId=191824013\">Developer Center</a>. For Integrations Assistance, please <a href=\"https://bridgepaynetwork.force.com/is/s/enteracase\">Enter a Case</a>.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"2ac42416-02bc-41dd-af8a-b052eb1459ff"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"5712b78b-4300-42e7-a2de-7ca8b7c49fb3"}}],"_postman_id":"4d45ed55-dc82-4448-a31f-fa291332eae9"},{"name":"Request & Response Information","item":[],"id":"a02b259e-4625-4ee5-9882-260c8867744a","description":"<p>Because each request will contain largely different content, the request and response information will be defined in each specific request layout.</p>\n","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"67fb956f-712a-4862-8e06-cc9dc18d7014"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"4437a2ce-e602-4cca-adf6-743780e48798"}}],"_postman_id":"a02b259e-4625-4ee5-9882-260c8867744a"},{"name":"Specific Request Layouts","item":[{"name":"Accounts","item":[{"name":"Account","id":"de372b1c-90f3-496d-87e7-1fcd2636faf1","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/{accountID}","description":"<p><strong>GET</strong>: api/accounts/{id}</p>\n<p>This returns a single Account entity specified by the Id attribute on the end of the URL. Optionally, IncludeGraph=true can be added to the query string to return the Contracts and AccountHolders child collections.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetAccount</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the Entity for a given unique id wrapped in an IHttpActionResult.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}  <br />/RecurringBilling.Api/api/Accounts/5</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Accounts/GetAccount</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the requested Entity.  <br />  <br />IncludeGraph - True/False whether to return the child entities of the entities requested.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","accounts","{accountID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"ae7a93fc-283d-4ca1-9946-894e345a5ce6","name":"Account","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/{accountID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Page\": 0,\n    \"TotalPages\": 1,\n    \"TotalCount\": 8,\n    \"Results\": [\n        {\n            \"Links\": [\n                {\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/31253\",\n                    \"Rel\": \"Self or Patch\",\n                    \"Method\": \"Get\",\n                    \"IsTemplated\": false\n                },\n                {\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts\",\n                    \"Rel\": \"newAccount\",\n                    \"Method\": \"Post\",\n                    \"IsTemplated\": false\n                }\n            ],\n            \"Id\": 12345,\n            \"MerchantId\": 12345001,\n            \"Name\": \"APITest\",\n            \"AccountNumber\": \"12345\",\n            \"IsActive\": true,\n            \"Contracts\": null,\n            \"AccountHolders\": null\n        }\n    ],\n    \"Links\": [],\n    \"Exception\": null\n}"}],"_postman_id":"de372b1c-90f3-496d-87e7-1fcd2636faf1"},{"name":"Accounts","id":"a11335e4-0dd3-4207-96ba-a5083f082b3e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantCode}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts","description":"<p><strong>GET</strong>: api/accounts/<br />This returns an EntityList accepts the following query string arguments in addition to the default arguments above: AccountNumber, Name, IsActive (true/false).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetAccounts</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns a list of an EntityList object which includes values for TotalCount, TotalPages, Page, Links, and Results , which contains a collection of the Entity.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL} /RecurringBilling.Api/api/Accounts</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Accounts</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>IncludeGraph -True/False whether to return the child entities of the entities requested.  <br />  <br />Page - The page or results to return.  <br />  <br />Page_Size - The size of the page of results to return, the default being 25.  <br />  <br />SearchFalse - True/False whether to search false values for boolean argum ents in the querystring.  <br />  <br />Entity - Any of the fields in this object can be used as query string filters: MerchantId, AccountName, AccountNumber, CreatedOn, ModifiedOn, and IsActive.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","accounts"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"f5e1b472-f0db-45cf-a3c1-717f98b603d4","name":"Accounts","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"","type":"text","disabled":true},{"key":"X-RB-OrganizationId","value":"","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":{"raw":"https:///RecurringBilling.API/api/accounts?includeGraph=false","protocol":"https","path":["RecurringBilling.API","api","accounts"],"query":[{"key":"includeGraph","value":"false"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Page\": 0,\n    \"TotalPages\": 1,\n    \"TotalCount\": 8,\n    \"Results\": [\n        {\n            \"Links\": [\n                {\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/31253\",\n                    \"Rel\": \"Self or Patch\",\n                    \"Method\": \"Get\",\n                    \"IsTemplated\": false\n                },\n                {\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts\",\n                    \"Rel\": \"newAccount\",\n                    \"Method\": \"Post\",\n                    \"IsTemplated\": false\n                }\n            ],\n            \"Id\": 12345,\n            \"MerchantId\": 12345001,\n            \"Name\": \"APITest\",\n            \"AccountNumber\": \"12345\",\n            \"IsActive\": true,\n            \"Contracts\": null,\n            \"AccountHolders\": null\n        },\n        {\n            \"Links\": [\n                {\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/37690\",\n                    \"Rel\": \"Self or Patch\",\n                    \"Method\": \"Get\",\n                    \"IsTemplated\": false\n                },\n                {\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts\",\n                    \"Rel\": \"newAccount\",\n                    \"Method\": \"Post\",\n                    \"IsTemplated\": false\n                }\n            ],\n            \"Id\": 12346,\n            \"MerchantId\": 12345002,\n            \"Name\": \"APITest2\",\n            \"AccountNumber\": \"12345\",\n            \"IsActive\": true,\n            \"Contracts\": null,\n            \"AccountHolders\": null\n        }\n    ],\n    \"Links\": [],\n    \"Exception\": null\n}"}],"_postman_id":"a11335e4-0dd3-4207-96ba-a5083f082b3e"},{"name":"Create Account","id":"0518dbab-62b3-4ee9-847f-c03eae00ad7c","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n\t\"MerchantId\": {merchantAccountCode},\r\n    \"Name\": \"RBAPI Name\",\r\n    \"AccountNumber\": \"1234567890\",\r\n\t\"IsActive\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts","description":"<p><strong>POST</strong>: api/accounts/<br />This endpoint accepts an Account entity, with no child elements. Only the MerchantId is required, however it is recommended to give the Account a name as well. Figure 3 shows an example Post body for an Account entity.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PostAccount</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Adds an entity to the database from the model provided. On success, returns the updated entity wrapped in an IHttpActionResult, with the Id value of the entity set.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>POST: api/Accounts</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Account - The entity model to be inserted</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","accounts"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"6cd9e47d-86f5-479a-b83e-5c7011f52a7d","name":"Create Account","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"MerchantId\": \"{merchantAccountCode}\",\r\n    \"Name\": \"RBAPI Name\",\r\n    \"AccountNumber\": \"12340\",\r\n\t\"IsActive\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Links\": [\n        {\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/37986\",\n            \"Rel\": \"Self or Patch\",\n            \"Method\": \"Get\",\n            \"IsTemplated\": false\n        },\n        {\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts\",\n            \"Rel\": \"newAccount\",\n            \"Method\": \"Post\",\n            \"IsTemplated\": false\n        }\n    ],\n    \"Id\": 37986,\n    \"MerchantId\": 13026001,\n    \"Name\": \"RBAPI Name\",\n    \"AccountNumber\": \"12340\",\n    \"IsActive\": true,\n    \"Contracts\": null,\n    \"AccountHolders\": null"}],"_postman_id":"0518dbab-62b3-4ee9-847f-c03eae00ad7c"},{"name":"Update Account","id":"84b2c990-3e0f-4445-9770-53088e93fc1d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"PATCH","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n    \"Id\": 37986,\r\n    \"Name\": \"RBAPI Name1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/","description":"<p><strong>PATCH</strong>: api/accounts/{id} Specify the Id in the URL and any fields you want to update with <strong>PATCH</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PatchAccount</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Updates an entity based on the specified fields. This method works for Http method <strong>PATCH.</strong></td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>[HttpPatch]</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the requested Entity.  <br />  <br />Account - The entity model to be updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","accounts",""],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"4f3e3f2d-cb53-48b4-97e2-09f1b670f12b","name":"Update Account","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"MerchantId\": \"{merchantAccountCode}\",\r\n    \"Name\": \"RBAPI Name\",\r\n    \"AccountNumber\": \"12340\",\r\n\t\"IsActive\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Links\": [\n        {\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/37986\",\n            \"Rel\": \"Self or Patch\",\n            \"Method\": \"Get\",\n            \"IsTemplated\": false\n        },\n        {\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts\",\n            \"Rel\": \"newAccount\",\n            \"Method\": \"Post\",\n            \"IsTemplated\": false\n        }\n    ],\n    \"Id\": 37986,\n    \"MerchantId\": 13026001,\n    \"Name\": \"RBAPI Name\",\n    \"AccountNumber\": \"12340\",\n    \"IsActive\": true,\n    \"Contracts\": null,\n    \"AccountHolders\": null"}],"_postman_id":"84b2c990-3e0f-4445-9770-53088e93fc1d"}],"id":"d89c7569-5929-4cca-9921-a226abfa5d59","description":"<p>The Account entity is used to store the Customer Name and Account Number of the customer to be added. This will be linked to entities created later in the process.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Required</strong></th>\n<th><strong>Property Name</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>O</td>\n<td>Name</td>\n<td>0-50</td>\n<td>nvarchar</td>\n<td>Name of the account.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>AccountNumber</td>\n<td>0-25</td>\n<td>nvarchar</td>\n<td>Account number as a string for the account.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>IsActive</td>\n<td>1</td>\n<td>boolean</td>\n<td>Default is 'false' (0) if not specified in Post.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>MerchantID</td>\n<td></td>\n<td>integer</td>\n<td>The MerchantAccountCode for the gateway on which the Account will be created. Only relevant on <strong>POST</strong> and <strong>GET</strong>. MerchantID cannot be updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d89c7569-5929-4cca-9921-a226abfa5d59","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}},{"name":"Addresses","item":[{"name":"Address","id":"a79cac8f-2c39-4bb0-97d8-63aeae5236a8","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/addresses/{addressID}","description":"<p><strong>GET</strong>: api/addresses/{id}<br />This returns a single Address entity specified by the Id attribute on the end of the URL. There are no optional arguments of this endpoint.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetAddress</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the Entity for a given unique id wrapped in an IHttpActionResult.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Addresses/GetAddress</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the requested entity</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","addresses","{addressID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"1f9eec95-f0a8-4bc5-864b-61055c8b75a6","name":"Address","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/addresses/{addressID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 2,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/29120\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses\",\r\n                    \"Rel\": \"newAddress\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 29120,\r\n            \"AddressStreet\": \"123 Test St\",\r\n            \"AddressStreetTwo\": null,\r\n            \"AddressCity\": null,\r\n            \"AddressState\": null,\r\n            \"AddressCountry\": \"US\",\r\n            \"AddressZip\": null,\r\n            \"Contacts\": null\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"a79cac8f-2c39-4bb0-97d8-63aeae5236a8"},{"name":"Addresses","id":"27b37f18-8da9-4c5c-b95d-bb7ac7d2700e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/addresses","description":"<p><strong>GET</strong>: api/addresses/<br />This returns an EntityList accepts any of the above fields as optional arguments to filter the return results.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetAddresses</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the requested entities wrapped in an EntityList object which includes values for TotalCount, TotalPages, Page, Links, and Results, which contains a collection of the Entity.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Addresses/GetAddresses</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Page - The page or results to return  <br />  <br />Page - The size of the page of results to return, the default being 25.  <br />  <br />Entity - The Entity whose child properties can be used as filter values in the query string: AddressStreet, AddressStreetTwo, AddressCity, AddressState, AddressCountry, and AddressZip.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","addresses"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"652d75c1-3e6a-4979-8a0a-aeb1a7af796a","name":"Addresses","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/addresses"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 2,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/29120\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses\",\r\n                    \"Rel\": \"newAddress\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 29120,\r\n            \"AddressStreet\": \"123 Test St\",\r\n            \"AddressStreetTwo\": null,\r\n            \"AddressCity\": null,\r\n            \"AddressState\": null,\r\n            \"AddressCountry\": \"US\",\r\n            \"AddressZip\": null,\r\n            \"Contacts\": null\r\n        },\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/35420\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses\",\r\n                    \"Rel\": \"newAddress\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 35420,\r\n            \"AddressStreet\": \"123 Test Street\",\r\n            \"AddressStreetTwo\": null,\r\n            \"AddressCity\": \"Lake Smith\",\r\n            \"AddressState\": \"FL\",\r\n            \"AddressCountry\": \"USA\",\r\n            \"AddressZip\": \"33232\",\r\n            \"Contacts\": null\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"27b37f18-8da9-4c5c-b95d-bb7ac7d2700e"},{"name":"Create Address","id":"8c96d927-4d8e-449b-910d-9ff5915d1269","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n\t\"AddressStreet\": \"123 Test Street\",\r\n\t\"AddressStreetTwo\": null,\r\n\t\"AddressCity\": \"Lake Smith\",\r\n\t\"AddressState\": \"FL\",\r\n\t\"AddressCountry\": \"USA\",\r\n\t\"AddressZip\": \"33232\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/addresses","description":"<p><strong>POST</strong>: api/addresses/</p>\n<p>This endpoint accepts an Address entity, with no child elements. There are no required fields, but all fields must be specified even if they contain empty strings or null values.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PostAddress</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Adds an entity to the database from the model provided. On success, returns the updated entity wrapped in an IHttpActionResult, with the Id value ofthe entity set.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>POST: api/Addresses/PostAddress</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Address - The entity model to be inserted</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","addresses"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"bca3cd63-c839-4267-b387-4d00398786f1","name":"Create Address","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"AddressStreet\": \"123 Test Street\",\r\n\t\"AddressStreetTwo\": null,\r\n\t\"AddressCity\": \"Lake Smith\",\r\n\t\"AddressState\": \"FL\",\r\n\t\"AddressCountry\": \"USA\",\r\n\t\"AddressZip\": \"33232\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/addresses"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/35611\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses\",\r\n            \"Rel\": \"newAddress\",\r\n            \"Method\": \"Post\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 35611,\r\n    \"AddressStreet\": \"123 Test Street\",\r\n    \"AddressStreetTwo\": null,\r\n    \"AddressCity\": \"Lake Smith\",\r\n    \"AddressState\": \"FL\",\r\n    \"AddressCountry\": \"USA\",\r\n    \"AddressZip\": \"33232\",\r\n    \"Contacts\": null\r\n}"}],"_postman_id":"8c96d927-4d8e-449b-910d-9ff5915d1269"},{"name":"Update Address","id":"9dba4da6-0a2b-4046-862a-77059f93dc88","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n\t\"Id\": {addressID},\r\n\t\"AddressCity\": \"Lake Smith2\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/addresses/{addressID}","description":"<p><strong>PATCH</strong>: api/contacts/{id}</p>\n<p>Specify the Id in the URL and any fields you want to update with <strong>PATCH</strong>.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PatchAddress</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Updates an entity based on the specified fields. This method works for Http method <strong>PATCH.</strong></td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>[HttpPatch]</td>\n</tr>\n<tr>\n<td>Requried Parameters:</td>\n<td>Id - Unique id for the entity to be updated  <br />  <br />Address - The entity model to be updated</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","addresses","{addressID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"13c102bc-5e6e-421b-aa49-10cb8baf6a22","name":"Update Address","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"Id\": {addressID},\r\n\t\"AddressCity\": \"Lake Smith2\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/addresses/{addressID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/35611\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/35611\",\r\n            \"Rel\": \"newAddress\",\r\n            \"Method\": \"Post\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 35611,\r\n    \"AddressStreet\": \"123 Test Street\",\r\n    \"AddressStreetTwo\": null,\r\n    \"AddressCity\": \"Lake Smith2\",\r\n    \"AddressState\": \"FL\",\r\n    \"AddressCountry\": \"USA\",\r\n    \"AddressZip\": \"33232\",\r\n    \"Contacts\": null\r\n}"}],"_postman_id":"9dba4da6-0a2b-4046-862a-77059f93dc88"}],"id":"52fa7f8f-6d57-4404-873c-195e98e7d105","description":"<p>The Address entity is used to store address information that can be attached to a customer record.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Required</strong></th>\n<th><strong>Property Name</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>O</td>\n<td>AddressStreet</td>\n<td>0-25</td>\n<td>nvarchar</td>\n<td>Street address</td>\n</tr>\n<tr>\n<td>O</td>\n<td>AddressStreetTwo</td>\n<td>0-25</td>\n<td>nvarchar</td>\n<td>Street address continued</td>\n</tr>\n<tr>\n<td>O</td>\n<td>AddressCity</td>\n<td>0-30</td>\n<td>nvarchar</td>\n<td>City</td>\n</tr>\n<tr>\n<td>O</td>\n<td>AddressState</td>\n<td>0-30</td>\n<td>nvarchar</td>\n<td>State</td>\n</tr>\n<tr>\n<td>O</td>\n<td>AddressCountry</td>\n<td>0-30</td>\n<td>nvarchar</td>\n<td>Country</td>\n</tr>\n<tr>\n<td>O</td>\n<td>AddressZip</td>\n<td>0-10</td>\n<td>nvarchar</td>\n<td>Zip code</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"52fa7f8f-6d57-4404-873c-195e98e7d105","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}},{"name":"Contacts","item":[{"name":"Contact","id":"29917eb3-65ad-4fd0-a403-b9bf747032b4","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contacts/{contactID}","description":"<p><strong>GET</strong>: api/contacts/{id}</p>\n<p>This returns asingle Contact entity specified by the Id attribute on the end of the URL. Optionally, IncludeGraph=true can be added to the query string to return ContactAddress as well.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetContact</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the Entity for a given unique id wrapped in an IHttpActionResult.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Contacts/GetContact</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the requested Entity  <br />  <br />IncludeGraph - True/False whether to return the child entities of the Entity requested.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contacts","{contactID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[{"disabled":true,"key":"AddressId","value":"12317"}],"variable":[]}},"response":[{"id":"4102fe9b-d595-40f0-8b97-572109ad041a","name":"Contact","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"url":{"raw":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contacts/{contactID}","protocol":"https","host":["www.bridgepaynetsecuretest.com"],"path":["RecurringBilling.API","api","contacts","{contactID}"],"query":[{"key":"AddressId","value":"12317","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 3,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/30360\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts\",\r\n                    \"Rel\": \"newContact\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 30360,\r\n            \"ContactTypeId\": 1,\r\n            \"ContactFirstName\": \"FName\",\r\n            \"ContactLastName\": \"Lname\",\r\n            \"CompanyName\": null,\r\n            \"AddressId\": 29120,\r\n            \"ContactDepartment\": null,\r\n            \"ContactTitle\": null,\r\n            \"ContactEmail\": \"email@bridgepaynetwork.com\",\r\n            \"ContactDayPhone\": \"5555555555\",\r\n            \"ContactEveningPhone\": null,\r\n            \"ContactMobilePhone\": null,\r\n            \"ContactFax\": null,\r\n            \"IsActive\": false,\r\n            \"ContactAddress\": null\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"29917eb3-65ad-4fd0-a403-b9bf747032b4"},{"name":"Contacts","id":"f6eff628-6882-4eed-bf7e-e5feb5aacc25","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contacts","description":"<p><strong>GET</strong>: api/contacts/<br />This returns an EntityList accepts any of the above arguments in addition to the defaultarguments.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetContacts</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the requested entities wrapped in a n EntityList object which includes values for TotalCount, TotalPages, Page, Links, and Results , whi ch contains a collection of the Entity.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Contacts/GetContacts</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>IncludeGraph - True/False whether to return the child entities of the Entity requested.  <br />  <br />Page - The page or results to return  <br />  <br />Page_Size - The size of the page of results to return, the default being 25.  <br />  <br />SearchFalse - True/False whether to search false values for boolean arguments in the querystring.  <br />  <br />Entity - The Entity whose child properties can be used as filter values in the query string: ContactTypeId, ContactFirstName, ContactLastName, CompanyName, AddressId, ContactDepartment, ContactTitle, ContactEmail, ContactDayPhone, ContactEveningPhone, ContactMobilePhone, ContactFax, and IsActive.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contacts"],"host":["www.bridgepaynetsecuretest.com"],"query":[{"disabled":true,"key":"AddressId","value":"12317"}],"variable":[]}},"response":[{"id":"58a084c6-be3d-4342-b002-114c9fc08724","name":"Contacts","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"url":{"raw":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contacts","protocol":"https","host":["www.bridgepaynetsecuretest.com"],"path":["RecurringBilling.API","api","contacts"],"query":[{"key":"AddressId","value":"12317","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 3,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/30360\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts\",\r\n                    \"Rel\": \"newContact\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 30360,\r\n            \"ContactTypeId\": 1,\r\n            \"ContactFirstName\": \"Noah\",\r\n            \"ContactLastName\": \"Hippensteel\",\r\n            \"CompanyName\": null,\r\n            \"AddressId\": 29120,\r\n            \"ContactDepartment\": null,\r\n            \"ContactTitle\": null,\r\n            \"ContactEmail\": \"noah.hippensteel@bridgepaynetwork.com\",\r\n            \"ContactDayPhone\": \"5555555555\",\r\n            \"ContactEveningPhone\": null,\r\n            \"ContactMobilePhone\": null,\r\n            \"ContactFax\": null,\r\n            \"IsActive\": false,\r\n            \"ContactAddress\": null\r\n        },\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/36823\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts\",\r\n                    \"Rel\": \"newContact\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 36823,\r\n            \"ContactTypeId\": 1,\r\n            \"ContactFirstName\": \"FName\",\r\n            \"ContactLastName\": \"LName\",\r\n            \"CompanyName\": null,\r\n            \"AddressId\": 35420,\r\n            \"ContactDepartment\": null,\r\n            \"ContactTitle\": null,\r\n            \"ContactEmail\": \"email@email.com\",\r\n            \"ContactDayPhone\": \"9875665498\",\r\n            \"ContactEveningPhone\": null,\r\n            \"ContactMobilePhone\": null,\r\n            \"ContactFax\": null,\r\n            \"IsActive\": true,\r\n            \"ContactAddress\": null\r\n        },\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/36823\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts\",\r\n                    \"Rel\": \"newContact\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 36823,\r\n            \"ContactTypeId\": 1,\r\n            \"ContactFirstName\": \"FName\",\r\n            \"ContactLastName\": \"LName\",\r\n            \"CompanyName\": null,\r\n            \"AddressId\": 35420,\r\n            \"ContactDepartment\": null,\r\n            \"ContactTitle\": null,\r\n            \"ContactEmail\": \"email@email.com\",\r\n            \"ContactDayPhone\": \"9875665498\",\r\n            \"ContactEveningPhone\": null,\r\n            \"ContactMobilePhone\": null,\r\n            \"ContactFax\": null,\r\n            \"IsActive\": true,\r\n            \"ContactAddress\": null\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"f6eff628-6882-4eed-bf7e-e5feb5aacc25"},{"name":"Create Contact","id":"ec2d9692-2c60-4a8b-81d4-48f517bc1129","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"ContactTypeId\": 1,\r\n\t\"AddressId\": 35420,\r\n\t\"ContactFirstName\": \"FName\",\r\n\t\"ContactLastName\": \"LName\",\r\n\t\"CompanyName\": null,\r\n\t\"ContactDepartment\": null,\r\n\t\"ContactTitle\": null,\r\n\t\"ContactEmail\": \"email@email.com\",\r\n\t\"ContactDayPhone\": \"9875665498\",\r\n\t\"ContactEveningPhone\": null,\r\n\t\"ContactMobilePhone\": null,\r\n\t\"ContactFax\": null,\r\n\t\"IsActive\": true,\r\n\t\"ContactAddress\": null\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contacts","description":"<p><strong>POST</strong>: api/contacts/</p>\n<p>This endpoint accepts a Contact entity, with an optional ContactAddress child. Remember to specify theAddressId or the ContactAddress but not both. Figure 5, has an example of a Contact with a childContactAddress</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PostContact</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Adds an entity to the database from the model provided. On success, returns the updated entity wrapped in an IHttpActionResult, with the I d value of the entity set.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>POST: api/Contacts/PostContacts</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Contact - The entity model to be inserted</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contacts"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"97b26063-424c-4185-beb6-a19919bb16bf","name":"Create Contact","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"ContactTypeId\": 1,\r\n\t\"AddressId\": 35420,\r\n\t\"ContactFirstName\": \"FName\",\r\n\t\"ContactLastName\": \"LName\",\r\n\t\"CompanyName\": null,\r\n\t\"ContactDepartment\": null,\r\n\t\"ContactTitle\": null,\r\n\t\"ContactEmail\": \"email@email.com\",\r\n\t\"ContactDayPhone\": \"9875665498\",\r\n\t\"ContactEveningPhone\": null,\r\n\t\"ContactMobilePhone\": null,\r\n\t\"ContactFax\": null,\r\n\t\"IsActive\": true,\r\n\t\"ContactAddress\": null\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contacts"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/37117\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts\",\r\n            \"Rel\": \"newContact\",\r\n            \"Method\": \"Post\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 37117,\r\n    \"ContactTypeId\": 1,\r\n    \"ContactFirstName\": \"FName\",\r\n    \"ContactLastName\": \"LName\",\r\n    \"CompanyName\": null,\r\n    \"AddressId\": 35420,\r\n    \"ContactDepartment\": null,\r\n    \"ContactTitle\": null,\r\n    \"ContactEmail\": \"email@email.com\",\r\n    \"ContactDayPhone\": \"9875665498\",\r\n    \"ContactEveningPhone\": null,\r\n    \"ContactMobilePhone\": null,\r\n    \"ContactFax\": null,\r\n    \"IsActive\": true,\r\n    \"ContactAddress\": null\r\n}"}],"_postman_id":"ec2d9692-2c60-4a8b-81d4-48f517bc1129"},{"name":"Update Contact","id":"b0f42170-afb6-4665-acf4-e0f3778130a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Id\": {contactID},\r\n\t\"IsActive\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contacts/{contactID}","description":"<p><strong>PATCH</strong>: api/contacts/{id}</p>\n<p>Specify the Id in the URL and any fields you want to update with Patch.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PatchContact</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Updates an entity based on the specified fields.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>[HttpPatch]</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the entity to be updated.  <br />  <br />Model - The entity model to be updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contacts","{contactID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"733527b9-b20f-4940-ae0f-23d25c0259a8","name":"Update Contact","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"Id\": {contactID},\r\n\t\"IsActive\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contacts/{contactID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/37117\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/37117\",\r\n            \"Rel\": \"newContact\",\r\n            \"Method\": \"Post\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 37117,\r\n    \"ContactTypeId\": 1,\r\n    \"ContactFirstName\": \"FName\",\r\n    \"ContactLastName\": \"LName\",\r\n    \"CompanyName\": null,\r\n    \"AddressId\": 35420,\r\n    \"ContactDepartment\": null,\r\n    \"ContactTitle\": null,\r\n    \"ContactEmail\": \"email@email.com\",\r\n    \"ContactDayPhone\": \"9875665498\",\r\n    \"ContactEveningPhone\": null,\r\n    \"ContactMobilePhone\": null,\r\n    \"ContactFax\": null,\r\n    \"IsActive\": true,\r\n    \"ContactAddress\": null\r\n}"}],"_postman_id":"b0f42170-afb6-4665-acf4-e0f3778130a7"}],"id":"24b91e83-35e0-4e4a-b21e-e16a8d3501f4","description":"<p>Note: Contacts can either have a ContactTypeId of 1 for Merchant or 2 for Customer. The Contact thatis a child of the AccountHolder entity is of type Customer (id 2).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Required</strong></th>\n<th><strong>Property Name</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>R</td>\n<td>ContactTypeID</td>\n<td></td>\n<td>integer</td>\n<td>Specify 1 (Merchant) or 2 (Customer)</td>\n</tr>\n<tr>\n<td>C</td>\n<td>AddressID</td>\n<td></td>\n<td>integer</td>\n<td>The ID of the corresponding Address. Required <strong>if not</strong> specifying a child Address in <strong>POST</strong>.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactFirstName</td>\n<td>0-30</td>\n<td>nvarchar</td>\n<td>Contact first name. Optional, but recommended.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactLastName</td>\n<td>0-30</td>\n<td>nvarchar</td>\n<td>Contact first name. Optional, but recommended.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>CompanyName</td>\n<td>0-35</td>\n<td>nvarchar</td>\n<td>Company name</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactDepartment</td>\n<td>0-20</td>\n<td>nvarchar</td>\n<td>Contact department</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactTitle</td>\n<td>0-20</td>\n<td>nvarchar</td>\n<td>Title of the contact (Doctor, Sir, Madam, Mr, Professor, etc).</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactEmail</td>\n<td>5-50</td>\n<td>nvarchar</td>\n<td>The email of the contact. Used for automated emails and receipts. Must meet the <a href=\"mailto:X@y.z\">X@y.z</a> format. Optional, but recommended.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactDayPhone</td>\n<td>0-20</td>\n<td>nvarchar</td>\n<td>Daytime contact number</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactEveningPhone</td>\n<td>0-20</td>\n<td>nvarchar</td>\n<td>Evening contact number</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactMobilePhone</td>\n<td>0-20</td>\n<td>nvarchar</td>\n<td>Mobile contact number</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactFax</td>\n<td>0-20</td>\n<td>nvarchar</td>\n<td>Fax number for contact</td>\n</tr>\n<tr>\n<td>O</td>\n<td>IsActive</td>\n<td></td>\n<td>boolean</td>\n<td>Since the default is <strong>false</strong> for all Boolean variables, this must be specified as <strong>True</strong> when posting 'new' Contacts.</td>\n</tr>\n<tr>\n<td>C</td>\n<td>ContactAddress</td>\n<td></td>\n<td>nvarchar</td>\n<td>Address entity. Either this or the AddressId must be specified for <strong>POST</strong>, but not both. See the 'Addresses' endpoing for more details on the AddressModel fields.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"24b91e83-35e0-4e4a-b21e-e16a8d3501f4","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}},{"name":"AccountHolders","item":[{"name":"AccountHolder","id":"9960f3f8-7bc3-4688-88e2-a01840f4ab5a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/9165/accountholders/{accountHolderID}","description":"<p><strong>GET</strong>: api/accounts/{accountId}/accountholders/{id}<br />This returns a single AccountHolder entity specified by the Id attribute on the end of the URL. There is no need to use the IncludeGraph=true argument as the child entities for Customer and CustomerAddress are always returned with the AccountHolder, as well as the parent Account.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetAccountHolder</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the Entity for a given unique id wrapped in an IHttpActionResult.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Accounts/GetAccountHolder</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>AccountId - Unique id for the parent Account.  <br />  <br />Id - Unique id for the requested Entity.  <br />  <br />includeGraph - True/False whether to return the child entities of the Entity requested.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","accounts","9165","accountholders","{accountHolderID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"f40af0c0-3849-4473-a582-0bc1fe7de8e4","name":"AccountHolder","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/9165/accountholders/{accountHolderID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/37690/accountholders/36878\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/37690/accountholders/36878\",\r\n            \"Rel\": \"Post\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 36878,\r\n    \"AccountId\": 37690,\r\n    \"ContactId\": 36823,\r\n    \"MerchantId\": 13026001,\r\n    \"Order\": 1,\r\n    \"IsActive\": true,\r\n    \"Guid\": \"1ea1ab62-8010-47e4-b0e8-cd58f714a7d3\",\r\n    \"Customer\": {\r\n        \"Links\": [\r\n            {\r\n                \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/36823\",\r\n                \"Rel\": \"Self or Patch\",\r\n                \"Method\": \"Get\",\r\n                \"IsTemplated\": false\r\n            },\r\n            {\r\n                \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/36878\",\r\n                \"Rel\": \"newContact\",\r\n                \"Method\": \"Post\",\r\n                \"IsTemplated\": false\r\n            }\r\n        ],\r\n        \"Id\": 36823,\r\n        \"ContactTypeId\": 1,\r\n        \"ContactFirstName\": \"FName\",\r\n        \"ContactLastName\": \"LName\",\r\n        \"CompanyName\": null,\r\n        \"AddressId\": 35420,\r\n        \"ContactDepartment\": null,\r\n        \"ContactTitle\": null,\r\n        \"ContactEmail\": \"email@email.com\",\r\n        \"ContactDayPhone\": \"9875665498\",\r\n        \"ContactEveningPhone\": null,\r\n        \"ContactMobilePhone\": null,\r\n        \"ContactFax\": null,\r\n        \"IsActive\": true,\r\n        \"ContactAddress\": {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/35420\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/36878\",\r\n                    \"Rel\": \"newAddress\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 35420,\r\n            \"AddressStreet\": \"123 Test Street\",\r\n            \"AddressStreetTwo\": null,\r\n            \"AddressCity\": \"Lake Smith\",\r\n            \"AddressState\": \"FL\",\r\n            \"AddressCountry\": \"USA\",\r\n            \"AddressZip\": \"33232\",\r\n            \"Contacts\": null\r\n        }\r\n    },\r\n    \"Account\": null,\r\n    \"Wallet\": null,\r\n    \"Contact\": null\r\n}"}],"_postman_id":"9960f3f8-7bc3-4688-88e2-a01840f4ab5a"},{"name":"AccountHolders","id":"c1adf446-5ce5-4397-b58c-5d2eb7a6f9f2","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/9165/accountholders/{accountHolderID}","description":"<p><strong>GET</strong>: api/accounts/{accountId}/accountholders/</p>\n<p>This returns an EntityList accepts the following query string arguments in addition tothe default arguments above: AccountId, ContactId, Order, IsActive, Guid.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetAccountHolders</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the requested entities wrapped in a n EntityList object which includes values for TotalCount, TotalPages, Page, Links, and Results , which contains a collection of the Entity.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Accounts/</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>AccountId - Unique id for the parent Account.  <br />  <br />Page - The page or results to return.  <br />  <br />Page_Size - The size of the page of results to return, the default being 25.  <br />  <br />includeGraph - True/False whether to return the child entities of the Entity requested.  <br />  <br />SearchFalse - True/False whether to search false values for boolean arguments in the query string.  <br />  <br />Entity - The entity whose child properites can be used as filter values in the query string: AccountId, ContactId, MerchantId, Order, Guid, and IsActive.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","accounts","9165","accountholders","{accountHolderID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"c9e8c1cb-0b40-425f-8997-02b02c111ebd","name":"AccountHolders","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/9165/accountholders/{accountHolderID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/37690/accountholders/36878\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/37690/accountholders/36878\",\r\n            \"Rel\": \"Post\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 36878,\r\n    \"AccountId\": 37690,\r\n    \"ContactId\": 36823,\r\n    \"MerchantId\": 13026001,\r\n    \"Order\": 1,\r\n    \"IsActive\": true,\r\n    \"Guid\": \"1ea1ab62-8010-47e4-b0e8-cd58f714a7d3\",\r\n    \"Customer\": {\r\n        \"Links\": [\r\n            {\r\n                \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/36823\",\r\n                \"Rel\": \"Self or Patch\",\r\n                \"Method\": \"Get\",\r\n                \"IsTemplated\": false\r\n            },\r\n            {\r\n                \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/36878\",\r\n                \"Rel\": \"newContact\",\r\n                \"Method\": \"Post\",\r\n                \"IsTemplated\": false\r\n            }\r\n        ],\r\n        \"Id\": 36823,\r\n        \"ContactTypeId\": 1,\r\n        \"ContactFirstName\": \"FName\",\r\n        \"ContactLastName\": \"LName\",\r\n        \"CompanyName\": null,\r\n        \"AddressId\": 35420,\r\n        \"ContactDepartment\": null,\r\n        \"ContactTitle\": null,\r\n        \"ContactEmail\": \"email@email.com\",\r\n        \"ContactDayPhone\": \"9875665498\",\r\n        \"ContactEveningPhone\": null,\r\n        \"ContactMobilePhone\": null,\r\n        \"ContactFax\": null,\r\n        \"IsActive\": true,\r\n        \"ContactAddress\": {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/35420\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/36878\",\r\n                    \"Rel\": \"newAddress\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 35420,\r\n            \"AddressStreet\": \"123 Test Street\",\r\n            \"AddressStreetTwo\": null,\r\n            \"AddressCity\": \"Lake Smith\",\r\n            \"AddressState\": \"FL\",\r\n            \"AddressCountry\": \"USA\",\r\n            \"AddressZip\": \"33232\",\r\n            \"Contacts\": null\r\n        }\r\n    },\r\n    \"Account\": null,\r\n    \"Wallet\": null,\r\n    \"Contact\": null\r\n}"}],"_postman_id":"c1adf446-5ce5-4397-b58c-5d2eb7a6f9f2"},{"name":"Create AccountHolders","id":"32442b4b-6fb4-4d47-816a-efe13a5f1990","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"AccountID\": 37992,\r\n\t\"ContactID\": 36823,\r\n    \"IsActive\": true,\r\n\t\"MerchantID\": {merchantAccountCode},\r\n    \"GUID\": \"1ea1ab62-8010-47e4-b0e8-cd58f714a7d3\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/","description":"<p><strong>POST</strong>: api/accounts/{accountId}/accountholders/<br />This endpoint accepts an AccountHolder entity, with optional child entities of Customer and Address off the Customer entity. Make sure to use the ContactTypeId of 2 to specify the contact is a CustomerType. An example can be seen below in Figure 3 (note the AddressId and ContactId are both omitted because new objects are being added for both of those child entities).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetAccountHolders</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Adds an entity to the datab ase from the model provided. On success, returns the updated entity wrapped in an IHttpActionResult, with the Id value of the entity set.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>POST: api/Accounts/PostAccountHolder</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>AccountHolder - The entity model to be inserted.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","accounts",""],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"1787c67c-2b2f-4e86-95f0-a41261f3f7f1","name":"Create AccountHolders","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"AccountID\": 37690,\r\n\t\"ContactID\": 36823,\r\n    \"IsActive\": true,\r\n\t\"MerchantID\": {merchantAccountCode},\r\n    \"GUID\": \"1ea1ab62-8010-47e4-b0e8-cd58f714a7d3\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/37690/accountholders/"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/37690/accountholders/36878\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/accounts/37690/accountholders/36878\",\r\n            \"Rel\": \"Post\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 36878,\r\n    \"AccountId\": 37690,\r\n    \"ContactId\": 36823,\r\n    \"MerchantId\": 13026001,\r\n    \"Order\": 1,\r\n    \"IsActive\": true,\r\n    \"Guid\": \"1ea1ab62-8010-47e4-b0e8-cd58f714a7d3\",\r\n    \"Customer\": null,\r\n    \"Account\": null,\r\n    \"Wallet\": null,\r\n    \"Contact\": null\r\n}"}],"_postman_id":"32442b4b-6fb4-4d47-816a-efe13a5f1990"},{"name":"Update AccountHolders","id":"54947440-fa57-4aed-bc85-b0f67df28ce5","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"PATCH","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"AccountID\": 37992,\r\n\t\"Id\": 36884,\r\n    \"IsActive\": false\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/{accountID}/accountholders/{accountHolderID}","description":"<p><strong>PATCH</strong>: api/accounts/{accountId}/accountholders/{id}<br />Specify the Id in the URL and any fields you want to update.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th>PatchAccountHolder</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Updates an entity based on the specified fields.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>[HttpPatch]</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>AccountId - Unique id for the parent Account.  <br />  <br />Id- Unique id for the entity to be updated.  <br />  <br />AccountHolder - The entity model to be updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","accounts","{accountID}","accountholders","{accountHolderID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"2054bdcc-d779-4148-8a28-6e237b392eb0","name":"Update AccountHolders","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n    \"AccountID\": 37690,\r\n\t\"Id\": 36878,\r\n    \"IsActive\": false\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/accounts/{accountID}/accountholders/{accountHolderID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"54947440-fa57-4aed-bc85-b0f67df28ce5"}],"id":"c8752c09-0950-436c-a3ec-e9c0d17cd3be","description":"<p>Note: Contacts can either have a ContactTypeId of 1 for Merchant or 2 for Customer. The Contact thatis a child of the AccountHolder entity is of type Customer (id 2).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Required</strong></th>\n<th><strong>Property Name</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>R</td>\n<td>AccountId</td>\n<td></td>\n<td>integer</td>\n<td>Must match the {accountId} in the URL</td>\n</tr>\n<tr>\n<td>R</td>\n<td>ContactId</td>\n<td></td>\n<td>integer</td>\n<td>Required, except in <strong>POST</strong> when adding in a new Contact.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>Order</td>\n<td></td>\n<td>integer</td>\n<td>Order of  <br />importance for the AccountHolders; will affect the order of  <br />processing of any recurring transactions.  <br />The AccountHolder with the lowest Order  <br />is considered the primary AccountHolder. If the order is not speci  <br />fied for any  <br />AccountHolder of an Account, they will be processed in the order  <br />in which they  <br />were added.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>IsActive</td>\n<td></td>\n<td>boolean</td>\n<td>Default is <strong>false</strong> if not specified in <strong>POST</strong>.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>MerchantId</td>\n<td></td>\n<td>integer</td>\n<td>Only relevant on <strong>POST</strong> and <strong>GET</strong>; you cannot update a MerchantId.</td>\n</tr>\n<tr>\n<td>C</td>\n<td>Guid</td>\n<td></td>\n<td>guid</td>\n<td>This field is used in conjunction with a  <br />wallet API. It should only be used in  <br />conjunction with that system and not modified for any other reason, as it will cause the AccountHolder’s wallet to be  <br />disassociated with the AccountHolder (in which case no payments will be processed).</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"c8752c09-0950-436c-a3ec-e9c0d17cd3be","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}},{"name":"Products","item":[{"name":"Product","id":"af61f66d-6dee-4258-93b3-8852f7c64fb7","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/products/{productID}","description":"<p><strong>GET</strong>: api/products/{id}<br />This returns a single Product entity specified by the Id attribute on the end of the URL. Optionally, IncludeGraph=true can be added to the query string to return Contact as well.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetProduct</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the Entity for a given unique id wrapped in a n IHttpActionResult.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Products/{{productId}</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the requested Entity.  <br />  <br />includeGraph - True/False whether to return the child entities of the Entity requested.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","products","{productID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"03dfa0b9-aaa4-44cc-957e-4126227141dc","name":"Product","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/products/{productID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 3,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products/15232\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products\",\r\n                    \"Rel\": \"newProduct\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 15232,\r\n            \"Name\": \"name\",\r\n            \"DefaultAmount\": 1000,\r\n            \"Description\": null,\r\n            \"ContactId\": 30360,\r\n            \"MerchantId\": 13026001,\r\n            \"IsActive\": true,\r\n            \"Contracts\": [],\r\n            \"Contact\": null\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"af61f66d-6dee-4258-93b3-8852f7c64fb7"},{"name":"Products","id":"04f1d8f0-d32d-4fab-bb08-f8d848c035ae","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/products","description":"<p><strong>GET</strong>: api/products/<br />This returns an EntityList accepts any of the above arguments in addition to the default arguments.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetProducts</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the requested entities wrapped in an EntityList object which includes values for TotalCount, TotalPages, Page, Links, and Results, which contains a collection of the Entity.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Products</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>IncludeGraph - True/False whether to return the child entities of the entities requested.  <br />  <br />Page - The page or results to return.  <br />  <br />Page_Size - The size of the page of results to return, the default being 25.  <br />  <br />SearchFalse - True/False whether to search false values for boolean arguments in the query string.  <br />  <br />Entity - The Entity whose child properties can be used a filter values in the query string: ProductName, ProductDefaultAmount, Description, ContactId, MerchantId, and IsActive.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","products"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"75e1a964-79b1-467f-ac31-9c1fb87d0259","name":"Products","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/products"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 3,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products/15232\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products\",\r\n                    \"Rel\": \"newProduct\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 15232,\r\n            \"Name\": \"a;ksdjf;aksdjf\",\r\n            \"DefaultAmount\": 1000,\r\n            \"Description\": null,\r\n            \"ContactId\": 30360,\r\n            \"MerchantId\": 13026001,\r\n            \"IsActive\": true,\r\n            \"Contracts\": [],\r\n            \"Contact\": null\r\n        },\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products/15276\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products\",\r\n                    \"Rel\": \"newProduct\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 15276,\r\n            \"Name\": \"ProductTest001\",\r\n            \"DefaultAmount\": 500000,\r\n            \"Description\": \"ProductTesting\",\r\n            \"ContactId\": 36823,\r\n            \"MerchantId\": 13026001,\r\n            \"IsActive\": true,\r\n            \"Contracts\": [],\r\n            \"Contact\": null\r\n        },\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products/15278\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products\",\r\n                    \"Rel\": \"newProduct\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 15278,\r\n            \"Name\": \"ProductTest001\",\r\n            \"DefaultAmount\": 500000,\r\n            \"Description\": \"ProductTesting\",\r\n            \"ContactId\": 36823,\r\n            \"MerchantId\": 13026001,\r\n            \"IsActive\": true,\r\n            \"Contracts\": [],\r\n            \"Contact\": null\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"04f1d8f0-d32d-4fab-bb08-f8d848c035ae"},{"name":"Create Product","id":"d58509ac-f67c-413b-9cf0-a1824c353529","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n\t\"Name\": \"ProductTest001\",\r\n\t\"DefaultAmount\": 500000,\r\n\t\"Description\": \"ProductTesting\",\r\n\t\"ContactId\": 36823,\r\n\t\"MerchantId\": {merchantAccountCode},\r\n\t\"IsActive\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/products","description":"<p><strong>POST</strong>: api/products/<br />This endpoint accepts a Product entity, with an optional Contact child. Remember to specify the ContactId or the Contact but not both. Figure 8, has an example of a Product with a child Contact (which has a child ContactAddress).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PostProduct</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Adds an entity to the datab ase from the model provided. On success, returns the updated entity wrapped in an IHttpActionResult, with the Id value of the entity set.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>POST: api/Products</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Product - The entity model to be inserted.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","products"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"0214a173-3254-4308-b2fd-96435dc023f4","name":"Create Product","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"Name\": \"ProductTest001\",\r\n\t\"DefaultAmount\": 500000,\r\n\t\"Description\": \"ProductTesting\",\r\n\t\"ContactId\": 36823,\r\n\t\"MerchantId\": {merchantAccountCode},\r\n\t\"IsActive\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/products"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products/15313\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products\",\r\n            \"Rel\": \"newProduct\",\r\n            \"Method\": \"Post\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 15313,\r\n    \"Name\": \"ProductTest001\",\r\n    \"DefaultAmount\": 500000,\r\n    \"Description\": \"ProductTesting\",\r\n    \"ContactId\": 36823,\r\n    \"MerchantId\": 13026001,\r\n    \"IsActive\": true,\r\n    \"Contracts\": [],\r\n    \"Contact\": null\r\n}"}],"_postman_id":"d58509ac-f67c-413b-9cf0-a1824c353529"},{"name":"Update Product","id":"e8f61562-7716-4b2c-8bf8-7e67c1136f64","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n\t\"Id\": 15313,\r\n\t\"IsActive\": false\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/products/{productID}","description":"<p><strong>PATCH</strong>: api/products/{id}<br />Specify the Id in the URL and any fields you want to update with Patch and all of the fields with Put.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PatchProduct</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Updates an entity based on the specified fields.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>[HttpPatch]</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the entity to be updated.  <br />  <br />Model - The entity model to be updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","products","{productID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"42b8baca-0229-4d04-a96a-e14be9b5709e","name":"Update Product","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"Id\": 15313,\r\n\t\"IsActive\": false\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/products"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products/15313\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/products/15313\",\r\n            \"Rel\": \"newProduct\",\r\n            \"Method\": \"Post\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 15313,\r\n    \"Name\": \"ProductTest001\",\r\n    \"DefaultAmount\": 500000,\r\n    \"Description\": \"ProductTesting\",\r\n    \"ContactId\": 36823,\r\n    \"MerchantId\": 13026001,\r\n    \"IsActive\": false,\r\n    \"Contracts\": null,\r\n    \"Contact\": {\r\n        \"Links\": [\r\n            {\r\n                \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/36823\",\r\n                \"Rel\": \"Self or Patch\",\r\n                \"Method\": \"Get\",\r\n                \"IsTemplated\": false\r\n            },\r\n            {\r\n                \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contacts/15313\",\r\n                \"Rel\": \"newContact\",\r\n                \"Method\": \"Post\",\r\n                \"IsTemplated\": false\r\n            }\r\n        ],\r\n        \"Id\": 36823,\r\n        \"ContactTypeId\": 1,\r\n        \"ContactFirstName\": \"FName\",\r\n        \"ContactLastName\": \"LName\",\r\n        \"CompanyName\": null,\r\n        \"AddressId\": 35420,\r\n        \"ContactDepartment\": null,\r\n        \"ContactTitle\": null,\r\n        \"ContactEmail\": \"email@email.com\",\r\n        \"ContactDayPhone\": \"9875665498\",\r\n        \"ContactEveningPhone\": null,\r\n        \"ContactMobilePhone\": null,\r\n        \"ContactFax\": null,\r\n        \"IsActive\": true,\r\n        \"ContactAddress\": {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/35420\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/addresses/15313\",\r\n                    \"Rel\": \"newAddress\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 35420,\r\n            \"AddressStreet\": \"123 Test Street\",\r\n            \"AddressStreetTwo\": null,\r\n            \"AddressCity\": \"Lake Smith\",\r\n            \"AddressState\": \"FL\",\r\n            \"AddressCountry\": \"USA\",\r\n            \"AddressZip\": \"33232\",\r\n            \"Contacts\": null\r\n        }\r\n    }\r\n}"}],"_postman_id":"e8f61562-7716-4b2c-8bf8-7e67c1136f64"}],"id":"61a31def-7e42-499d-b6c4-e6720775761f","description":"<p>Products are templates for which a contract can be built upon.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Required</strong></th>\n<th><strong>Property Name</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>R</td>\n<td>Name</td>\n<td>0-50</td>\n<td>nvarchar</td>\n<td>Specifies the name of the product.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>DefaultAmount</td>\n<td></td>\n<td>integer</td>\n<td>Specifies the default BillAmount for a particular product. Used in determining the Contact BillAmount.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>Description</td>\n<td>0-100</td>\n<td>nvarchar</td>\n<td>Description of the product.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>ContactId</td>\n<td></td>\n<td>nvarchar</td>\n<td>Optional, but required if the merchant wants email notifications for any Contracts for a specific product.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>MerchantId</td>\n<td></td>\n<td>integer</td>\n<td>Only relevant on <strong>POST</strong> and <strong>GET</strong>; you cannot update a MerchantId.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>IsActive</td>\n<td></td>\n<td>boolean</td>\n<td>Optional: Since the default is <strong>false</strong> for all Boolean variables, it should be specified as <strong>true</strong> when posting 'new' Products.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"61a31def-7e42-499d-b6c4-e6720775761f","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}},{"name":"Frequencies","item":[{"name":"Frequency","id":"cc30ea89-2daa-4324-8bc6-80b221c3837e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/frequencies/{frequencyID}","description":"<p><strong>GET</strong>: api/frequencies/{id}<br />This returns a single Frequency entity specified by the Id attribute on the end of the URL.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetFrequency</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the Entity for a given unique id wrapped in an IHttpActionResult.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Frequencies/{{frequencyId}}</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the requested Entity  <br />  <br />IncludeGraph - True/False whether to return the child entities of the Entity requested.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","frequencies","{frequencyID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"f00aee41-d33b-46d7-8f07-77bc60d8f956","name":"Frequency","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/frequencies/{frequencyID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 2,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies/18486\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies\",\r\n                    \"Rel\": \"newFrequency\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 18486,\r\n            \"Name\": \"daily\",\r\n            \"Description\": \"Every day\",\r\n            \"MerchantId\": 12345001,\r\n            \"IntervalId\": 1,\r\n            \"NoEnd\": null,\r\n            \"Frequency\": 1,\r\n            \"DayMonth\": null,\r\n            \"WeekMonth\": null,\r\n            \"Month\": null,\r\n            \"Days\": null,\r\n            \"IsActive\": true,\r\n            \"Template\": false,\r\n            \"Contracts\": []\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"cc30ea89-2daa-4324-8bc6-80b221c3837e"},{"name":"Frequencies","id":"901b387d-80bb-4bd5-a442-3ac350680d64","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/frequencies","description":"<p><strong>GET</strong>: api/frequencies<br />This returns an EntityList and accepts any of the above arguments in addition to th default arguments.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetFrequencies</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the requested entities wrapped in an EntityList object which includes values for TotalCound, TotalPages, Page, Links, and Results which contains a collection of the Entity.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Frequencies</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>IncludeGraph - True/False whether to return the child entities of the Entity requested.  <br />  <br />Page - The page or results to return  <br />  <br />Page_Size - The size of the page of results to return, the default being 25.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","frequencies"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"6b05a5a3-98fa-40a9-8e07-44d1413436c0","name":"Frequencies","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/frequencies"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 2,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies/18486\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies\",\r\n                    \"Rel\": \"newFrequency\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 18486,\r\n            \"Name\": \"daily\",\r\n            \"Description\": \"Every day\",\r\n            \"MerchantId\": 13026001,\r\n            \"IntervalId\": 1,\r\n            \"NoEnd\": null,\r\n            \"Frequency\": 1,\r\n            \"DayMonth\": null,\r\n            \"WeekMonth\": null,\r\n            \"Month\": null,\r\n            \"Days\": null,\r\n            \"IsActive\": true,\r\n            \"Template\": false,\r\n            \"Contracts\": []\r\n        },\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies/21667\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies\",\r\n                    \"Rel\": \"newFrequency\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 21667,\r\n            \"Name\": \"Post Frequency Test89\",\r\n            \"Description\": \"Every month on the 15th\",\r\n            \"MerchantId\": 13026001,\r\n            \"IntervalId\": 4,\r\n            \"NoEnd\": true,\r\n            \"Frequency\": 1,\r\n            \"DayMonth\": 15,\r\n            \"WeekMonth\": null,\r\n            \"Month\": null,\r\n            \"Days\": null,\r\n            \"IsActive\": true,\r\n            \"Template\": false,\r\n            \"Contracts\": []\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"901b387d-80bb-4bd5-a442-3ac350680d64"},{"name":"Create Frequency","id":"7ad20531-db82-4dd8-9bae-3d31692ffcdf","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n\t\"Name\": \"Post Frequency Test89\",\r\n\t\"Description\": \"Every month on the 15th\",\r\n\t\"MerchantId\": {merchantAccountCode},\r\n\t\"IntervalId\": 4,\r\n\t\"NoEnd\": true,\r\n\t\"Frequency\": 1,\r\n\t\"DayMonth\": 15,\r\n\t\"WeekMonth\": null,\r\n\t\"Month\": null,\r\n\t\"Days\": null,\r\n\t\"IsActive\": true,\r\n\t\"Template\": false\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/frequencies","description":"<p><strong>POST</strong>: api/frequencies/<br />This endpoint accepts a Frequency entity, remember to check the fields to the IntervalId to make sure all the required fields are entered for a proper frequency. Figure 7 shows a frequency post.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PostFrequency</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Adds an entity to the database from the model provided. On s uccess, returns the updated entity wrapped in an IHttpActionResult, with the Id value of the entity set.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>POST: api/Frequencies</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Model - The entity model to be inserted.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","frequencies"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"e93e60a1-4d7d-4bdf-9360-c171912a8f64","name":"Create Frequency","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"Name\": \"Post Frequency Test89\",\r\n\t\"Description\": \"Every month on the 15th\",\r\n\t\"MerchantId\": {merchantAccountCode},\r\n\t\"IntervalId\": 4,\r\n\t\"NoEnd\": true,\r\n\t\"Frequency\": 1,\r\n\t\"DayMonth\": 15,\r\n\t\"WeekMonth\": null,\r\n\t\"Month\": null,\r\n\t\"Days\": null,\r\n\t\"IsActive\": true,\r\n\t\"Template\": false\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/frequencies"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies/21865\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies\",\r\n            \"Rel\": \"newFrequency\",\r\n            \"Method\": \"Post\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 21865,\r\n    \"Name\": \"Post Frequency Test89\",\r\n    \"Description\": \"Every month on the 15th\",\r\n    \"MerchantId\": 13026001,\r\n    \"IntervalId\": 4,\r\n    \"NoEnd\": true,\r\n    \"Frequency\": 1,\r\n    \"DayMonth\": 15,\r\n    \"WeekMonth\": null,\r\n    \"Month\": null,\r\n    \"Days\": null,\r\n    \"IsActive\": true,\r\n    \"Template\": false,\r\n    \"Contracts\": []\r\n}"}],"_postman_id":"7ad20531-db82-4dd8-9bae-3d31692ffcdf"},{"name":"Update Frequency","id":"ffc745e6-aebd-4cd2-9f1b-d1076adb3e9c","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n\t\"Id\": 21865,\r\n    \"Frequency\": 1,\r\n\t\"Description\": \"Every month on the 15th\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/frequencies/{frequencyID}","description":"<p><strong>PATCH</strong>: api/frequencies/{id}<br />Specify the Id in the URL and any fields you want to update with Patch and all of the fields with Put</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PatchFrequency</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Updates an entity based on the specified fields.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>[HttpPatch]</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the entity to be updated.  <br />  <br />Model - The entity moel to be updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","frequencies","{frequencyID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"7ef2296a-919c-4db0-ab99-ebddd38d2207","name":"Update Frequency","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"Id\": 21865,\r\n    \"Frequency\": 1,\r\n\t\"Description\": \"Every month on the 15th\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/frequencies"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies/21865\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/frequencies/21865\",\r\n            \"Rel\": \"newFrequency\",\r\n            \"Method\": \"Post\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 21865,\r\n    \"Name\": \"Post Frequency Test89\",\r\n    \"Description\": \"Every month on the 15th\",\r\n    \"MerchantId\": 13026001,\r\n    \"IntervalId\": 4,\r\n    \"NoEnd\": true,\r\n    \"Frequency\": 1,\r\n    \"DayMonth\": 15,\r\n    \"WeekMonth\": null,\r\n    \"Month\": null,\r\n    \"Days\": null,\r\n    \"IsActive\": true,\r\n    \"Template\": false,\r\n    \"Contracts\": []\r\n}"}],"_postman_id":"ffc745e6-aebd-4cd2-9f1b-d1076adb3e9c"}],"id":"eca3a6b1-052d-4060-ba1e-496929a8939f","description":"<p>Not all the Frequency fields are used for a given type. See Interval field description to determinewhich fields to set for a given Interval type.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Required</strong></th>\n<th><strong>Property Name</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>O</td>\n<td>Name</td>\n<td>0-30</td>\n<td>nvarchar</td>\n<td>Name of the Frequency.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>Description</td>\n<td>0-65</td>\n<td>nvarchar</td>\n<td>Description of the Frequency</td>\n</tr>\n<tr>\n<td>R</td>\n<td>MerchantId</td>\n<td></td>\n<td>integer</td>\n<td>Required in <strong>POST</strong>, ignored in <strong>PATCH</strong>.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>NoEnd</td>\n<td></td>\n<td>boolean</td>\n<td>Specified whether the Frequency will continue without end. Used in forecasting payments.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>DayMonth</td>\n<td></td>\n<td>integer</td>\n<td>Specifies the day of the month a contract payment is processed.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>WeekMonth</td>\n<td></td>\n<td>integer</td>\n<td>In combination with Days, specifies which occurrence of a particular day(s) in the month a payment will process. Example: If the Days specified a Monday, and the WeekMonth was 3, the payment would be processed on the 3rd Monday of the month. If two or more days are specified in the Days field, they might occur in different weeks. Each is caluclated as the 'nth' occurrence of that day in the month, where 'nth' is the WeekMonth.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>Month</td>\n<td></td>\n<td>integer</td>\n<td>The month of the year that a contract will process a contract payment.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>Template</td>\n<td></td>\n<td>boolean</td>\n<td>System field, specifie if this template is open to all merchants. It is not recommended that a frequency beset to 'template', as it affects other merchant's list items when selecting the Frequency in MyBridgePay.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>Days</td>\n<td></td>\n<td>integer</td>\n<td>Represents a string mask of the days in the format \"0100001\", where a 1 represents the day of the week that is selected. The example above would indicate Monday and Saturday are selected. The mask starts with Sunday as the first day of the week.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>DayofMonth</td>\n<td></td>\n<td>integer</td>\n<td>The day of the month a contract payment will be processed.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>IntervalId</td>\n<td></td>\n<td>integer</td>\n<td>Specifies the Interval period. The below options are available for the Interval Frequency. Pay close attention to the required fields for each; a contract will be processed if it does not have a valid Frequency. These values are listed below this table.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"intervalid-values\">IntervalId Values:</h4>\n<p>•1–Daily: Requires only Frequency and IntervalId. Will occur every ‘nth’ number of days.<br />•2–Not Used:(Gives same results as weekly below, with same arguments).<br />•3–Weekly # Days: Requires IntervalId 3, Frequency, and Days. A selection of IntervalId 3, Frequency 2, and Days “0100010”, would produce the result every two weeks on Monday and Friday.<br />•4–Monthly # DayOfMonth: Requires IntervalId 4, the Frequency, and theDayMonth. An IntervalId 4 with a Frequencyof 1, and a DayMonth of 25 would occur on the 25th of every month.<br />•5–Monthly # Days WeekOfMonth: Requires IntervalId 5, Frequency, Days, WeekOfMonth. Will Occur on the ‘nth’ day of each of the Days in the days mask every nth month. So an IntervalId of 5, Frequency of 2, WeekMonth of 2, and Days mask of“0100010” would result in every two months on the 2nd Monday and 2nd Fridayof the month.<br />•6–Yearly # DayOfMonth Month: Requires IntervalId 6, Frequency, DayOfMonth, and Month. An IntervalId of6, DayMonth of 3, Month of 4, and Frequency of 2 would occur every 2 years on April the 3rd.<br />•7–Yearly # Days WeekOfMonth Month: Requires IntervalId 7, Frequency, Days, WeekOfMonth, and Month. An IntervalId of7, Frequency of 1, Days of “0100000”</p>\n","_postman_id":"eca3a6b1-052d-4060-ba1e-496929a8939f","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}},{"name":"Contracts","item":[{"name":"Contract","id":"837598b7-2133-4f33-b6f9-303cec184ee7","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/{contractID}","description":"<p><strong>GET</strong>: api/contracts/{id}<br />This returns a single Contract entity specified by the Id attribute on the end of the URL. Optionally, IncludeGraph=true can be added to the query string to return the SchedulePayments and Charges child collections. The BillingFrequency is always returned as part of the graph.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetContract</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the Entity for a given unique id wrapped in an IHttpActionResult.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Contracts/GetContract</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Id - Unique id for the requested Entity.  <br />  <br />IncludeGraph - True/False whether to return the child entities of the Entity requested.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contracts","{contractID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[{"disabled":true,"key":"Id","value":""},{"disabled":true,"key":"ContractName","value":""},{"disabled":true,"key":"ContractFilter","value":"{\"ContractCustomFields\":[{ \"CustomFieldConfigId\":8193, \"Value\":\"FIRSTY\"}]}"}],"variable":[]}},"response":[{"id":"f5fc9930-0de0-429a-9fd9-19221179cbe6","name":"Contract","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"url":{"raw":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/{contractID}","protocol":"https","host":["www.bridgepaynetsecuretest.com"],"path":["RecurringBilling.API","api","contracts","{contractID}"],"query":[{"key":"Id","value":"","disabled":true},{"key":"ContractName","value":"","disabled":true},{"key":"ContractFilter","value":"{\"ContractCustomFields\":[{ \"CustomFieldConfigId\":8193, \"Value\":\"FIRSTY\"}]}","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 2,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/24048\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts\",\r\n                    \"Rel\": \"newContract\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 24048,\r\n            \"Name\": \"APItest\",\r\n            \"ProductId\": 15232,\r\n            \"MerchantId\": 12345001,\r\n            \"BillingFrequencyId\": 18486,\r\n            \"AccountId\": 31253,\r\n            \"BillAmount\": 1000,\r\n            \"TaxAmount\": null,\r\n            \"AmountRemaining\": null,\r\n            \"NumberOfPayments\": null,\r\n            \"LastBillDate\": \"2023-03-13T04:00:00\",\r\n            \"NextBillDate\": \"2023-03-14T04:00:00\",\r\n            \"StartDate\": \"2022-06-04T04:00:00\",\r\n            \"EndDate\": null,\r\n            \"NumFailures\": null,\r\n            \"MaxFailures\": null,\r\n            \"RetryWaitTime\": null,\r\n            \"EmailCustomerAtFailure\": false,\r\n            \"EmailMerchantAtFailure\": false,\r\n            \"EmailCustomerReceipt\": false,\r\n            \"EmailMerchantReceipt\": false,\r\n            \"IsActive\": true,\r\n            \"Status\": null,\r\n            \"CreatedBy\": \"Unknown\",\r\n            \"LastModifiedBy\": \"sys\",\r\n            \"ScheduledPayments\": [],\r\n            \"Charges\": [],\r\n            \"Product\": null,\r\n            \"BillingFrequency\": null,\r\n            \"Account\": null,\r\n            \"ContractCustomFields\": null\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"837598b7-2133-4f33-b6f9-303cec184ee7"},{"name":"Contracts","id":"e049e6a0-4790-4adf-8da9-2ced8630d6c3","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts","description":"<p><strong>GET</strong>: api/contracts/</p>\n<p>This returns an EntityList accepts any of the above fields as query string arguments inaddition to the default arguments.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetContracts</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the requested entities wrapped in an EntityList object which includes values for TotalCount, TotalPages, Page, Links, and Results, which contains a collection of the Entity.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/Contracts/GetContracts</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>IncludeGraph - True/False whether to return the child entities of the entities requested.  <br />  <br />Page - The page or results to return.  <br />  <br />Page_Size - The size of the page of results to return, the default is 25.  <br />  <br />SearchFalse - True/False whether to search false values for boolean arguments in the query string.  <br />  <br />Entity - The Entity whose child properties can be used a filter  <br />values in the query string: ContractName, ProductId,  <br />MerchantId, BillingFrequencyId, AccountId, BillAmount,  <br />TaxAmount, AmountRemaining, CreatedOn, ModifiedOn, LastBillDate, NextBillDate, StartDat e, EndDate, NumFailures, MaxFailures, EmailCustomerAtFailure, EmailMerchantAtFailure, EmailCustomerReceipt, EmailMerchantReceip t, IsActive, and Status.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contracts"],"host":["www.bridgepaynetsecuretest.com"],"query":[{"disabled":true,"key":"Id","value":""},{"disabled":true,"key":"ContractName","value":""},{"disabled":true,"key":"ContractFilter","value":"{\"ContractCustomFields\":[{ \"CustomFieldConfigId\":8193, \"Value\":\"FIRSTY\"}]}"}],"variable":[]}},"response":[{"id":"f1fa0498-f470-4390-8386-79c8b28ca4be","name":"Contracts","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"url":{"raw":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts","protocol":"https","host":["www.bridgepaynetsecuretest.com"],"path":["RecurringBilling.API","api","contracts"],"query":[{"key":"Id","value":"","disabled":true},{"key":"ContractName","value":"","disabled":true},{"key":"ContractFilter","value":"{\"ContractCustomFields\":[{ \"CustomFieldConfigId\":8193, \"Value\":\"FIRSTY\"}]}","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 2,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/24048\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts\",\r\n                    \"Rel\": \"newContract\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 24048,\r\n            \"Name\": \"APItest\",\r\n            \"ProductId\": 15232,\r\n            \"MerchantId\": 13026001,\r\n            \"BillingFrequencyId\": 18486,\r\n            \"AccountId\": 31253,\r\n            \"BillAmount\": 1000,\r\n            \"TaxAmount\": null,\r\n            \"AmountRemaining\": null,\r\n            \"NumberOfPayments\": null,\r\n            \"LastBillDate\": \"2023-03-13T04:00:00\",\r\n            \"NextBillDate\": \"2023-03-14T04:00:00\",\r\n            \"StartDate\": \"2022-06-04T04:00:00\",\r\n            \"EndDate\": null,\r\n            \"NumFailures\": null,\r\n            \"MaxFailures\": null,\r\n            \"RetryWaitTime\": null,\r\n            \"EmailCustomerAtFailure\": false,\r\n            \"EmailMerchantAtFailure\": false,\r\n            \"EmailCustomerReceipt\": false,\r\n            \"EmailMerchantReceipt\": false,\r\n            \"IsActive\": true,\r\n            \"Status\": null,\r\n            \"CreatedBy\": \"Unknown\",\r\n            \"LastModifiedBy\": \"sys\",\r\n            \"ScheduledPayments\": [],\r\n            \"Charges\": [],\r\n            \"Product\": null,\r\n            \"BillingFrequency\": null,\r\n            \"Account\": null,\r\n            \"ContractCustomFields\": null\r\n        },\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29237\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts\",\r\n                    \"Rel\": \"newContract\",\r\n                    \"Method\": \"Post\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 29237,\r\n            \"Name\": \"ContractNameTest1\",\r\n            \"ProductId\": 15276,\r\n            \"MerchantId\": 13026001,\r\n            \"BillingFrequencyId\": 95,\r\n            \"AccountId\": 37690,\r\n            \"BillAmount\": 500000,\r\n            \"TaxAmount\": 35000,\r\n            \"AmountRemaining\": null,\r\n            \"NumberOfPayments\": null,\r\n            \"LastBillDate\": null,\r\n            \"NextBillDate\": null,\r\n            \"StartDate\": \"2022-10-24T00:00:00\",\r\n            \"EndDate\": null,\r\n            \"NumFailures\": null,\r\n            \"MaxFailures\": 10,\r\n            \"RetryWaitTime\": 1,\r\n            \"EmailCustomerAtFailure\": null,\r\n            \"EmailMerchantAtFailure\": null,\r\n            \"EmailCustomerReceipt\": null,\r\n            \"EmailMerchantReceipt\": null,\r\n            \"IsActive\": false,\r\n            \"Status\": null,\r\n            \"CreatedBy\": \"noahmerchantaccount\",\r\n            \"LastModifiedBy\": \"Unknown\",\r\n            \"ScheduledPayments\": [],\r\n            \"Charges\": [],\r\n            \"Product\": null,\r\n            \"BillingFrequency\": null,\r\n            \"Account\": null,\r\n            \"ContractCustomFields\": null\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"e049e6a0-4790-4adf-8da9-2ced8630d6c3"},{"name":"Create Contract","id":"91ad3f8d-39ce-4156-975a-0bc02646d42c","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n\t\"Name\": \"ContractNameTest1\",\r\n\t\"ProductId\": 15276,\r\n\t\"IsActive\": false,\r\n\t\"MerchantId\": {merchantAccountCode},\r\n\t\"BillingFrequencyId\": 95,\r\n\t\"AccountId\": 37690,\r\n\t\"BillAmount\": 500000,\r\n\t\"TaxAmount\": 35000,\r\n\t\"AmountRemaining\": null,\r\n\t\"StartDate\": \"2022-10-24T00:00:00.000\",\r\n\t\"NumFailures\": 0,\r\n\t\"MaxFailures\": 10,\r\n\t\"MaxRetry\": 2,\r\n\t\"RetryWaitTime\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts","description":"<p><strong>POST</strong>: api/contracts/</p>\n<p>This endpoint accepts a Contract entity, with an optional Account, Product, and BillingFrequency objects. Besure if adding an object to the graph to not include the corresponding entity Id for that object (for example if adding a BillingFrequency you would not include BillingFrequencyId or optionally set it to 0 which achieves the same thing as leaving it out of the Post body). Figure 6 shows an example Contract graph with a newBillingFrequency object. Notice that ProductId, AccountId are both set, but BillingFrequencyId is absentsince the graph contains a new BillingFrequency object.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PostContract</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Adds an entity to the database from the model provided. On success, returns the updated entity wrapped in an IHttpActionResult, with the Id value of the entity set.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>POST: api/Contracts/PostContract</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>Contract - The entity model to be inserted</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contracts"],"host":["www.bridgepaynetsecuretest.com"],"query":[{"disabled":true,"key":"Id","value":""}],"variable":[]}},"response":[{"id":"848e37cd-ce61-4665-bc4f-aa41aec775ec","name":"Create Contract","originalRequest":{"method":"POST","header":[{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true},{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"Name\": \"ContractNameTest1\",\r\n\t\"ProductId\": 15276,\r\n\t\"IsActive\": false,\r\n\t\"MerchantId\": {merchantAccountCode},\r\n\t\"BillingFrequencyId\": 95,\r\n\t\"AccountId\": 37690,\r\n\t\"BillAmount\": 500000,\r\n\t\"TaxAmount\": 35000,\r\n\t\"AmountRemaining\": null,\r\n\t\"StartDate\": \"2022-10-24T00:00:00.000\",\r\n\t\"NumFailures\": 0,\r\n\t\"MaxFailures\": 10,\r\n\t\"MaxRetry\": 2,\r\n\t\"RetryWaitTime\": 1\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts","protocol":"https","host":["www.bridgepaynetsecuretest.com"],"path":["RecurringBilling.API","api","contracts"],"query":[{"key":"Id","value":"","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29351\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts\",\r\n            \"Rel\": \"newContract\",\r\n            \"Method\": \"Post\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 29351,\r\n    \"Name\": \"ContractNameTest1\",\r\n    \"ProductId\": 15276,\r\n    \"MerchantId\": 13026001,\r\n    \"BillingFrequencyId\": 95,\r\n    \"AccountId\": 37690,\r\n    \"BillAmount\": 500000,\r\n    \"TaxAmount\": 35000,\r\n    \"AmountRemaining\": null,\r\n    \"NumberOfPayments\": null,\r\n    \"LastBillDate\": null,\r\n    \"NextBillDate\": null,\r\n    \"StartDate\": \"2022-10-24T00:00:00\",\r\n    \"EndDate\": null,\r\n    \"NumFailures\": null,\r\n    \"MaxFailures\": 10,\r\n    \"RetryWaitTime\": 1,\r\n    \"EmailCustomerAtFailure\": null,\r\n    \"EmailMerchantAtFailure\": null,\r\n    \"EmailCustomerReceipt\": null,\r\n    \"EmailMerchantReceipt\": null,\r\n    \"IsActive\": false,\r\n    \"Status\": null,\r\n    \"CreatedBy\": \"noahmerchantaccount\",\r\n    \"LastModifiedBy\": \"Unknown\",\r\n    \"ScheduledPayments\": null,\r\n    \"Charges\": null,\r\n    \"Product\": null,\r\n    \"BillingFrequency\": null,\r\n    \"Account\": null,\r\n    \"ContractCustomFields\": []\r\n}"}],"_postman_id":"91ad3f8d-39ce-4156-975a-0bc02646d42c"},{"name":"Update Contract","id":"10978cd8-3461-4078-be12-30119bd8d793","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"X-RB-MerchantId","type":"text","value":"{merchantAccountCode}"}],"body":{"mode":"raw","raw":"{\r\n    \"Id\": {contractID},\r\n\t\"IsActive\": true\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/","description":"<p><strong>PATCH</strong>: api/contracts/{id}<br />Specify the Id in the URL and any fields you want to update with Patch and all of the fields with Put.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PatchContract</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Updates an entity based on the specified fields.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>[HttpPatch]</td>\n</tr>\n<tr>\n<td>Required Parameters</td>\n<td>Id - Unique id for the entity to be updated.  <br />  <br />Model - The entity modelt to be updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contracts",""],"host":["www.bridgepaynetsecuretest.com"],"query":[{"disabled":true,"key":"Id","value":""}],"variable":[]}},"response":[{"id":"6d59e0e3-50f6-4d37-bed5-fb530861542d","name":"Update Contract","originalRequest":{"method":"PATCH","header":[{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true},{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"Id\": {contractID},\r\n\t\"IsActive\": false\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/","protocol":"https","host":["www.bridgepaynetsecuretest.com"],"path":["RecurringBilling.API","api","contracts",""],"query":[{"key":"Id","value":"","disabled":true}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"Links\": [\n        {\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29351\",\n            \"Rel\": \"Self or Patch\",\n            \"Method\": \"Get\",\n            \"IsTemplated\": false\n        },\n        {\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts\",\n            \"Rel\": \"newContract\",\n            \"Method\": \"Post\",\n            \"IsTemplated\": false\n        }\n    ],\n    \"Id\": 29351,\n    \"Name\": \"ContractNameTest1\",\n    \"ProductId\": 15276,\n    \"MerchantId\": 13026001,\n    \"BillingFrequencyId\": 95,\n    \"AccountId\": 37690,\n    \"BillAmount\": 500000,\n    \"TaxAmount\": 35000,\n    \"AmountRemaining\": null,\n    \"NumberOfPayments\": null,\n    \"LastBillDate\": null,\n    \"NextBillDate\": null,\n    \"StartDate\": \"2022-10-24T00:00:00\",\n    \"EndDate\": null,\n    \"NumFailures\": null,\n    \"MaxFailures\": 10,\n    \"RetryWaitTime\": 1,\n    \"EmailCustomerAtFailure\": null,\n    \"EmailMerchantAtFailure\": null,\n    \"EmailCustomerReceipt\": null,\n    \"EmailMerchantReceipt\": null,\n    \"IsActive\": true,\n    \"Status\": null,\n    \"CreatedBy\": \"noahmerchantaccount\",\n    \"LastModifiedBy\": \"Unknown\",\n    \"ScheduledPayments\": null,\n    \"Charges\": null,\n    \"Product\": null,\n    \"BillingFrequency\": null,\n    \"Account\": null,\n    \"ContractCustomFields\": []\n}"}],"_postman_id":"10978cd8-3461-4078-be12-30119bd8d793"}],"id":"c4eded87-d75b-42bf-a864-767f54da52c5","description":"<p>The contracts endpoint is the heart of the RecurringBilling system, so take special care when constructing and working with Contract entities and child elements.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Required</strong></th>\n<th><strong>Property Name</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>Data Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>O</td>\n<td>ProductId</td>\n<td></td>\n<td>integer</td>\n<td>Optional if no Product is tied to the Contract; otherwise required.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>Name</td>\n<td></td>\n<td>nvarchar</td>\n<td>Optional but recommended, Contract name.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>MerchantId</td>\n<td>0-50</td>\n<td>integer</td>\n<td>Only relevant on <strong>POST</strong> and <strong>GET</strong>; you cannot update a MerchantId</td>\n</tr>\n<tr>\n<td>R</td>\n<td>BillingFrequencyId</td>\n<td></td>\n<td>integer</td>\n<td>Required, can be omitted if a new child BillingFrequency is specified on a <strong>POST</strong>.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>AccountId</td>\n<td></td>\n<td>integer</td>\n<td>Can be omitted if a new Account is specified on the <strong>POST</strong>. If updating an Account as part of a graph, be sure to match up the AccountId with the ID of the Account entity off the Contract Object.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>BillAmount</td>\n<td></td>\n<td>integer</td>\n<td>The amount that will be charged each time the Billing Payment Service processes the recurring payment. The decimal is implied, so for $19.99 you would specify 1999 as the BillAmount.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>TaxAmount</td>\n<td></td>\n<td>integer</td>\n<td>The amount of any tax to include when processing a contract payment.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>AmountRemaining</td>\n<td></td>\n<td>integer</td>\n<td>Optional if the contract has no EndDate, otherwise required. When creating a Contract with an EndDate, this should be set to (total number of payments before end date * BillAmount + TaxAmount).</td>\n</tr>\n<tr>\n<td>O</td>\n<td>LastBilldate</td>\n<td></td>\n<td>datetime</td>\n<td>Optional information; this field will be ignored if you enter a value for it into the API. For new Contracts, it is automatically set to the StartDate. For <strong>PATCH</strong> this field is ignored, even if populated. Dates expressed in ISO8601 format.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>StartDate</td>\n<td></td>\n<td>datetime</td>\n<td>Represents the start date for the contract.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>EndDate</td>\n<td></td>\n<td>datetime</td>\n<td>Optional but recommended if using AmountRemaining. Used in conjunction with Amount remaining to determine if a Contact has ended and the status needs to change.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>NumFailures</td>\n<td></td>\n<td>integer</td>\n<td>Current number of failed attempts to process a contract payment as of the last successful contract payment. It is reset to zero once a contract payment has processed.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>IsActive</td>\n<td></td>\n<td>boolean</td>\n<td>Default is <strong>false</strong> if not specified in <strong>POST</strong>.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>MaxFailures</td>\n<td></td>\n<td>integer</td>\n<td>Optional but recommended. The number of failures that can occur of unsuccessful payments to the contract before the Status is changed to Canceled.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>RetryWaitTime</td>\n<td></td>\n<td>integer</td>\n<td>Option but recommended. The number of days to wait after a contracted payment was declined before trying to process the payment again. If set to zero, attempt will be made the same day.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>EmailCustomerAtFailure</td>\n<td></td>\n<td>boolean</td>\n<td>Optional, default is <strong>false</strong>. Flag for email notifications.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>EmailMerchantAtFailure</td>\n<td></td>\n<td>boolean</td>\n<td>Optional, default is <strong>false</strong>. Flag for email notifications.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>EmailCustomerReceipt</td>\n<td></td>\n<td>boolean</td>\n<td>Optional, default is <strong>false</strong>. Flag for email notifications.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>EmailMerchantReceipt</td>\n<td></td>\n<td>boolean</td>\n<td>Optional, default is <strong>false</strong>. Flag for email notifications.</td>\n</tr>\n<tr>\n<td>O</td>\n<td>Status</td>\n<td></td>\n<td></td>\n<td>Optional, default is 0, which is 'ready'. The full list of status values are listed below this table.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"status-values\">Status Values</h2>\n<p>•0–Ready. Contract will process normally.<br />•1–Approved. This status is ignored and is only used internally, it should not be used through the API.<br />•2–Error. Used internally to signify an error occurred during processing. The contract will be processed again next time the Billing Payment Service runs.<br />•3–Declined. Used to signify the contract payment was declined during the last processing attempt. Will not be processed again until the RetryWaitTime in days has passed since the LastBillDate.<br />•4–Canceled. Signifies that the MaxFailures was reached in processing a contract. The Contract will be set to IsActive and will no longer be processed.<br />•5–Processing. Signifies the Contract is currently processing a payment. It is not recommended that anything be changed if the contract is in this state.<br />•6–Deactivated. Manually deactivated for whatever reason. IsActive should beset to false.<br />•7–Complete. Signifies that the Contract EndDate has been reached and the AmountRemaining is now zero.</p>\n","_postman_id":"c4eded87-d75b-42bf-a864-767f54da52c5","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}},{"name":"ScheduledPayments","item":[{"name":"ScheduledPayment","id":"e0c274b6-dc57-4550-9d42-d19b3bbc5dc3","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/{contractID}/scheduledpayments/{scheduledPaymentsID}","description":"<p><strong>GET</strong>: api/contacts/{contractid}/scheduledpayments/{id}<br />This returns a single Contact entity specified by the Id attribute on the end of the URL. Optionally, IncludeGraph=true can be added to the query string to return the Contract as well.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetScheduledPayment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the Entity for a given unique id wrapped in an IHttpActionResult.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/ScheduledPayments/{id}</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>ContractId- Unique id for the parent ContractModel Entity.  <br />  <br />Id - Unique id for the requested Entity.  <br />  <br />IncludeGraph - True/False whether to return the child entities of the Entity requested.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contracts","{contractID}","scheduledpayments","{scheduledPaymentsID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"42fc0f56-faf0-41d6-b739-9a1f352cbe35","name":"ScheduledPayment","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/{contractID}/scheduledpayments/{scheduledPaymentsID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29430/scheduledpayments/2\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29430/scheduledpayments/2\",\r\n            \"Rel\": \"Post\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 2,\r\n    \"ContractId\": 29430,\r\n    \"BillDate\": \"2025-01-01T05:00:00\",\r\n    \"BillAmount\": 500,\r\n    \"Paid\": false,\r\n    \"Contract\": null\r\n}"}],"_postman_id":"e0c274b6-dc57-4550-9d42-d19b3bbc5dc3"},{"name":"ScheduledPayments","id":"9a263b01-5939-4ce8-b26a-8d0241b6e555","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/{contractID}/scheduledpayments","description":"<p><strong>GET</strong>: api/contacts/{contractid}/scheduledpayments/<br />This returns an EntityList accepts any of the above arguments in addition to the default arguments.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>GetScheduledPayments</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Returns the requested entities wrapped in a n EntityList object which includes values for TotalCount, TotalPages, Page, Links, and Results , which contains a collection of the Entity.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>GET: api/ScheduledPayments</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>ContractId- Unique id for the parent ContractModel Entity.  <br />  <br />IncludeGraph - True/False whether to return the child entities of the Entity requested.  <br />  <br />Page - The page or results to return.  <br />  <br />Page_Size - The size of the page of results to return, the default being 25.  <br />  <br />SearchFalse - True/False whether to search false values for boolean arguments in the query string.  <br />  <br />Entity - The entity whose child properites can be used as filter values in the query string: ContractId, BillDate, BillAmount, and Paid.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contracts","{contractID}","scheduledpayments"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"77a9430d-0758-441b-a11b-4b0e72a2a03e","name":"ScheduledPayments","originalRequest":{"method":"GET","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"urlencoded","urlencoded":[]},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/{contractID}/scheduledpayments"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Page\": 0,\r\n    \"TotalPages\": 1,\r\n    \"TotalCount\": 1,\r\n    \"Results\": [\r\n        {\r\n            \"Links\": [\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29430/scheduledpayments/2\",\r\n                    \"Rel\": \"Self or Patch\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                },\r\n                {\r\n                    \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29430/scheduledpayments/2\",\r\n                    \"Rel\": \"Post\",\r\n                    \"Method\": \"Get\",\r\n                    \"IsTemplated\": false\r\n                }\r\n            ],\r\n            \"Id\": 2,\r\n            \"ContractId\": 29430,\r\n            \"BillDate\": \"2025-01-01T05:00:00\",\r\n            \"BillAmount\": 500,\r\n            \"Paid\": false,\r\n            \"Contract\": null\r\n        }\r\n    ],\r\n    \"Links\": [],\r\n    \"Exception\": null\r\n}"}],"_postman_id":"9a263b01-5939-4ce8-b26a-8d0241b6e555"},{"name":"Create ScheduledPayment","id":"1ed07eea-f535-493d-acbf-7ad500acb0fa","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"ContractID\": {contractID},\r\n    \"BillDate\": \"2025-01-01T00:00:00.000\",\r\n    \"BillAmount\": 500\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/{contractID}/scheduledpayments","description":"<p><strong>POST</strong>: api/contacts/{contractid}/scheduledpayments/<br />This endpoint accepts a ScheduledPayment entity. Figure 9, has an example of a ScheduledPayment entity post body.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PostScheduledPayment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Creates a ScheduledPayment entity.</td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>POST: api/ScheduledPayments</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>ScheduledPayment - The entity model to be inserted.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contracts","{contractID}","scheduledpayments"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"184777e5-d77c-4b95-8fd9-10508b32fc94","name":"Create ScheduledPayment","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"13026001","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"ContractID\": 29430,\r\n    \"BillDate\": \"2025-01-01T00:00:00.000\",\r\n    \"BillAmount\": 500\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/29430/scheduledpayments"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29430/scheduledpayments/2\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29430/scheduledpayments/2\",\r\n            \"Rel\": \"Post\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 2,\r\n    \"ContractId\": 29430,\r\n    \"BillDate\": \"2025-01-01T05:00:00Z\",\r\n    \"BillAmount\": 500,\r\n    \"Paid\": false,\r\n    \"Contract\": null\r\n}"}],"_postman_id":"1ed07eea-f535-493d-acbf-7ad500acb0fa"},{"name":"Update ScheduledPayment","id":"2d5c1b4c-e92a-49fc-b2ff-e11af1f75c8a","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"PATCH","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"ContractID\": {contractID},\r\n    \"BillDate\": \"2025-01-01T00:00:00.000\",\r\n    \"BillAmount\": 500\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/{contractID}/scheduledpayments/{scheduledPaymentsID}","description":"<p><strong>POST</strong>: api/accounts/{accountId}/accountholders/<br />This endpoint accepts an AccountHolder entity, with optional child entities of Customer and Address off the Customer entity. Make sure to use the ContactTypeId of 2 to specify the contact is a CustomerType. An example can be seen below in Figure 3 (note the AddressId and ContactId are both omitted because new objects are being added for both of those child entities).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Method:</strong></th>\n<th><strong>PatchScheduledPayment</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Purpose:</td>\n<td>Updates an entity based on the specified fields. This method works for  <br />the Http method <strong>PATCH.</strong></td>\n</tr>\n<tr>\n<td>Access:</td>\n<td>{URL}</td>\n</tr>\n<tr>\n<td>Method:</td>\n<td>[HttpPatch]</td>\n</tr>\n<tr>\n<td>Required Parameters:</td>\n<td>ContractId - Unique ID for the parent Contract of the entity to be updated.  <br />  <br />Id - Unique ID for the entity to be updated.  <br />  <br />Model - The entity model to be updated.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","contracts","{contractID}","scheduledpayments","{scheduledPaymentsID}"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"1f6ecf37-ce60-4492-ad23-27e755b040d2","name":"Update ScheduledPayment","originalRequest":{"method":"POST","header":[{"key":"X-RB-MerchantId","value":"{merchantAccountCode}","type":"text"},{"key":"X-RB-OrganizationId","value":"","type":"text","disabled":true}],"body":{"mode":"raw","raw":"{\r\n\t\"ContractID\": {contractID},\r\n    \"BillDate\": \"2025-01-01T00:00:00.000\",\r\n    \"BillAmount\": 500\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/contracts/{contractID}/scheduledpayments/{scheduledPaymentsID}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\r\n    \"Links\": [\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29430/scheduledpayments/2\",\r\n            \"Rel\": \"Self or Patch\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        },\r\n        {\r\n            \"Href\": \"https://www.bridgepaynetsecuretest.com/Bridgepay.RecurringBilling.API/api/contracts/29430/scheduledpayments/2\",\r\n            \"Rel\": \"Post\",\r\n            \"Method\": \"Get\",\r\n            \"IsTemplated\": false\r\n        }\r\n    ],\r\n    \"Id\": 2,\r\n    \"ContractId\": 29430,\r\n    \"BillDate\": \"2025-01-01T05:00:00Z\",\r\n    \"BillAmount\": 500,\r\n    \"Paid\": false,\r\n    \"Contract\": null\r\n}"}],"_postman_id":"2d5c1b4c-e92a-49fc-b2ff-e11af1f75c8a"}],"id":"31d1c17e-bd62-401a-a679-8d078410edba","description":"<p>ScheduledPayments are one time payments scheduled on a Contract. They are processed bythe Billing Payment Process Service separately from the contract payments on the BillDate of the SchedulePayment. The ScheduledPayments endpoints are a layered endpoint and can only be accessed off a valid contract Id, which will return only the payments for that contract.</p>\n<p>Note that ScheduledPayments are included in the count of max failures configured on a contract.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Requried</strong></th>\n<th><strong>Property Name</strong></th>\n<th><strong>Length</strong></th>\n<th><strong>DataType</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>R</td>\n<td>ContractId</td>\n<td></td>\n<td>Integer</td>\n<td>Should match the ContractId in the URL.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>BillDate</td>\n<td></td>\n<td>DateTime</td>\n<td>The date the payment will process.</td>\n</tr>\n<tr>\n<td>R</td>\n<td>BillAmount</td>\n<td></td>\n<td>Integer</td>\n<td>Amount of the one-time payment.</td>\n</tr>\n<tr>\n<td></td>\n<td>Paid</td>\n<td></td>\n<td>boolean</td>\n<td>Ignored. This is used by the processing system only and is ignored in <strong>PATCH/POST</strong></td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"31d1c17e-bd62-401a-a679-8d078410edba","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}},{"name":"Version Reporting","item":[{"name":"Recurring Billing API","event":[{"listen":"test","script":{"id":"d471365b-83f3-4f9e-9775-d2c3e5311bb9","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r","\r",""],"type":"text/javascript"}}],"id":"85f88261-b836-4636-9826-b631a12b3090","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/version","description":"<p>The GetVersion request returns the current version of the RecurringBillingAPI.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.API","api","version"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"18b172c2-205b-4e53-bc6a-39fc057630da","name":"Recurring Billing API","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.API/api/version"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"ApplicationName\": \"Bridgepay.RecurringBilling.Api\",\n    \"VersionNumber\": \"2022.2.0.70\"\n}"}],"_postman_id":"85f88261-b836-4636-9826-b631a12b3090"},{"name":"Recurring Billing Service","event":[{"listen":"test","script":{"id":"30adb403-8539-4ac6-9548-3ce8731cdf8b","exec":["pm.test(\"Status code is 200\", function () {\r","    pm.response.to.have.status(200);\r","});\r",""],"type":"text/javascript"}}],"id":"bf00c3aa-aa45-44f0-b3bc-418755a444c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml;charset=UTF-8","type":"text"},{"key":"SOAPAction","value":"\"http://bridgepaynetsecuretx.com/versionreporter/IVersionReporter/GetVersion\"","type":"text"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ver=\"http://bridgepaynetsecuretx.com/versionreporter\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ver:GetVersion/>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>","options":{"raw":{"language":"xml"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.Service/VersionReporter.svc/v1","description":"<p>The VersionReporter service returns the current version of the RecurringBilling Service.</p>\n","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}},"urlObject":{"protocol":"https","path":["RecurringBilling.Service","VersionReporter.svc","v1"],"host":["www.bridgepaynetsecuretest.com"],"query":[],"variable":[]}},"response":[{"id":"3a1f331a-bc70-4b1c-8efa-6386c3bd82f9","name":"Recurring Billing Version","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"text/xml;charset=UTF-8","type":"text"},{"key":"SOAPAction","value":"\"http://bridgepaynetsecuretx.com/versionreporter/IVersionReporter/GetVersion\"","type":"text"}],"body":{"mode":"raw","raw":"<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:ver=\"http://bridgepaynetsecuretx.com/versionreporter\">\r\n   <soapenv:Header/>\r\n   <soapenv:Body>\r\n      <ver:GetVersion/>\r\n   </soapenv:Body>\r\n</soapenv:Envelope>","options":{"raw":{"language":"xml"}}},"url":"https://www.bridgepaynetsecuretest.com/RecurringBilling.Service/VersionReporter.svc/v1"},"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","name":"Content-Type","value":"application/xml","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"<s:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\">\n    <s:Body>\n        <GetVersionResponse xmlns=\"http://bridgepaynetsecuretx.com/versionreporter\">\n            <GetVersionResult xmlns:a=\"http://schemas.datacontract.org/2004/07/Bridgepay.Core.Models\" xmlns:i=\"http://www.w3.org/2001/XMLSchema-instance\">\n                <a:ApplicationName>Bridgepay.RecurringBilling.Service</a:ApplicationName>\n                <a:VersionNumber>2022.2.0.63</a:VersionNumber>\n            </GetVersionResult>\n        </GetVersionResponse>\n    </s:Body>\n</s:Envelope>"}],"_postman_id":"bf00c3aa-aa45-44f0-b3bc-418755a444c9"}],"id":"995e9efd-5002-42eb-b4ab-06fa43e27619","description":"<p>The Recurring Billing API offers two methods to obtain the current version of the Recurring Billing API and Recurring Billing Service.</p>\n","_postman_id":"995e9efd-5002-42eb-b4ab-06fa43e27619","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}}],"id":"e8ce8a81-1370-4364-9967-84eba0524fac","description":"<p>The following section will outline the specific request layouts for the process flow described above.</p>\n","event":[{"listen":"prerequest","script":{"id":"2f9216e4-af23-4b4f-a155-923d700ff6fa","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b2bfef6f-1ab6-4373-9d3d-bcff2d392a99","type":"text/javascript","exec":[""]}}],"_postman_id":"e8ce8a81-1370-4364-9967-84eba0524fac","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]},"isInherited":true,"source":{"_postman_id":"4e8b757f-1146-45ee-a531-5025f130f16c","id":"4e8b757f-1146-45ee-a531-5025f130f16c","name":"Recurring Billing API Development Guide","type":"collection"}}},{"name":"Appendix","item":[],"id":"82b5fbdf-52a5-4f7f-91da-5402f8f72660","description":"<h3 id=\"document-version\">Document Version:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Version:</strong></th>\n<th><strong>Updated by:</strong></th>\n<th><strong>Change(s):</strong></th>\n<th><strong>Date:</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1.0</td>\n<td>Noah Hippensteel</td>\n<td>Added Document Version Table.</td>\n<td>09/09/2024</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"noauth","isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ff9a96ce-b45f-41bf-b339-700d4ad64832"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"9fe00b70-4ed2-4530-8663-57956ca22347"}}],"_postman_id":"82b5fbdf-52a5-4f7f-91da-5402f8f72660"}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{username}"},{"key":"password","value":"{password}"}]}},"event":[{"listen":"prerequest","script":{"id":"f918a3b9-f83e-4d26-825b-e0d96a9f05de","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b516e483-9b17-4268-993a-6f4c2eff9ffb","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseURL","value":"www.bridgepaynetsecuretest.com","type":"string"},{"key":"merchantGroupID","value":"","type":"string"},{"key":"merchantAccountID","value":"","type":"string"},{"key":"merchantCode","value":"{merchantCode}","type":"string"},{"key":"merchantAccountCode","value":"{merchantAccountCode}","type":"string"},{"key":"username","value":"{username}","type":"string"},{"key":"password","value":"{password}","type":"string"},{"key":"accountID","value":"{accountID}","type":"string"},{"key":"addressID","value":"{addressID}","type":"string"},{"key":"contactID","value":"{contactID}","type":"string"},{"key":"accountHolderID","value":"{accountHolderID}","type":"string"},{"key":"walletID","value":"{walletID}","type":"string"},{"key":"paymentMethodID","value":"{paymentMethodID}","type":"string"},{"key":"productID","value":"{productID}","type":"string"},{"key":"frequencyID","value":"{frequencyID}","type":"string"},{"key":"contractID","value":"{contractID}","type":"string"},{"key":"scheduledPaymentsID","value":"{scheduledPaymentsID}","type":"string"},{"key":"walletSiteID","value":"{walletSiteID}","type":"string"}]}