From 39c392726f50db09a8dbd222bf461c9431b0d57b Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Thu, 15 Aug 2024 16:29:51 +0000 Subject: [PATCH] Release 0.5.2 --- collection.json | 2737 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 1943 insertions(+), 794 deletions(-) diff --git a/collection.json b/collection.json index 5e9e6ec..6c62563 100644 --- a/collection.json +++ b/collection.json @@ -32,6 +32,430 @@ "description": null, "name": "Entity Group", "item": [ + { + "_type": "container", + "description": null, + "name": "User", + "item": [ + { + "_type": "endpoint", + "name": "Search Group Users", + "request": { + "description": "Search entity group users", + "url": { + "raw": "{{baseUrl}}/entityGroup/:entityGroupId/users?name=John", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entityGroup", + ":entityGroupId", + "users" + ], + "query": [ + { + "key": "name", + "description": "Filter users by name. Partial matches are supported.", + "value": "John" + } + ], + "variable": [ + { + "key": "entityGroupId", + "description": "Entity Group ID", + "value": "entg_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Search entity group users", + "url": { + "raw": "{{baseUrl}}/entityGroup/:entityGroupId/users?name=John", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entityGroup", + ":entityGroupId", + "users" + ], + "query": [ + { + "key": "name", + "description": "Filter users by name. Partial matches are supported.", + "value": "John" + } + ], + "variable": [ + { + "key": "entityGroupId", + "description": "Entity Group ID", + "value": "entg_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "description": null, + "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"entities\": [\n {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"entityId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n },\n {\n \"id\": \"user_3a3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"roles\": [\n \"viewer\"\n ],\n \"entityId\": \"ent_574s93r-3943-fu39-g9dfr-33b42a55812c\"\n }\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n }\n ]\n}", + "_postman_previewlanguage": "json" + } + ] + }, + { + "_type": "endpoint", + "name": "Create Group User", + "request": { + "description": "Create entity user that will be added to all entities in the group.", + "url": { + "raw": "{{baseUrl}}/entityGroup/:entityGroupId/user", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entityGroup", + ":entityGroupId", + "user" + ], + "query": [], + "variable": [ + { + "key": "entityGroupId", + "description": "Entity Group ID", + "value": "entg_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"entities\": [\n {\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"entityId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n },\n {\n \"roles\": [\n \"viewer\"\n ],\n \"entityId\": \"ent_574s93r-3943-fu39-g9dfr-33b42a55812c\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Create entity user that will be added to all entities in the group.", + "url": { + "raw": "{{baseUrl}}/entityGroup/:entityGroupId/user", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entityGroup", + ":entityGroupId", + "user" + ], + "query": [], + "variable": [ + { + "key": "entityGroupId", + "description": "Entity Group ID", + "value": "entg_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"entities\": [\n {\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"entityId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n },\n {\n \"roles\": [\n \"viewer\"\n ],\n \"entityId\": \"ent_574s93r-3943-fu39-g9dfr-33b42a55812c\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "description": null, + "body": "{\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"entities\": [\n {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"entityId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n },\n {\n \"id\": \"user_3a3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"roles\": [\n \"viewer\"\n ],\n \"entityId\": \"ent_574s93r-3943-fu39-g9dfr-33b42a55812c\"\n }\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n}", + "_postman_previewlanguage": "json" + } + ] + }, + { + "_type": "endpoint", + "name": "Get Group User", + "request": { + "description": "Get entity user from a group", + "url": { + "raw": "{{baseUrl}}/entityGroup/:entityGroupId/user/:foreignId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entityGroup", + ":entityGroupId", + "user", + ":foreignId" + ], + "query": [], + "variable": [ + { + "key": "entityGroupId", + "description": "Entity Group ID", + "value": "entg_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "foreignId", + "description": "ID used to identify user in your system", + "value": "MY-DB-ID-12345" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Get entity user from a group", + "url": { + "raw": "{{baseUrl}}/entityGroup/:entityGroupId/user/:foreignId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entityGroup", + ":entityGroupId", + "user", + ":foreignId" + ], + "query": [], + "variable": [ + { + "key": "entityGroupId", + "description": "Entity Group ID", + "value": "entg_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "foreignId", + "description": "ID used to identify user in your system", + "value": "MY-DB-ID-12345" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "description": null, + "body": "{\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"entities\": [\n {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"entityId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n },\n {\n \"id\": \"user_3a3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"roles\": [\n \"viewer\"\n ],\n \"entityId\": \"ent_574s93r-3943-fu39-g9dfr-33b42a55812c\"\n }\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n}", + "_postman_previewlanguage": "json" + } + ] + }, + { + "_type": "endpoint", + "name": "Update Group User", + "request": { + "description": "Update entity user for all entities in the group.", + "url": { + "raw": "{{baseUrl}}/entityGroup/:entityGroupId/user/:foreignId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entityGroup", + ":entityGroupId", + "user", + ":foreignId" + ], + "query": [], + "variable": [ + { + "key": "entityGroupId", + "description": "Entity Group ID", + "value": "entg_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "foreignId", + "description": "ID used to identify user in your system", + "value": "MY-DB-ID-12345" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"entities\": [\n {\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"entityId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n },\n {\n \"roles\": [\n \"viewer\"\n ],\n \"entityId\": \"ent_574s93r-3943-fu39-g9dfr-33b42a55812c\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Update entity user for all entities in the group.", + "url": { + "raw": "{{baseUrl}}/entityGroup/:entityGroupId/user/:foreignId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entityGroup", + ":entityGroupId", + "user", + ":foreignId" + ], + "query": [], + "variable": [ + { + "key": "entityGroupId", + "description": "Entity Group ID", + "value": "entg_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "foreignId", + "description": "ID used to identify user in your system", + "value": "MY-DB-ID-12345" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"entities\": [\n {\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"entityId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n },\n {\n \"roles\": [\n \"viewer\"\n ],\n \"entityId\": \"ent_574s93r-3943-fu39-g9dfr-33b42a55812c\"\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "description": null, + "body": "{\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"entities\": [\n {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"entityId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n },\n {\n \"id\": \"user_3a3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"roles\": [\n \"viewer\"\n ],\n \"entityId\": \"ent_574s93r-3943-fu39-g9dfr-33b42a55812c\"\n }\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n}", + "_postman_previewlanguage": "json" + } + ] + }, + { + "_type": "endpoint", + "name": "Delete Group User", + "request": { + "description": "Delete entity user from all entities in the group. This will also remove the user from all approval policies. If an approval policy will break as a result of this operation, this request will fail.", + "url": { + "raw": "{{baseUrl}}/entityGroup/:entityGroupId/user/:foreignId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entityGroup", + ":entityGroupId", + "user", + ":foreignId" + ], + "query": [], + "variable": [ + { + "key": "entityGroupId", + "value": "", + "description": "Entity Group ID" + }, + { + "key": "foreignId", + "value": "", + "description": "ID used to identify user in your system" + } + ] + }, + "header": [], + "method": "DELETE", + "auth": null, + "body": null + }, + "response": [] + } + ] + }, { "_type": "container", "description": null, @@ -152,7 +576,7 @@ "body": null }, "description": null, - "body": "{\n \"count\": 10,\n \"hasMore\": true,\n \"data\": [\n {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ]\n}", + "body": "{\n \"count\": 10,\n \"hasMore\": true,\n \"data\": [\n {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ]\n}", "_postman_previewlanguage": "json" } ] @@ -185,12 +609,12 @@ }, { "key": "createdDateStart", - "description": "Start date for invoice created on date filter.", + "description": "DEPRECATED. Use startDate, endDate, and dateType instead. Start date for invoice created on date filter.", "value": "2021-01-01T00:00:00.000Z" }, { "key": "createdDateEnd", - "description": "End date for invoice created date filter.", + "description": "DEPRECATED. Use startDate, endDate, and dateType instead. End date for invoice created date filter.", "value": "2021-01-31T23:59:59.999Z" }, { @@ -253,12 +677,12 @@ }, { "key": "createdDateStart", - "description": "Start date for invoice created on date filter.", + "description": "DEPRECATED. Use startDate, endDate, and dateType instead. Start date for invoice created on date filter.", "value": "2021-01-01T00:00:00.000Z" }, { "key": "createdDateEnd", - "description": "End date for invoice created date filter.", + "description": "DEPRECATED. Use startDate, endDate, and dateType instead. End date for invoice created date filter.", "value": "2021-01-31T23:59:59.999Z" }, { @@ -668,7 +1092,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -705,7 +1129,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -747,7 +1171,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -790,7 +1214,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -850,7 +1274,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -894,7 +1318,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -943,7 +1367,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -993,7 +1417,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1046,7 +1470,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1099,7 +1523,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1153,7 +1577,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1211,7 +1635,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1272,7 +1696,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1333,7 +1757,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1401,7 +1825,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1445,7 +1869,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1467,7 +1891,7 @@ "body": null }, "description": null, - "body": "{\n \"count\": 2,\n \"hasMore\": false,\n \"data\": [\n {\n \"id\": \"notif_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"invoiceId\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"type\": \"INVOICE_APPROVAL_NEEDED\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n },\n {\n \"id\": \"notif_958c4ffb-dc06-494c-a0e0-1b4946c6bb0f\",\n \"invoiceId\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"type\": \"INVOICE_APPROVED\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ]\n}", + "body": "{\n \"count\": 2,\n \"hasMore\": false,\n \"data\": [\n {\n \"id\": \"notif_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"invoiceId\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"type\": \"INVOICE_APPROVAL_NEEDED\",\n \"status\": \"SENT\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n },\n {\n \"id\": \"notif_958c4ffb-dc06-494c-a0e0-1b4946c6bb0f\",\n \"invoiceId\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"type\": \"INVOICE_APPROVED\",\n \"status\": \"SENT\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ]\n}", "_postman_previewlanguage": "json" } ] @@ -1494,7 +1918,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1526,7 +1950,119 @@ "status": "OK", "code": 200, "originalRequest": { - "description": null, + "description": null, + "url": { + "raw": "{{baseUrl}}/entity/:entityId/user/:userId/notification/:notificationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entity", + ":entityId", + "user", + ":userId", + "notification", + ":notificationId" + ], + "query": [], + "variable": [ + { + "key": "entityId", + "description": "Entity ID or Entity ForeignID", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "userId", + "description": null, + "value": "user_e24fc81c-c5ee-47e8-af42-4fe29d895506" + }, + { + "key": "notificationId", + "description": null, + "value": "notif_7df2974a-4069-454c-912f-7e58ebe030fb" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "description": null, + "body": "{\n \"id\": \"notif_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"invoiceId\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"type\": \"INVOICE_APPROVAL_NEEDED\",\n \"status\": \"SENT\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", + "_postman_previewlanguage": "json" + } + ] + }, + { + "_type": "endpoint", + "name": "Update", + "request": { + "description": "Update the status of a notification.", + "url": { + "raw": "{{baseUrl}}/entity/:entityId/user/:userId/notification/:notificationId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entity", + ":entityId", + "user", + ":userId", + "notification", + ":notificationId" + ], + "query": [], + "variable": [ + { + "key": "entityId", + "description": "Entity ID or Entity ForeignID", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "userId", + "description": null, + "value": "user_e24fc81c-c5ee-47e8-af42-4fe29d895506" + }, + { + "key": "notificationId", + "description": null, + "value": "notif_7df2974a-4069-454c-912f-7e58ebe030fb" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "PUT", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"READ\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Update the status of a notification.", "url": { "raw": "{{baseUrl}}/entity/:entityId/user/:userId/notification/:notificationId", "host": [ @@ -1544,7 +2080,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -1566,12 +2102,20 @@ "value": "application/json" } ], - "method": "GET", + "method": "PUT", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"status\": \"READ\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "description": null, - "body": "{\n \"id\": \"notif_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"invoiceId\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"type\": \"INVOICE_APPROVAL_NEEDED\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"notif_958c4ffb-dc06-494c-a0e0-1b4946c6bb0f\",\n \"invoiceId\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"type\": \"INVOICE_APPROVED\",\n \"status\": \"READ\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -1597,7 +2141,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -1634,7 +2178,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -1681,7 +2225,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -1724,7 +2268,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -1765,7 +2309,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -1810,7 +2354,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -1860,7 +2404,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -1903,7 +2447,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -1950,7 +2494,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -2001,7 +2545,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -2057,7 +2601,7 @@ { "key": "entityId", "value": "", - "description": null + "description": "Entity ID or Entity ForeignID" }, { "key": "userId", @@ -2094,7 +2638,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -2102,57 +2646,284 @@ "description": null, "value": "user_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } - ] + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"expiresIn\": \"1h\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Generate a JWT token for an entity user with the given options. This token can be used to authenticate the entity and entity user in the Mercoa API and iFrame.", + "url": { + "raw": "{{baseUrl}}/entity/:entityId/user/:userId/token", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entity", + ":entityId", + "user", + ":userId", + "token" + ], + "query": [], + "variable": [ + { + "key": "entityId", + "description": "Entity ID or Entity ForeignID", + "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" + }, + { + "key": "userId", + "description": null, + "value": "user_a0f6ea94-0761-4a5e-a416-3c453cb7eced" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"expiresIn\": \"1h\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "description": null, + "body": "\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTIzNDU2Nzg5LCJuYW1lIjoiSm9zZXBoIn0.OpOSSw7e485LOP5PrzScxHb7SR6sAOMRckfFwi4rp7o\"", + "_postman_previewlanguage": "json" + } + ] + } + ] + }, + { + "_type": "container", + "description": null, + "name": "Approval Policy", + "item": [ + { + "_type": "endpoint", + "name": "Get All", + "request": { + "description": "Retrieve all invoice approval policies associated with an entity", + "url": { + "raw": "{{baseUrl}}/entity/:entityId/approval-policies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entity", + ":entityId", + "approval-policies" + ], + "query": [], + "variable": [ + { + "key": "entityId", + "description": "Entity ID or Entity ForeignID", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Retrieve all invoice approval policies associated with an entity", + "url": { + "raw": "{{baseUrl}}/entity/:entityId/approval-policies", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entity", + ":entityId", + "approval-policies" + ], + "query": [], + "variable": [ + { + "key": "entityId", + "description": "Entity ID or Entity ForeignID", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "description": null, + "body": "[\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n]", + "_postman_previewlanguage": "json" + } + ] + }, + { + "_type": "endpoint", + "name": "Create", + "request": { + "description": "Create an invoice approval policy associated with an entity", + "url": { + "raw": "{{baseUrl}}/entity/:entityId/approval-policy", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entity", + ":entityId", + "approval-policy" + ], + "query": [], + "variable": [ + { + "key": "entityId", + "description": "Entity ID or Entity ForeignID", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Create an invoice approval policy associated with an entity", + "url": { + "raw": "{{baseUrl}}/entity/:entityId/approval-policy", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entity", + ":entityId", + "approval-policy" + ], + "query": [], + "variable": [ + { + "key": "entityId", + "description": "Entity ID or Entity ForeignID", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "description": null, + "body": "{\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", + "_postman_previewlanguage": "json" }, - "header": [ - { - "type": "text", - "key": "Content-Type", - "value": "application/json" - } - ], - "method": "POST", - "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"expiresIn\": \"1h\"\n}", - "options": { - "raw": { - "language": "json" - } - } - } - }, - "response": [ { "name": "Success", "status": "OK", "code": 200, "originalRequest": { - "description": "Generate a JWT token for an entity user with the given options. This token can be used to authenticate the entity and entity user in the Mercoa API and iFrame.", + "description": "Create an invoice approval policy associated with an entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/user/:userId/token", + "raw": "{{baseUrl}}/entity/:entityId/approval-policy", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "user", - ":userId", - "token" + "approval-policy" ], "query": [], "variable": [ { "key": "entityId", - "description": null, - "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" - }, - { - "key": "userId", - "description": null, - "value": "user_a0f6ea94-0761-4a5e-a416-3c453cb7eced" + "description": "Entity ID or Entity ForeignID", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] }, @@ -2167,7 +2938,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"expiresIn\": \"1h\"\n}", + "raw": "{\n \"trigger\": [],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"userList\",\n \"value\": [\n \"usr_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"usr_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\"\n}", "options": { "raw": { "language": "json" @@ -2176,39 +2947,38 @@ } }, "description": null, - "body": "\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MTIzNDU2Nzg5LCJuYW1lIjoiSm9zZXBoIn0.OpOSSw7e485LOP5PrzScxHb7SR6sAOMRckfFwi4rp7o\"", + "body": "{\n \"id\": \"apvl_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"trigger\": [],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"userList\",\n \"value\": [\n \"usr_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"usr_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] - } - ] - }, - { - "_type": "container", - "description": null, - "name": "Approval Policy", - "item": [ + }, { "_type": "endpoint", - "name": "Get All", + "name": "Get", "request": { - "description": "Retrieve all invoice approval policies associated with an entity", + "description": "Retrieve an invoice approval policy associated with an entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policies", + "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policies" + "approval-policy", + ":policyId" ], "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "policyId", + "description": null, + "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2229,23 +2999,75 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Retrieve all invoice approval policies associated with an entity", + "description": "Retrieve an invoice approval policy associated with an entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policies", + "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policies" + "approval-policy", + ":policyId" ], "query": [], "variable": [ { "key": "entityId", + "description": "Entity ID or Entity ForeignID", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "policyId", "description": null, + "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "description": null, + "body": "{\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", + "_postman_previewlanguage": "json" + }, + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Retrieve an invoice approval policy associated with an entity", + "url": { + "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entity", + ":entityId", + "approval-policy", + ":policyId" + ], + "query": [], + "variable": [ + { + "key": "entityId", + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "policyId", + "description": null, + "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2261,32 +3083,38 @@ "body": null }, "description": null, - "body": "[\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n]", + "body": "{\n \"id\": \"apvl_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"trigger\": [],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"userList\",\n \"value\": [\n \"usr_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"usr_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] }, { "_type": "endpoint", - "name": "Create", + "name": "Update", "request": { - "description": "Create an invoice approval policy associated with an entity", + "description": "Update an invoice approval policy associated with an entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policy", + "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policy" + "approval-policy", + ":policyId" ], "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "policyId", + "description": null, + "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2315,23 +3143,29 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Create an invoice approval policy associated with an entity", + "description": "Update an invoice approval policy associated with an entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policy", + "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policy" + "approval-policy", + ":policyId" ], "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "policyId", + "description": null, + "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2363,23 +3197,29 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Create an invoice approval policy associated with an entity", + "description": "Update an invoice approval policy associated with an entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policy", + "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policy" + "approval-policy", + ":policyId" ], "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + }, + { + "key": "policyId", + "description": null, + "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2410,9 +3250,9 @@ }, { "_type": "endpoint", - "name": "Get", + "name": "Delete", "request": { - "description": "Retrieve an invoice approval policy associated with an entity", + "description": "Delete an invoice approval policy associated with Entity. BEWARE: Any approval policy deletion will result in all associated downstream policies also being deleted.", "url": { "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", "host": [ @@ -2428,7 +3268,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -2445,7 +3285,7 @@ "value": "application/json" } ], - "method": "GET", + "method": "DELETE", "auth": null, "body": null }, @@ -2455,7 +3295,7 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Retrieve an invoice approval policy associated with an entity", + "description": "Delete an invoice approval policy associated with Entity. BEWARE: Any approval policy deletion will result in all associated downstream policies also being deleted.", "url": { "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", "host": [ @@ -2471,7 +3311,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -2488,42 +3328,115 @@ "value": "application/json" } ], - "method": "GET", + "method": "DELETE", "auth": null, "body": null }, "description": null, - "body": "{\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", + "body": "", "_postman_previewlanguage": "json" + } + ] + } + ] + }, + { + "_type": "container", + "description": null, + "name": "Counterparty", + "item": [ + { + "_type": "endpoint", + "name": "Find payee counterparties", + "request": { + "description": "Find payee counterparties. This endpoint lets you find vendors linked to the entity.", + "url": { + "raw": "{{baseUrl}}/entity/:entityId/counterparties/payees?name=Big+Box&paymentMethods=true&invoiceMetrics=true", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "entity", + ":entityId", + "counterparties", + "payees" + ], + "query": [ + { + "key": "name", + "description": "Filter by counterparty name", + "value": "Big Box" + }, + { + "key": "paymentMethods", + "description": "If true, will include counterparty payment methods as part of the response", + "value": "true" + }, + { + "key": "invoiceMetrics", + "description": "If true, will include counterparty invoice metrics as part of the response", + "value": "true" + } + ], + "variable": [ + { + "key": "entityId", + "description": "Entity ID or Entity ForeignID", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ] }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "response": [ { "name": "Success", "status": "OK", "code": 200, "originalRequest": { - "description": "Retrieve an invoice approval policy associated with an entity", + "description": "Find payee counterparties. This endpoint lets you find vendors linked to the entity.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", + "raw": "{{baseUrl}}/entity/:entityId/counterparties/payees?name=Big+Box&paymentMethods=true&invoiceMetrics=true", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policy", - ":policyId" + "counterparties", + "payees" + ], + "query": [ + { + "key": "name", + "description": "Filter by counterparty name", + "value": "Big Box" + }, + { + "key": "paymentMethods", + "description": "If true, will include counterparty payment methods as part of the response", + "value": "true" + }, + { + "key": "invoiceMetrics", + "description": "If true, will include counterparty invoice metrics as part of the response", + "value": "true" + } ], - "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" - }, - { - "key": "policyId", - "description": null, - "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2539,38 +3452,49 @@ "body": null }, "description": null, - "body": "{\n \"id\": \"apvl_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"trigger\": [],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"userList\",\n \"value\": [\n \"usr_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"usr_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", + "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n }\n ]\n}", "_postman_previewlanguage": "json" } ] }, { "_type": "endpoint", - "name": "Update", + "name": "Find payor counterparties", "request": { - "description": "Update an invoice approval policy associated with an entity", + "description": "Find payor counterparties. This endpoint lets you find customers linked to the entity.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", + "raw": "{{baseUrl}}/entity/:entityId/counterparties/payors?name=Big+Box&paymentMethods=true&invoiceMetrics=true", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policy", - ":policyId" + "counterparties", + "payors" + ], + "query": [ + { + "key": "name", + "description": "Filter by counterparty name", + "value": "Big Box" + }, + { + "key": "paymentMethods", + "description": "If true, will include counterparty payment methods as part of the response", + "value": "true" + }, + { + "key": "invoiceMetrics", + "description": "If true, will include counterparty invoice metrics as part of the response", + "value": "true" + } ], - "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" - }, - { - "key": "policyId", - "description": null, - "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2581,17 +3505,9 @@ "value": "application/json" } ], - "method": "POST", + "method": "GET", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\"\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "response": [ { @@ -2599,83 +3515,40 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Update an invoice approval policy associated with an entity", + "description": "Find payor counterparties. This endpoint lets you find customers linked to the entity.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", + "raw": "{{baseUrl}}/entity/:entityId/counterparties/payors?name=Big+Box&paymentMethods=true&invoiceMetrics=true", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policy", - ":policyId" + "counterparties", + "payors" ], - "query": [], - "variable": [ + "query": [ { - "key": "entityId", - "description": null, - "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + "key": "name", + "description": "Filter by counterparty name", + "value": "Big Box" }, { - "key": "policyId", - "description": null, - "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" - } - ] - }, - "header": [ - { - "type": "text", - "key": "Content-Type", - "value": "application/json" - } - ], - "method": "POST", - "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\"\n}", - "options": { - "raw": { - "language": "json" + "key": "paymentMethods", + "description": "If true, will include counterparty payment methods as part of the response", + "value": "true" + }, + { + "key": "invoiceMetrics", + "description": "If true, will include counterparty invoice metrics as part of the response", + "value": "true" } - } - } - }, - "description": null, - "body": "{\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", - "_postman_previewlanguage": "json" - }, - { - "name": "Success", - "status": "OK", - "code": 200, - "originalRequest": { - "description": "Update an invoice approval policy associated with an entity", - "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", - "host": [ - "{{baseUrl}}" - ], - "path": [ - "entity", - ":entityId", - "approval-policy", - ":policyId" ], - "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" - }, - { - "key": "policyId", - "description": null, - "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2686,51 +3559,37 @@ "value": "application/json" } ], - "method": "POST", + "method": "GET", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"trigger\": [],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"userList\",\n \"value\": [\n \"usr_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"usr_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\"\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "description": null, - "body": "{\n \"id\": \"apvl_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"trigger\": [],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"userList\",\n \"value\": [\n \"usr_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"usr_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n}", + "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n }\n ]\n}", "_postman_previewlanguage": "json" } ] }, { "_type": "endpoint", - "name": "Delete", + "name": "Link Payees", "request": { - "description": "Delete an invoice approval policy associated with Entity. BEWARE: Any approval policy deletion will result in all associated downstream policies also being deleted.", + "description": "Create association between Entity and a given list of Payees. If a Payee has previously been archived, unarchive the Payee.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", + "raw": "{{baseUrl}}/entity/:entityId/addPayees", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policy", - ":policyId" + "addPayees" ], "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" - }, - { - "key": "policyId", - "description": null, - "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2741,9 +3600,17 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"payees\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ],\n \"customizations\": [\n {\n \"counterpartyId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ]\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "response": [ { @@ -2751,29 +3618,23 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Delete an invoice approval policy associated with Entity. BEWARE: Any approval policy deletion will result in all associated downstream policies also being deleted.", + "description": "Create association between Entity and a given list of Payees. If a Payee has previously been archived, unarchive the Payee.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/approval-policy/:policyId", + "raw": "{{baseUrl}}/entity/:entityId/addPayees", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "approval-policy", - ":policyId" + "addPayees" ], "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" - }, - { - "key": "policyId", - "description": null, - "value": "apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c" } ] }, @@ -2784,60 +3645,44 @@ "value": "application/json" } ], - "method": "DELETE", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"payees\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ],\n \"customizations\": [\n {\n \"counterpartyId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ]\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "description": null, "body": "", "_postman_previewlanguage": "json" } ] - } - ] - }, - { - "_type": "container", - "description": null, - "name": "Counterparty", - "item": [ + }, { "_type": "endpoint", - "name": "Find payee counterparties", + "name": "Hide Payee", "request": { - "description": "Find payee counterparties. This endpoint lets you find vendors linked to the entity.", + "description": "Marks Payees as unsearchable by Entity via Counterparty search. Invoices associated with these Payees will still be searchable via Invoice search.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/counterparties/payees?name=Big+Box&paymentMethods=true&invoiceMetrics=true", + "raw": "{{baseUrl}}/entity/:entityId/hidePayees", "host": [ "{{baseUrl}}" ], "path": [ "entity", - ":entityId", - "counterparties", - "payees" - ], - "query": [ - { - "key": "name", - "description": "Filter by counterparty name", - "value": "Big Box" - }, - { - "key": "paymentMethods", - "description": "If true, will include counterparty payment methods as part of the response", - "value": "true" - }, - { - "key": "invoiceMetrics", - "description": "If true, will include counterparty invoice metrics as part of the response", - "value": "true" - } + ":entityId", + "hidePayees" ], + "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -2849,9 +3694,17 @@ "value": "application/json" } ], - "method": "GET", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"payees\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "response": [ { @@ -2859,39 +3712,22 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Find payee counterparties. This endpoint lets you find vendors linked to the entity.", + "description": "Marks Payees as unsearchable by Entity via Counterparty search. Invoices associated with these Payees will still be searchable via Invoice search.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/counterparties/payees?name=Big+Box&paymentMethods=true&invoiceMetrics=true", + "raw": "{{baseUrl}}/entity/:entityId/hidePayees", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "counterparties", - "payees" - ], - "query": [ - { - "key": "name", - "description": "Filter by counterparty name", - "value": "Big Box" - }, - { - "key": "paymentMethods", - "description": "If true, will include counterparty payment methods as part of the response", - "value": "true" - }, - { - "key": "invoiceMetrics", - "description": "If true, will include counterparty invoice metrics as part of the response", - "value": "true" - } + "hidePayees" ], + "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -2903,53 +3739,44 @@ "value": "application/json" } ], - "method": "GET", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"payees\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "description": null, - "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n }\n ]\n}", + "body": "", "_postman_previewlanguage": "json" } ] }, { "_type": "endpoint", - "name": "Find payor counterparties", + "name": "Link Payors", "request": { - "description": "Find payor counterparties. This endpoint lets you find customers linked to the entity.", + "description": "Create association between Entity and a given list of Payors. If a Payor has previously been archived, unarchive the Payor.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/counterparties/payors?name=Big+Box&paymentMethods=true&invoiceMetrics=true", + "raw": "{{baseUrl}}/entity/:entityId/addPayors", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "counterparties", - "payors" - ], - "query": [ - { - "key": "name", - "description": "Filter by counterparty name", - "value": "Big Box" - }, - { - "key": "paymentMethods", - "description": "If true, will include counterparty payment methods as part of the response", - "value": "true" - }, - { - "key": "invoiceMetrics", - "description": "If true, will include counterparty invoice metrics as part of the response", - "value": "true" - } + "addPayors" ], + "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -2961,9 +3788,17 @@ "value": "application/json" } ], - "method": "GET", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"payors\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ],\n \"customizations\": [\n {\n \"counterpartyId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ]\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "response": [ { @@ -2971,39 +3806,22 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Find payor counterparties. This endpoint lets you find customers linked to the entity.", + "description": "Create association between Entity and a given list of Payors. If a Payor has previously been archived, unarchive the Payor.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/counterparties/payors?name=Big+Box&paymentMethods=true&invoiceMetrics=true", + "raw": "{{baseUrl}}/entity/:entityId/addPayors", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "counterparties", - "payors" - ], - "query": [ - { - "key": "name", - "description": "Filter by counterparty name", - "value": "Big Box" - }, - { - "key": "paymentMethods", - "description": "If true, will include counterparty payment methods as part of the response", - "value": "true" - }, - { - "key": "invoiceMetrics", - "description": "If true, will include counterparty invoice metrics as part of the response", - "value": "true" - } + "addPayors" ], + "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3015,36 +3833,44 @@ "value": "application/json" } ], - "method": "GET", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"payors\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ],\n \"customizations\": [\n {\n \"counterpartyId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ]\n }\n ]\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "description": null, - "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n }\n ]\n}", + "body": "", "_postman_previewlanguage": "json" } ] }, { "_type": "endpoint", - "name": "Link Payees", + "name": "Hide Payors", "request": { - "description": "Create association between Entity and a given list of Payees. If a Payee has previously been archived, unarchive the Payee.", + "description": "Marks Payors as unsearchable by Entity via Counterparty search. Invoices associated with these Payors will still be searchable via Invoice search.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/addPayees", + "raw": "{{baseUrl}}/entity/:entityId/hidePayors", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "addPayees" + "hidePayors" ], "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3060,7 +3886,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"payees\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ],\n \"customizations\": [\n {\n \"counterpartyId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"accountId\": \"85866843\"\n }\n ]\n}", + "raw": "{\n \"payors\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n}", "options": { "raw": { "language": "json" @@ -3074,22 +3900,22 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Create association between Entity and a given list of Payees. If a Payee has previously been archived, unarchive the Payee.", + "description": "Marks Payors as unsearchable by Entity via Counterparty search. Invoices associated with these Payors will still be searchable via Invoice search.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/addPayees", + "raw": "{{baseUrl}}/entity/:entityId/hidePayors", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "addPayees" + "hidePayors" ], "query": [], "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3105,7 +3931,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"payees\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ],\n \"customizations\": [\n {\n \"counterpartyId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"accountId\": \"85866843\"\n }\n ]\n}", + "raw": "{\n \"payors\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n}", "options": { "raw": { "language": "json" @@ -3118,28 +3944,35 @@ "_postman_previewlanguage": "json" } ] - }, + } + ] + }, + { + "_type": "container", + "description": null, + "name": "Customization", + "item": [ { "_type": "endpoint", - "name": "Hide Payee", + "name": "Get", "request": { - "description": "Marks Payees as unsearchable by Entity via Counterparty search. Invoices associated with these Payees will still be searchable via Invoice search.", + "description": "Get entity customization.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/hidePayees", + "raw": "{{baseUrl}}/entity/:entityId/customization", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "hidePayees" + "customization" ], "query": [], "variable": [ { "key": "entityId", - "description": null, - "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + "description": "Entity ID or Entity ForeignID", + "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] }, @@ -3150,17 +3983,9 @@ "value": "application/json" } ], - "method": "POST", + "method": "GET", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"payees\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "response": [ { @@ -3168,23 +3993,23 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Marks Payees as unsearchable by Entity via Counterparty search. Invoices associated with these Payees will still be searchable via Invoice search.", + "description": "Get entity customization.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/hidePayees", + "raw": "{{baseUrl}}/entity/:entityId/customization", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "hidePayees" + "customization" ], "query": [], "variable": [ { "key": "entityId", - "description": null, - "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + "description": "Entity ID or Entity ForeignID", + "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] }, @@ -3195,45 +4020,37 @@ "value": "application/json" } ], - "method": "POST", + "method": "GET", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"payees\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "description": null, - "body": "", + "body": "{\n \"metadata\": [\n {\n \"key\": \"my_custom_field\",\n \"disabled\": true\n },\n {\n \"key\": \"my_other_field\",\n \"disabled\": false\n }\n ],\n \"paymentSource\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"custom\",\n \"schemaId\": \"cpms_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"disabled\": true\n }\n ],\n \"backupDisbursement\": [\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ],\n \"paymentDestination\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ]\n}", "_postman_previewlanguage": "json" } ] }, { "_type": "endpoint", - "name": "Link Payors", + "name": "Update", "request": { - "description": "Create association between Entity and a given list of Payors. If a Payor has previously been archived, unarchive the Payor.", + "description": "Update entity customization. This lets you turn off metadata and payment methods for an entity.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/addPayors", + "raw": "{{baseUrl}}/entity/:entityId/customization", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "addPayors" + "customization" ], "query": [], "variable": [ { "key": "entityId", - "description": null, - "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + "description": "Entity ID or Entity ForeignID", + "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] }, @@ -3248,7 +4065,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"payors\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ],\n \"customizations\": [\n {\n \"counterpartyId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"accountId\": \"85866843\"\n }\n ]\n}", + "raw": "{\n \"metadata\": [\n {\n \"key\": \"my_custom_field\",\n \"disabled\": true\n },\n {\n \"key\": \"my_other_field\",\n \"disabled\": false\n }\n ],\n \"paymentSource\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"custom\",\n \"schemaId\": \"cpms_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"disabled\": true\n }\n ],\n \"backupDisbursement\": [\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ],\n \"paymentDestination\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ]\n}", "options": { "raw": { "language": "json" @@ -3262,23 +4079,23 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Create association between Entity and a given list of Payors. If a Payor has previously been archived, unarchive the Payor.", + "description": "Update entity customization. This lets you turn off metadata and payment methods for an entity.", "url": { - "raw": "{{baseUrl}}/entity/:entityId/addPayors", + "raw": "{{baseUrl}}/entity/:entityId/customization", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "addPayors" + "customization" ], "query": [], "variable": [ { "key": "entityId", - "description": null, - "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + "description": "Entity ID or Entity ForeignID", + "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] }, @@ -3293,7 +4110,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"payors\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ],\n \"customizations\": [\n {\n \"counterpartyId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"accountId\": \"85866843\"\n }\n ]\n}", + "raw": "{\n \"metadata\": [\n {\n \"key\": \"my_custom_field\",\n \"disabled\": true\n },\n {\n \"key\": \"my_other_field\",\n \"disabled\": false\n }\n ],\n \"paymentSource\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"custom\",\n \"schemaId\": \"cpms_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"disabled\": true\n }\n ],\n \"backupDisbursement\": [\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ],\n \"paymentDestination\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ]\n}", "options": { "raw": { "language": "json" @@ -3302,32 +4119,39 @@ } }, "description": null, - "body": "", + "body": "{\n \"metadata\": [\n {\n \"key\": \"my_custom_field\",\n \"disabled\": true\n },\n {\n \"key\": \"my_other_field\",\n \"disabled\": false\n }\n ],\n \"paymentSource\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"custom\",\n \"schemaId\": \"cpms_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"disabled\": true\n }\n ],\n \"backupDisbursement\": [\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ],\n \"paymentDestination\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ]\n}", "_postman_previewlanguage": "json" } ] - }, + } + ] + }, + { + "_type": "container", + "description": null, + "name": "Document", + "item": [ { "_type": "endpoint", - "name": "Hide Payors", + "name": "Get Documents", "request": { - "description": "Marks Payors as unsearchable by Entity via Counterparty search. Invoices associated with these Payors will still be searchable via Invoice search.", + "description": "Get documents (1099/W9) associated with this entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/hidePayors", + "raw": "{{baseUrl}}/entity/:entityId/documents", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "hidePayors" + "documents" ], "query": [], "variable": [ { "key": "entityId", "description": null, - "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + "value": "ent_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] }, @@ -3338,17 +4162,9 @@ "value": "application/json" } ], - "method": "POST", + "method": "GET", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"payors\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "response": [ { @@ -3356,23 +4172,23 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Marks Payors as unsearchable by Entity via Counterparty search. Invoices associated with these Payors will still be searchable via Invoice search.", + "description": "Get documents (1099/W9) associated with this entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/hidePayors", + "raw": "{{baseUrl}}/entity/:entityId/documents", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "hidePayors" + "documents" ], "query": [], "variable": [ { "key": "entityId", "description": null, - "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + "value": "ent_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] }, @@ -3383,52 +4199,37 @@ "value": "application/json" } ], - "method": "POST", + "method": "GET", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"payors\": [\n \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\"\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "description": null, - "body": "", + "body": "[\n {\n \"id\": \"doc_37e6af0a-e637-48fd-b825-d6947b38c4e2\",\n \"mimeType\": \"application/pdf\",\n \"uri\": \"https://mercoa.com/pdf/not-real.pdf\",\n \"type\": \"TEN_NINETY_NINE\"\n }\n]", "_postman_previewlanguage": "json" } ] - } - ] - }, - { - "_type": "container", - "description": null, - "name": "Customization", - "item": [ + }, { "_type": "endpoint", - "name": "Get", + "name": "Upload Document", "request": { - "description": "Get entity customization.", + "description": "Upload documents associated with this entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/customization", + "raw": "{{baseUrl}}/entity/:entityId/document", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "customization" + "document" ], "query": [], "variable": [ { "key": "entityId", "description": null, - "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" + "value": "ent_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] }, @@ -3439,9 +4240,17 @@ "value": "application/json" } ], - "method": "GET", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"document\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII\",\n \"type\": \"TEN_NINETY_NINE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "response": [ { @@ -3449,23 +4258,23 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Get entity customization.", + "description": "Upload documents associated with this entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/customization", + "raw": "{{baseUrl}}/entity/:entityId/document", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "customization" + "document" ], "query": [], "variable": [ { "key": "entityId", "description": null, - "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" + "value": "ent_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] }, @@ -3476,37 +4285,51 @@ "value": "application/json" } ], - "method": "GET", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"document\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII\",\n \"type\": \"TEN_NINETY_NINE\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "description": null, - "body": "{\n \"metadata\": [\n {\n \"key\": \"my_custom_field\",\n \"disabled\": true\n },\n {\n \"key\": \"my_other_field\",\n \"disabled\": false\n }\n ],\n \"paymentSource\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"custom\",\n \"schemaId\": \"cpms_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"disabled\": true\n }\n ],\n \"backupDisbursement\": [\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ],\n \"paymentDestination\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ]\n}", + "body": "", "_postman_previewlanguage": "json" } ] }, { "_type": "endpoint", - "name": "Update", + "name": "Delete Document", "request": { - "description": "Update entity customization. This lets you turn off metadata and payment methods for an entity.", + "description": "Delete a document associated with this entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/customization", + "raw": "{{baseUrl}}/entity/:entityId/document/:documentId", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "customization" + "document", + ":documentId" ], "query": [], "variable": [ { "key": "entityId", "description": null, - "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" + "value": "ent_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" + }, + { + "key": "documentId", + "description": null, + "value": "doc_37e6af0a-e637-48fd-b825-d6947b38c4e2" } ] }, @@ -3517,17 +4340,9 @@ "value": "application/json" } ], - "method": "POST", + "method": "DELETE", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"metadata\": [\n {\n \"key\": \"my_custom_field\",\n \"disabled\": true\n },\n {\n \"key\": \"my_other_field\",\n \"disabled\": false\n }\n ],\n \"paymentSource\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"custom\",\n \"schemaId\": \"cpms_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"disabled\": true\n }\n ],\n \"backupDisbursement\": [\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ],\n \"paymentDestination\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "response": [ { @@ -3535,23 +4350,29 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Update entity customization. This lets you turn off metadata and payment methods for an entity.", + "description": "Delete a document associated with this entity", "url": { - "raw": "{{baseUrl}}/entity/:entityId/customization", + "raw": "{{baseUrl}}/entity/:entityId/document/:documentId", "host": [ "{{baseUrl}}" ], "path": [ "entity", ":entityId", - "customization" + "document", + ":documentId" ], "query": [], "variable": [ { "key": "entityId", "description": null, - "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" + "value": "ent_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" + }, + { + "key": "documentId", + "description": null, + "value": "doc_37e6af0a-e637-48fd-b825-d6947b38c4e2" } ] }, @@ -3562,20 +4383,12 @@ "value": "application/json" } ], - "method": "POST", + "method": "DELETE", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"metadata\": [\n {\n \"key\": \"my_custom_field\",\n \"disabled\": true\n },\n {\n \"key\": \"my_other_field\",\n \"disabled\": false\n }\n ],\n \"paymentSource\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"custom\",\n \"schemaId\": \"cpms_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"disabled\": true\n }\n ],\n \"backupDisbursement\": [\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ],\n \"paymentDestination\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ]\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "description": null, - "body": "{\n \"metadata\": [\n {\n \"key\": \"my_custom_field\",\n \"disabled\": true\n },\n {\n \"key\": \"my_other_field\",\n \"disabled\": false\n }\n ],\n \"paymentSource\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"custom\",\n \"schemaId\": \"cpms_7df2974a-4069-454c-912f-7e58ebe030fb\",\n \"disabled\": true\n }\n ],\n \"backupDisbursement\": [\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ],\n \"paymentDestination\": [\n {\n \"type\": \"bankAccount\",\n \"disabled\": true\n },\n {\n \"type\": \"check\",\n \"disabled\": true\n }\n ]\n}", + "body": "", "_postman_previewlanguage": "json" } ] @@ -3606,7 +4419,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3643,7 +4456,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3685,7 +4498,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3731,7 +4544,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3781,7 +4594,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3819,7 +4632,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3877,7 +4690,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -3931,7 +4744,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -4000,7 +4813,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -4058,7 +4871,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -4075,7 +4888,7 @@ "body": null }, "description": null, - "body": "{\n \"count\": 10,\n \"hasMore\": true,\n \"data\": [\n {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ]\n}", + "body": "{\n \"count\": 10,\n \"hasMore\": true,\n \"data\": [\n {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ]\n}", "_postman_previewlanguage": "json" } ] @@ -4108,12 +4921,12 @@ }, { "key": "createdDateStart", - "description": "Start date for invoice created on date filter.", + "description": "DEPRECATED. Use startDate, endDate, and dateType instead. Start date for invoice created on date filter.", "value": "2021-01-01T00:00:00.000Z" }, { "key": "createdDateEnd", - "description": "End date for invoice created date filter.", + "description": "DEPRECATED. Use startDate, endDate, and dateType instead. End date for invoice created date filter.", "value": "2021-01-31T23:59:59.999Z" }, { @@ -4130,7 +4943,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -4176,12 +4989,12 @@ }, { "key": "createdDateStart", - "description": "Start date for invoice created on date filter.", + "description": "DEPRECATED. Use startDate, endDate, and dateType instead. Start date for invoice created on date filter.", "value": "2021-01-01T00:00:00.000Z" }, { "key": "createdDateEnd", - "description": "End date for invoice created date filter.", + "description": "DEPRECATED. Use startDate, endDate, and dateType instead. End date for invoice created date filter.", "value": "2021-01-31T23:59:59.999Z" }, { @@ -4198,7 +5011,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -4246,7 +5059,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -4283,7 +5096,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -4325,7 +5138,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -4368,7 +5181,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -4414,7 +5227,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -4461,7 +5274,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -4512,7 +5325,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -4566,7 +5379,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -4621,7 +5434,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -4664,7 +5477,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" }, { @@ -4717,7 +5530,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -4754,7 +5567,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -4771,7 +5584,7 @@ "body": null }, "description": null, - "body": "[\n {\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"approver\"\n ],\n \"type\": \"INVOICE_APPROVAL_NEEDED\"\n },\n {\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"bookkeeper\"\n ],\n \"type\": \"INVOICE_APPROVED\"\n }\n]", + "body": "[\n {\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"approver\"\n ],\n \"type\": \"INVOICE_APPROVAL_NEEDED\",\n \"notifyPayeeCounterparty\": true,\n \"notifyPayorCounterparty\": true\n },\n {\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"bookkeeper\"\n ],\n \"type\": \"INVOICE_APPROVED\",\n \"notifyPayeeCounterparty\": false,\n \"notifyPayorCounterparty\": true\n }\n]", "_postman_previewlanguage": "json" } ] @@ -4796,7 +5609,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -4839,7 +5652,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -4861,7 +5674,7 @@ "body": null }, "description": null, - "body": "{\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"approver\"\n ],\n \"type\": \"INVOICE_APPROVAL_NEEDED\"\n}", + "body": "{\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"approver\"\n ],\n \"type\": \"INVOICE_APPROVAL_NEEDED\",\n \"notifyPayeeCounterparty\": true,\n \"notifyPayorCounterparty\": true\n}", "_postman_previewlanguage": "json" }, { @@ -4885,7 +5698,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -4907,7 +5720,7 @@ "body": null }, "description": null, - "body": "{\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"bookkeeper\"\n ],\n \"type\": \"INVOICE_APPROVED\"\n}", + "body": "{\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"bookkeeper\"\n ],\n \"type\": \"INVOICE_APPROVED\",\n \"notifyPayeeCounterparty\": false,\n \"notifyPayorCounterparty\": true\n}", "_postman_previewlanguage": "json" } ] @@ -4932,7 +5745,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -4983,7 +5796,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -5013,7 +5826,7 @@ } }, "description": null, - "body": "{\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"approver\"\n ],\n \"type\": \"INVOICE_APPROVAL_NEEDED\"\n}", + "body": "{\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"approver\"\n ],\n \"type\": \"INVOICE_APPROVAL_NEEDED\",\n \"notifyPayeeCounterparty\": true,\n \"notifyPayorCounterparty\": true\n}", "_postman_previewlanguage": "json" }, { @@ -5037,7 +5850,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -5067,7 +5880,7 @@ } }, "description": null, - "body": "{\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"bookkeeper\"\n ],\n \"type\": \"INVOICE_APPROVED\"\n}", + "body": "{\n \"disabled\": false,\n \"additionalRoles\": [\n \"admin\",\n \"bookkeeper\"\n ],\n \"type\": \"INVOICE_APPROVED\",\n \"notifyPayeeCounterparty\": false,\n \"notifyPayorCounterparty\": true\n}", "_postman_previewlanguage": "json" }, { @@ -5091,7 +5904,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -5121,7 +5934,7 @@ } }, "description": null, - "body": "{\n \"disabled\": true,\n \"additionalRoles\": [],\n \"type\": \"INVOICE_APPROVED\"\n}", + "body": "{\n \"disabled\": true,\n \"additionalRoles\": [],\n \"type\": \"INVOICE_APPROVED\",\n \"notifyPayeeCounterparty\": true,\n \"notifyPayorCounterparty\": false\n}", "_postman_previewlanguage": "json" } ] @@ -5152,7 +5965,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -5189,7 +6002,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -5206,7 +6019,7 @@ "body": null }, "description": null, - "body": "[\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n]", + "body": "[\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n]", "_postman_previewlanguage": "json" }, { @@ -5235,7 +6048,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -5252,7 +6065,7 @@ "body": null }, "description": null, - "body": "[\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n]", + "body": "[\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n]", "_postman_previewlanguage": "json" } ] @@ -5276,7 +6089,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -5321,7 +6134,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -5346,7 +6159,7 @@ } }, "description": null, - "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" }, { @@ -5369,7 +6182,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -5394,7 +6207,7 @@ } }, "description": null, - "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"checkOptions\": {\n \"enabled\": true,\n \"initialCheckNumber\": 5000,\n \"signatoryName\": \"John Doe\"\n }\n}", + "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"checkOptions\": {\n \"enabled\": true,\n \"initialCheckNumber\": 5000,\n \"signatoryName\": \"John Doe\"\n }\n}", "_postman_previewlanguage": "json" }, { @@ -5417,7 +6230,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d" } ] @@ -5442,7 +6255,7 @@ } }, "description": null, - "body": "{\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" }, { @@ -5465,7 +6278,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d" } ] @@ -5490,7 +6303,7 @@ } }, "description": null, - "body": "{\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" }, { @@ -5513,7 +6326,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_21661ac1-a2a8-4465-a6c0-64474ba8181d" } ] @@ -5538,7 +6351,7 @@ } }, "description": null, - "body": "{\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"custom\",\n \"foreignId\": \"DB_FOREIGN_ID\",\n \"accountName\": \"Vendor Wire Account\",\n \"accountNumber\": \"123456789\",\n \"schemaId\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"schema\": {\n \"id\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 0,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"data\": {\n \"bankName\": \"Chase\",\n \"recipientName\": \"John Doe\",\n \"routingNumber\": \"123456789\",\n \"accountNumber\": \"99988767623\"\n },\n \"isDefaultSource\": false,\n \"isDefaultDestination\": false,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"custom\",\n \"foreignId\": \"DB_FOREIGN_ID\",\n \"accountName\": \"Vendor Wire Account\",\n \"accountNumber\": \"123456789\",\n \"schemaId\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"schema\": {\n \"id\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 0,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"data\": {\n \"bankName\": \"Chase\",\n \"recipientName\": \"John Doe\",\n \"routingNumber\": \"123456789\",\n \"accountNumber\": \"99988767623\"\n },\n \"isDefaultSource\": false,\n \"isDefaultDestination\": false,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -5563,12 +6376,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -5606,12 +6419,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -5628,7 +6441,7 @@ "body": null }, "description": null, - "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -5653,12 +6466,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -5704,12 +6517,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -5734,7 +6547,7 @@ } }, "description": null, - "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -5759,12 +6572,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -5802,12 +6615,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -5850,12 +6663,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -5894,12 +6707,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -5916,7 +6729,7 @@ "body": null }, "description": null, - "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -5942,12 +6755,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -5994,12 +6807,12 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { "key": "paymentMethodId", - "description": null, + "description": "Payment Method ID or Payment Method ForeignID", "value": "pm_4794d597-70dc-4fec-b6ec-c5988e759769" } ] @@ -6024,7 +6837,7 @@ } }, "description": null, - "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -6051,12 +6864,12 @@ { "key": "entityId", "value": "", - "description": null + "description": "Entity ID or Entity ForeignID" }, { "key": "paymentMethodId", "value": "", - "description": null + "description": "Payment Method ID or Payment Method ForeignID" } ] }, @@ -6093,7 +6906,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -6130,7 +6943,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -6171,7 +6984,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -6216,7 +7029,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -6266,7 +7079,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -6309,7 +7122,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -6356,7 +7169,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -6399,7 +7212,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" }, { @@ -6517,7 +7330,7 @@ "body": null }, "description": null, - "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ]\n }\n ]\n}", + "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ]\n }\n ]\n}", "_postman_previewlanguage": "json" } ] @@ -6658,7 +7471,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -6694,7 +7507,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -6734,7 +7547,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -6778,7 +7591,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -6827,7 +7640,7 @@ { "key": "entityId", "value": "", - "description": null + "description": "Entity ID or Entity ForeignID" } ] }, @@ -6857,7 +7670,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -6894,7 +7707,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -6935,7 +7748,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -6972,7 +7785,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -7013,7 +7826,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -7058,7 +7871,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -7114,7 +7927,7 @@ { "key": "entityId", "value": "", - "description": null + "description": "Entity ID or Entity ForeignID" } ] }, @@ -7155,7 +7968,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -7203,7 +8016,7 @@ "variable": [ { "key": "entityId", - "description": null, + "description": "Entity ID or Entity ForeignID", "value": "ent_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -7259,26 +8072,139 @@ ], "variable": [ { - "key": "entityId", - "value": "", - "description": null + "key": "entityId", + "value": "", + "description": "Entity ID or Entity ForeignID" + } + ] + }, + "header": [], + "method": "POST", + "auth": null, + "body": null + }, + "response": [] + } + ] + }, + { + "_type": "container", + "description": null, + "name": "Invoice", + "item": [ + { + "_type": "container", + "description": null, + "name": "Line Item", + "item": [ + { + "_type": "endpoint", + "name": "Update invoice line item", + "request": { + "description": "Update invoice line item", + "url": { + "raw": "{{baseUrl}}/invoice/:invoiceId/line-item/:lineItemId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "invoice", + ":invoiceId", + "line-item", + ":lineItemId" + ], + "query": [], + "variable": [ + { + "key": "invoiceId", + "description": "Invoice ID", + "value": "in_d8f68285-1c6d-4d5a-a9e3-252c3180fac4" + }, + { + "key": "lineItemId", + "description": "Invoice Line Item ID", + "value": "inli_8aa84cb8-2ae7-4579-8fa3-87586e7c14a7" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "PUT", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Product A\",\n \"description\": \"Product A\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Update invoice line item", + "url": { + "raw": "{{baseUrl}}/invoice/:invoiceId/line-item/:lineItemId", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "invoice", + ":invoiceId", + "line-item", + ":lineItemId" + ], + "query": [], + "variable": [ + { + "key": "invoiceId", + "description": "Invoice ID", + "value": "in_d8f68285-1c6d-4d5a-a9e3-252c3180fac4" + }, + { + "key": "lineItemId", + "description": "Invoice Line Item ID", + "value": "inli_8aa84cb8-2ae7-4579-8fa3-87586e7c14a7" + } + ] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "PUT", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"name\": \"Product A\",\n \"description\": \"Product A\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "description": null, + "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "_postman_previewlanguage": "json" } ] - }, - "header": [], - "method": "POST", - "auth": null, - "body": null - }, - "response": [] - } - ] - }, - { - "_type": "container", - "description": null, - "name": "Invoice", - "item": [ + } + ] + }, { "_type": "container", "description": null, @@ -7303,7 +8229,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7348,7 +8274,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7397,7 +8323,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7442,7 +8368,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7491,7 +8417,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7536,7 +8462,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7592,7 +8518,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7629,7 +8555,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7670,7 +8596,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7715,7 +8641,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" } ] @@ -7765,7 +8691,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" }, { @@ -7808,7 +8734,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" }, { @@ -7855,7 +8781,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" }, { @@ -7906,7 +8832,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" }, { @@ -7961,7 +8887,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" }, { @@ -8004,7 +8930,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_3d61faa9-1754-4b7b-9fcb-88ff97f368ff" }, { @@ -8057,7 +8983,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8094,7 +9020,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8111,7 +9037,7 @@ "body": null }, "description": null, - "body": "[\n {\n \"id\": \"doc_37e6af0a-e637-48fd-b825-d6947b38c4e2\",\n \"mimeType\": \"application/pdf\",\n \"uri\": \"https://mercoa.com/pdf/not-real.pdf\"\n }\n]", + "body": "[\n {\n \"id\": \"doc_37e6af0a-e637-48fd-b825-d6947b38c4e2\",\n \"mimeType\": \"application/pdf\",\n \"uri\": \"https://mercoa.com/pdf/not-real.pdf\",\n \"type\": \"INVOICE\"\n }\n]", "_postman_previewlanguage": "json" } ] @@ -8135,7 +9061,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8180,7 +9106,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8230,7 +9156,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" }, { @@ -8273,7 +9199,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" }, { @@ -8320,7 +9246,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8358,7 +9284,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8375,7 +9301,7 @@ "body": null }, "description": "Link to the PDF file. Will expire after 1 hour.", - "body": "{\n \"id\": \"doc_37e6af0a-e637-48fd-b825-d6947b38c4e2\",\n \"mimeType\": \"application/pdf\",\n \"uri\": \"https://mercoa.com/pdf/not-real.pdf\"\n}", + "body": "{\n \"id\": \"doc_37e6af0a-e637-48fd-b825-d6947b38c4e2\",\n \"mimeType\": \"application/pdf\",\n \"uri\": \"https://mercoa.com/pdf/not-real.pdf\",\n \"type\": \"INVOICE\"\n}", "_postman_previewlanguage": "json" } ] @@ -8400,7 +9326,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8438,7 +9364,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8455,7 +9381,7 @@ "body": null }, "description": "Link to the PDF file. Will expire after 1 hour.", - "body": "{\n \"id\": \"doc_37e6af0a-e637-48fd-b825-d6947b38c4e2\",\n \"mimeType\": \"application/pdf\",\n \"uri\": \"https://mercoa.com/pdf/not-real.pdf\"\n}", + "body": "{\n \"mimeType\": \"application/pdf\",\n \"uri\": \"https://mercoa.com/pdf/not-real.pdf\",\n \"type\": \"CHECK\"\n}", "_postman_previewlanguage": "json" } ] @@ -8479,7 +9405,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8516,7 +9442,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9" } ] @@ -8564,7 +9490,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -8601,7 +9527,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -8648,7 +9574,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -8691,7 +9617,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -8732,7 +9658,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -8769,7 +9695,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -8810,7 +9736,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -8847,7 +9773,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_a0f6ea94-0761-4a5e-a416-3c453cb7eced" } ] @@ -8940,7 +9866,7 @@ "body": null }, "description": null, - "body": "{\n \"count\": 10,\n \"hasMore\": true,\n \"data\": [\n {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ]\n}", + "body": "{\n \"count\": 10,\n \"hasMore\": true,\n \"data\": [\n {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ]\n}", "_postman_previewlanguage": "json" } ] @@ -9018,7 +9944,7 @@ } }, "description": null, - "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" }, { @@ -9058,7 +9984,7 @@ } }, "description": null, - "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"DRAFT\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"DRAFT\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" }, { @@ -9098,7 +10024,7 @@ } }, "description": null, - "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"NEW\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"currency\": \"USD\",\n \"amount\": 100,\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"NEW\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"currency\": \"USD\",\n \"amount\": 100,\n \"invoiceNumber\": \"INV-123\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" }, { @@ -9138,7 +10064,7 @@ } }, "description": null, - "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"SCHEDULED\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"currency\": \"USD\",\n \"amount\": 100,\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"deductionDate\": \"2021-01-29T00:00:00Z\",\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"SCHEDULED\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"currency\": \"USD\",\n \"amount\": 100,\n \"invoiceNumber\": \"INV-123\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"deductionDate\": \"2021-01-29T00:00:00Z\",\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -9161,7 +10087,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -9197,7 +10123,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -9214,7 +10140,7 @@ "body": null }, "description": null, - "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -9237,7 +10163,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -9253,7 +10179,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"status\": \"NEW\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"lineItems\": [\n {\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\"\n }\n ],\n \"creatorEntityId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"creatorUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n}", + "raw": "{\n \"status\": \"NEW\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\"\n }\n ],\n \"creatorEntityId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"creatorUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n}", "options": { "raw": { "language": "json" @@ -9281,7 +10207,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -9297,7 +10223,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"status\": \"NEW\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"lineItems\": [\n {\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\"\n }\n ],\n \"creatorEntityId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"creatorUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n}", + "raw": "{\n \"status\": \"NEW\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\"\n }\n ],\n \"creatorEntityId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"creatorUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n}", "options": { "raw": { "language": "json" @@ -9306,7 +10232,7 @@ } }, "description": null, - "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"PAID\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"deductionDate\": \"2021-01-01T00:00:00Z\",\n \"settlementDate\": \"2021-01-03T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestinationOptions\": {\n \"type\": \"check\",\n \"delivery\": \"MAIL\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [\n {\n \"id\": \"ic_b3525b66-da94-4525-9f31-426bcf657128\",\n \"text\": \"This is an approval comment\",\n \"user\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"associatedApprovalAction\": {\n \"userId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\"\n },\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [\n {\n \"approvalPolicyId\": \"apvl_5ce50275-1789-42ea-bc60-bb7e6d03635c\",\n \"approvalSlotId\": \"inap_9bb311c9-7c15-4c9e-8148-63814e0abec6\",\n \"assignedUserId\": \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\",\n \"action\": \"APPROVE\",\n \"eligibleUserIds\": [\n \"user_e24fc81c-c5ee-47e8-af42-4fe29d895506\"\n ],\n \"eligibleRoles\": [\n \"admin\"\n ],\n \"date\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvalPolicy\": [\n {\n \"id\": \"apvl_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"trigger\": [\n {\n \"type\": \"amount\",\n \"amount\": 100,\n \"currency\": \"USD\"\n }\n ],\n \"rule\": {\n \"type\": \"approver\",\n \"numApprovers\": 2,\n \"identifierList\": {\n \"type\": \"rolesList\",\n \"value\": [\n \"Admin\",\n \"Controller\"\n ]\n }\n },\n \"upstreamPolicyId\": \"root\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\"\n }\n ],\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"foreignId\": \"YOUR-DATABASE-ID\",\n \"creatorUser\": {\n \"id\": \"user_ec3aafc8-ea86-408a-a6c1-545497badbbb\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"email\": \"john.doe@acme.com\",\n \"name\": \"John Doe\",\n \"roles\": [\n \"admin\",\n \"approver\"\n ],\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"updatedAt\": \"2024-01-01T00:00:00Z\"\n },\n \"processedAt\": \"2021-01-01T00:00:00Z\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" }, { @@ -9328,7 +10254,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -9353,7 +10279,7 @@ } }, "description": null, - "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"NEW\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"currency\": \"USD\",\n \"amount\": 100,\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"NEW\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"currency\": \"USD\",\n \"amount\": 100,\n \"invoiceNumber\": \"INV-123\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" }, { @@ -9375,7 +10301,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -9400,7 +10326,7 @@ } }, "description": null, - "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"SCHEDULED\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"currency\": \"USD\",\n \"amount\": 100,\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"deductionDate\": \"2021-01-29T00:00:00Z\",\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", + "body": "{\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"SCHEDULED\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"currency\": \"USD\",\n \"amount\": 100,\n \"invoiceNumber\": \"INV-123\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentSource\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"paymentDestinationId\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"paymentDestination\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"type\": \"check\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"deductionDate\": \"2021-01-29T00:00:00Z\",\n \"paymentDestinationConfirmed\": true,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -9423,7 +10349,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -9459,7 +10385,7 @@ "variable": [ { "key": "invoiceId", - "description": null, + "description": "Invoice ID or Invoice ForeignID", "value": "inv_8545a84e-a45f-41bf-bdf1-33b42a55812c" } ] @@ -9764,24 +10690,177 @@ "item": [ { "_type": "endpoint", - "name": "Find bank", + "name": "Find bank", + "request": { + "description": "Find bank account details", + "url": { + "raw": "{{baseUrl}}/bankLookup?routingNumber=026009593", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bankLookup" + ], + "query": [ + { + "key": "routingNumber", + "description": "Routing number to validate", + "value": "026009593" + } + ], + "variable": [] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Find bank account details", + "url": { + "raw": "{{baseUrl}}/bankLookup?routingNumber=026009593", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "bankLookup" + ], + "query": [ + { + "key": "routingNumber", + "description": "Routing number to validate", + "value": "026009593" + } + ], + "variable": [] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "description": null, + "body": "{\n \"bankName\": \"Bank of America\",\n \"bankAddress\": {\n \"address\": \"123 Main St\",\n \"city\": \"Anytown\",\n \"state\": \"CA\",\n \"postalCode\": \"12345\",\n \"postalCodeExtension\": \"6789\"\n }\n}", + "_postman_previewlanguage": "json" + } + ] + } + ] + }, + { + "_type": "container", + "description": null, + "name": "Calculate", + "item": [ + { + "_type": "endpoint", + "name": "Calculate fees", + "request": { + "description": "Calculate the estimated fees associated with an payment given the amount, payment source, and disbursement method. Can be used to calculate fees for a payment before creating an invoice.", + "url": { + "raw": "{{baseUrl}}/fees", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fees" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"amount\": 100,\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentDestinationId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "response": [ + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": "Calculate the estimated fees associated with an payment given the amount, payment source, and disbursement method. Can be used to calculate fees for a payment before creating an invoice.", + "url": { + "raw": "{{baseUrl}}/fees", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "fees" + ], + "query": [], + "variable": [] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "POST", + "auth": null, + "body": { + "mode": "raw", + "raw": "{\n \"amount\": 100,\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentDestinationId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } + }, + "description": null, + "body": "{\n \"sourcePaymentMethodFee\": 0.1,\n \"sourcePlatformMarkupFee\": 0.2,\n \"destinationPaymentMethodFee\": 1,\n \"destinationPlatformMarkupFee\": 1.5\n}", + "_postman_previewlanguage": "json" + } + ] + }, + { + "_type": "endpoint", + "name": "Calculate payment timing", "request": { - "description": "Find bank account details", + "description": "Calculate the estimated payment timing given the deduction date, payment source, and disbursement method. Can be used to calculate timing for a payment.", "url": { - "raw": "{{baseUrl}}/bankLookup?routingNumber=026009593", + "raw": "{{baseUrl}}/paymentTiming", "host": [ "{{baseUrl}}" ], "path": [ - "bankLookup" - ], - "query": [ - { - "key": "routingNumber", - "description": "Routing number to validate", - "value": "026009593" - } + "paymentTiming" ], + "query": [], "variable": [] }, "header": [ @@ -9791,9 +10870,17 @@ "value": "application/json" } ], - "method": "GET", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"estimatedDeductionDate\": \"2024-01-02T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentDestinationId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "response": [ { @@ -9801,22 +10888,16 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Find bank account details", + "description": "Calculate the estimated payment timing given the deduction date, payment source, and disbursement method. Can be used to calculate timing for a payment.", "url": { - "raw": "{{baseUrl}}/bankLookup?routingNumber=026009593", + "raw": "{{baseUrl}}/paymentTiming", "host": [ "{{baseUrl}}" ], "path": [ - "bankLookup" - ], - "query": [ - { - "key": "routingNumber", - "description": "Routing number to validate", - "value": "026009593" - } + "paymentTiming" ], + "query": [], "variable": [] }, "header": [ @@ -9826,12 +10907,20 @@ "value": "application/json" } ], - "method": "GET", + "method": "POST", "auth": null, - "body": null + "body": { + "mode": "raw", + "raw": "{\n \"estimatedDeductionDate\": \"2024-01-02T00:00:00Z\",\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentDestinationId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\"\n}", + "options": { + "raw": { + "language": "json" + } + } + } }, "description": null, - "body": "{\n \"bankName\": \"Bank of America\",\n \"bankAddress\": {\n \"address\": \"123 Main St\",\n \"city\": \"Anytown\",\n \"state\": \"CA\",\n \"postalCode\": \"12345\",\n \"postalCodeExtension\": \"6789\"\n }\n}", + "body": "{\n \"estimatedProcessingDate\": \"2024-01-02T00:00:00Z\",\n \"businessDays\": 3,\n \"estimatedProcessingTime\": 3,\n \"estimatedSettlementDate\": \"2024-01-05T00:00:00Z\"\n}", "_postman_previewlanguage": "json" } ] @@ -9902,7 +10991,7 @@ "body": null }, "description": null, - "body": "[\n {\n \"id\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 0\n },\n {\n \"id\": \"cpms_14f78dcd-4614-426e-a37a-7af262431d41\",\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 7\n }\n]", + "body": "[\n {\n \"id\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 0,\n \"maxAmount\": 100000,\n \"minAmount\": 1\n },\n {\n \"id\": \"cpms_14f78dcd-4614-426e-a37a-7af262431d41\",\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 7,\n \"maxAmount\": 50000,\n \"minAmount\": 1\n }\n]", "_postman_previewlanguage": "json" } ] @@ -9935,7 +11024,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 0\n}", + "raw": "{\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 0,\n \"maxAmount\": 100000,\n \"minAmount\": 1\n}", "options": { "raw": { "language": "json" @@ -9973,7 +11062,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 0\n}", + "raw": "{\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 0,\n \"maxAmount\": 100000,\n \"minAmount\": 1\n}", "options": { "raw": { "language": "json" @@ -9982,7 +11071,7 @@ } }, "description": null, - "body": "{\n \"id\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 0\n}", + "body": "{\n \"id\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 0,\n \"maxAmount\": 100000,\n \"minAmount\": 1\n}", "_postman_previewlanguage": "json" }, { @@ -10014,7 +11103,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 7\n}", + "raw": "{\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 7,\n \"maxAmount\": 50000,\n \"minAmount\": 1\n}", "options": { "raw": { "language": "json" @@ -10023,7 +11112,7 @@ } }, "description": null, - "body": "{\n \"id\": \"cpms_14f78dcd-4614-426e-a37a-7af262431d41\",\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 7\n}", + "body": "{\n \"id\": \"cpms_14f78dcd-4614-426e-a37a-7af262431d41\",\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 7,\n \"maxAmount\": 50000,\n \"minAmount\": 1\n}", "_postman_previewlanguage": "json" } ] @@ -10063,7 +11152,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 7\n}", + "raw": "{\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 7,\n \"maxAmount\": 50000,\n \"minAmount\": 1\n}", "options": { "raw": { "language": "json" @@ -10108,7 +11197,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 7\n}", + "raw": "{\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 7,\n \"maxAmount\": 50000,\n \"minAmount\": 1\n}", "options": { "raw": { "language": "json" @@ -10117,7 +11206,7 @@ } }, "description": null, - "body": "{\n \"id\": \"cpms_14f78dcd-4614-426e-a37a-7af262431d41\",\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 7\n}", + "body": "{\n \"id\": \"cpms_14f78dcd-4614-426e-a37a-7af262431d41\",\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 7,\n \"maxAmount\": 50000,\n \"minAmount\": 1\n}", "_postman_previewlanguage": "json" }, { @@ -10156,7 +11245,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 0\n}", + "raw": "{\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"estimatedProcessingTime\": 0,\n \"maxAmount\": 100000,\n \"minAmount\": 1\n}", "options": { "raw": { "language": "json" @@ -10165,7 +11254,7 @@ } }, "description": null, - "body": "{\n \"id\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 0\n}", + "body": "{\n \"id\": \"cpms_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"name\": \"Wire\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\",\n \"EUR\"\n ],\n \"fields\": [\n {\n \"name\": \"bankName\",\n \"displayName\": \"Bank Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"recipientName\",\n \"displayName\": \"Recipient Name\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 0,\n \"maxAmount\": 100000,\n \"minAmount\": 1\n}", "_postman_previewlanguage": "json" } ] @@ -10243,7 +11332,7 @@ "body": null }, "description": null, - "body": "{\n \"id\": \"cpms_14f78dcd-4614-426e-a37a-7af262431d41\",\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 7\n}", + "body": "{\n \"id\": \"cpms_14f78dcd-4614-426e-a37a-7af262431d41\",\n \"name\": \"Check\",\n \"isSource\": false,\n \"isDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"fields\": [\n {\n \"name\": \"payToTheOrderOf\",\n \"displayName\": \"Pay To The Order Of\",\n \"type\": \"text\",\n \"optional\": false\n },\n {\n \"name\": \"accountNumber\",\n \"displayName\": \"Account Number\",\n \"type\": \"usBankAccountNumber\",\n \"optional\": false,\n \"useAsAccountNumber\": true\n },\n {\n \"name\": \"routingNumber\",\n \"displayName\": \"Routing Number\",\n \"type\": \"usBankRoutingNumber\",\n \"optional\": false\n },\n {\n \"name\": \"address\",\n \"displayName\": \"Address\",\n \"type\": \"address\",\n \"optional\": false\n }\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\",\n \"estimatedProcessingTime\": 7,\n \"maxAmount\": 50000,\n \"minAmount\": 1\n}", "_postman_previewlanguage": "json" } ] @@ -10331,20 +11420,20 @@ { "_type": "container", "description": null, - "name": "Fees", + "name": "Ocr", "item": [ { "_type": "endpoint", - "name": "Calculate fees", + "name": "Run OCR (Sync)", "request": { - "description": "Calculate the fees associated with an payment given the amount, payment source, and disbursement method. Can be used to calculate fees for a payment before creating an invoice.", + "description": "Run OCR on an Base64 encoded image or PDF. This endpoint will block until the OCR is complete.", "url": { - "raw": "{{baseUrl}}/fees", + "raw": "{{baseUrl}}/ocr", "host": [ "{{baseUrl}}" ], "path": [ - "fees" + "ocr" ], "query": [], "variable": [] @@ -10360,7 +11449,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"amount\": 100,\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentDestinationId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\"\n}", + "raw": "{\n \"vendorNetwork\": \"entity\",\n \"entityId\": \"entity_8f86116b-3b4d-4ded-99ef-3bc929d8c33c\",\n \"mimeType\": \"image/png\",\n \"image\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII\"\n}", "options": { "raw": { "language": "json" @@ -10374,14 +11463,14 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Calculate the fees associated with an payment given the amount, payment source, and disbursement method. Can be used to calculate fees for a payment before creating an invoice.", + "description": "Run OCR on an Base64 encoded image or PDF. This endpoint will block until the OCR is complete.", "url": { - "raw": "{{baseUrl}}/fees", + "raw": "{{baseUrl}}/ocr", "host": [ "{{baseUrl}}" ], "path": [ - "fees" + "ocr" ], "query": [], "variable": [] @@ -10397,7 +11486,7 @@ "auth": null, "body": { "mode": "raw", - "raw": "{\n \"amount\": 100,\n \"paymentSourceId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"paymentDestinationId\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\"\n}", + "raw": "{\n \"vendorNetwork\": \"entity\",\n \"entityId\": \"entity_8f86116b-3b4d-4ded-99ef-3bc929d8c33c\",\n \"mimeType\": \"image/png\",\n \"image\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII\"\n}", "options": { "raw": { "language": "json" @@ -10406,30 +11495,23 @@ } }, "description": null, - "body": "{\n \"sourcePaymentMethodFee\": 0.1,\n \"sourcePlatformMarkupFee\": 0.2,\n \"destinationPaymentMethodFee\": 1,\n \"destinationPlatformMarkupFee\": 1.5\n}", + "body": "{\n \"invoice\": {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"DRAFT\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestinationConfirmed\": false,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"check\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"bankAccount\": {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n}", "_postman_previewlanguage": "json" } ] - } - ] - }, - { - "_type": "container", - "description": null, - "name": "Ocr", - "item": [ + }, { "_type": "endpoint", - "name": "Run OCR (Sync)", + "name": "Run OCR (Async)", "request": { - "description": "Run OCR on an Base64 encoded image or PDF. This endpoint will block until the OCR is complete.", + "description": "Run OCR on an Base64 encoded image or PDF. This endpoint will return immediately and the OCR will be processed asynchronously.", "url": { - "raw": "{{baseUrl}}/ocr", + "raw": "{{baseUrl}}/ocr-async", "host": [ "{{baseUrl}}" ], "path": [ - "ocr" + "ocr-async" ], "query": [], "variable": [] @@ -10459,14 +11541,14 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Run OCR on an Base64 encoded image or PDF. This endpoint will block until the OCR is complete.", + "description": "Run OCR on an Base64 encoded image or PDF. This endpoint will return immediately and the OCR will be processed asynchronously.", "url": { - "raw": "{{baseUrl}}/ocr", + "raw": "{{baseUrl}}/ocr-async", "host": [ "{{baseUrl}}" ], "path": [ - "ocr" + "ocr-async" ], "query": [], "variable": [] @@ -10491,26 +11573,33 @@ } }, "description": null, - "body": "{\n \"invoice\": {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"DRAFT\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestinationConfirmed\": false,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"check\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"bankAccount\": {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n}", + "body": "{\n \"jobId\": \"ocr_8f86116b-3b4d-4ded-99ef-3bc929d8c33c\"\n}", "_postman_previewlanguage": "json" } ] }, { "_type": "endpoint", - "name": "Run OCR (Async)", + "name": "Get OCR Response (Async)", "request": { - "description": "Run OCR on an Base64 encoded image or PDF. This endpoint will return immediately and the OCR will be processed asynchronously.", + "description": "Get the status and results of an asynchronous OCR job.", "url": { - "raw": "{{baseUrl}}/ocr-async", + "raw": "{{baseUrl}}/ocr-async/:jobId", "host": [ "{{baseUrl}}" ], "path": [ - "ocr-async" + "ocr-async", + ":jobId" ], "query": [], - "variable": [] + "variable": [ + { + "key": "jobId", + "description": null, + "value": "ocr_8f86116b-3b4d-4ded-99ef-3bc929d8c33c" + } + ] }, "header": [ { @@ -10519,17 +11608,9 @@ "value": "application/json" } ], - "method": "POST", + "method": "GET", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"vendorNetwork\": \"entity\",\n \"entityId\": \"entity_8f86116b-3b4d-4ded-99ef-3bc929d8c33c\",\n \"mimeType\": \"image/png\",\n \"image\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII\"\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "response": [ { @@ -10537,17 +11618,24 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Run OCR on an Base64 encoded image or PDF. This endpoint will return immediately and the OCR will be processed asynchronously.", + "description": "Get the status and results of an asynchronous OCR job.", "url": { - "raw": "{{baseUrl}}/ocr-async", + "raw": "{{baseUrl}}/ocr-async/:jobId", "host": [ "{{baseUrl}}" ], "path": [ - "ocr-async" + "ocr-async", + ":jobId" ], "query": [], - "variable": [] + "variable": [ + { + "key": "jobId", + "description": null, + "value": "ocr_8f86116b-3b4d-4ded-99ef-3bc929d8c33c" + } + ] }, "header": [ { @@ -10556,46 +11644,38 @@ "value": "application/json" } ], - "method": "POST", + "method": "GET", "auth": null, - "body": { - "mode": "raw", - "raw": "{\n \"vendorNetwork\": \"entity\",\n \"entityId\": \"entity_8f86116b-3b4d-4ded-99ef-3bc929d8c33c\",\n \"mimeType\": \"image/png\",\n \"image\": \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAIAQMAAAD+wSzIAAAABlBMVEX///+/v7+jQ3Y5AAAADklEQVQI12P4AIX8EAgALgAD/aNpbtEAAAAASUVORK5CYII\"\n}", - "options": { - "raw": { - "language": "json" - } - } - } + "body": null }, "description": null, - "body": "{\n \"jobId\": \"ocr_8f86116b-3b4d-4ded-99ef-3bc929d8c33c\"\n}", + "body": "{\n \"jobId\": \"ocr_8f86116b-3b4d-4ded-99ef-3bc929d8c33c\",\n \"status\": \"success\",\n \"data\": {\n \"invoice\": {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"DRAFT\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"accounts\": [\n {\n \"accountId\": \"85866843\",\n \"postalCode\": \"94105\",\n \"nameOnAccount\": \"John Doe\"\n }\n ],\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestinationConfirmed\": false,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"check\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"bankAccount\": {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n }\n}", "_postman_previewlanguage": "json" } ] - }, + } + ] + }, + { + "_type": "container", + "description": null, + "name": "Payment Methods", + "item": [ { "_type": "endpoint", - "name": "Get OCR Response (Async)", + "name": "Find", "request": { - "description": "Get the status and results of an asynchronous OCR job.", + "description": null, "url": { - "raw": "{{baseUrl}}/ocr-async/:jobId", + "raw": "{{baseUrl}}/paymentMethods", "host": [ "{{baseUrl}}" ], "path": [ - "ocr-async", - ":jobId" + "paymentMethods" ], "query": [], - "variable": [ - { - "key": "jobId", - "description": null, - "value": "ocr_8f86116b-3b4d-4ded-99ef-3bc929d8c33c" - } - ] + "variable": [] }, "header": [ { @@ -10614,24 +11694,93 @@ "status": "OK", "code": 200, "originalRequest": { - "description": "Get the status and results of an asynchronous OCR job.", + "description": null, "url": { - "raw": "{{baseUrl}}/ocr-async/:jobId", + "raw": "{{baseUrl}}/paymentMethods", "host": [ "{{baseUrl}}" ], "path": [ - "ocr-async", - ":jobId" + "paymentMethods" ], "query": [], - "variable": [ + "variable": [] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "description": null, + "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"paymentMethod\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"entity\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n }\n }\n }\n ]\n}", + "_postman_previewlanguage": "json" + }, + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": null, + "url": { + "raw": "{{baseUrl}}/paymentMethods?type=bankAccount", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "query": [ { - "key": "jobId", - "description": null, - "value": "ocr_8f86116b-3b4d-4ded-99ef-3bc929d8c33c" + "key": "type", + "description": "Type of payment method to filter", + "value": "bankAccount" } - ] + ], + "variable": [] + }, + "header": [ + { + "type": "text", + "key": "Content-Type", + "value": "application/json" + } + ], + "method": "GET", + "auth": null, + "body": null + }, + "description": null, + "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"paymentMethod\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"entity\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n }\n }\n }\n ]\n}", + "_postman_previewlanguage": "json" + }, + { + "name": "Success", + "status": "OK", + "code": 200, + "originalRequest": { + "description": null, + "url": { + "raw": "{{baseUrl}}/paymentMethods?entityId=ent_8545a84e-a45f-41bf-bdf1-33b42a55812c", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "paymentMethods" + ], + "query": [ + { + "key": "entityId", + "description": "Entity ID to filter", + "value": "ent_8545a84e-a45f-41bf-bdf1-33b42a55812c" + } + ], + "variable": [] }, "header": [ { @@ -10645,7 +11794,7 @@ "body": null }, "description": null, - "body": "{\n \"jobId\": \"ocr_8f86116b-3b4d-4ded-99ef-3bc929d8c33c\",\n \"status\": \"success\",\n \"data\": {\n \"invoice\": {\n \"id\": \"inv_26e7b5d3-a739-4b23-9ad9-6aaa085f47a9\",\n \"status\": \"DRAFT\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"invoiceDate\": \"2021-01-01T00:00:00Z\",\n \"dueDate\": \"2021-01-31T00:00:00Z\",\n \"invoiceNumber\": \"INV-123\",\n \"noteToSelf\": \"For the month of January\",\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"payerId\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"payer\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"vendorId\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"paymentDestinationConfirmed\": false,\n \"hasDocuments\": true,\n \"hasSourceEmail\": true,\n \"comments\": [],\n \"lineItems\": [\n {\n \"id\": \"inli_26672f38-eb9a-48f1-a7a0-f1b855e38cd7\",\n \"amount\": 100,\n \"currency\": \"USD\",\n \"description\": \"Product A\",\n \"name\": \"Product A\",\n \"quantity\": 1,\n \"unitPrice\": 100,\n \"serviceStartDate\": \"2021-01-01T00:00:00Z\",\n \"serviceEndDate\": \"2021-01-31T00:00:00Z\",\n \"metadata\": {\n \"key1\": \"value1\",\n \"key2\": \"value2\"\n },\n \"glAccountId\": \"600394\",\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"approvers\": [],\n \"approvalPolicy\": [],\n \"metadata\": {},\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"vendor\": {\n \"id\": \"ent_21661ac1-a2a8-4465-a6c0-64474ba8181d\",\n \"foreignId\": \"MY-DB-ID-90909\",\n \"name\": \"Big Box Store\",\n \"email\": \"vendor@bigboxstore.com\",\n \"acceptedTos\": false,\n \"status\": \"unverified\",\n \"isCustomer\": false,\n \"isPayor\": false,\n \"isPayee\": true,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"vendor@bigboxstore.com\",\n \"legalBusinessName\": \"Big Box Store\",\n \"businessType\": \"publicCorporation\",\n \"taxIDProvided\": false,\n \"ownersProvided\": false\n }\n },\n \"paymentMethods\": [\n {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"type\": \"bankAccount\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n ],\n \"counterpartyType\": [\n \"ENTITY\"\n ]\n },\n \"check\": {\n \"id\": \"pm_5fde2f4a-facc-48ef-8f0d-6b7d087c7b18\",\n \"payToTheOrderOf\": \"John Doe\",\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Apt 1\",\n \"city\": \"New York\",\n \"stateOrProvince\": \"NY\",\n \"postalCode\": \"10001\",\n \"country\": \"US\",\n \"isDefaultSource\": false,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"bankAccount\": {\n \"id\": \"pm_7610541f-4619-4033-8620-cfccfb811293\",\n \"accountName\": \"Vendor Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"66554433\",\n \"accountNumber\": \"55934059697648\",\n \"accountType\": \"CHECKING\",\n \"status\": \"NEW\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n }\n }\n}", + "body": "{\n \"count\": 1,\n \"hasMore\": false,\n \"data\": [\n {\n \"paymentMethod\": {\n \"id\": \"pm_4794d597-70dc-4fec-b6ec-c5988e759769\",\n \"type\": \"bankAccount\",\n \"accountName\": \"My Checking Account\",\n \"bankName\": \"Chase\",\n \"routingNumber\": \"12345678\",\n \"accountNumber\": \"99988767623\",\n \"accountType\": \"CHECKING\",\n \"status\": \"VERIFIED\",\n \"isDefaultSource\": true,\n \"isDefaultDestination\": true,\n \"supportedCurrencies\": [\n \"USD\"\n ],\n \"metadata\": {},\n \"frozen\": false,\n \"createdAt\": \"2021-01-01T00:00:00Z\",\n \"updatedAt\": \"2021-01-01T00:00:00Z\"\n },\n \"entity\": {\n \"id\": \"ent_8545a84e-a45f-41bf-bdf1-33b42a55812c\",\n \"foreignId\": \"MY-DB-ID-12345\",\n \"name\": \"Acme Inc.\",\n \"email\": \"customer@acme.com\",\n \"acceptedTos\": true,\n \"status\": \"verified\",\n \"isCustomer\": true,\n \"isPayor\": true,\n \"isPayee\": false,\n \"isNetworkPayor\": false,\n \"isNetworkPayee\": false,\n \"accountType\": \"business\",\n \"updatedAt\": \"2024-01-02T00:00:00Z\",\n \"createdAt\": \"2024-01-01T00:00:00Z\",\n \"profile\": {\n \"business\": {\n \"email\": \"customer@acme.com\",\n \"legalBusinessName\": \"Acme Inc.\",\n \"businessType\": \"llc\",\n \"phone\": {\n \"countryCode\": \"1\",\n \"number\": \"4155551234\"\n },\n \"address\": {\n \"addressLine1\": \"123 Main St\",\n \"addressLine2\": \"Unit 1\",\n \"city\": \"San Francisco\",\n \"stateOrProvince\": \"CA\",\n \"postalCode\": \"94105\",\n \"country\": \"US\"\n },\n \"taxIDProvided\": true,\n \"ownersProvided\": true\n }\n }\n }\n }\n ]\n}", "_postman_previewlanguage": "json" } ]