usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
28.03k stars 1.3k forks source link

Using the search tool to search a collection causes the app to crash #2828

Open justageek opened 3 months ago

justageek commented 3 months ago

I have checked the following:

Describe the bug

When entering any character in the Search box to search a collection, the application crashes and the Bruno error reporting screen appears, so the search cannot be using.

.bru file to reproduce the bug

headers { Content-Type: application/json }

script:pre-request {

const axios = require('axios');
const tokenUrl = bru.getEnvVar('baseUrl') + '/login';

const data = {
  "email": "admin@test.com",
  //"email": "manager@test.com",
  "password": "C0r3G!v!ng",
  "client_id": bru.getEnvVar('client_id')
}
const urls = [
  '{{baseUrl}}/login',
  '{{baseUrl}}/v1/donate',
  '{{baseUrl}}/v1/pledge',
];

if (!urls.includes(req.getUrl())) { 
  try {
    const response = await axios.post(tokenUrl, data, {
      headers: {
        "Content-Type": "application/json",
        "Referer": "http://localhost:3000",
        "Accept": "application/json",
        "X-Requested-With": "XMLHttpRequest"
      }
    });
   console.log(response.data);
    bru.setEnvVar('token', response.data.access_token);
  } catch(error) {
    console.log(error);
  }
}

}

Screenshots/Live demo link

Screenshot 2024-08-13 at 10 54 44 AM

sanjai0py commented 3 months ago

Hey @justageek, thank you for reporting this bug. I was able to reproduce it. I will get a fix out ASAP!

sanjai0py commented 3 months ago

Hey @justageek, can you share the collection causing this issue when it is opened?

justageek commented 3 months ago
Collection { "name": "CoreGiving", "version": "1", "items": [ { "type": "http", "name": "Change Fund Status", "seq": 17, "request": { "url": "{{baseUrl}}/v1/fund/9b441527-ddb3-4d14-a3e2-2e2458334bec/status", "method": "PATCH", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\"status\":\"archiveds\"}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Affiliate", "seq": 39, "request": { "url": "{{baseUrl}}/v1/users", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"email\": \"wisecounselor4@gmail.com\",\n \"first_name\": \"Jerry\",\n \"last_name\": \"Mander\",\n \"phone\": \"615-877-0987\",\n \"password\": \"Qx37p9bd!$\",\n \"password_confirmation\": \"Qx37p9bd!$\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Branding Background Image", "seq": 24, "request": { "url": "{{baseUrl}}/v1/users/9b7694de-51bb-4ddb-bd53-b59c611e90de/avatar", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"filesystem_uuid\": \"2cba72f0-ee68-429b-8753-76595d0f9ce9\",\n \"key\": \"tmp/temp.txt\",\n \"name\": \"temp.txt\",\n \"mime_type\": \"images/png\",\n \"bucket\": \"files\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Branding Logo", "seq": 12, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/brand/9b702d32-0441-4bdd-8d83-cd9fcc5f3912/logo", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"filesystem_uuid\": \"2cba72f0-ee68-429b-8753-76595d0f9ce9\",\n \"key\": \"tmp/new_writing.txt\",\n \"name\": \"new_writing.txt\",\n \"mime_type\": \"images/png\",\n \"bucket\": \"files\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Fund", "seq": 13, "request": { "url": "{{baseUrl}}/v1/organizations/9c55a05f-9e12-4c73-b99e-7cce195cba65/funds", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"Susan's Fund 4\",\n \"goal\": \"1000000\",\n \"status\": \"active\",\n \"customFields\": [\n {\n \"key\": \"Some Field Name\",\n \"value\": \"Some Value\"\n }\n ]\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org ACH Pledge", "seq": 72, "request": { "url": "{{baseUrl}}/v1/pledge", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"amount\": 1000,\n \"payment_type\": \"ach\",\n \"payment_date\": \"2024-06-01\",\n \"is_recurring\": false,\n \"paymentMethod\": {\n \"account_number\": \"11101010\",\n \"routing\": \"053200983\",\n \"account_type\": \"checking\"\n },\n \"scheduler\": {\n \"start_date\": \"2024-05-01\",\n \"end_date\": \"2024-12-01\",\n \"frequency\": \"weekly\"\n },\n \"campaign_id\": \"{{campaign}}\",\n \"organization_id\": \"{{org}}\",\n \"cover_processing_fee\": true,\n \"ip_address\": \"127.0.0.1\",\n \"user_agent\": \"user agent\",\n \"donor\": {\n \"first_name\": \"Brian\",\n \"last_name\": \"Smith\",\n \"email\": \"brian.smith@corecommerce.com\",\n \"phone\": \"999-999-9999\",\n \"address\": {\n \"street1\": \"223 some street\",\n \"street2\": \"\",\n \"city\": \"Nashville\",\n \"state\": \"TN\",\n \"postal_code\": \"37075\"\n }\n },\n \"funds\": [\n {\n \"fund_id\": \"9c137125-204f-4734-bef8-e286518c412e\",\n \"amount\": \"500\"\n },\n {\n \"fund_id\": \"9c13712f-df76-4371-b2c3-a5e579b78f52\",\n \"amount\": \"500\"\n }\n ]\n \n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org ACH Transaction", "seq": 49, "request": { "url": "{{baseUrl}}/v1/donate", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "User-Agent", "value": "Brians Custom Agent", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"amount\": 1000,\n \"payment_type\": \"ach\",\n \"paymentMethod\": {\n \"account_number\": \"49100130\",\n \"routing\": \"292735277\",\n \"account_type\": \"checking\"\n },\n \"is_recurring\": true,\n \"scheduler\": {\n \"start_date\": \"2024-05-01\",\n \"end_date\": \"2024-12-01\",\n \"frequency\": \"monthly\",\n \"day\": 15\n },\n \"campaign_id\": \"{{campaign}}\",\n \"organization_id\": \"{{org}}\",\n \"cover_processing_fee\": false,\n \"ip_address\": \"127.0.0.1\",\n \"user_agent\": \"user agent\",\n \"donor\": {\n \"first_name\": \"Brian\",\n \"last_name\": \"Smith\",\n \"email\": \"brian.smith@corecommerce.com\",\n \"phone\": \"999-999-9999\",\n \"address\": {\n \"street1\": \"223 some street\",\n \"street2\": \"\",\n \"city\": \"Nashville\",\n \"state\": \"TN\",\n \"postal_code\": \"37075\"\n }\n },\n \"funds\": [\n {\n \"fund_id\": \"9c18c433-0ab6-427f-b20b-5d753b2ea597\",\n \"amount\": \"500\"\n },\n {\n \"fund_id\": \"9c1912bb-e86d-4a24-86f3-ae3575bf1813\",\n \"amount\": \"500\"\n }\n ]\n \n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org Address", "seq": 5, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/organization-policy", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"Privacy Policy\",\n \"body\": \"This is the body\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org Branding", "seq": 11, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/brand", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"show_logo\":1,\n \"primary_color\":\"#fffccc\",\n \"secondary_color\":\"#fffddd\",\n \"button_shape\":\"rounded\",\n \"font\":\"Open Sans\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org CC Pledge", "seq": 71, "request": { "url": "{{baseUrl}}/v1/pledge", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"amount\": 1000,\n \"payment_type\": \"card\",\n \"payment_date\": \"2024-08-01\",\n \"is_recurring\": true,\n \"scheduler\": {\n \"start_date\": \"2024-08-01\",\n \"frequency\": \"monthly\"\n },\n \"paymentMethod\": {\n \"method\": \"credit\",\n \"account_number\": \"4539858876047062\",\n \"expiration_month\": 12,\n \"expiration_year\": 2024,\n \"cvv\": \"999\"\n },\n \"campaign_id\": \"{{campaign}}\",\n \"organization_id\": \"{{org}}\",\n \"cover_processing_fee\": true,\n \"ip_address\": \"127.0.0.1\",\n \"user_agent\": \"user agent\",\n \"donor\": {\n \"first_name\": \"Brian\",\n \"last_name\": \"Smith\",\n \"email\": \"brian.smith@corecommerce.com\",\n \"phone\": \"+19999999999\",\n \"address\": {\n \"street1\": \"223 some street\",\n \"street2\": \"\",\n \"city\": \"Nashville\",\n \"state\": \"TN\",\n \"postal_code\": \"37075\"\n }\n },\n \"shipping_address\": {\n \"street1\": \"223 some street\",\n \"street2\": \"\",\n \"city\": \"Tullahomah\",\n \"state\": \"TN\",\n \"postal_code\": \"37075\"\n },\n \"shipping_same_as_billing\": false,\n \"funds\": [\n {\n \"fund_id\": \"{{fund1}}\",\n \"amount\": \"500\"\n },\n {\n \"fund_id\": \"{{fund2}}\",\n \"amount\": \"500\"\n }\n ]\n \n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org CC Transaction", "seq": 44, "request": { "url": "{{baseUrl}}/v1/donate", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "x-coregiving-organization", "value": "{{org}}", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"amount\": 1000,\n \"payment_type\": \"card\",\n \"paymentMethod\": {\n \"method\": \"credit\",\n \"account_number\": \"4539858876047062\",\n \"expiration_month\": 12,\n \"expiration_year\": 2024,\n \"cvv\": \"999\"\n },\n \"is_recurring\": true,\n \"scheduler\": {\n \"start_date\": \"2024-05-01\",\n \"frequency\": \"monthly\",\n \"recurring_ends\": \"date\",\n \"end_date\": \"2024-12-31\"\n },\n \"campaign_id\": \"{{campaign}}\",\n \"organization_id\": \"{{org}}\",\n \"cover_processing_fee\": false,\n \"ip_address\": \"127.0.0.1\",\n \"user_agent\": \"user agent\",\n \"donor\": {\n \"first_name\": \"Thomas\",\n \"last_name\": \"Payne\",\n \"email\": \"t.payne@corecommerce.com\",\n \"phone\": \"+1 999 999 8999\",\n \"address\": {\n \"street1\": \"223 some street\",\n \"street2\": \"\",\n \"city\": \"Memphis\",\n \"state\": \"TN\",\n \"postal_code\": \"37075\"\n }\n },\n \"shipping_same_as_billing\": true,\n \"funds\": [\n {\n \"fund_id\": \"{{fund1}}\",\n \"amount\": \"500\"\n },\n {\n \"fund_id\": \"{{fund2}}\",\n \"amount\": \"500\"\n }\n ]\n \n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org Campaign Option", "seq": 59, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/campaigns/{{campaign}}/options", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"use_custom_amount\": true,\n \"use_recurring\": false,\n \"use_pledges\": true,\n \"donate_button_text\": \"Eum nisi ea est.\",\n \"pledge_button_text\": \"Et qui impedit aut.\",\n \"pledge_due_date\": \"1991-07-22\",\n \"processing_fee\": \"optional\",\n \"show_shipping\": false,\n \"show_phone_number\": true,\n \"show_policy\": true,\n \"amounts\": [\n {\n \"amount\": 1000\n },\n {\n \"amount\": 2000\n },\n {\n \"amount\": 3000\n }\n ],\n \"funds\": [\n {\n \"fund_id\": \"9c012a43-2ad4-4cdd-9bf6-f502cd290b3d\"\n },\n {\n \"fund_id\": \"9c012a45-5dca-412e-ab7d-2cdcac571bc8\"\n }\n ]\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org Campaign", "seq": 45, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/campaigns", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"Test Campaign\",\n \"description\": \"Test Campaign\",\n \"goal\": 1000000,\n \"slug\": \"test-campaign\",\n \"settings\": [\n {\"name\": \"value\"}\n ]\n \n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": { "res": "let data = res.getBody();\nbru.setEnvVar('campaign',data.data.id);" }, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org DonationLimit", "seq": 65, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/donationlimits", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"max_amount\": 100000,\n \"max_volume\": 100\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org Donor Pledge", "seq": 35, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/donors/{{donor}}/pledges", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"frequency\": \"monthly\",\n \"amount\": \"10000\",\n \"is_recurring\": 0,\n \"payment_date\": \"2024-05-01\",\n \"cover_fee\": true\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org Donor", "seq": 33, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/donors", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"first_name\": \"Brian2\",\n \"last_name\": \"Smith2\",\n \"email\": \"test@test.com\",\n \"phone\": \"888-999-9999\",\n \"address\": {\n \"city\": \"Birmingham\",\n \"state\": \"AL\",\n \"street1\": \"123 some street\",\n \"street2\": \"Box 10\",\n \"postal_code\": \"37122\"\n }\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": { "res": "let data = res.getBody();\nbru.setEnvVar('donor',data.data.id);" }, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org Policy", "seq": 57, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/policies", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"Privacy Policy\",\n \"body\": \"This is the body\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org Token Transaction", "seq": 54, "request": { "url": "{{baseUrl}}/v1/donations/9beea401-b0f1-4c26-858e-15cb0cef811f/charge", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"amount\": 10000,\n \"paymentMethod\": {\n \"method\": \"credit\",\n \"account_number\": \"4539858876047062\",\n \"expiration_month\": 12,\n \"expiration_year\": 2024,\n \"cvv\": \"999\"\n },\n \"donor_id\": \"{{donor}}\",\n \"campaign_id\": \"{{campaign}}\",\n \"organization_id\": \"{{org}}\",\n \"ip_address\": \"127.0.0.1\",\n \"user_agent\": \"user agent\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Org User", "seq": 20, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/users", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3001", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"first_name\": \"TestFirst\",\n \"last_name\": \"Smith\",\n \"email\": \"bria58@susan.com\",\n \"role\": \"viewer\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Organization", "seq": 1, "request": { "url": "{{baseUrl}}/v1/organizations/", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"test\",\n \"url\": \"http://www.test2.org\",\n \"timezone\": \"America/Chicago\",\n \"email\": \"test788dd9d4edd2@test.org\",\n \"phone\": \"+1 205 987 9888\",\n \"mid\": \"123123123\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create Reseller", "seq": 73, "request": { "url": "{{baseUrl}}/v1/resellers/", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"test reseller2\",\n \"first_name\": \"Brian\",\n \"last_name\": \"Smith\",\n \"email\": \"test78894ddddde@test.org\",\n \"phone\": \"1231231233\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Create User Avatar", "seq": 46, "request": { "url": "{{baseUrl}}/v1/organizations/9b642088-9ef3-4990-aa2d-c2e7cc1261e1/brand/9b644374-24b3-4df9-8e09-146c73c51571/background-image", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"filesystem_uuid\": \"2cba72f0-ee68-429b-8753-76595d0f9ce9\",\n \"key\": \"tmp/temp.txt\",\n \"name\": \"temp.txt\",\n \"mime_type\": \"images/png\",\n \"bucket\": \"files\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Delete Branding Logo", "seq": 25, "request": { "url": "{{baseUrl}}/v1/organizations/9b4c124b-4ce7-4d41-93d1-fef26c9b7048/branding/9b55c496-bffb-4f0a-8275-dafb311d510f/logo/9b55d71e-a9a7-4b70-8422-5c5403ec8e7d", "method": "DELETE", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"filesytem_uuid\": \"2cba72f0-ee68-429b-8753-76595d0f9ce9\",\n \"key\": \"tmp/temp.txt\",\n \"name\": \"temp.txt\",\n \"content_type\": \"images/png\",\n \"bucket\": \"files\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Delete Org Address", "seq": 9, "request": { "url": "{{baseUrl}}/v1/organizations/268ecd25-a89d-40b9-b02c-b3d9e4c9d2f0", "method": "DELETE", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "none", "json": "{\n \"name\": \"test org\",\n \"url\": \"http://www.test.org\",\n \"timezone\": \"America/Chicago\",\n \"email\": \"test@test.org\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Delete Org Donor Pledges", "seq": 76, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/pledges", "method": "GET", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"freuency\": \"monthly\",\n \"amount\": \"10000\",\n \"is_recurring\": 0,\n \"payment_date\": \"2024-04-01\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Delete Organization", "seq": 4, "request": { "url": "{{baseUrl}}/v1/organizations/9c553ee7-f6cb-46b7-9b89-63819414c988", "method": "DELETE", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true } ], "body": { "mode": "none", "json": "{\n \"name\": \"test org\",\n \"url\": \"http://www.test.org\",\n \"timezone\": \"America/Chicago\",\n \"email\": \"test@test.org\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Delete User", "seq": 18, "request": { "url": "{{baseUrl}}/v1/users/9b460963-ab0a-49f1-a77c-0e6ac24801aa", "method": "DELETE", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "none", "json": "{\n \"name\": \"test org\",\n \"url\": \"http://www.test.org\",\n \"timezone\": \"America/Chicago\",\n \"email\": \"test@test.org\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Addresses", "seq": 37, "request": { "url": "http://127.0.0.1:8000/v1/addresses", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Affiliates", "seq": 28, "request": { "url": "http://127.0.0.1:8000/v1/affiliates", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Donors", "seq": 31, "request": { "url": "http://127.0.0.1:8000/v1/organizations/{{org}}/donors", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Invitation", "seq": 22, "request": { "url": "{{baseUrl}}/register/9b4c3efb-394c-4cf6-bb7b-b95c8cfcd38a", "method": "GET", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Org Addresses", "seq": 7, "request": { "url": "http://127.0.0.1:8000/v1/organizations/{{org}}/address", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Org Branding", "seq": 10, "request": { "url": "http://127.0.0.1:8000/v1/organizations/{{org}}/brand", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Org Donor Pledges", "seq": 36, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/pledges", "method": "GET", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"freuency\": \"monthly\",\n \"amount\": \"10000\",\n \"is_recurring\": 0,\n \"payment_date\": \"2024-04-01\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Org Donor", "seq": 32, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/donors", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Org Fund", "seq": 27, "request": { "url": "http://127.0.0.1:8000/v1/organizations/9b61d520-57cb-41af-9a67-9d6b9cfc0376/funds/9b620043-f645-46c5-a99a-90968d51d59e?include=organization,customFields&fields=id,organization_id", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [ { "name": "include", "value": "organization,customFields", "enabled": true }, { "name": "fields", "value": "id,organization_id", "enabled": true } ] } }, { "type": "http", "name": "Get Org Funds", "seq": 15, "request": { "url": "http://127.0.0.1:8000/v1/organizations/{{org}}/funds", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Org Policy Activities", "seq": 55, "request": { "url": "http://127.0.0.1:8000/v1/organizations/{{org}}/organization-policy/9bdee7b2-5be3-4be0-bdea-0e6b2882ca2f/activities", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Org Users", "seq": 21, "request": { "url": "http://127.0.0.1:8000/v1/organizations/{{org}}/users", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Organizations", "seq": 2, "request": { "url": "{{baseUrl}}/v1/organizations?include=campaigns", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [ { "name": "include", "value": "campaigns", "enabled": true } ] } }, { "type": "http", "name": "Get Policy Activity Item", "seq": 58, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/policies/9bdee7b2-5be3-4be0-bdea-0e6b2882ca2f/activity/9bdef068-71dc-48a3-a847-05e26e3592f8", "method": "GET", "headers": [], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Roles", "seq": 41, "request": { "url": "http://127.0.0.1:8000/v1/roles", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get Users", "seq": 6, "request": { "url": "http://127.0.0.1:8000/v1/users", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Get a Campaign", "seq": 60, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/campaigns/{{campaign}}?include=donors", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [ { "name": "include", "value": "donors", "enabled": true } ] } }, { "type": "http", "name": "Login", "seq": 26, "request": { "url": "{{baseUrl}}/login", "method": "POST", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Referer", "value": "http://localhost:3001", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"email\": \"admin@test.com\",\n \"password\": \"C0r3G!v!ng\",\n \"client_id\": \"9b5ee7e9-68a2-469b-9fe9-925d1035d7ab\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Payroc Sale", "seq": 47, "request": { "url": "https://api.uat.payroc.com/v1/payments", "method": "POST", "headers": [ { "name": "Idempotency-Key", "value": "c538e735-e293-4eba-9c4a-63882ed6c061", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"channel\": \"web\",\n \"processingTerminalId\": \"5527002\",\n \"operator\": \"Postman\",\n \"order\": {\n \"orderId\": \"order123bcs\",\n \"description\": \"Example payment\",\n \"currency\": \"USD\",\n \"amount\": 1001\n },\n \"customer\": {\n \"firstName\": \"Robert\",\n \"lastName\": \"Red\",\n \"billingAddress\": {\n \"address1\": \"billing address1\",\n \"address2\": \"billing address2\",\n \"address3\": \"billing address3\",\n \"city\": \"Los Angeles\",\n \"state\": \"California\",\n \"country\": \"US\",\n \"postalCode\": 90005\n },\n \"shippingAddress\": {\n \"recipientName\": \"shipping recipientName\",\n \"address\": {\n \"address1\": \"shipping address1\",\n \"address2\": \"shipping address2\",\n \"address3\": \"shipping address3\",\n \"city\": \"San Diego\",\n \"state\": \"California\",\n \"country\": \"US\",\n \"postalCode\": 91911\n }\n }\n },\n \"autoCapture\": \"true\",\n \"paymentMethod\": {\n \"type\": \"card\",\n \"cardDetails\": {\n \"entryMethod\": \"keyed\",\n \"keyedData\": {\n \"dataFormat\": \"plainText\",\n \"device\": {\n \"model\": \"paxA80\",\n \"serialNumber\": \"WPC202833004712\"\n },\n \"expiryDate\": \"0328\",\n \"cardNumber\": \"5001650000000000\"\n }\n }\n }\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwczovL2lkZW50aXR5LnBheXJvYy5jb20vYWNjb3VudF90eXBlIjoiU2FsZXNPZmZpY2UiLCJhdWQiOlsidGVzdCIsImh0dHBzOi8vd3d3LndvcmxkbmV0cGF5bWVudHMuY29tLyIsImh0dHBzOi8vaWRlbnRpdHkucGF5cm9jLmNvbSJdLCJzdWIiOiIxOWQyNDMxNS02OTA1LTQ5YjgtYTZhNS05NzVkZDE1YmJkODciLCJodHRwczovL2lkZW50aXR5LnBheXJvYy5jb20vdG9rZW5fdHlwZSI6ImxpdmUiLCJpYXQiOjE3MTI2OTI2NjIsImtpZCI6ImxOWm03N21jIiwiaHR0cHM6Ly9pZGVudGl0eS5wYXlyb2MuY29tL3NlcnZpY2VzIjpbeyJJZCI6IjQxMjUiLCJTZXJ2aWNlIjoiUFBTIn0seyJJZCI6IktUSDdZV1pJOVoiLCJTZXJ2aWNlIjoiV29ybGROZXQifV0sImV4cCI6MTcxMjY5NjI2MiwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS5wYXlyb2MuY29tIn0.kaZ5HxI78JbDAw845Nd64Rgbs7louvuuPN7NlphaaMlxoMcCkPCdj8NH2RChlzGAnqRtmjXvxgZRxYrsUkXtC5nzKTQrmcGQasXlID9QtwubIFzAoRHjLeExz8BnPS2lmVNzknlbYu21z_qqr6yAc1wH4iqvGKnqwL4MBoQmwic1WpAqmjx-OmHRdGdH4q9ichJjSEeVlRT-LNPbYjxHfh1LoItmPjheb9QSFnXUykrYacV70wndcyo303vmBkwnwvUXweLzGUdISK0fnhMWXzSfDgkIG7TJR7ecjEkTFnt2r4ejrRYdcNoQNDddIBPqZE3Q1FoZVG6-hgTYwZAfFw" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Public Create Org Donor", "seq": 62, "request": { "url": "{{baseUrl}}/v1/donations/donor", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"first_name\": \"Brian2\",\n \"last_name\": \"Smith2\",\n \"email\": \"test@test.com\",\n \"phone\": \"888-999-9999\",\n \"organization_id\": \"{{org}}\",\n \"address\": {\n \"city\": \"Birmingham\",\n \"state\": \"AL\",\n \"street1\": \"999 some street\",\n \"street2\": \"Box 22\",\n \"postal_code\": \"37122\"\n }\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": { "res": "let data = res.getBody();\nconsole.log(data);\nbru.setEnvVar('donor',data.data.id);" }, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Payroc auth", "seq": 48, "request": { "url": "https://identity.uat.payroc.com/authorize", "method": "POST", "headers": [ { "name": "x-api-key", "value": "", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Refund Org Transaction", "seq": 51, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/donations/9c013105-0419-4c7f-b85b-c86a17264841/refund", "method": "PATCH", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"description\": \"Some reason\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Register", "seq": 23, "request": { "url": "{{baseUrl}}/v1/register/9b4c3efb-394c-4cf6-bb7b-b95c8cfcd38a", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"email\": \"wisecounselor3@gmail.com\",\n \"first_name\": \"Brian2\",\n \"last_name\": \"Smith2\",\n \"phone\": \"615-877-9999\",\n \"password\": \"12345678\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Show An Affiliate", "seq": 40, "request": { "url": "http://127.0.0.1:8000/v1/affiliates/9b646fb1-c48f-421d-addd-a52624fc2f2f", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Show Org Address", "seq": 30, "request": { "url": "http://127.0.0.1:8000/v1/organizations/{{org}}/donor/9b643770-dd05-4671-a0b4-0b03ac44f87a", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Show Org Donor", "seq": 34, "request": { "url": "http://127.0.0.1:8000/v1/organizations/{{org}}/donors/9b644909-6d5e-4686-bfa2-d72a9eefd579", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Show Organization", "seq": 29, "request": { "url": "{{baseURL}}/v1/organizations/9c196baa-e9af-4c0a-ac8b-ebd19dcc647b", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Show a Role", "seq": 42, "request": { "url": "http://127.0.0.1:8000/v1/roles/9b642088-5783-4c4a-ac86-2e7cfac425ba", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Show a User", "seq": 43, "request": { "url": "http://127.0.0.1:8000/v1/users/9b642088-9e21-4303-bbc4-44a2233e7591", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Sow An Address", "seq": 38, "request": { "url": "http://127.0.0.1:8000/v1/addresses/9b643770-dd05-4671-a0b4-0b03ac44f87a", "method": "GET", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Tokenize Test", "seq": 53, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/campaigns/{{campaign}}/donors/{{donor}}/tokenize", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"amount\": 10000,\n \"paymentMethod\": {\n \"method\": \"credit\",\n \"account_number\": \"4539858876047062\",\n \"expiration_month\": 12,\n \"expiration_year\": 2024,\n \"cvv\": \"999\"\n },\n \"donor_id\": \"{{donor}}\",\n \"campaign_id\": \"{{campaign}}\",\n \"organization_id\": \"{{org}}\",\n \"ip_address\": \"127.0.0.1\",\n \"user_agent\": \"user agent\",\n \"address\": {\n \"city\": \"Birmingham\",\n \"state\": \"AL\",\n \"street1\": \"123 some street\",\n \"street2\": \"Box 10\",\n \"postal_code\": \"37122\"\n }\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Update DonationLimit", "seq": 66, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/donationlimits/9bf487b8-59dc-4b6c-a32b-ba747e1e78ba", "method": "PUT", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"max_amount\": 200000,\n \"max_volume\": 200\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Update Fund", "seq": 14, "request": { "url": "{{baseUrl}}/v1/organization/3da85d29-eeb1-41c6-8531-d6c91cbaa6b8/fund/9b4415d7-6b9d-4f02-8879-a547d188141e", "method": "PATCH", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"Susan's Fund\",\n \"goal\": \"1000000\",\n \"status\": \"active\",\n \"customFields\": [\n {\n \"key\": \"Some Field Name2\",\n \"value\": \"Some Value2\",\n \"id\": \"9b4415d7-6cd6-469c-9e0e-3f9f408e0eef\"\n },\n {\n \"key\": \"Another Field\",\n \"value\": \"Another Value\"\n }\n ]\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Update Org Address", "seq": 8, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/address/1cba72f0-ee68-429b-8753-76595d0f9ceb", "method": "PATCH", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"city\": \"Nashville\",\n \"street1\": \"456 some street\",\n \"street2\": \"Box 11\",\n \"state\": \"TN\",\n \"postal_code\": \"37122\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Update Org Branding", "seq": 16, "request": { "url": "{{baseUrl}}/v1/organizations/9b4c124b-4ce7-4d41-93d1-fef26c9b7048/branding/9b55c496-bffb-4f0a-8275-dafb311d510f", "method": "PATCH", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"show_logo\":1,\n \"primary_color\":\"#fff111\",\n \"secondary_color\":\"#fff111\",\n \"button_shape\":\"square\",\n \"font\":\"Open Sans\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Update Org Policy", "seq": 56, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/policies/9bdee7b2-5be3-4be0-bdea-0e6b2882ca2f", "method": "PUT", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "x-coregiving-organization", "value": "{{org}}", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"Privacy Policy\",\n \"body\": \"Body version 2\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Update Organization", "seq": 3, "request": { "url": "{{baseUrl}}/v1/organizations/9c2969e1-6364-4136-b904-3b6a6102f81d/users/9c2969e1-5dd7-4627-b0e6-ce397fb6efb1/role", "method": "PATCH", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"Brian good Construction\",\n \"email\": \"brian@test.com\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Update Reseller", "seq": 74, "request": { "url": "{{baseUrl}}/v1/resellers/", "method": "POST", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"test reseller\",\n \"first_name\": \"Brian\",\n \"last_name\": \"Smith\",\n \"email\": \"test78894ddddde@test.org\",\n \"phone\": \"1231231233\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Update User Role", "seq": 75, "request": { "url": "{{baseUrl}}/v1/organizations/9c2969e1-6364-4136-b904-3b6a6102f81d/users/9c2969e1-5fa6-4b46-88fe-8dc2fd7ef67a/role", "method": "PATCH", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "enabled": true }, { "name": "x-coregiving-organization", "value": "9c2969e1-6364-4136-b904-3b6a6102f81d", "enabled": true } ], "body": { "mode": "json", "json": "{\n\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "View User", "seq": 19, "request": { "url": "{{baseUrl}}/v1/users/9b460963-ab0a-49f1-a77c-0e6ac24801aa", "method": "DELETE", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "none", "json": "{\n \"name\": \"test org\",\n \"url\": \"http://www.test.org\",\n \"timezone\": \"America/Chicago\",\n \"email\": \"test@test.org\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Void Org CC Transaction", "seq": 52, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/donations/9c5de547-8d0f-43be-a3f2-bbcaf391871b/void", "method": "DELETE", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"description\": \"good reversal\",\n \"amount\": 100,\n \"donation_id\": \"9c5de547-8d0f-43be-a3f2-bbcaf391871b\"\n} ", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Void Org Transaction", "seq": 50, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/donations/9c013827-d9b3-4d3d-a0dc-51bb094a40d6/void", "method": "DELETE", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true }, { "name": "Accept", "value": "application/json", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"description\": \"reversal\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "forgot password link", "seq": 78, "request": { "url": "{{baseUrl}}/forgot-password", "method": "POST", "headers": [], "body": { "mode": "json", "json": "{\n \"email\": \"manager@test.com\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "payroc_auth", "seq": 68, "request": { "url": "https://identity.uat.payroc.com/authorize", "method": "POST", "headers": [ { "name": "x-api-key", "value": "JPy9vpe89yh.WJBZNT8!SZ$9IYV76T3SB$DJWTA&71", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "recaptcha test", "seq": 64, "request": { "url": "{{baseUrl}}/v1/google/verify", "method": "POST", "headers": [], "body": { "mode": "json", "json": "{\n \"recaptcha_token\": \"03AFcWeA52oE2mUwgHIPqBceBQYYD000QXtvT9DYRDFpzMTY9eEv9U24yKnAXxCTW5-uNqx42mCrlY3K-3tLowOOXSIoNhx4OpNazN5LM1xzNQWR3Rop4R9xma83pyD46yIonAd4AnCM_R_uFRM5BMME-8tHe5hdic1_EFUzYsBHTJToRZTwcwT8wiF0j9W-EsH5X2xhodMCuG7sRxZVMDoTcdEIzimorTGM4CltE4RRC_Yzpw9DrHJLGbAx2d0OMG0ajVvbgHKyqjrc5aSaqIyoTgAD-O6qokGKbNDz6S3Fg0m5SH_lToPRc8L9GC7Xqyi_4ee56eRV8c6Jrbl5AJf8idWaqsjZKMUscMmDdb9OkVyjISOcM24_J_7ia9BHSZkjTnET3LxZE73xDkBRXSXXF8HcH3g4_gqyNV2E4b4ISO7BTTRQQsIkUJSueDOSFI74xEz3txFzThuFWSnHEdYU1n77LavTRWKQnbKJatgJlnvYFkO3e1i0DT35M95AC3H2CkHuT8ZEMH6v0oXsCpmRvNkWfBJkA3zlef9EXb2q9fen0JtYnF8uyuw4uHetpJ_Jgs_YJp23v2UGq8qbAbZ2EyhKJYJPL8erOLMps0-1yDCTfAKo7uQ4ImIJm927ilKCExUrLz0kd3pfRn6u5WvgQBUYMxJE0v1rJttwrxgywJ0hkwQZ_Yh9X_D4jxidQC8xioOhJFC8feINXIYxYCQ_dtJ3-VMcirk_yjyBH19E6RDaMapMADDGGWjCJg_KUEuFhHJ7YJpY4o4j1wQD2zhB4tjQd8nIvAi_Sl0uVzQbhAu4GTfnI45Z_DAVCNCRnwORcfVwLSm783vQwCiVXT-3qgOmmrBZaA3YMbZShjB0To87hWi52ikSA4oYh-8nWkgCsWHX6XcWuImmnIUyRzqVhDIO9fgo-TmsrVbN-IbcAWiUhNvNNNmWhU9U0znSFmysgSS1QDGnqmpqIR60vZSVwaFaMeWnRcaaEFZqG2DQrRSQkaiVWM0OXsnzn9X1CwOjx_wtEuJptZNyOkwhSogx647ohOrdoTLEk4sBAuGKc_x7qzu-jEVHJmyuWGFb955XcvWOUWQGJi-AO2SI0Tf4PRIf5ejJflvXnA80uaRHZJ4C4tl3RoegW8Frrkfq9RZj1fD9-J9iTFdDBGIXIzndUTGKx9LEHkWYFGDwwz-u6C_-XHX5YqDrHB0Iw1Dhdw7NGKkou54LuPbDvLLv7lGbkO308Az9U9NZW3TZOJkUi64HZkMiqTxTG8_STAv9ioC868N27T17zZd3YRDOQmAd_b4fnqETOgpm4AXc3wX5SEiLl8FsepPjzPrqUNsJNsbdVgi3O5HIuUZXaGMiGUJPctL2A64O2FvCyDH7pdGggB7e4mfAeEQ80mHpaDutHCHO3tZQOtmrrn_H0wW9HwizJj-EerSbsXYGyCIaRikHPRu9BCEV8rK7fJ4FQOmuqFc8JO-zWPVpgNmEOzYQw-n7DRGrZZEnuaA86AMqcsdy4ykNySEmy-46tQxl9v_Md55yS2XfGWMAEM3olZUDmTqLxpm6SlNlJt9WWYLQbepnUZJRnV_LTzKLNJZtkFXF48fqLYylK8REpdsERG_KU-DVY4ie-iCdRHM8z7i7IuU9pZIdfAGuwLVGP1CB1guyE9WZqQjbBv1lAjkWGM1m_79uXHouUCOQVN4F88aHH9A5XJ25w3fn3Db0aW2hDyu4PDvVkCH8YbBN6tzm_hJxI9BECbZDf_kgx7mCOMiB5M0n1kJF6vbqXi03PJxgGgpOOxSjfQJF0IrKejb07DWclxc82xey8m2VGESCBGExydFIaxhS8-ntPfzCMbun-ZYF8FcpDal2vCsKClB43NoxZsJDbg3jMcV-4eicJGeyGqSYwKTx1MOmiH-jkU6Xx4IImuibQ3nmncoyAYdfUAig1hCvVrvjHHUnk3iDaKmVCLlkkdKDlo1evuIz8rd5J8g6g0DW3zV1qQBCqo77Z2VXvrSxfizfNsuFtQbFlfe3Vtt2vqqxvWpfvYOYpe5me54DgCz53iPP6_Hfo3caknqmCBdIhDhX9wFLb5tg\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "registration", "seq": 77, "request": { "url": "{{baseUrl}}/registration", "method": "POST", "headers": [], "body": { "mode": "json", "json": "{\n \"email\": \"test3@test.com\",\n \"token\": \"3722e489-ce53-4d72-bee0-685ba92739f4\",\n \"new_password\": \"Password!99\",\n \"new_password_confirmation\": \"Password!99\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "reset password", "seq": 79, "request": { "url": "{{baseUrl}}/reset-password", "method": "POST", "headers": [], "body": { "mode": "json", "json": "{\n \"email\": \"manager@test.com\",\n \"password\": \"!Newpassword99\",\n \"password_confirmation\": \"!Newpassword99\",\n \"token\": \"0b5f3f71cbfb4a343e4efa74fbe50f315eddc9da276898e528357e9cb38d5ea2\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "test google", "seq": 63, "request": { "url": "http://localhost:8000/v1/google/verify", "method": "POST", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "Content-Type", "value": "application/json", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "test", "seq": 67, "request": { "url": "{{baseUrl}}/v1/test", "method": "POST", "headers": [], "body": { "mode": "json", "json": "{\n \"g-recaptcha-response\": \"03AFcWeA7K0O0PKv7INgAUiF8I-r5PzWnHrIdJPMQWBaQ5f1kWrUB9Me6wb42sLak-S4NYrsyMYRQafPD4l2o_pn8x6ylBnv9TdXtqwEN-Aj8TcD2JpsRQ0MfL0paVavWGWc9W5TaQ0ehnCR5FckmdpwDF2BDEiUG-o6WqOwUWuWb1CZL3tSlIICIj9r81kOIbGOG9fveAecVRlZI6jklJSKitkU7mVwomBa093gjXwQQ9BOkyMGTaUYecHVPCEspJP5ejNLvRuegYCGRgbMDcNrPpSxFqsrv46GHHHCOrrIW1jq8Cyf8PE_r7lXPZE2iUpbpsKHAbhn-yZk9elEPalNtv09d6uQCSCYYFZthR7g7gVZANSOC-C04LyPZP8MnHFpTSrlZ5DXorBybywLfp2kz2_YNHwviROyjXoHoIYPEtVpCyz6XJ6i4cv50LUUKSWr8880-Oleje3vPpESlw9LHFEBy2ttvyCzZD3fQx_vsp4GWt8_DeNZ68x_xRPGuRH0gsAQWTW5VMjdbgAdPbNE-LnBBP0Ye3CmYPboOfgzIr2M5_TV9f4Y0TRDAJa5zM79yXo9oZ8_a7L3ciORTmCLrqo440XXMHNZ7UiFpcvGJBsvh7-W5iy9k64t0gyPnAgJrBNy_W7kh9Y4vibSa77pme1wQ1lMCTUahMkQNMy5hyj3w1NW76ob63lWJGnt0yiV_XSgeKC-MpnJUbgE5aSIzW3Mj64JIagUH6ghc0A5ZjoVtFIT0LgTiC8OnFWJJ_d-IPrhgcpMpIve9uRMUdSi1DI5PdhOjFLiMqvgBlrXmhfcHrPTXBpyLdE0lOrAxRTD98wlzVS3VUp2sTToEaBP_i-qshSlxmtONvQ99fINc8Ii8H_8UZGH-3QtkbSE7PbcnGEO7ZQtyvhHdOyM6FmkSh6qKkLUGunA1nm-NirUEIZA7BqYHp7M74fqp2ulNrcSo_t20W0WH5Gu1M6wrmP6M0Y3beZiKjtXctmgLIX4UbFDbYTYDXEHws9DOqEgKydBZ3o20q9IjtwuQSRAVoXyInA2YILryfDJjnYuLbSj_sPBkCS-Jrw0B1zetr7S7tkEaSBPBvW1LolhmpmfTy2p1yjkDvK0qGbpD0afvAbqg4Y_8NZ3WTeMWQIutylMmmmcgPFcGcWcJ_eVaHx0r8Qii1xGLT3pBIspz1JbPuXNE1OnC42f3-C_ifQkqI66B6w44bI80vHzGRQ2pXwJTmY492-pyVYpUmW-GoQvEuQoL4PVD9q-JN0zX3AeWYjad1d6iRw4MurTY7QYg2a-HdIyTBQSNu9upMI8_oaxYJVchYekCdq8d_0jk1BZVpEihS3byWAFbtqpa5R5QWdIkWp6db75g8ilQ1CPAMlp3zZo7oEZHF-THRcFRG9v3sGfm907WND7swGonsJyvT6DkD_mIC7aWEVIV8coO7ytc9Wqlh2ItbrhQaR0MlBPNcJdhl3RhNIXsPI7KLFFxDLaaFXjLlkPHrtYo2gMbHjLjoT0wTGd-EBJJPvokFtQZoE6YfgM0ijqkJK7k9MPylLAE_UbOR4JbrA5t2ZCOSaNC7hGiqiG7YYXXW0xY1UhPb5aFlOqYP4xC_2Upzp1awpk_paAmTq9m_xiHXS8Kzx8oHlBka-l5tg_k-IjHTGmSZP6binIQAjgT2KMzN1PxY_lcpRTvClU6b8hQvylBRAp_ldEQiBGM3q5wNA7CFDnuESUfrLRSeZ2iTTEMWh49FByUn9XrGQ59wqc5zlD7sjwB36jWWM6Nt0iRDvg7n_vdAdgQgmAtnspbTJOp17eojeebg12t_t0a8dKhq2OkKmU4Ff6CB_AUmL_UTF4j6hXS2xObncsSbpGiUmuKJwNcwtOqWcYCIdI_O_JYFvBWwqnHfu8gzNbX_oZjFEJrQvd0PvCNBo44SL4fXLFRmo4g2ihAxdSX_4cEaj_TcnlHKuEAqN8WLuYAR8bppLP-sv36Kn1iLAvY8S5MCrihIoIiSesEHKyUSc8vvxf_ofA\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "test_tokenize_ACH", "seq": 69, "request": { "url": "https://api.uat.payroc.com/v1/processing-terminals/5527001/secure-tokens", "method": "POST", "headers": [ { "name": "Idempotency-Key", "value": "9c097601-c955-44bf-a0af-f43b69442b11", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"operator\": \"Adam Smith\",\n \"mitAgreement\": \"unscheduled\",\n \"customer\": {\n \"firstName\": \"Jessica\",\n \"lastName\": \"Red\",\n \"dateOfBirth\": \"1990-01-01\",\n \"referenceNumber\": \"Customer-12\",\n \"billingAddress\": {\n \"address1\": \"Example Street\",\n \"address2\": \"Example address2\",\n \"address3\": \"Example address3\",\n \"city\": \"Fresno\",\n \"state\": \"California\",\n \"country\": \"US\",\n \"postalCode\": 93650\n },\n \"shippingAddress\": {\n \"recipientName\": \"Example shipping recipientName\",\n \"address\": {\n \"address1\": \"Example shipping street\",\n \"address2\": \"Example shipping address2\",\n \"address3\": \"Exampleshipping address3\",\n \"city\": \"Austin\",\n \"state\": \"Texas\",\n \"country\": \"US\",\n \"postalCode\": 73301\n }\n },\n \"contactMethods\": [\n {\n \"type\": \"email\",\n \"value\": \"jessicared@mail.com\"\n }\n ],\n \"notificationLanguage\": \"en\"\n },\n \"ipAddress\": {\n \"type\": \"ipv4\",\n \"value\": \"124.201.101.1\"\n },\n \"source\": {\n \"type\": \"ach\",\n \"accountType\": \"checking\",\n \"secCode\": \"web\",\n \"nameOnAccount\": \"Brian Smith\",\n \"routingNumber\": \"292735277\",\n \"accountNumber\": \"49100130\"\n }\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwczovL2lkZW50aXR5LnBheXJvYy5jb20vYWNjb3VudF90eXBlIjoiU2FsZXNPZmZpY2UiLCJhdWQiOlsidGVzdCIsImh0dHBzOi8vd3d3LndvcmxkbmV0cGF5bWVudHMuY29tLyIsImh0dHBzOi8vaWRlbnRpdHkucGF5cm9jLmNvbSJdLCJzdWIiOiIxOWQyNDMxNS02OTA1LTQ5YjgtYTZhNS05NzVkZDE1YmJkODciLCJodHRwczovL2lkZW50aXR5LnBheXJvYy5jb20vdG9rZW5fdHlwZSI6ImxpdmUiLCJpYXQiOjE3MTU2NTA2ODMsImtpZCI6ImxOWm03N21jIiwiaHR0cHM6Ly9pZGVudGl0eS5wYXlyb2MuY29tL3NlcnZpY2VzIjpbeyJJZCI6IjQxMjUiLCJTZXJ2aWNlIjoiUFBTIn0seyJJZCI6IktUSDdZV1pJOVoiLCJTZXJ2aWNlIjoiV29ybGROZXQifV0sImV4cCI6MTcxNTY1NDI4MywiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS5wYXlyb2MuY29tIn0.jjMEocXkVziTkX8hbqwInm5qVBzfiN4gmH56bYn5yOwQWppzAy0bN-EoGwduXiER8F7P33aaG94dpbHtNZsyhU-BOqXsU4YNs6DIfalrV5ElXdq3HA3PxlgbXjyJDYtrOLDSW0zUDIWKQsO8Vy7sZKuznE4LxsQayqdDM9d4ne3h1xSEUDFe0hDFqom-r-yxT16MzcLuMu73MDWuwbUuq1UmwUWJr-jUPl72Y285Oqz2w0Fhj5QVgrWS2lNvilA26oOhyV2Bh47Son2oUD9YkWBraWLAUQx4DjWLptjrDROL0TsuaM_dmoi3K3k94eoxsk-Ouvx5cmjgowVXu2Zehg" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "test_tokenize_CARD", "seq": 70, "request": { "url": "https://api.uat.payroc.com/v1/processing-terminals/5527001/secure-tokens", "method": "POST", "headers": [ { "name": "Idempotency-Key", "value": "9c097601-c955-44bf-a0af-f43b69442e10", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"operator\": \"Adam Smith\",\n \"mitAgreement\": \"unscheduled\",\n \"customer\": {\n \"firstName\": \"Jessica\",\n \"lastName\": \"Red\",\n \"dateOfBirth\": \"1990-01-01\",\n \"referenceNumber\": \"Customer-12\",\n \"billingAddress\": {\n \"address1\": \"Example Street\",\n \"address2\": \"Example address2\",\n \"address3\": \"Example address3\",\n \"city\": \"Fresno\",\n \"state\": \"California\",\n \"country\": \"US\",\n \"postalCode\": 93650\n },\n \"notificationLanguage\": \"en\"\n },\n \"ipAddress\": {\n \"type\": \"ipv4\",\n \"value\": \"124.201.101.1\"\n },\n \"source\": {\n \"type\": \"card\",\n \"cardDetails\": {\n \"entryMethod\": \"keyed\",\n \"cardholderName\": \"Joe Bloggs\",\n \"keyedData\": {\n \"dataFormat\": \"plainText\",\n \"cardNumber\": \"4539858876047062\",\n \"expiryDate\": \"0825\",\n \"cvv\": \"713\"\n }\n }\n }\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwczovL2lkZW50aXR5LnBheXJvYy5jb20vYWNjb3VudF90eXBlIjoiU2FsZXNPZmZpY2UiLCJhdWQiOlsidGVzdCIsImh0dHBzOi8vd3d3LndvcmxkbmV0cGF5bWVudHMuY29tLyIsImh0dHBzOi8vaWRlbnRpdHkucGF5cm9jLmNvbSJdLCJzdWIiOiIxOWQyNDMxNS02OTA1LTQ5YjgtYTZhNS05NzVkZDE1YmJkODciLCJodHRwczovL2lkZW50aXR5LnBheXJvYy5jb20vdG9rZW5fdHlwZSI6ImxpdmUiLCJpYXQiOjE3MTU3MDM4MjAsImtpZCI6ImxOWm03N21jIiwiaHR0cHM6Ly9pZGVudGl0eS5wYXlyb2MuY29tL3NlcnZpY2VzIjpbeyJJZCI6IjQxMjUiLCJTZXJ2aWNlIjoiUFBTIn0seyJJZCI6IktUSDdZV1pJOVoiLCJTZXJ2aWNlIjoiV29ybGROZXQifV0sImV4cCI6MTcxNTcwNzQyMCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS5wYXlyb2MuY29tIn0.BHRRYlTKGeU_uQeqdB37_c6KwN9D7_A0UKz5BVmTdpUd1l6PM5dTMcDtUTq-8Sq12MhIM_9ATzUEIovSafl4cKbipX9ec2xlJUz5XZcsE5SAwFQPco35wMN5wUJzawJZqk-AUFzmFB_6BCJXf7QsKD0YzdFJ2LuJCyupmrig0spoQg80OqA67QX1RGBWUbladYU9XE3zMSopI6TgZjpWQIatwHKprcTO53hEgLT_x4OBAp6YANq-AaokVc6q3JX8MdrYuYy7NOWfJhfkXbNlvqkHqU4-alGLDpPZz248PQFoMvHAiYW7LO6S1mrrmDuWSohhE_pxohV_j0VkuCDvkg" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "testing patch", "seq": 61, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/organization-policy/9bdee7b2-5be3-4be0-bdea-0e6b2882ca2f", "method": "PATCH", "headers": [ { "name": "Accept", "value": "application/json", "enabled": true }, { "name": "X-Requested-With", "value": "XMLHttpRequest", "enabled": true } ], "body": { "mode": "json", "json": "{\n \"name\": \"Privacy Policy\",\n \"body\": \"Body two\"\n}", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "registration token validate", "seq": 80, "request": { "url": "{{baseUrl}}/registration/1ba4356e-16d6-4b28-8939-a0370a79712f/resend-link", "method": "GET", "headers": [], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "none", "basic": { "username": "", "password": "" }, "bearer": { "token": "" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } }, { "type": "http", "name": "Scheduled donations", "seq": 81, "request": { "url": "{{baseUrl}}/v1/organizations/{{org}}/scheduled-donations", "method": "GET", "headers": [ { "name": "X-Requested-With", "value": "XMLHttpRequest", "description": "", "enabled": true }, { "name": "Accept", "value": "application/json", "description": "", "enabled": true }, { "name": "Content-Type", "value": "application/json", "description": "", "enabled": true }, { "name": "Referer", "value": "http://localhost:3000", "description": "", "enabled": true } ], "body": { "mode": "none", "formUrlEncoded": [], "multipartForm": [] }, "auth": { "mode": "bearer", "basic": { "username": "", "password": "" }, "bearer": { "token": "{{token}}" } }, "script": {}, "vars": {}, "assertions": [], "tests": "", "query": [] } } ], "activeEnvironmentUid": "8cNWuqD4FpE9nGfSoAI89", "environments": [ { "variables": [ { "name": "baseUrl", "value": "http://127.0.0.1", "enabled": true, "secret": false, "type": "text" }, { "name": "token", "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiI5YjVlZTdlOS02OGEyLTQ2OWItOWZlOS05MjVkMTAzNWQ3YWIiLCJqdGkiOiJiN2NmMWNmMjE2N2I3MmMxY2U0MTc0NDlmNzZiMTMxMTM0NDZmOGM3NDg1OWNjZDU5ODM0YjgyMzg3YTljZWJlN2VmYzYzNWVlOTEwMjk2NiIsImlhdCI6MTcxOTU4ODc4My4xMzI1ODYsIm5iZiI6MTcxOTU4ODc4My4xMzI1ODgsImV4cCI6MTcxOTU4OTY4My4xMTE0NzMsInN1YiI6IjljNTdhMDFlLWNkMmItNDU0OS1hYzkwLTE4ODgwMmM0YTA3OCIsInNjb3BlcyI6WyIqIl19.rBjAyD03ahZxQHni4JfRvW_SuDhVdzjMa_Xc_ktQioaiVZN-MT2_s-gJ-p0CxvgPpkRA2OtJmLwP8XyeVwJBA7lXdMaHrG1_5oGw0-agdZKIemXxpvAicxVnfJczBuQadkSOxaIl3ziWGCPnzuntoIiz0Ntdf2q3XsYeHIV72Qo89yzNvUWlVHeviAOtyiTxokXuu78YDBh8EH0JJu6k08Y9sTx5iD4enEKoVETv76Q-uYi1bjLXsDPX4SMUKoQPv5eAr-eSFY2wWK51pN7UrohEqMJDuOw_4m5WB5K328YObC91jRDkOQtGb7ru_rKFzDEhgaJZ4Umy63k7r1gsnc7vNd7QKQQymBylGrN_M57ogxcJDqNE0Z6_BvXxBVG8spnLR2Tgi-Y8ETuLajxQmhXdQTHuosVRpBoqXNQ0O9dtotC5SjGTWdRlHkRspgbvnW6ekJWY0QA7tzrMg6AGRKdlw1Qo_g955fuGhxzw724mHHj6IvvLRne_fkXCDrbZOiC4VAf2i3Di8V7FDgCbkp0zUkv23ei3O5XgAE0rUjn2foqavLVDgGq4ABw0FbPySSd3c54WV8ap239vOq6rr_uy64M5v1Q7tnNOwcQ3rUZrZK6OSb1C-rzuLVx9GSTD6d1byDCkeJo1fGhasM8dZCpd-sf-aYXDO-GOcqJVQhE", "enabled": true, "secret": false, "type": "text" }, { "name": "org", "value": "9c57a01f-7337-4a8c-86be-514645f78c11", "enabled": true, "secret": false, "type": "text" }, { "name": "donor", "value": "9bf098e0-80ad-4149-b52e-0dec0874cddb", "enabled": true, "secret": false, "type": "text" }, { "name": "campaign", "value": "9c57a01f-88fd-4741-8e0e-edfe5809d59f", "enabled": true, "secret": false, "type": "text" }, { "name": "fund1", "value": "9c5d4193-b965-4b25-a606-647181ac7a86", "enabled": true, "secret": false, "type": "text" }, { "name": "fund2", "value": "9c5d419e-1fc2-4098-b567-c2f5a34354e3", "enabled": true, "secret": false, "type": "text" } ], "name": "Core Giving Local" } ] }