{
	"info": {
		"_postman_id": "54a6cf5a-837d-45b8-877d-920e9b9e118a",
		"name": "Unit API Starter Collection",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "Create Business Application-PendingReview",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"//set customer id to env.variable",
							"const response = pm.response.json();",
							"console.log(response.data.id);",
							"console.log(response.data.attributes.name);",
							"pm.environment.set(\"customerId\", response.data.id);",
							""
						],
						"type": "text/javascript"
					}
				},
				{
					"listen": "prerequest",
					"script": {
						"exec": [
							"//const firstName= \"Test:\"+pm.variables.replaceIn('{{$randomFirstName}}');",
							"pm.environment.set(\"customerFirstName\", \"Test: \"+pm.variables.replaceIn('{{$randomCompanyName}}'));",
							"",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/vnd.api+json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"data\": {\n    \"type\": \"businessApplication\",\n    \"attributes\": {\n      \"name\": \"{{customerFirstName}}\",\n      \"address\": {\n        \"street\": \"1600 Pennsylvania Avenue Northwest\",\n        \"city\": \"Washington\",\n        \"state\": \"CA\",\n        \"postalCode\": \"51200\",\n        \"country\": \"US\"\n      },\n      \"phone\": {\n        \"countryCode\": \"1\",\n        \"number\": \"9294723497\"\n      },\n      \"stateOfIncorporation\": \"CA\",\n      \"entityType\": \"Corporation\",\n      \"ein\": \"123456789\",\n      \"officer\": {\n        \"fullName\": {\n          \"first\": \"Jone\",\n          \"last\": \"Doe\"\n        },\n        \"dateOfBirth\": \"2012-05-05\",\n        \"ssn\": \"000000004\",\n        \"email\": \"jone.doe@unit-finance.Test\",\n        \"phone\": {\n          \"countryCode\": \"1\",\n          \"number\": \"2025550108\"\n        },\n        \"address\": {\n          \"street\": \"950 Allerton Street\",\n          \"city\": \"Redwood City\",\n          \"state\": \"CA\",\n          \"postalCode\": \"94063\",\n          \"country\": \"US\"\n        }\n      },\n      \"contact\": {\n        \"fullName\": {\n          \"first\": \"Jone\",\n          \"last\": \"Doe\"\n        },\n        \"email\": \"jone.doe@unit-finance.com\",\n        \"phone\": {\n          \"countryCode\": \"1\",\n          \"number\": \"2025550108\"\n        }\n      },\n      \"beneficialOwners\": [\n        {\n          \"fullName\": {\n            \"first\": \"James\",\n            \"last\": \"Smith\"\n          },\n          \"dateOfBirth\": \"2012-04-05\",\n          \"ssn\": \"574567625\",\n          \"email\": \"james@unit-finance.com\",\n          \"phone\": {\n            \"countryCode\": \"1\",\n            \"number\": \"2025550127\"\n          },\n          \"address\": {\n            \"street\": \"650 Allerton Street\",\n            \"city\": \"Redwood City\",\n            \"state\": \"CA\",\n            \"postalCode\": \"94063\",\n            \"country\": \"US\"\n          }\n        },\n        {\n          \"fullName\": {\n            \"first\": \"Richard\",\n            \"last\": \"Hendricks\"\n          },\n          \"dateOfBirth\": \"2012-04-03\",\n          \"ssn\": \"574572795\",\n          \"email\": \"richard@unit-finance.com\",\n          \"phone\": {\n            \"countryCode\": \"1\",\n            \"number\": \"2025550158\"\n          },\n          \"address\": {\n            \"street\": \"470 Allerton Street\",\n            \"city\": \"Redwood City\",\n            \"state\": \"CA\",\n            \"postalCode\": \"94063\",\n            \"country\": \"US\"\n          }\n        }\n      ]\n    }\n  }\n}"
				},
				"url": {
					"raw": "{{server_url}}/applications",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"applications"
					]
				}
			},
			"response": [
				{
					"name": "Create Business",
					"originalRequest": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/vnd.api+json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"data\": {\n        \"type\": \"businessOnboarding\",\n        \"attributes\": {\n            \"name\": \"Pied Piper\",\n            \"address\": {\n                \"street\": \"5230 Newell Rd\",\n                \"city\": \"Palo Alto\",\n                \"state\": \"CA\",\n                \"postalCode\": \"94303\",\n                \"country\": \"US\"\n            },\n            \"phone\": {\n            \t\"countryCode\": \"1\",\n            \t\"number\": \"15555555\"\n            },\n            \"dateOfIncorporation\": \"2008-01-02\",\n            \"stateOfIncorporation\": \"DE\",\n            \"ein\": \"123456789\",\n            \"entityType\": \"Corporation\",\n            \"purpose\": \"New Internet\",\n            \"officer\": {\n            \t\"fullName\": {\n                    \"first\": \"Richard\",\n                    \"last\": \"Hendricks\"\n                },\t\n                \"dateOfBirth\": \"2001-08-10\",\n                \"ssn\": \"123456789\",\n                \"nationality\": \"US\",\n                \"email\": \"richard@piedpiper.com\",\n                \"phone\": {\n                \t\"countryCode\": \"1\",\n                \t\"number\": \"5555555\"\n                },\n                \"address\": {\n\t                \"street\": \"5230 Newell Rd\",\n\t                \"city\": \"Palo Alto\",\n\t                \"state\": \"CA\",\n\t                \"postalCode\": \"94303\",\n\t                \"country\": \"US\"\n            \t}\n            },\n            \"beneficialOwners\": [\n            \t{\n\t            \t\"fullName\": {\n\t                    \"first\": \"Richard\",\n\t                    \"last\": \"Hendricks\"\n\t                },\t\n\t                \"dateOfBirth\": \"2001-08-10\",\n\t                \"ssn\": \"123456789\",\n\t                \"nationality\": \"US\",\n\t                \"email\": \"richard@piedpiper.com\",\n\t                \"phone\": {\n\t                \t\"countryCode\": \"1\",\n\t                \t\"number\": \"5555555\"\n\t                },\n\t                \"address\": {\n\t\t                \"street\": \"5230 Newell Rd\",\n\t\t                \"city\": \"Palo Alto\",\n\t\t                \"state\": \"CA\",\n\t\t                \"postalCode\": \"94303\",\n\t\t                \"country\": \"US\"\n\t            \t}\n            \t}\n        \t],\n            \"authorizedUsers\": [\n                {\n                    \"fullName\": {\n                        \"first\": \"Richard\",\n                        \"last\": \"Hendricks\"\n                    },\n                    \"username\":\"richard\",\n                    \"email\": \"richard@piedpiper.com\",\n                    \"phone\": {\n                    \t\"countryCode\": \"1\",\n                    \t\"number\": \"5555555\"\n                    }\n                }\n            ]\n        }\n    }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://api.s.unit.sh/onboarding",
							"protocol": "https",
							"host": [
								"api",
								"s",
								"unit",
								"sh"
							],
							"path": [
								"onboarding"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "X-Powered-By",
							"value": "Express"
						},
						{
							"key": "Access-Control-Allow-Origin",
							"value": "*"
						},
						{
							"key": "Content-Type",
							"value": "application/vnd.api+json; charset=utf-8"
						},
						{
							"key": "Content-Length",
							"value": "1956"
						},
						{
							"key": "ETag",
							"value": "W/\"7a4-A4ji7CSmalJcw6R8QmI5wuUzgDM\""
						},
						{
							"key": "Date",
							"value": "Mon, 13 Jan 2020 16:01:22 GMT"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						}
					],
					"cookie": [],
					"body": "{\n    \"data\": {\n        \"type\": \"businessOnboarding\",\n        \"id\": 50,\n        \"attributes\": {\n            \"createdAt\": \"2020-01-13T16:01:19.346Z\",\n            \"name\": \"Pied Piper\",\n            \"dba\": null,\n            \"address\": {\n                \"street\": \"5230 Newell Rd\",\n                \"street2\": null,\n                \"city\": \"Palo Alto\",\n                \"state\": \"CA\",\n                \"postalCode\": \"94303\",\n                \"country\": \"US\"\n            },\n            \"phone\": {\n                \"countryCode\": \"1\",\n                \"number\": \"15555555\"\n            },\n            \"dateOfIncorporation\": \"2008-01-02\",\n            \"stateOfIncorporation\": \"DE\",\n            \"ein\": \"123456789\",\n            \"entityType\": \"Corporation\",\n            \"officer\": {\n                \"fullName\": {\n                    \"first\": \"Richard\",\n                    \"last\": \"Hendricks\"\n                },\n                \"nationality\": \"US\",\n                \"ssn\": \"123456789\",\n                \"passport\": null,\n                \"address\": {\n                    \"street\": \"5230 Newell Rd\",\n                    \"street2\": null,\n                    \"city\": \"Palo Alto\",\n                    \"state\": \"CA\",\n                    \"postalCode\": \"94303\",\n                    \"country\": \"US\"\n                },\n                \"dateOfBirth\": \"2001-08-10\",\n                \"email\": \"richard@piedpiper.com\",\n                \"phone\": {\n                    \"countryCode\": \"1\",\n                    \"number\": \"5555555\"\n                },\n                \"status\": \"Approved\"\n            },\n            \"beneficialOwners\": [\n                {\n                    \"id\": 1,\n                    \"fullName\": {\n                        \"first\": \"Richard\",\n                        \"last\": \"Hendricks\"\n                    },\n                    \"ssn\": \"123456789\",\n                    \"passport\": null,\n                    \"address\": {\n                        \"street\": \"5230 Newell Rd\",\n                        \"street2\": null,\n                        \"city\": \"Palo Alto\",\n                        \"state\": \"CA\",\n                        \"postalCode\": \"94303\",\n                        \"country\": \"US\"\n                    },\n                    \"dateOfBirth\": \"2001-08-10\",\n                    \"nationality\": \"US\",\n                    \"phone\": {\n                        \"countryCode\": \"1\",\n                        \"number\": \"5555555\"\n                    },\n                    \"email\": \"richard@piedpiper.com\",\n                    \"status\": \"Approved\"\n                }\n            ],\n            \"authorizedUsers\": [\n                {\n                    \"fullName\": {\n                        \"first\": \"Richard\",\n                        \"last\": \"Hendricks\"\n                    },\n                    \"username\": \"richard\",\n                    \"email\": \"richard@piedpiper.com\",\n                    \"phone\": {\n                        \"countryCode\": \"1\",\n                        \"number\": \"5555555\"\n                    }\n                }\n            ],\n            \"purpose\": \"New Internet\",\n            \"status\": \"AwaitingDocuments\"\n        },\n        \"relationships\": {\n            \"org\": {\n                \"type\": \"org\",\n                \"id\": 1\n            },\n            \"documents\": [\n                {\n                    \"type\": \"document\",\n                    \"id\": 1,\n                    \"attributes\": {\n                        \"documentType\": \"CertificateOfIncorporation\",\n                        \"status\": \"Required\",\n                        \"name\": \"Pied Piper\",\n                        \"dateOfIncorporation\": \"2008-01-02\"\n                    }\n                },\n                {\n                    \"type\": \"document\",\n                    \"id\": 2,\n                    \"attributes\": {\n                        \"documentType\": \"UtilityBill\",\n                        \"status\": \"Required\",\n                        \"name\": \"Richard Hendricks\",\n                        \"address\": {\n                            \"street\": \"5230 Newell Rd\",\n                            \"street2\": null,\n                            \"city\": \"Palo Alto\",\n                            \"state\": \"CA\",\n                            \"postalCode\": \"94303\",\n                            \"country\": \"US\"\n                        }\n                    }\n                },\n                {\n                    \"type\": \"document\",\n                    \"id\": 3,\n                    \"attributes\": {\n                        \"documentType\": \"DriverLicense\",\n                        \"status\": \"Required\",\n                        \"name\": \"Richard Hendricks\"\n                    }\n                }\n            ]\n        }\n    }\n}"
				}
			]
		},
		{
			"name": "Create Business Application",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"//set customer id to env.variable",
							"const response = pm.response.json();",
							"console.log(response.data.id);",
							"console.log(response.data.attributes.name);",
							"pm.environment.set(\"customerId\", response.data.id);",
							""
						],
						"type": "text/javascript"
					}
				},
				{
					"listen": "prerequest",
					"script": {
						"exec": [
							"//const firstName= \"Test:\"+pm.variables.replaceIn('{{$randomFirstName}}');",
							"pm.environment.set(\"customerFirstName\", \"Test: \"+pm.variables.replaceIn('{{$randomCompanyName}}'));",
							"",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/vnd.api+json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n  \"data\": {\n    \"type\": \"businessApplication\",\n    \"attributes\": {\n      \"name\": \"{{customerFirstName}}\",\n      \"address\": {\n        \"street\": \"1600 Pennsylvania Avenue Northwest\",\n        \"city\": \"Washington\",\n        \"state\": \"CA\",\n        \"postalCode\": \"51200\",\n        \"country\": \"US\"\n      },\n      \"phone\": {\n        \"countryCode\": \"1\",\n        \"number\": \"9294723497\"\n      },\n      \"stateOfIncorporation\": \"CA\",\n      \"entityType\": \"Corporation\",\n      \"ein\": \"123456789\",\n      \"officer\": {\n        \"fullName\": {\n          \"first\": \"Jone\",\n          \"last\": \"Doe\"\n        },\n        \"dateOfBirth\": \"2012-05-05\",\n        \"ssn\": \"000000004\",\n        \"email\": \"jone.doe@unit-finance.Test\",\n        \"phone\": {\n          \"countryCode\": \"1\",\n          \"number\": \"2025550108\"\n        },\n        \"address\": {\n          \"street\": \"950 Allerton Street\",\n          \"city\": \"Redwood City\",\n          \"state\": \"CA\",\n          \"postalCode\": \"94063\",\n          \"country\": \"US\"\n        }\n      },\n      \"contact\": {\n        \"fullName\": {\n          \"first\": \"Jone\",\n          \"last\": \"Doe\"\n        },\n        \"email\": \"jone.doe@unit-finance.com\",\n        \"phone\": {\n          \"countryCode\": \"1\",\n          \"number\": \"2025550108\"\n        }\n      },\n      \"beneficialOwners\": [\n        {\n          \"fullName\": {\n            \"first\": \"James\",\n            \"last\": \"Smith\"\n          },\n          \"dateOfBirth\": \"2012-04-05\",\n          \"ssn\": \"574567625\",\n          \"email\": \"james@unit-finance.com\",\n          \"phone\": {\n            \"countryCode\": \"1\",\n            \"number\": \"2025550127\"\n          },\n          \"address\": {\n            \"street\": \"650 Allerton Street\",\n            \"city\": \"Redwood City\",\n            \"state\": \"CA\",\n            \"postalCode\": \"94063\",\n            \"country\": \"US\"\n          }\n        },\n        {\n          \"fullName\": {\n            \"first\": \"Richard\",\n            \"last\": \"Hendricks\"\n          },\n          \"dateOfBirth\": \"2012-04-03\",\n          \"ssn\": \"574572795\",\n          \"email\": \"richard@unit-finance.com\",\n          \"phone\": {\n            \"countryCode\": \"1\",\n            \"number\": \"2025550158\"\n          },\n          \"address\": {\n            \"street\": \"470 Allerton Street\",\n            \"city\": \"Redwood City\",\n            \"state\": \"CA\",\n            \"postalCode\": \"94063\",\n            \"country\": \"US\"\n          }\n        }\n      ]\n    }\n  }\n}"
				},
				"url": {
					"raw": "{{server_url}}/applications",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"applications"
					]
				}
			},
			"response": [
				{
					"name": "Create Business",
					"originalRequest": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"value": "application/vnd.api+json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"data\": {\n        \"type\": \"businessOnboarding\",\n        \"attributes\": {\n            \"name\": \"Pied Piper\",\n            \"address\": {\n                \"street\": \"5230 Newell Rd\",\n                \"city\": \"Palo Alto\",\n                \"state\": \"CA\",\n                \"postalCode\": \"94303\",\n                \"country\": \"US\"\n            },\n            \"phone\": {\n            \t\"countryCode\": \"1\",\n            \t\"number\": \"15555555\"\n            },\n            \"dateOfIncorporation\": \"2008-01-02\",\n            \"stateOfIncorporation\": \"DE\",\n            \"ein\": \"123456789\",\n            \"entityType\": \"Corporation\",\n            \"purpose\": \"New Internet\",\n            \"officer\": {\n            \t\"fullName\": {\n                    \"first\": \"Richard\",\n                    \"last\": \"Hendricks\"\n                },\t\n                \"dateOfBirth\": \"2001-08-10\",\n                \"ssn\": \"123456789\",\n                \"nationality\": \"US\",\n                \"email\": \"richard@piedpiper.com\",\n                \"phone\": {\n                \t\"countryCode\": \"1\",\n                \t\"number\": \"5555555\"\n                },\n                \"address\": {\n\t                \"street\": \"5230 Newell Rd\",\n\t                \"city\": \"Palo Alto\",\n\t                \"state\": \"CA\",\n\t                \"postalCode\": \"94303\",\n\t                \"country\": \"US\"\n            \t}\n            },\n            \"beneficialOwners\": [\n            \t{\n\t            \t\"fullName\": {\n\t                    \"first\": \"Richard\",\n\t                    \"last\": \"Hendricks\"\n\t                },\t\n\t                \"dateOfBirth\": \"2001-08-10\",\n\t                \"ssn\": \"123456789\",\n\t                \"nationality\": \"US\",\n\t                \"email\": \"richard@piedpiper.com\",\n\t                \"phone\": {\n\t                \t\"countryCode\": \"1\",\n\t                \t\"number\": \"5555555\"\n\t                },\n\t                \"address\": {\n\t\t                \"street\": \"5230 Newell Rd\",\n\t\t                \"city\": \"Palo Alto\",\n\t\t                \"state\": \"CA\",\n\t\t                \"postalCode\": \"94303\",\n\t\t                \"country\": \"US\"\n\t            \t}\n            \t}\n        \t],\n            \"authorizedUsers\": [\n                {\n                    \"fullName\": {\n                        \"first\": \"Richard\",\n                        \"last\": \"Hendricks\"\n                    },\n                    \"username\":\"richard\",\n                    \"email\": \"richard@piedpiper.com\",\n                    \"phone\": {\n                    \t\"countryCode\": \"1\",\n                    \t\"number\": \"5555555\"\n                    }\n                }\n            ]\n        }\n    }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "https://api.s.unit.sh/onboarding",
							"protocol": "https",
							"host": [
								"api",
								"s",
								"unit",
								"sh"
							],
							"path": [
								"onboarding"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "X-Powered-By",
							"value": "Express"
						},
						{
							"key": "Access-Control-Allow-Origin",
							"value": "*"
						},
						{
							"key": "Content-Type",
							"value": "application/vnd.api+json; charset=utf-8"
						},
						{
							"key": "Content-Length",
							"value": "1956"
						},
						{
							"key": "ETag",
							"value": "W/\"7a4-A4ji7CSmalJcw6R8QmI5wuUzgDM\""
						},
						{
							"key": "Date",
							"value": "Mon, 13 Jan 2020 16:01:22 GMT"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						}
					],
					"cookie": [],
					"body": "{\n    \"data\": {\n        \"type\": \"businessOnboarding\",\n        \"id\": 50,\n        \"attributes\": {\n            \"createdAt\": \"2020-01-13T16:01:19.346Z\",\n            \"name\": \"Pied Piper\",\n            \"dba\": null,\n            \"address\": {\n                \"street\": \"5230 Newell Rd\",\n                \"street2\": null,\n                \"city\": \"Palo Alto\",\n                \"state\": \"CA\",\n                \"postalCode\": \"94303\",\n                \"country\": \"US\"\n            },\n            \"phone\": {\n                \"countryCode\": \"1\",\n                \"number\": \"15555555\"\n            },\n            \"dateOfIncorporation\": \"2008-01-02\",\n            \"stateOfIncorporation\": \"DE\",\n            \"ein\": \"123456789\",\n            \"entityType\": \"Corporation\",\n            \"officer\": {\n                \"fullName\": {\n                    \"first\": \"Richard\",\n                    \"last\": \"Hendricks\"\n                },\n                \"nationality\": \"US\",\n                \"ssn\": \"123456789\",\n                \"passport\": null,\n                \"address\": {\n                    \"street\": \"5230 Newell Rd\",\n                    \"street2\": null,\n                    \"city\": \"Palo Alto\",\n                    \"state\": \"CA\",\n                    \"postalCode\": \"94303\",\n                    \"country\": \"US\"\n                },\n                \"dateOfBirth\": \"2001-08-10\",\n                \"email\": \"richard@piedpiper.com\",\n                \"phone\": {\n                    \"countryCode\": \"1\",\n                    \"number\": \"5555555\"\n                },\n                \"status\": \"Approved\"\n            },\n            \"beneficialOwners\": [\n                {\n                    \"id\": 1,\n                    \"fullName\": {\n                        \"first\": \"Richard\",\n                        \"last\": \"Hendricks\"\n                    },\n                    \"ssn\": \"123456789\",\n                    \"passport\": null,\n                    \"address\": {\n                        \"street\": \"5230 Newell Rd\",\n                        \"street2\": null,\n                        \"city\": \"Palo Alto\",\n                        \"state\": \"CA\",\n                        \"postalCode\": \"94303\",\n                        \"country\": \"US\"\n                    },\n                    \"dateOfBirth\": \"2001-08-10\",\n                    \"nationality\": \"US\",\n                    \"phone\": {\n                        \"countryCode\": \"1\",\n                        \"number\": \"5555555\"\n                    },\n                    \"email\": \"richard@piedpiper.com\",\n                    \"status\": \"Approved\"\n                }\n            ],\n            \"authorizedUsers\": [\n                {\n                    \"fullName\": {\n                        \"first\": \"Richard\",\n                        \"last\": \"Hendricks\"\n                    },\n                    \"username\": \"richard\",\n                    \"email\": \"richard@piedpiper.com\",\n                    \"phone\": {\n                        \"countryCode\": \"1\",\n                        \"number\": \"5555555\"\n                    }\n                }\n            ],\n            \"purpose\": \"New Internet\",\n            \"status\": \"AwaitingDocuments\"\n        },\n        \"relationships\": {\n            \"org\": {\n                \"type\": \"org\",\n                \"id\": 1\n            },\n            \"documents\": [\n                {\n                    \"type\": \"document\",\n                    \"id\": 1,\n                    \"attributes\": {\n                        \"documentType\": \"CertificateOfIncorporation\",\n                        \"status\": \"Required\",\n                        \"name\": \"Pied Piper\",\n                        \"dateOfIncorporation\": \"2008-01-02\"\n                    }\n                },\n                {\n                    \"type\": \"document\",\n                    \"id\": 2,\n                    \"attributes\": {\n                        \"documentType\": \"UtilityBill\",\n                        \"status\": \"Required\",\n                        \"name\": \"Richard Hendricks\",\n                        \"address\": {\n                            \"street\": \"5230 Newell Rd\",\n                            \"street2\": null,\n                            \"city\": \"Palo Alto\",\n                            \"state\": \"CA\",\n                            \"postalCode\": \"94303\",\n                            \"country\": \"US\"\n                        }\n                    }\n                },\n                {\n                    \"type\": \"document\",\n                    \"id\": 3,\n                    \"attributes\": {\n                        \"documentType\": \"DriverLicense\",\n                        \"status\": \"Required\",\n                        \"name\": \"Richard Hendricks\"\n                    }\n                }\n            ]\n        }\n    }\n}"
				}
			]
		},
		{
			"name": "(Sandbox) Approve Application",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"console.log(response.data.relationships.customer.data.id);",
							"pm.environment.set(\"customerId\", response.data.relationships.customer.data.id);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/vnd.api+json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"applicationApprove\",\n        \"attributes\": {\n            \"reason\": \"sandbox\"\n        }\n    }\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/applications/{{applicationId}}/approve",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"applications",
						"{{applicationId}}",
						"approve"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Deposit Account",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"pm.environment.set(\"accountId\", response.data.id);",
							""
						],
						"type": "text/javascript"
					}
				},
				{
					"listen": "prerequest",
					"script": {
						"exec": [
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/vnd.api+json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"depositAccount\",\n        \"attributes\": {\n            \"depositProduct\": \"checking\",\n            \"tags\": {\n                \"purpose\": \"checking\"\n            }\n        },\n        \"relationships\": {\n            \"customer\": {\n            \t\"data\": {\n                \t\"type\": \"customer\",\n                \t\"id\": \"{{customerId}}\"\n            \t}\n            }\n        }\n    }\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/accounts",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"accounts"
					]
				},
				"description": "Remove 'balance' and 'hold' from the request"
			},
			"response": []
		},
		{
			"name": "(Sandbox) Simulate Incoming ACH Payment",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"achPayment\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 100000,\n\t\t\t\"direction\": \"Credit\",\n\t\t\t\"description\": \"Sandbox Transaction\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/payments",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"payments"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Business Virtual Debit Card",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"businessVirtualDebitCard\",\n\t\t\"attributes\": {\n\t\t    \"fullName\": {\n                \"first\": \"Richard\",\n                \"last\": \"Hendricks\"\n            },\n            \"address\": {\n                \"street\": \"5230 Newell Rd\",\n                \"street2\": null,\n                \"city\": \"Palo Alto\",\n                \"state\": \"CA\",\n                \"postalCode\": \"94303\",\n                \"country\": \"US\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"email\": \"richard@spiffymaildomain.com\",\n            \"phone\": {\n                \"countryCode\": \"1\",\n                \"number\": \"5555555555\"\n            }\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}"
				},
				"url": {
					"raw": "{{server_url}}/cards",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"cards"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create ACH Payment - Inline counterparty - pending",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"achPayment\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 7,\n\t\t\t\"direction\": \"Credit\",\n\t\t\t\"description\": \"Testing #5\",\n            \"addenda\": \"Some very long description of the payment\",\n            \"counterparty\": {\n                \"name\": \"Unit Finance Inc\",\n                \"routingNumber\": \"091311229\",\n                \"accountNumber\": \"864800000000\",\n                \"accountType\": \"Checking\"\n            }           \n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/payments",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"payments"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create ACH Payment - Inline counterparty - sent",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"console.log(response.data.attributes.status);",
							"pm.environment.set(\"ACHId\", response.data.id);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"achPayment\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 7,\n\t\t\t\"direction\": \"Credit\",\n\t\t\t\"description\": \"Testing #5\",\n            \"addenda\": \"Some very long description of the payment\",\n            \"counterparty\": {\n                \"name\": \"Unit Finance Inc\",\n                \"routingNumber\": \"091311229\",\n                \"accountNumber\": \"864800000000\",\n                \"accountType\": \"Checking\"\n            }           \n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/payments",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"payments"
					]
				}
			},
			"response": []
		},
		{
			"name": "(Sandbox) Transmit ACH Payment",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"console.log(response.data.attributes.status);",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"transmitAchPayment\",\n\t\t\"relationships\": {\n\t\t\t\"payment\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"achPayment\",\n\t\t\t\t\t\"id\": \"{{ACHId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/ach/transmit",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"ach",
						"transmit"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Individual",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"console.log(response.data.id);",
							"console.log(response.data.attributes.fullName);",
							"",
							"pm.environment.set(\"customerId\", response.data.id);",
							""
						],
						"type": "text/javascript"
					}
				},
				{
					"listen": "prerequest",
					"script": {
						"exec": [
							"pm.environment.set(\"customerFirstName\", pm.variables.replaceIn('{{$randomFirstName}}'));",
							"pm.environment.set(\"customerLastName\", pm.variables.replaceIn('{{$randomLastName}}'));",
							"console.log(pm.variables.replaceIn('{{customerFirstName}}'));",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"individualApplication\",\n        \"attributes\": {\n            \"ssn\": \"000000004\",\n            \"fullName\": {\n                \"first\": \"Test {{customerFirstName}}\",\n                \"last\": \"{{customerLastName}}\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"address\": {\n                \"street\": \"20 Ingram St\",\n                \"city\": \"Forest Hills\",\n                \"state\": \"CA\",\n                \"postalCode\": \"11375\",\n                \"country\": \"US\"\n            },\n            \"email\": \"{{customerFirstName}}.{{customerLastName}}@spiffymaildomain.test\",\n            \"phone\": {\n                \"countryCode\": \"1\",\n                \"number\": \"5555555555\"\n            },\n            \"tags\": {\n                \"test\": \"webhook-tag\",\n                \"key\": \"another-tag\",\n                \"number\": \"111\"\n            }\n        }\n    }\n}"
				},
				"url": {
					"raw": "{{server_url}}/applications",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"applications"
					]
				}
			},
			"response": [
				{
					"name": "Create Consumer",
					"originalRequest": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"type": "text",
								"value": "application/vnd.api+json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"data\": {\n        \"type\": \"consumerOnboarding\",\n        \"attributes\": {\n    \t\t\"ssn\": \"721074426\",\n        \t\"fullName\": {\n                \"first\": \"Peter\",\n                \"last\": \"Parker\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"nationality\": \"US\",\n            \"address\": {\n                \"street\": \"20 Ingram St\",\n                \"city\": \"Forest Hills\",\n                \"state\": \"NY\",\n                \"postalCode\": \"11375\",\n                \"country\": \"US\"\n            },\n            \"email\": \"peter@oscorp.com\",\n            \"phone\": {\n            \t\"countryCode\": \"1\",\n            \t\"number\": \"15555555\"\n            }\n        }\n    }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{server_url}}/onboarding",
							"host": [
								"{{server_url}}"
							],
							"path": [
								"onboarding"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "X-Powered-By",
							"value": "Express"
						},
						{
							"key": "Access-Control-Allow-Origin",
							"value": "*"
						},
						{
							"key": "Content-Type",
							"value": "application/vnd.api+json; charset=utf-8"
						},
						{
							"key": "Content-Length",
							"value": "870"
						},
						{
							"key": "ETag",
							"value": "W/\"366-lf7mrb2tuF+LXIog4/Ae3kKnsac\""
						},
						{
							"key": "Date",
							"value": "Tue, 14 Jan 2020 14:05:06 GMT"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						}
					],
					"cookie": [],
					"body": "{\n    \"data\": {\n        \"type\": \"consumerBoarding\",\n        \"id\": 53,\n        \"attributes\": {\n            \"createdAt\": \"2020-01-14T14:05:04.718Z\",\n            \"fullName\": {\n                \"first\": \"Peter\",\n                \"last\": \"Parker\"\n            },\n            \"nationality\": \"US\",\n            \"ssn\": \"721074426\",\n            \"address\": {\n                \"street\": \"20 Ingram St\",\n                \"street2\": null,\n                \"city\": \"Forest Hills\",\n                \"state\": \"NY\",\n                \"postalCode\": \"11375\",\n                \"country\": \"US\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"email\": \"peter@oscorp.com\",\n            \"phone\": {\n                \"countryCode\": \"1\",\n                \"number\": \"15555555\"\n            },\n            \"status\": \"AwaitingDocuments\"\n        },\n        \"relationships\": {\n            \"org\": {\n                \"type\": \"org\",\n                \"id\": 1\n            },\n            \"documents\": [\n                {\n                    \"type\": \"document\",\n                    \"id\": 1,\n                    \"attributes\": {\n                        \"documentType\": \"UtilityBill\",\n                        \"status\": \"Required\",\n                        \"name\": \"Peter Parker\",\n                        \"address\": {\n                            \"street\": \"20 Ingram St\",\n                            \"street2\": null,\n                            \"city\": \"Forest Hills\",\n                            \"state\": \"NY\",\n                            \"postalCode\": \"11375\",\n                            \"country\": \"US\"\n                        }\n                    }\n                },\n                {\n                    \"type\": \"document\",\n                    \"id\": 2,\n                    \"attributes\": {\n                        \"documentType\": \"DriverLicense\",\n                        \"status\": \"Required\",\n                        \"name\": \"Peter Parker\",\n                        \"dateOfBirth\": \"2001-08-10\"\n                    }\n                }\n            ]\n        }\n    }\n}"
				}
			]
		},
		{
			"name": "(Sandbox) Approve Application",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"console.log(response.data.relationships.customer.data.id);",
							"pm.environment.set(\"customerId\", response.data.relationships.customer.data.id);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/vnd.api+json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"applicationApprove\",\n        \"attributes\": {\n            \"reason\": \"sandbox\"\n        }\n    }\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/applications/{{applicationId}}/approve",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"applications",
						"{{applicationId}}",
						"approve"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Deposit Account",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"pm.environment.set(\"accountId\", response.data.id);",
							"console.log(response.data.relationships.customer.data.id);",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/vnd.api+json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"depositAccount\",\n        \"attributes\": {\n            \"depositProduct\": \"checking\",\n            \"tags\": {\n                \"purpose\": \"checking\"\n            }\n        },\n        \"relationships\": {\n            \"customer\": {\n            \t\"data\": {\n                \t\"type\": \"customer\",\n                \t\"id\": \"{{customerId}}\"\n            \t}\n            }\n        }\n    }\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/accounts",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"accounts"
					]
				},
				"description": "Remove 'balance' and 'hold' from the request"
			},
			"response": []
		},
		{
			"name": "Create Individual Debit Card",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"pm.environment.set(\"cardId\", response.data.id);",
							"pm.environment.set(\"last4Digits\", response.data.attributes.last4Digits);"
						],
						"type": "text/javascript"
					}
				}
			],
			"protocolProfileBehavior": {
				"disabledSystemHeaders": {
					"content-type": true
				}
			},
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"individualDebitCard\",\n        \"attributes\": {\n            \"shippingAddress\": {\n                \"street\": \"5230 Newell Rd\",\n                \"city\": \"Palo Alto\",\n                \"state\": \"CA\",\n                \"postalCode\": \"94303\",\n                \"country\": \"US\"\n            },\n            \"limits\": {\n                \"dailyWithdrawal\": 1000,\n                \"dailyPurchase\": 100000,\n                \"monthlyWithdrawal\": 10000\n            }\n        },\n        \"relationships\": {\n            \"account\": {\n                \"data\": {\n                    \"type\": \"depositAccount\",\n                    \"id\": \"{{accountId}}\"\n                }\n            }\n        }\n    }\n}"
				},
				"url": {
					"raw": "{{server_url}}/cards",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"cards"
					]
				}
			},
			"response": []
		},
		{
			"name": "(Sandbox) Activate Card",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 200\", function () {",
							"    pm.response.to.have.status(200);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/vnd.api+json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": ""
				},
				"url": {
					"raw": "{{server_url}}/sandbox/cards/{{cardId}}/activate",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"cards",
						"{{cardId}}",
						"activate"
					]
				}
			},
			"response": []
		},
		{
			"name": "(Sandbox) Simulate Incoming ACH Payment",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"achPayment\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 100000,\n\t\t\t\"direction\": \"Credit\",\n\t\t\t\"description\": \"Sandbox Transaction\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/payments",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"payments"
					]
				}
			},
			"response": []
		},
		{
			"name": "(Sandbox) Simulate ATM Withdrawal",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"atmTransaction\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 500,\n            \"atmName\": \"HOME FED SAV BK\",\n            \"atmLocation\": \"Cupertino, CA, US\",\n            \"last4Digits\": \"{{last4Digits}}\"\n        },\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/atm-withdrawals",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"atm-withdrawals"
					]
				}
			},
			"response": []
		},
		{
			"name": "(Sandbox) Simulate Authorization",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"",
							"const response = pm.response.json();",
							"pm.environment.set(\"authId\", response.data.id);",
							"console.log(response.data.attributes.status)",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"authorization\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 2500,\n            \"cardLast4Digits\": \"{{last4Digits}}\",\n\t\t\t\"merchantName\": \"Apple Inc.\",\n            \"merchantType\": 1000,\n            \"merchantLocation\": \"Cupertino, CA\",\n            \"recurring\": false\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\t\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/authorizations",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"authorizations"
					]
				}
			},
			"response": []
		},
		{
			"name": "(Sandbox) Simulate Purchase",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"purchaseTransaction\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 2500,\n\t\t\t\"direction\": \"Debit\",\n\t\t\t\"merchantName\": \"Apple Inc.\",\n            \"merchantType\": 1000,\n            \"merchantLocation\": \"Cupertino, CA\",\n\t\t\t\"coordinates\": {\n\t\t\t\t\"longitude\": 121.323,\n\t\t\t\t\"latitude\": -33.33323\n\t\t\t},\n            \"last4Digits\": \"{{last4Digits}}\",\n            \"internationalServiceFee\": 50\n\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t},\n            \"authorization\":{\n                \"data\": {\n                   \"type\": \"authorization\",\n                  \"id\": \"{{authId}}\"\n                 }\n              }\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/purchases",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"purchases"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Individual",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"console.log(response.data.id);",
							"pm.environment.set(\"customerId\", response.data.id);",
							"",
							"",
							"console.log(response.data.relationships.customer.data.id);",
							"pm.environment.set(\"customerId\", response.data.relationships.customer.data.id);",
							"",
							""
						],
						"type": "text/javascript"
					}
				},
				{
					"listen": "prerequest",
					"script": {
						"exec": [
							"//const firstName= \"Test:\"+pm.variables.replaceIn('{{$randomFirstName}}');",
							"pm.environment.set(\"customerFirstName\", pm.variables.replaceIn('{{$randomFirstName}}'));",
							"//const lastName= \"Test:\"+pm.variables.replaceIn('{{$randomLastName}}');",
							"pm.environment.set(\"customerLastName\", pm.variables.replaceIn('{{$randomLastName}}'));",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"individualApplication\",\n        \"attributes\": {\n            \"ssn\": \"123456789\",\n            \"fullName\": {\n                \"first\": \"Test {{customerFirstName}}\",\n                \"last\": \"{{customerLastName}}\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"address\": {\n                \"street\": \"20 Ingram St\",\n                \"city\": \"Forest Hills\",\n                \"state\": \"CA\",\n                \"postalCode\": \"11375\",\n                \"country\": \"US\"\n            },\n            \"email\": \"{{customerFirstName}}.{{customerLastName}}@spiffymaildomain.test\",\n            \"phone\": {\n                \"countryCode\": \"1\",\n                \"number\": \"5555555555\"\n            },\n            \"tags\": {\n                \"test\": \"webhook-tag\",\n                \"key\": \"another-tag\",\n                \"number\": \"111\"\n            }\n        }\n    }\n}"
				},
				"url": {
					"raw": "{{server_url}}/applications",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"applications"
					]
				}
			},
			"response": [
				{
					"name": "Create Consumer",
					"originalRequest": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"type": "text",
								"value": "application/vnd.api+json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"data\": {\n        \"type\": \"consumerOnboarding\",\n        \"attributes\": {\n    \t\t\"ssn\": \"721074426\",\n        \t\"fullName\": {\n                \"first\": \"Peter\",\n                \"last\": \"Parker\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"nationality\": \"US\",\n            \"address\": {\n                \"street\": \"20 Ingram St\",\n                \"city\": \"Forest Hills\",\n                \"state\": \"NY\",\n                \"postalCode\": \"11375\",\n                \"country\": \"US\"\n            },\n            \"email\": \"peter@oscorp.com\",\n            \"phone\": {\n            \t\"countryCode\": \"1\",\n            \t\"number\": \"15555555\"\n            }\n        }\n    }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{server_url}}/onboarding",
							"host": [
								"{{server_url}}"
							],
							"path": [
								"onboarding"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "X-Powered-By",
							"value": "Express"
						},
						{
							"key": "Access-Control-Allow-Origin",
							"value": "*"
						},
						{
							"key": "Content-Type",
							"value": "application/vnd.api+json; charset=utf-8"
						},
						{
							"key": "Content-Length",
							"value": "870"
						},
						{
							"key": "ETag",
							"value": "W/\"366-lf7mrb2tuF+LXIog4/Ae3kKnsac\""
						},
						{
							"key": "Date",
							"value": "Tue, 14 Jan 2020 14:05:06 GMT"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						}
					],
					"cookie": [],
					"body": "{\n    \"data\": {\n        \"type\": \"individualApplication\",\n        \"id\": \"173702\",\n        \"attributes\": {\n            \"createdAt\": \"2021-12-23T12:45:38.761Z\",\n            \"fullName\": {\n                \"first\": \"April\",\n                \"last\": \"Dddd\"\n            },\n            \"ssn\": \"123456789\",\n            \"address\": {\n                \"street\": \"20 Ingram St\",\n                \"city\": \"Forest Hills\",\n                \"state\": \"CA\",\n                \"postalCode\": \"11375\",\n                \"country\": \"US\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"email\": \"april@baxter.com\",\n            \"phone\": {\n                \"countryCode\": \"1\",\n                \"number\": \"5555555555\"\n            },\n            \"status\": \"Approved\",\n            \"message\": \"Congrats - your application has been approved!\",\n            \"evaluationId\": \"S-ghHwEYbRwlIw117YC3va\",\n            \"soleProprietorship\": false,\n            \"tags\": {\n                \"test\": \"webhook-tag\",\n                \"key\": \"another-tag\",\n                \"number\": \"111\"\n            }\n        },\n        \"relationships\": {\n            \"org\": {\n                \"data\": {\n                    \"type\": \"org\",\n                    \"id\": \"901\"\n                }\n            },\n            \"customer\": {\n                \"data\": {\n                    \"type\": \"individualCustomer\",\n                    \"id\": \"143057\"\n                }\n            }\n        }\n    },\n    \"included\": []\n}"
				}
			]
		},
		{
			"name": "(Sandbox) Simulate Incoming ACH Payment",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"achPayment\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 100000,\n\t\t\t\"direction\": \"Credit\",\n\t\t\t\"description\": \"Sandbox Transaction\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/payments",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"payments"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Individual AwaitingDocuments",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							""
						],
						"type": "text/javascript"
					}
				},
				{
					"listen": "prerequest",
					"script": {
						"exec": [
							"//const firstName= \"Test:\"+pm.variables.replaceIn('{{$randomFirstName}}');",
							"pm.environment.set(\"customerFirstName\", pm.variables.replaceIn('{{$randomFirstName}}'));",
							"//const lastName= \"Test:\"+pm.variables.replaceIn('{{$randomLastName}}');",
							"pm.environment.set(\"customerLastName\", pm.variables.replaceIn('{{$randomLastName}}'));",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "bearer",
					"bearer": [
						{
							"key": "token",
							"value": "{{token}}",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"individualApplication\",\n        \"attributes\": {\n            \"ssn\": \"000000002\",\n            \"fullName\": {\n                \"first\": \"Test {{customerFirstName}}\",\n                \"last\": \"{{customerLastName}}\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"address\": {\n                \"street\": \"20 Ingram St\",\n                \"city\": \"Forest Hills\",\n                \"state\": \"CA\",\n                \"postalCode\": \"11375\",\n                \"country\": \"US\"\n            },\n            \"email\": \"{{customerFirstName}}.{{customerLastName}}@spiffymaildomain.test\",\n            \"phone\": {\n                \"countryCode\": \"1\",\n                \"number\": \"5555555555\"\n            },\n            \"tags\": {\n                \"test\": \"webhook-tag\",\n                \"key\": \"another-tag\",\n                \"number\": \"111\"\n            }\n        }\n    }\n}"
				},
				"url": {
					"raw": "{{server_url}}/applications",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"applications"
					]
				}
			},
			"response": [
				{
					"name": "Create Consumer",
					"originalRequest": {
						"method": "POST",
						"header": [
							{
								"key": "Content-Type",
								"type": "text",
								"value": "application/vnd.api+json"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"data\": {\n        \"type\": \"consumerOnboarding\",\n        \"attributes\": {\n    \t\t\"ssn\": \"721074426\",\n        \t\"fullName\": {\n                \"first\": \"Peter\",\n                \"last\": \"Parker\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"nationality\": \"US\",\n            \"address\": {\n                \"street\": \"20 Ingram St\",\n                \"city\": \"Forest Hills\",\n                \"state\": \"NY\",\n                \"postalCode\": \"11375\",\n                \"country\": \"US\"\n            },\n            \"email\": \"peter@oscorp.com\",\n            \"phone\": {\n            \t\"countryCode\": \"1\",\n            \t\"number\": \"15555555\"\n            }\n        }\n    }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{server_url}}/onboarding",
							"host": [
								"{{server_url}}"
							],
							"path": [
								"onboarding"
							]
						}
					},
					"status": "OK",
					"code": 200,
					"_postman_previewlanguage": "json",
					"header": [
						{
							"key": "X-Powered-By",
							"value": "Express"
						},
						{
							"key": "Access-Control-Allow-Origin",
							"value": "*"
						},
						{
							"key": "Content-Type",
							"value": "application/vnd.api+json; charset=utf-8"
						},
						{
							"key": "Content-Length",
							"value": "870"
						},
						{
							"key": "ETag",
							"value": "W/\"366-lf7mrb2tuF+LXIog4/Ae3kKnsac\""
						},
						{
							"key": "Date",
							"value": "Tue, 14 Jan 2020 14:05:06 GMT"
						},
						{
							"key": "Connection",
							"value": "keep-alive"
						}
					],
					"cookie": [],
					"body": "{\n    \"data\": {\n        \"type\": \"individualApplication\",\n        \"id\": \"173702\",\n        \"attributes\": {\n            \"createdAt\": \"2021-12-23T12:45:38.761Z\",\n            \"fullName\": {\n                \"first\": \"April\",\n                \"last\": \"Dddd\"\n            },\n            \"ssn\": \"123456789\",\n            \"address\": {\n                \"street\": \"20 Ingram St\",\n                \"city\": \"Forest Hills\",\n                \"state\": \"CA\",\n                \"postalCode\": \"11375\",\n                \"country\": \"US\"\n            },\n            \"dateOfBirth\": \"2001-08-10\",\n            \"email\": \"april@baxter.com\",\n            \"phone\": {\n                \"countryCode\": \"1\",\n                \"number\": \"5555555555\"\n            },\n            \"status\": \"Approved\",\n            \"message\": \"Congrats - your application has been approved!\",\n            \"evaluationId\": \"S-ghHwEYbRwlIw117YC3va\",\n            \"soleProprietorship\": false,\n            \"tags\": {\n                \"test\": \"webhook-tag\",\n                \"key\": \"another-tag\",\n                \"number\": \"111\"\n            }\n        },\n        \"relationships\": {\n            \"org\": {\n                \"data\": {\n                    \"type\": \"org\",\n                    \"id\": \"901\"\n                }\n            },\n            \"customer\": {\n                \"data\": {\n                    \"type\": \"individualCustomer\",\n                    \"id\": \"143057\"\n                }\n            }\n        }\n    },\n    \"included\": []\n}"
				}
			]
		},
		{
			"name": "Create Counterparty - Bank details",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"pm.environment.set(\"counterpartyId\", response.data.id);",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/vnd.api+json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"achCounterparty\",\n        \"attributes\": {\n            \"name\": \"April Oniel\",\n            \"routingNumber\": \"812345679\",\n            \"accountNumber\": \"1000000001\",\n            \"accountType\": \"Checking\",\n            \"type\": \"Person\",\n            \"tags\" : {\n                \"key\" : \"value\"\n            }\n        },\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"type\": \"customer\",\n                    \"id\": \"{{customerId}}\"\n                }\n            }\n        }\n    }\n}"
				},
				"url": {
					"raw": "{{server_url}}/counterparties",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"counterparties"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create ACH Payment - Linked counterparty - pending",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"achPayment\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 200,\n\t\t\t\"direction\": \"Credit\",\n\t\t\t\"description\": \"ACH PYMT\"\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t},\n            \"counterparty\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"counterparty\",\n\t\t\t\t\t\"id\": \"{{counterpartyId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/payments",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"payments"
					]
				}
			},
			"response": []
		},
		{
			"name": "(Sandbox) Transmit ACH Payment",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"console.log(response.data.attributes.status);",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"transmitAchPayment\",\n\t\t\"relationships\": {\n\t\t\t\"payment\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"achPayment\",\n\t\t\t\t\t\"id\": \"{{ACHId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/sandbox/ach/transmit",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"sandbox",
						"ach",
						"transmit"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create Counterparty - Bank details",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});",
							"",
							"const response = pm.response.json();",
							"pm.environment.set(\"counterpartyId\", response.data.id);",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"value": "application/vnd.api+json",
						"type": "text"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"data\": {\n        \"type\": \"achCounterparty\",\n        \"attributes\": {\n            \"name\": \"April Oniel\",\n            \"routingNumber\": \"812345678\",\n            \"accountNumber\": \"1000000001\",\n            \"accountType\": \"Checking\",\n            \"type\": \"Person\",\n            \"tags\" : {\n                \"key\" : \"value\"\n            }\n        },\n        \"relationships\": {\n            \"customer\": {\n                \"data\": {\n                    \"type\": \"customer\",\n                    \"id\": \"{{customerId}}\"\n                }\n            }\n        }\n    }\n}"
				},
				"url": {
					"raw": "{{server_url}}/counterparties",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"counterparties"
					]
				}
			},
			"response": []
		},
		{
			"name": "Create ACH Payment - Linked counterparty - sent",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"Status code is 201\", function () {",
							"    pm.response.to.have.status(201);",
							"});"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [
					{
						"key": "Content-Type",
						"type": "text",
						"value": "application/vnd.api+json"
					}
				],
				"body": {
					"mode": "raw",
					"raw": "{\n\t\"data\":{\n\t\t\"type\":\"achPayment\",\n\t\t\"attributes\": {\n\t\t\t\"amount\": 200,\n\t\t\t\"direction\": \"Credit\",\n\t\t\t\"description\": \"ACH PYMT\"\n\n\t\t},\n\t\t\"relationships\": {\n\t\t\t\"account\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"depositAccount\",\n\t\t\t\t\t\"id\": \"{{accountId}}\"\n\t\t\t\t}\n\t\t\t},\n            \"counterparty\": {\n\t\t\t\t\"data\": {\n\t\t\t\t\t\"type\": \"counterparty\",\n\t\t\t\t\t\"id\": \"{{counterpartyId}}\"\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{server_url}}/payments",
					"host": [
						"{{server_url}}"
					],
					"path": [
						"payments"
					]
				}
			},
			"response": []
		}
	],
	"auth": {
		"type": "bearer",
		"bearer": [
			{
				"key": "token",
				"value": "{{token}}",
				"type": "string"
			}
		]
	},
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "server_url",
			"value": "https://api.s.unit.sh",
			"type": "string"
		},
		{
			"key": "token",
			"value": "",
			"type": "string"
		}
	]
}
