{"info":{"_postman_id":"bc74fc59-6807-462c-b269-0eace4a646cf","name":"ChangeUp API","description":"<html><head></head><body><h2 id=\"welcome-to-the-changeup-partner-api-documentation\">Welcome to the ChangeUp Partner API Documentation</h2>\n<p>An API that enables ChangeUp e-commerce partners to offer donate-at-checkout features to their customers</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"22151157","collectionId":"bc74fc59-6807-462c-b269-0eace4a646cf","publishedId":"2s8ZDYXMfg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"2b9773"},"publishDate":"2023-01-23T18:35:59.000Z"},"item":[{"name":"API v2","item":[{"name":"donation","item":[{"name":"Record a batch of donations","id":"3d948f35-c24b-4ff1-9633-58e10f4fc9c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"donations\": [\n    {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    },\n    {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    }\n  ],\n  \"child_organization_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner-staging.changeup.com/v2/donation","description":"<p>Request Body Fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Optional / Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cause_uuid</td>\n<td>String</td>\n<td>Benevity Cause Id</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>user_donation_amount_micros</td>\n<td>Number</td>\n<td>User Donation Amount in Micros</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>partner_donation_amount_micros</td>\n<td>Number</td>\n<td>Partner Donation Amount in Micros</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>partner_attributable_user_id</td>\n<td>String</td>\n<td>User Id</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>partner_attributable_user_email_address</td>\n<td>String</td>\n<td>User email address</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>partner_attributable_user_first_name</td>\n<td>String</td>\n<td>User first name</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>partner_attributable_user_last_name</td>\n<td>String</td>\n<td>User last name</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>partner_transaction_id</td>\n<td>String</td>\n<td>Transaction Id - Reference number</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>country</td>\n<td>String</td>\n<td>ISO country number</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>Currency code</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>partner_order_date</td>\n<td>String</td>\n<td>Partner order date</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>child_organization_id</td>\n<td>String</td>\n<td>Donation made to child Organization Id</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","donation"],"host":["https://partner-staging.changeup.com"],"query":[],"variable":[]}},"response":[{"id":"0d8f260b-8347-48f1-9ef5-2a015b19ad94","name":"Donations have been successfully created.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-api-key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"donations\": [\n    {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    },\n    {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    }\n  ],\n  \"child_organization_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner-staging.changeup.com/v2/donation"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"changeup_transaction_uuids\": [\n     \"string\"\n    ],\n    \"error_message\": \"string\",\n    \"partner_transaction_id\": \"D\",\n    \"status_code\": -7405017.240494385\n  },\n  \"invalid_donations\": {\n    \"changeup_transaction_uuid\": \"string\",\n    \"donation\": {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    },\n    \"error\": \"string\"\n  }\n}"}],"_postman_id":"3d948f35-c24b-4ff1-9633-58e10f4fc9c7"}],"id":"2066adb9-b67d-448d-8ff2-1cf7baad592c","description":"<p>Record a batch of donations</p>\n","_postman_id":"2066adb9-b67d-448d-8ff2-1cf7baad592c"},{"name":"organization","item":[{"name":"Create Organization - Deprecated","id":"4f8a1fc6-f505-43d3-845f-f4aba7b64e74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Demo Organization \",\n  \"users\": [\n    {\n      \"email\": \"john.doe@example.com\",\n      \"name\": \"John Doe\"\n    },\n    {\n      \"email\": \"john.doe@example.com\",\n      \"name\": \"John Doe\"\n    }\n  ],\n  \"parent_organization_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n  \"donation_fees_covered_by_changeup\": true,\n  \"default_country\": \"840\",\n  \"default_currency\": \"USD\",\n  \"supported_countries\": [\n    \"840\",\n    \"124\"\n  ],\n  \"supported_currencies\": [\n    \"USD\",\n    \"CRC\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner-staging.changeup.com/v2/organization/create_child","description":"<h3 id=\"create-a-merchant\">Create a Merchant</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","organization","create_child"],"host":["https://partner-staging.changeup.com"],"query":[],"variable":[]}},"response":[{"id":"7867a924-fad0-4328-a001-42dc000a6021","name":"Organization has been successfully created.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-api-key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Demo Organization \",\n  \"users\": [\n    {\n      \"email\": \"john.doe@example.com\",\n      \"name\": \"John Doe\"\n    },\n    {\n      \"email\": \"john.doe@example.com\",\n      \"name\": \"John Doe\"\n    }\n  ],\n  \"parent_organization_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n  \"donation_fees_covered_by_changeup\": true,\n  \"default_country\": \"840\",\n  \"default_currency\": \"USD\",\n  \"supported_countries\": [\n    \"840\",\n    \"124\"\n  ],\n  \"supported_currencies\": [\n    \"USD\",\n    \"CRC\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://partner-staging.changeup.com/v2/organization/create_child"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"default_country\": \"840\",\n  \"default_currency\": \"USD\",\n  \"donation_fees_covered_by_changeup\": true,\n  \"id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n  \"name\": \"Test Organization Name\",\n  \"supported_countries\": [\n    \"840\",\n    \"124\"\n  ],\n  \"supported_currencies\": [\n    \"USD\",\n    \"CRC\"\n  ],\n  \"users\": {\n    \"email\": \"john.doe@example.com\",\n    \"name\": \"John Doe\",\n    \"role\": \"USER\"\n  }\n}"}],"_postman_id":"4f8a1fc6-f505-43d3-845f-f4aba7b64e74"},{"name":"Get Organization UI-Config","id":"a708121a-52bb-4b4b-979e-72229dd5ce7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"value":"<value>","key":"<key>"},"isInherited":false},"method":"GET","header":[],"url":"https://partner-staging.changeup.com/v2/organization/ui-config","urlObject":{"path":["v2","organization","ui-config"],"host":["https://partner-staging.changeup.com"],"query":[],"variable":[]}},"response":[{"id":"0b795f7a-b07c-4834-abb6-79727546e4c9","name":"Untitled Example","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-api-key","value":"<API Key>"},{"key":"","value":"","type":"text"}],"url":"https://partner-staging.changeup.com/v2/organization/ui-config"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a708121a-52bb-4b4b-979e-72229dd5ce7c"}],"id":"cc78f3d5-920f-4f10-82a5-77132800b06d","_postman_id":"cc78f3d5-920f-4f10-82a5-77132800b06d","description":""},{"name":"cause","item":[{"name":"Search causes","id":"bd79de73-87f3-469e-9827-c950aada1108","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"GET","header":[],"url":"https://partner-staging.changeup.com/v2/cause/search?q=feeding&page=1&page_size=5&search_location=90,90&country=840&state=US-CA&category=P30&visibility=donate&ruleset_tag=apple-pay&foundation=3K69AK1RX7&apple_approved=true&sort=default","description":"<h3 id=\"search-for-cuases-from-benevity\">Search for cuases from benevity</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Query</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>q</td>\n<td>String</td>\n<td>A string containing one or more search keywords.</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Number</td>\n<td>Which page of the search results to show.</td>\n</tr>\n<tr>\n<td>page_size</td>\n<td>Number</td>\n<td>The number of search results to return per page.</td>\n</tr>\n<tr>\n<td>search_location</td>\n<td>[string]</td>\n<td>The origin point of the search, expressed as latitude,longitude. Generally, results physically closer to this point will be ranked higher in the results. Latitude must be between -90 and 90, and longitude must be between -180 and 180.</td>\n</tr>\n<tr>\n<td>state</td>\n<td>[string]</td>\n<td>The search result is filtered based on the state, province or region associated with the project or cause. The filter values are the extended version of ISO 3166-2 standard and can be found in the response facets. This parameter can be used multiple times for different values. The values will be OR'd together.</td>\n</tr>\n<tr>\n<td>category</td>\n<td>[string]</td>\n<td>The search result is filtered based on the categories and subcategories the project or cause is associated with. The filter values are the extended version of NTEE standard and can be found in the response facets. This parameter can be used multiple times for different values. The values will be OR'd together.</td>\n</tr>\n<tr>\n<td>ruleset_tag</td>\n<td>[string]</td>\n<td>Your company's program is determined by filter rules that may have tags associated to them. This parameter allows you to specify through tags what filter rules should be considered when determining a result's visibility level.</td>\n</tr>\n<tr>\n<td>foundation</td>\n<td>[string]</td>\n<td>Your company can be registered with one or more foundations. This parameter allows you to specify what foundations should be considered when determining a result's visibility level.</td>\n</tr>\n<tr>\n<td>apple_approved</td>\n<td>Boolean</td>\n<td>The search result is filtered based on the apple approved causes. Value true means that causes are support Apple Pay.</td>\n</tr>\n<tr>\n<td>sort</td>\n<td>String</td>\n<td>Sort results based on selected option. If ommitted, the default option will be selected. An invalid option will result in a bad request. A distance sort requires a valid search_location parameter, an internal server error will occur otherwise.  <br />Sort by: default, distance or popularity</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","cause","search"],"host":["https://partner-staging.changeup.com"],"query":[{"description":{"content":"<p>A string containing one or more search keywords.</p>\n","type":"text/plain"},"key":"q","value":"feeding"},{"description":{"content":"<p>Which page of the search results to show.</p>\n","type":"text/plain"},"key":"page","value":"1"},{"description":{"content":"<p>The number of search results to return per page.</p>\n","type":"text/plain"},"key":"page_size","value":"5"},{"description":{"content":"<p>The origin point of the search, expressed as latitude,longitude. Generally, results physically closer to this point will be ranked higher in the results. Latitude must be between -90 and 90, and longitude must be between -180 and 180.</p>\n","type":"text/plain"},"key":"search_location","value":"90,90"},{"description":{"content":"<p>The search result is filtered based on the country associated with the project or cause. The filter values can be either the ISO 3166 standard numeric codes or the extended version of alphanumeric codes which can be found in the response facets. This parameter can be used multiple times for different values. The values will be OR'd together. Example: 840 or 124</p>\n","type":"text/plain"},"key":"country","value":"840"},{"description":{"content":"<p>The search result is filtered based on the state, province or region associated with the project or cause. The filter values are the extended version of ISO 3166-2 standard and can be found in the response facets. This parameter can be used multiple times for different values. The values will be OR'd together.</p>\n","type":"text/plain"},"key":"state","value":"US-CA"},{"description":{"content":"<p>The search result is filtered based on the categories and subcategories the project or cause is associated with. The filter values are the extended version of NTEE standard and can be found in the response facets. This parameter can be used multiple times for different values. The values will be OR'd together.</p>\n","type":"text/plain"},"key":"category","value":"P30"},{"description":{"content":"<p>Filter results based on what actions may be taken. For example a visibility of donate will only return causes that may be donated to. Loosening the filter to program will additionally return causes that may be linked to as part of your company's program but cannot receive donation. Each visibility level is a subset of the next, ending at inactive which allows the full set of results. Values  may include\ndonate, program, nominate, ineligible or inactive</p>\n","type":"text/plain"},"key":"visibility","value":"donate"},{"description":{"content":"<p>Your company's program is determined by filter rules that may have tags associated to them. This parameter allows you to specify through tags what filter rules should be considered when determining a result's visibility level.</p>\n","type":"text/plain"},"key":"ruleset_tag","value":"apple-pay"},{"description":{"content":"<p>Your company can be registered with one or more foundations. This parameter allows you to specify what foundations should be considered when determining a result's visibility level.</p>\n","type":"text/plain"},"key":"foundation","value":"3K69AK1RX7"},{"description":{"content":"<p>The search result is filtered based on the apple approved causes. Value true means that causes are support Apple Pay.</p>\n","type":"text/plain"},"key":"apple_approved","value":"true"},{"description":{"content":"<p>Sort results based on selected option. If ommitted, the default option will be selected. An invalid option will result in a bad request. A distance sort requires a valid search_location parameter, an internal server error will occur otherwise.\nSort by: default, distance or popularity</p>\n","type":"text/plain"},"key":"sort","value":"default"}],"variable":[]}},"response":[{"id":"dda1810d-1640-4667-9e12-646a2fc15e48","name":"Untitled Example","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-api-key","value":"<API Key>"}],"url":{"raw":"https://partner-staging.changeup.com/v2/cause/search?q=q&page=page&page_size=page_size&search_location=search_location&country=&state=&category=&visibility=donate&ruleset_tag=&foundation=&apple_approved=true&sort=default","host":["https://partner-staging.changeup.com"],"path":["v2","cause","search"],"query":[{"key":"q","value":"q"},{"key":"page","value":"page"},{"key":"page_size","value":"page_size"},{"key":"search_location","value":"search_location"},{"key":"country","value":""},{"key":"state","value":""},{"key":"category","value":""},{"key":"visibility","value":"donate"},{"key":"ruleset_tag","value":""},{"key":"foundation","value":""},{"key":"apple_approved","value":"true"},{"key":"sort","value":"default"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"bd79de73-87f3-469e-9827-c950aada1108"},{"name":"Get Donation Cause Details","id":"40d4fd0b-51dc-4ff1-8b76-f50757ccf43b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"GET","header":[],"url":"https://partner-staging.changeup.com/v2/cause/:cause_uuid","description":"<p>Search Benevity by cause</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Params</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cause_uuid</td>\n<td>String</td>\n<td><code>Required</code> Benevity cause id</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","cause",":cause_uuid"],"host":["https://partner-staging.changeup.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"840-911570421","key":"cause_uuid"}]}},"response":[{"id":"fc4b6852-dde5-489a-8bbd-bd1acf229ac0","name":"Untitled Example","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-api-key","value":"<API Key>"}],"url":{"raw":"https://partner-staging.changeup.com/v2/cause/:cause_uuid","host":["https://partner-staging.changeup.com"],"path":["v2","cause",":cause_uuid"],"variable":[{"key":"cause_uuid","value":"cause_uuid","description":"(Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"40d4fd0b-51dc-4ff1-8b76-f50757ccf43b"}],"id":"caa6aa4d-90f3-49a6-8e40-91ff90172941","_postman_id":"caa6aa4d-90f3-49a6-8e40-91ff90172941","description":""},{"name":"partner","item":[{"name":"Calculates the total donations that a partner has made. By default includes all causes and all donating entities","id":"a6c1710d-e315-43d2-9145-fb32ea88b7ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"GET","header":[],"url":"https://partner-staging.changeup.com/v2/partner/total_donations?donating_entity=consumer&cause_id=840-911570421","description":"<h3 id=\"partner\">Partner</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Query</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Descripton</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>donating_entity</td>\n<td>String</td>\n<td>Donation entity type. Example <strong>consumer</strong></td>\n</tr>\n<tr>\n<td>cause_id</td>\n<td>String</td>\n<td>Benevity cauase uuid</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["v2","partner","total_donations"],"host":["https://partner-staging.changeup.com"],"query":[{"description":{"content":"<p>Donation entity type. Example: consumer</p>\n","type":"text/plain"},"key":"donating_entity","value":"consumer"},{"description":{"content":"<p>Benevity cauase uuid</p>\n","type":"text/plain"},"key":"cause_id","value":"840-911570421"}],"variable":[]}},"response":[{"id":"cfa3b0e5-e4ab-4f0f-89b2-f42939f89c31","name":"Untitled Example","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-api-key","value":"<API Key>"}],"url":{"raw":"https://partner-staging.changeup.com/v2/partner/total_donations?donating_entity=partner&cause_id=cause_id","host":["https://partner-staging.changeup.com"],"path":["v2","partner","total_donations"],"query":[{"key":"donating_entity","value":"partner"},{"key":"cause_id","value":"cause_id"}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a6c1710d-e315-43d2-9145-fb32ea88b7ed"}],"id":"018273b1-bc87-4b21-9173-2fe42881692b","_postman_id":"018273b1-bc87-4b21-9173-2fe42881692b","description":""}],"id":"d89e26ec-28dc-413d-ac3f-1cfd3289d5d0","_postman_id":"d89e26ec-28dc-413d-ac3f-1cfd3289d5d0","description":""},{"name":"API v1 - Legacy","item":[{"name":"cause","item":[{"name":"Search causes","id":"c1744598-caf7-4814-b040-906fd63da151","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"GET","header":[],"url":"https://partner-staging.changeup.com/partner/v1/cause/search?page_size=1&offset=1&sort=ASC&organization_name=organization_name&includeOnlyVerified=true&exclude=","urlObject":{"path":["partner","v1","cause","search"],"host":["https://partner-staging.changeup.com"],"query":[{"key":"page_size","value":"1"},{"key":"offset","value":"1"},{"description":{"content":"<p>comma separated list of fields to sort with optional direction FIELD:ASC (default) or FIELD:DESC</p>\n","type":"text/plain"},"key":"sort","value":"ASC"},{"key":"organization_name","value":"organization_name"},{"key":"includeOnlyVerified","value":"true"},{"key":"exclude","value":""}],"variable":[]}},"response":[{"id":"ce85c83a-4f61-4b14-b34b-d46228f6767d","name":"Untitled Example","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-changeup-api-key","value":"<API Key>"}],"url":{"raw":"https://partner-staging.changeup.com/partner/v1/cause/search?page_size=page_size&offset=offset&sort=ASC&organization_name=organization_name&includeOnlyVerified=true&exclude=","host":["https://partner-staging.changeup.com"],"path":["partner","v1","cause","search"],"query":[{"key":"page_size","value":"page_size"},{"key":"offset","value":"offset"},{"key":"sort","value":"ASC"},{"key":"organization_name","value":"organization_name"},{"key":"includeOnlyVerified","value":"true"},{"key":"exclude","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c1744598-caf7-4814-b040-906fd63da151"},{"name":"Get Donation Cause Details","id":"6f09bed1-ac51-4197-a047-0273b18de327","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://partner-staging.changeup.com/partner/v1/cause/:cause_uuid","urlObject":{"path":["partner","v1","cause",":cause_uuid"],"host":["https://partner-staging.changeup.com"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"840-911570421","key":"cause_uuid"}]}},"response":[{"id":"5b8646bd-1e55-4324-ae83-812a583e2cae","name":"Untitled Example","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-changeup-api-key","value":"<API Key>"}],"url":{"raw":"https://partner-staging.changeup.com/partner/v1/cause/:cause_uuid","host":["https://partner-staging.changeup.com"],"path":["partner","v1","cause",":cause_uuid"],"variable":[{"key":"cause_uuid","value":"cause_uuid","description":"(Required) "}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"affiliation_code\": -41771074.755492955,\n    \"applepay\": false,\n    \"asset_code\": 2255914.917578399,\n    \"banner_image_url\": \"nisi dolore veniam qui ut\",\n    \"deductibility_code\": -43341013.1929135,\n    \"description\": \"amet esse sunt ex\",\n    \"ein\": \"sed amet sunt\",\n    \"facebook_id\": \"culpa amet in magna\",\n    \"feature_image_url\": \"consequat\",\n    \"feature_weight\": \"in sed\",\n    \"foundation_code\": -16827847.01868254,\n    \"geo_city\": \"qui proident irure sunt\",\n    \"geo_lat\": -67537214.74493308,\n    \"geo_lon\": 84572496.76583344,\n    \"geo_rating\": -19082035.576608375,\n    \"geo_state\": \"fugiat ea\",\n    \"geo_street_name\": \"officia nostrud \",\n    \"geo_street_number\": \"est ullamco\",\n    \"geo_street_type\": \"Ut non aute\",\n    \"geo_zip\": \"ea \",\n    \"income_code\": 6533205.433183432,\n    \"is_feature\": false,\n    \"is_trending\": false,\n    \"logo_image_url\": \"exercitation\",\n    \"mission_statement\": \"ex\",\n    \"ntee_code\": \"Ut ipsum\",\n    \"organization_code\": 45367530.97385645,\n    \"organization_name\": \"consequat dolor\",\n    \"organization_uuid\": \"culpa Lorem nisi veniam\",\n    \"trending_weight\": \"mollit sit\",\n    \"twitter_handle\": \"aliquip Lorem fugiat\",\n    \"website\": \"sunt velit\"\n  }\n}"}],"_postman_id":"6f09bed1-ac51-4197-a047-0273b18de327"}],"id":"935db64f-38e3-48cc-80e2-b23a17825a42","_postman_id":"935db64f-38e3-48cc-80e2-b23a17825a42","description":""},{"name":"Record a batch of donations","id":"d17a296f-68c2-419d-9c20-d78b3fb9a8e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"donations\": [\n    {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    },\n    {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    }\n  ],\n  \"child_organization_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner-staging.changeup.com/partner/v1/donations","description":"<p>Request Body Fields</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Optional / Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>cause_uuid</td>\n<td>String</td>\n<td>Benevity Cause Id</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>user_donation_amount_micros</td>\n<td>Number</td>\n<td>User Donation Amount in Micros</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>partner_donation_amount_micros</td>\n<td>Number</td>\n<td>Partner Donation Amount in Micros</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>partner_attributable_user_id</td>\n<td>String</td>\n<td>User Id</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>partner_attributable_user_email_address</td>\n<td>String</td>\n<td>User email address</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>partner_attributable_user_first_name</td>\n<td>String</td>\n<td>User first name</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>partner_attributable_user_last_name</td>\n<td>String</td>\n<td>User last name</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>partner_transaction_id</td>\n<td>String</td>\n<td>Transaction Id - Reference number</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>country</td>\n<td>String</td>\n<td>ISO country number</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>currency</td>\n<td>String</td>\n<td>Currency code</td>\n<td>Required</td>\n</tr>\n<tr>\n<td>partner_order_date</td>\n<td>String</td>\n<td>Partner order date</td>\n<td>Optional</td>\n</tr>\n<tr>\n<td>child_organization_id</td>\n<td>String</td>\n<td>Donation made to child Organization Id</td>\n<td>Optional</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["partner","v1","donations"],"host":["https://partner-staging.changeup.com"],"query":[],"variable":[]}},"response":[{"id":"45f62972-7978-4d6a-9cff-8b72d24f5e8c","name":"Donations have been successfully created.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"x-changeup-api-key","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"donations\": [\n    {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    },\n    {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    }\n  ],\n  \"child_organization_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\"\n}","options":{"raw":{"language":"json"}}},"url":"https://partner-staging.changeup.com/partner/v1/donations"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {\n    \"changeup_transaction_uuids\": [\n      \"nisi offic\",\n      \"adipisicing sunt n\"\n    ],\n    \"error_message\": \"sunt\",\n    \"partner_transaction_id\": \"aliquip dolor ea\",\n    \"status_code\": -29242174.072388843\n  },\n  \"invalid_donations\": {\n    \"changeup_transaction_uuid\": \"elit reprehenderit in consequat\",\n    \"donation\": {\n      \"cause_uuid\": \"840-520851555\",\n      \"partner_attributable_user_email_address\": \"john.doe@example.com\",\n      \"partner_attributable_user_first_name\": \"John\",\n      \"partner_attributable_user_id\": \"328bc913-1643-43b0-80e9-2cbdd2117838\",\n      \"partner_attributable_user_last_name\": \"Doe\",\n      \"partner_donation_amount_micros\": 1000000,\n      \"partner_transaction_id\": \"9019209b-7afc-4bd0-92eb-7d11bfc09107\",\n      \"user_donation_amount_micros\": 1000000,\n      \"country\": \"840\",\n      \"currency\": \"USD\"\n    },\n    \"error\": \"non\"\n  }\n}"}],"_postman_id":"d17a296f-68c2-419d-9c20-d78b3fb9a8e6"},{"name":"Calculates the total donations that a partner has made. By default includes all causes and all donating entities","id":"4206994d-e906-4a95-8e0f-cfdd446b7853","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"key":"<key>","value":"<value>"},"isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://partner-staging.changeup.com/partner/v1/partner/total_donations?donating_entity=consumer&cause_id=840-911570421","urlObject":{"path":["partner","v1","partner","total_donations"],"host":["https://partner-staging.changeup.com"],"query":[{"description":{"content":"<p>Donation entity type. Example: consumer</p>\n","type":"text/plain"},"key":"donating_entity","value":"consumer"},{"description":{"content":"<p>Benevity cauase uuid</p>\n","type":"text/plain"},"key":"cause_id","value":"840-911570421"}],"variable":[]}},"response":[{"id":"aa9d2cb0-0b5e-40af-9b8b-2bc92d505020","name":"Untitled Example","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"x-changeup-api-key","value":"<API Key>"}],"url":{"raw":"https://partner-staging.changeup.com/partner/v1/partner/total_donations?donating_entity=consumer&cause_id=840-911570421","host":["https://partner-staging.changeup.com"],"path":["partner","v1","partner","total_donations"],"query":[{"key":"donating_entity","value":"consumer","description":"Donation entity type. Example: consumer"},{"key":"cause_id","value":"840-911570421","description":"Benevity cauase uuid"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"data\": {}\n}"}],"_postman_id":"4206994d-e906-4a95-8e0f-cfdd446b7853"}],"id":"d09ec438-e8e9-47b7-8c17-5339a0343892","description":"<p>Legacy</p>\n","_postman_id":"d09ec438-e8e9-47b7-8c17-5339a0343892"}],"event":[{"listen":"prerequest","script":{"id":"dc38fc15-e7b4-42d2-8ddc-b755a88fa02b","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"02aefd5e-491a-486f-bfaa-8f9964011bd5","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://partner-staging.changeup.com","type":"string"}]}