{ "uuid": "d3a87b35-b33c-4239-924b-f2b4af4a1d9a", "lastMigration": 29, "name": "Taxamo", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "0c2f3d67-14d3-4334-8a30-9a0cda19ef69", "documentation": "Countries", "method": "get", "endpoint": "api/v1/dictionaries/countries", "responses": [ { "uuid": "173576fb-1874-4b9f-a9b7-2965206084d7", "body": "{\n \"dictionary\": [\n {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e2ce6ca7-c02b-4e27-9c46-e35fbabb3515", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "d6c18af1-12d1-4b95-a410-c4512792f81c", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ed15a8b6-9c6e-47a1-b47e-76175688c734", "documentation": "Currencies", "method": "get", "endpoint": "api/v1/dictionaries/currencies", "responses": [ { "uuid": "96c04b79-522f-4d20-9930-c50163197476", "body": "{\n \"dictionary\": [\n {\n \"code\": \"\",\n \"description\": \"\",\n \"isocode\": \"\",\n \"isonum\": {{faker 'number.int' max=99999}},\n \"minorunits\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "0d96ee20-2500-4573-a024-f31b64e8057b", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e6afcff-d3de-4af1-8520-8341c79f4f9a", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "d5a66110-482e-4a5d-8563-1d8bb3647a35", "documentation": "Product types", "method": "get", "endpoint": "api/v1/dictionaries/product_types", "responses": [ { "uuid": "027831af-fb0a-4a1d-b841-26d3792487f4", "body": "{\n \"dictionary\": [\n {\n \"code\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5f88af06-2f16-4643-9004-3fa3bd20269b", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "65de1f28-54ff-4bf1-a653-1aec058efbf0", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "36627d69-b2a3-419c-af69-2a2b9702f5aa", "documentation": "Locate IP", "method": "get", "endpoint": "api/v1/geoip", "responses": [ { "uuid": "5c9a8157-f4ef-4cf1-ab75-df8e1e1d97a5", "body": "{\n \"country\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"country_code\": \"\",\n \"remote_addr\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "616a4cf6-aa79-4288-857d-180a6070f9c1", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "6accf766-bedc-46d7-a5a0-1e19929e9545", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "37a07423-57fa-4c8f-9f65-e51c7c0fa677", "documentation": "Locate provided IP", "method": "get", "endpoint": "api/v1/geoip/:ip", "responses": [ { "uuid": "1d323803-bd3b-4624-a285-72e6c56d5ffd", "body": "{\n \"country\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"country_code\": \"\",\n \"remote_addr\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "44ad17da-63f3-4b63-9266-662e64a6d3dc", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cd52688d-15e2-4b52-ae44-e64d4e51edf7", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8054bea6-e917-4122-a255-0bf636959cab", "documentation": "Calculate domestic summary", "method": "get", "endpoint": "api/v1/reports/domestic/summary", "responses": [ { "uuid": "6c39cdef-df6c-4ea2-8098-65710b976799", "body": "{\n \"currency_code\": \"\",\n \"domestic_refunds_amount\": {{faker 'number.int' max=99999}},\n \"domestic_refunds_tax_amount\": {{faker 'number.int' max=99999}},\n \"domestic_sales_amount\": {{faker 'number.int' max=99999}},\n \"domestic_tax_amount\": {{faker 'number.int' max=99999}},\n \"end_date\": \"\",\n \"eu_tax_deducted_refunds\": {{faker 'number.int' max=99999}},\n \"eu_tax_deducted_sales\": {{faker 'number.int' max=99999}},\n \"global_refunds_amount\": {{faker 'number.int' max=99999}},\n \"global_refunds_tax_amount\": {{faker 'number.int' max=99999}},\n \"global_sales_amount\": {{faker 'number.int' max=99999}},\n \"global_sales_tax_amount\": {{faker 'number.int' max=99999}},\n \"start_date\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c47f8734-326e-4d9b-b0a4-3cbc0683240b", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c14307c9-fb30-4c96-bd2d-a7e568ba2e05", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "35db27e6-a4b1-4982-93cb-dc3f0e27b145", "documentation": "Calculate EU VIES report", "method": "get", "endpoint": "api/v1/reports/eu/vies", "responses": [ { "uuid": "36ea9d47-667c-4be5-9af9-591f6e1df859", "body": "{\n \"currency_code\": \"\",\n \"end_date\": \"\",\n \"report\": [\n {\n \"amount\": {{faker 'number.int' max=99999}},\n \"country_code\": \"\",\n \"country_name\": \"\",\n \"country_subdivision\": \"\",\n \"currency_code\": \"\",\n \"skip_moss\": {{faker 'datatype.boolean'}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"tax_region\": \"\"\n }\n ],\n \"start_date\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "22ba3d52-dde3-4293-b935-c387ddb81d4f", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "09117e86-9c14-48c9-876d-7e3b182d5bdf", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "4b219c1d-6496-4e0c-baed-17f9e5d22f87", "documentation": "Detailed refunds", "method": "get", "endpoint": "api/v1/settlement/detailed_refunds", "responses": [ { "uuid": "b9b94417-01db-4464-a52e-808e2e747169", "body": "{\n \"report\": [\n {\n \"amount\": {{faker 'number.int' max=99999}},\n \"country_code\": \"\",\n \"country_name\": \"\",\n \"country_subdivision\": \"\",\n \"currency_code\": \"\",\n \"skip_moss\": {{faker 'datatype.boolean'}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"tax_region\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "38862b96-b0bf-4992-b416-aef6e6c1adb3", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9043aa75-8620-4bb2-8ceb-2d8917a75a0f", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c5247668-d2d7-41d4-ad46-f1be3e07e470", "documentation": "Fetch refunds", "method": "get", "endpoint": "api/v1/settlement/refunds", "responses": [ { "uuid": "2e83da15-abb0-4f8a-a3bd-f6c90d64a9e7", "body": "{\n \"report\": [\n {\n \"amount\": {{faker 'number.int' max=99999}},\n \"country_code\": \"\",\n \"country_name\": \"\",\n \"country_subdivision\": \"\",\n \"currency_code\": \"\",\n \"skip_moss\": {{faker 'datatype.boolean'}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"tax_region\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "44aebde9-d4ef-44cd-8557-c90d4a8984c4", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "301643a4-a354-46d2-bd17-626ce571f372", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "79363e45-a4e8-4605-bc00-beb254f3f19c", "documentation": "Fetch summary", "method": "get", "endpoint": "api/v1/settlement/summary/:quarter", "responses": [ { "uuid": "36c2cb42-881c-4449-adde-b195f3f251c7", "body": "{\n \"summary\": {\n \"currency_code\": \"\",\n \"end_date\": \"\",\n \"fx_rate_date\": \"\",\n \"indicative\": {{faker 'datatype.boolean'}},\n \"quarter\": \"\",\n \"start_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_entity_name\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "7e59c3f9-1f5f-4e5c-9dab-a125f6a89742", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1ef510c5-9567-4249-aaff-1a7596a544d7", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8b26e499-e139-40a2-853a-577e5ce73add", "documentation": "Fetch settlement", "method": "get", "endpoint": "api/v1/settlement/:quarter", "responses": [ { "uuid": "7419391a-2e60-40af-928f-923bc5d77092", "body": "{\n \"end_date\": \"\",\n \"fx_rate_date\": \"\",\n \"indicative\": {{faker 'datatype.boolean'}},\n \"report\": [\n {\n \"amount\": {{faker 'number.int' max=99999}},\n \"country_code\": \"\",\n \"country_name\": \"\",\n \"country_subdivision\": \"\",\n \"currency_code\": \"\",\n \"skip_moss\": {{faker 'datatype.boolean'}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"tax_region\": \"\"\n }\n ],\n \"start_date\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "c6f00ad7-8a4c-4f55-ab1f-fa3c86c1d711", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "56a72344-22aa-4339-a708-fb8fac7554e2", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1aeaef29-db32-4efe-a1f8-66bd065e725d", "documentation": "Settlement by country", "method": "get", "endpoint": "api/v1/stats/settlement/by_country", "responses": [ { "uuid": "53f33c4d-74af-4cf3-92d3-ed7f8c8c1532", "body": "{\n \"by_country\": [\n {\n \"currency_code\": \"\",\n \"tax_country_code\": \"\",\n \"tax_country_name\": \"\",\n \"value\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "353d1cf5-d61d-4e44-86b2-da68b69aef01", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1c7a4ad1-b360-4bb9-9e2f-addd4358a621", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "833101af-9925-4297-8216-5ac4dd41ff63", "documentation": "Settlement by tax type", "method": "get", "endpoint": "api/v1/stats/settlement/by_taxation_type", "responses": [ { "uuid": "911f648d-28b9-41c1-98f4-d188c5d3bd62", "body": "{\n \"by_taxation_type\": {\n \"deducted_count\": {{faker 'number.int' max=99999}},\n \"eu_b2b\": {{faker 'number.int' max=99999}},\n \"eu_taxed\": {{faker 'number.int' max=99999}},\n \"taxed_count\": {{faker 'number.int' max=99999}},\n \"transactions_count\": {{faker 'number.int' max=99999}}\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e71dd607-d81d-4813-8169-757116a2e23e", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "e8e76504-e51c-4c63-9d2d-b553aabd6a5b", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "efdb9594-3f25-4980-b7c8-f83b149305b1", "documentation": "Settlement stats over time", "method": "get", "endpoint": "api/v1/stats/settlement/daily", "responses": [ { "uuid": "9dc7dd4c-a720-49af-a7eb-6d82afd4e5c5", "body": "{\n \"settlement_daily\": [\n {\n \"b2b\": {{faker 'number.int' max=99999}},\n \"b2c\": {{faker 'number.int' max=99999}},\n \"count\": {{faker 'number.int' max=99999}},\n \"day\": \"\",\n \"day_raw\": \"\",\n \"eu_b2b\": {{faker 'number.int' max=99999}},\n \"eu_taxed\": {{faker 'number.int' max=99999}},\n \"eu_total\": {{faker 'number.int' max=99999}},\n \"untaxed\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "81227639-bf29-4d06-a651-0732bec59fe5", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ac287cf5-722d-45bf-8129-35942a3dda0e", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b0f99bce-3a50-4adf-a5f5-1cd4b6573ed5", "documentation": "Transaction stats", "method": "get", "endpoint": "api/v1/stats/transactions", "responses": [ { "uuid": "95f1dc30-779a-43f6-bb01-718c3d4664c3", "body": "{\n \"by_status\": {\n \"C\": [\n {\n \"day\": \"\",\n \"day_raw\": \"\",\n \"status\": \"\",\n \"value\": {{faker 'number.int' max=99999}}\n }\n ],\n \"N\": [\n {\n \"day\": \"\",\n \"day_raw\": \"\",\n \"status\": \"\",\n \"value\": {{faker 'number.int' max=99999}}\n }\n ]\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "da0c7575-1a4a-4aa1-ac5a-7249004df250", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "04ce87b8-6fab-4411-acc8-cf864c134aba", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8e79dff4-30fe-4fc6-9381-8498584665c4", "documentation": "Settlement by country", "method": "get", "endpoint": "api/v1/stats/transactions/by_country", "responses": [ { "uuid": "97be329d-8528-4552-ba03-4e61241efa93", "body": "{\n \"by_country\": [\n {\n \"currency_code\": \"\",\n \"tax_country_code\": \"\",\n \"tax_country_name\": \"\",\n \"value\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "5b4a70cd-a5a2-4da0-8b14-3e631efbedd6", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1b3c2e81-dce5-4167-9059-866c064afe22", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "06e74f40-ddab-499b-b9e4-a6752a0dc2c1", "documentation": "Simple tax", "method": "get", "endpoint": "api/v1/tax/calculate", "responses": [ { "uuid": "fc70fde1-6621-46f4-96a4-57783c9a20ae", "body": "{\n \"storage_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"tax_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"transaction\": {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"billing_country_code\": \"\",\n \"buyer_credit_card_prefix\": \"\",\n \"buyer_email\": \"\",\n \"buyer_ip\": \"\",\n \"buyer_name\": \"\",\n \"buyer_tax_number\": \"\",\n \"buyer_tax_number_valid\": {{faker 'datatype.boolean'}},\n \"comments\": \"\",\n \"confirm_timestamp\": \"\",\n \"countries\": {\n \"by_2003_rules\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"detected\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n },\n \"create_timestamp\": \"\",\n \"currency_code\": \"\",\n \"custom_data\": \"\",\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"customer_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"evidence\": {\n \"by_2003_rules\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_payment_method\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n }\n },\n \"external_key\": \"\",\n \"force_country_code\": \"\",\n \"fully_informative\": {{faker 'datatype.boolean'}},\n \"invoice_address\": {\n \"address_detail\": \"\",\n \"building_number\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"freeform_address\": \"\",\n \"postal_code\": \"\",\n \"region\": \"\",\n \"street_name\": \"\"\n },\n \"invoice_date\": \"\",\n \"invoice_image_url\": \"\",\n \"invoice_number\": \"\",\n \"invoice_place\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"manual\": {{faker 'datatype.boolean'}},\n \"note\": \"\",\n \"order_date\": \"\",\n \"original_transaction_key\": \"\",\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"source\": \"\",\n \"status\": \"\",\n \"sub_account_id\": \"\",\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_country_code\": \"\",\n \"tax_data\": {\n \"us_tax_exemption_certificate\": {\n \"certificate_id\": \"\",\n \"detail\": {\n \"exempt_states\": [\n {\n \"identifier_for_exemption_reason\": \"\",\n \"reason_for_exemption\": \"\",\n \"state_abbr\": \"\"\n }\n ],\n \"purchaser_address1\": \"\",\n \"purchaser_address2\": \"\",\n \"purchaser_business_type\": \"\",\n \"purchaser_business_type_other_value\": \"\",\n \"purchaser_city\": \"\",\n \"purchaser_exemption_reason\": \"\",\n \"purchaser_exemption_reason_value\": \"\",\n \"purchaser_first_name\": \"\",\n \"purchaser_last_name\": \"\",\n \"purchaser_state\": \"\",\n \"purchaser_tax_id\": {\n \"state_of_issue\": \"\",\n \"tax_id\": \"\",\n \"tax_id_type\": \"\"\n },\n \"purchaser_title\": \"\",\n \"purchaser_zip\": \"\",\n \"single_purchase\": {{faker 'datatype.boolean'}},\n \"single_purchase_order_identifier\": \"\"\n }\n }\n },\n \"tax_deducted\": {{faker 'datatype.boolean'}},\n \"tax_entity_name\": \"\",\n \"tax_number_service\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}},\n \"tax_timezone\": \"\",\n \"test\": {{faker 'datatype.boolean'}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"transaction_lines\": [\n {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"deducted_tax_rate\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"informative\": {{faker 'datatype.boolean'}},\n \"line_key\": \"\",\n \"product_code\": \"\",\n \"product_tax_code\": \"\",\n \"product_type\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_name\": \"\",\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"unit_of_measure\": \"\",\n \"unit_price\": {{faker 'number.int' max=99999}}\n }\n ],\n \"verification_token\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "896b1b55-42e7-46cc-9f17-9738370cbbfc", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "2e560d85-881d-4797-a23a-44592f9d41da", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "71a6e6cb-83b1-4342-9cca-d0d8b8421ab3", "documentation": "Calculate tax", "method": "post", "endpoint": "api/v1/tax/calculate", "responses": [ { "uuid": "4b427fd7-0402-4dc4-9ae9-fb1084cb50c1", "body": "{\n \"storage_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"tax_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"transaction\": {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"billing_country_code\": \"\",\n \"buyer_credit_card_prefix\": \"\",\n \"buyer_email\": \"\",\n \"buyer_ip\": \"\",\n \"buyer_name\": \"\",\n \"buyer_tax_number\": \"\",\n \"buyer_tax_number_valid\": {{faker 'datatype.boolean'}},\n \"comments\": \"\",\n \"confirm_timestamp\": \"\",\n \"countries\": {\n \"by_2003_rules\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"detected\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n },\n \"create_timestamp\": \"\",\n \"currency_code\": \"\",\n \"custom_data\": \"\",\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"customer_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"evidence\": {\n \"by_2003_rules\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_payment_method\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n }\n },\n \"external_key\": \"\",\n \"force_country_code\": \"\",\n \"fully_informative\": {{faker 'datatype.boolean'}},\n \"invoice_address\": {\n \"address_detail\": \"\",\n \"building_number\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"freeform_address\": \"\",\n \"postal_code\": \"\",\n \"region\": \"\",\n \"street_name\": \"\"\n },\n \"invoice_date\": \"\",\n \"invoice_image_url\": \"\",\n \"invoice_number\": \"\",\n \"invoice_place\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"manual\": {{faker 'datatype.boolean'}},\n \"note\": \"\",\n \"order_date\": \"\",\n \"original_transaction_key\": \"\",\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"source\": \"\",\n \"status\": \"\",\n \"sub_account_id\": \"\",\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_country_code\": \"\",\n \"tax_data\": {\n \"us_tax_exemption_certificate\": {\n \"certificate_id\": \"\",\n \"detail\": {\n \"exempt_states\": [\n {\n \"identifier_for_exemption_reason\": \"\",\n \"reason_for_exemption\": \"\",\n \"state_abbr\": \"\"\n }\n ],\n \"purchaser_address1\": \"\",\n \"purchaser_address2\": \"\",\n \"purchaser_business_type\": \"\",\n \"purchaser_business_type_other_value\": \"\",\n \"purchaser_city\": \"\",\n \"purchaser_exemption_reason\": \"\",\n \"purchaser_exemption_reason_value\": \"\",\n \"purchaser_first_name\": \"\",\n \"purchaser_last_name\": \"\",\n \"purchaser_state\": \"\",\n \"purchaser_tax_id\": {\n \"state_of_issue\": \"\",\n \"tax_id\": \"\",\n \"tax_id_type\": \"\"\n },\n \"purchaser_title\": \"\",\n \"purchaser_zip\": \"\",\n \"single_purchase\": {{faker 'datatype.boolean'}},\n \"single_purchase_order_identifier\": \"\"\n }\n }\n },\n \"tax_deducted\": {{faker 'datatype.boolean'}},\n \"tax_entity_name\": \"\",\n \"tax_number_service\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}},\n \"tax_timezone\": \"\",\n \"test\": {{faker 'datatype.boolean'}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"transaction_lines\": [\n {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"deducted_tax_rate\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"informative\": {{faker 'datatype.boolean'}},\n \"line_key\": \"\",\n \"product_code\": \"\",\n \"product_tax_code\": \"\",\n \"product_type\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_name\": \"\",\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"unit_of_measure\": \"\",\n \"unit_price\": {{faker 'number.int' max=99999}}\n }\n ],\n \"verification_token\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "83eb1cca-d0d9-4bcc-a6ae-adbb3bc7b95f", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "9202f468-e512-4616-afdd-494fcf8d1726", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c7b5af34-d7c6-4da9-9b83-a49283e2118a", "documentation": "Calculate location", "method": "get", "endpoint": "api/v1/tax/location/calculate", "responses": [ { "uuid": "62903efa-6076-4d4e-b19d-109cbc39a2db", "body": "{\n \"billing_country_code\": \"\",\n \"buyer_credit_card_prefix\": \"\",\n \"buyer_ip\": \"\",\n \"countries\": {\n \"by_2003_rules\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"detected\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n },\n \"evidence\": {\n \"by_2003_rules\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_payment_method\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n }\n },\n \"tax_country_code\": \"\",\n \"tax_deducted\": {{faker 'datatype.boolean'}},\n \"tax_supported\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "cc38e0b0-a9c8-4388-b73a-1d056fe6c557", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "a977a898-708b-4d69-8c12-4eb78c4b5a71", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "b31bf90b-190f-40fe-a6a7-f335b225730f", "documentation": "Validate VAT number", "method": "get", "endpoint": "api/v1/tax/vat_numbers/:tax_number/validate", "responses": [ { "uuid": "780e8f94-eedf-4a91-ba61-a95a6ac17069", "body": "{\n \"billing_country_code\": \"\",\n \"buyer_tax_number\": \"\",\n \"buyer_tax_number_valid\": {{faker 'datatype.boolean'}},\n \"tax_deducted\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "9be4f8cf-9b32-4210-85b3-1c5c7bf602ae", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "481b900f-eeef-4483-a4d0-e3f60a858e58", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "9ea2e848-bfcc-449c-81be-13e92f80259c", "documentation": "Browse transactions", "method": "get", "endpoint": "api/v1/transactions", "responses": [ { "uuid": "94255ecc-650e-41fe-a3c2-923f8e1d68f7", "body": "{\n \"transactions\": [\n {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"billing_country_code\": \"\",\n \"buyer_credit_card_prefix\": \"\",\n \"buyer_email\": \"\",\n \"buyer_ip\": \"\",\n \"buyer_name\": \"\",\n \"buyer_tax_number\": \"\",\n \"buyer_tax_number_valid\": {{faker 'datatype.boolean'}},\n \"comments\": \"\",\n \"confirm_timestamp\": \"\",\n \"countries\": {\n \"by_2003_rules\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"detected\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n },\n \"create_timestamp\": \"\",\n \"currency_code\": \"\",\n \"custom_data\": \"\",\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"customer_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"evidence\": {\n \"by_2003_rules\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_payment_method\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n }\n },\n \"external_key\": \"\",\n \"force_country_code\": \"\",\n \"fully_informative\": {{faker 'datatype.boolean'}},\n \"invoice_address\": {\n \"address_detail\": \"\",\n \"building_number\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"freeform_address\": \"\",\n \"postal_code\": \"\",\n \"region\": \"\",\n \"street_name\": \"\"\n },\n \"invoice_date\": \"\",\n \"invoice_image_url\": \"\",\n \"invoice_number\": \"\",\n \"invoice_place\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"manual\": {{faker 'datatype.boolean'}},\n \"note\": \"\",\n \"order_date\": \"\",\n \"original_transaction_key\": \"\",\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"source\": \"\",\n \"status\": \"\",\n \"sub_account_id\": \"\",\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_country_code\": \"\",\n \"tax_data\": {\n \"us_tax_exemption_certificate\": {\n \"certificate_id\": \"\",\n \"detail\": {\n \"exempt_states\": [\n {\n \"identifier_for_exemption_reason\": \"\",\n \"reason_for_exemption\": \"\",\n \"state_abbr\": \"\"\n }\n ],\n \"purchaser_address1\": \"\",\n \"purchaser_address2\": \"\",\n \"purchaser_business_type\": \"\",\n \"purchaser_business_type_other_value\": \"\",\n \"purchaser_city\": \"\",\n \"purchaser_exemption_reason\": \"\",\n \"purchaser_exemption_reason_value\": \"\",\n \"purchaser_first_name\": \"\",\n \"purchaser_last_name\": \"\",\n \"purchaser_state\": \"\",\n \"purchaser_tax_id\": {\n \"state_of_issue\": \"\",\n \"tax_id\": \"\",\n \"tax_id_type\": \"\"\n },\n \"purchaser_title\": \"\",\n \"purchaser_zip\": \"\",\n \"single_purchase\": {{faker 'datatype.boolean'}},\n \"single_purchase_order_identifier\": \"\"\n }\n }\n },\n \"tax_deducted\": {{faker 'datatype.boolean'}},\n \"tax_entity_name\": \"\",\n \"tax_number_service\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}},\n \"tax_timezone\": \"\",\n \"test\": {{faker 'datatype.boolean'}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"transaction_lines\": [\n {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"deducted_tax_rate\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"informative\": {{faker 'datatype.boolean'}},\n \"line_key\": \"\",\n \"product_code\": \"\",\n \"product_tax_code\": \"\",\n \"product_type\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_name\": \"\",\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"unit_of_measure\": \"\",\n \"unit_price\": {{faker 'number.int' max=99999}}\n }\n ],\n \"verification_token\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e86aa581-701e-4340-8e19-a065c3e5b7ad", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cd69f4c0-fd94-4d10-b488-637c2bc1440d", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "71096e57-0f1b-48c2-b120-5d5e9107b8bf", "documentation": "Store transaction", "method": "post", "endpoint": "api/v1/transactions", "responses": [ { "uuid": "34f39d5d-7ace-46fc-8e50-4f258cb19c4f", "body": "{\n \"storage_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"tax_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"transaction\": {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"billing_country_code\": \"\",\n \"buyer_credit_card_prefix\": \"\",\n \"buyer_email\": \"\",\n \"buyer_ip\": \"\",\n \"buyer_name\": \"\",\n \"buyer_tax_number\": \"\",\n \"buyer_tax_number_valid\": {{faker 'datatype.boolean'}},\n \"comments\": \"\",\n \"confirm_timestamp\": \"\",\n \"countries\": {\n \"by_2003_rules\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"detected\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n },\n \"create_timestamp\": \"\",\n \"currency_code\": \"\",\n \"custom_data\": \"\",\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"customer_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"evidence\": {\n \"by_2003_rules\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_payment_method\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n }\n },\n \"external_key\": \"\",\n \"force_country_code\": \"\",\n \"fully_informative\": {{faker 'datatype.boolean'}},\n \"invoice_address\": {\n \"address_detail\": \"\",\n \"building_number\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"freeform_address\": \"\",\n \"postal_code\": \"\",\n \"region\": \"\",\n \"street_name\": \"\"\n },\n \"invoice_date\": \"\",\n \"invoice_image_url\": \"\",\n \"invoice_number\": \"\",\n \"invoice_place\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"manual\": {{faker 'datatype.boolean'}},\n \"note\": \"\",\n \"order_date\": \"\",\n \"original_transaction_key\": \"\",\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"source\": \"\",\n \"status\": \"\",\n \"sub_account_id\": \"\",\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_country_code\": \"\",\n \"tax_data\": {\n \"us_tax_exemption_certificate\": {\n \"certificate_id\": \"\",\n \"detail\": {\n \"exempt_states\": [\n {\n \"identifier_for_exemption_reason\": \"\",\n \"reason_for_exemption\": \"\",\n \"state_abbr\": \"\"\n }\n ],\n \"purchaser_address1\": \"\",\n \"purchaser_address2\": \"\",\n \"purchaser_business_type\": \"\",\n \"purchaser_business_type_other_value\": \"\",\n \"purchaser_city\": \"\",\n \"purchaser_exemption_reason\": \"\",\n \"purchaser_exemption_reason_value\": \"\",\n \"purchaser_first_name\": \"\",\n \"purchaser_last_name\": \"\",\n \"purchaser_state\": \"\",\n \"purchaser_tax_id\": {\n \"state_of_issue\": \"\",\n \"tax_id\": \"\",\n \"tax_id_type\": \"\"\n },\n \"purchaser_title\": \"\",\n \"purchaser_zip\": \"\",\n \"single_purchase\": {{faker 'datatype.boolean'}},\n \"single_purchase_order_identifier\": \"\"\n }\n }\n },\n \"tax_deducted\": {{faker 'datatype.boolean'}},\n \"tax_entity_name\": \"\",\n \"tax_number_service\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}},\n \"tax_timezone\": \"\",\n \"test\": {{faker 'datatype.boolean'}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"transaction_lines\": [\n {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"deducted_tax_rate\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"informative\": {{faker 'datatype.boolean'}},\n \"line_key\": \"\",\n \"product_code\": \"\",\n \"product_tax_code\": \"\",\n \"product_type\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_name\": \"\",\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"unit_of_measure\": \"\",\n \"unit_price\": {{faker 'number.int' max=99999}}\n }\n ],\n \"verification_token\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "27cdce21-3a3b-457a-b5cf-d397f40c8c66", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "1b5736db-5a0e-4ea1-8db2-64101a8820d3", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "33472e93-2c99-4a17-836b-fb1e543b27b8", "documentation": "Delete transaction", "method": "delete", "endpoint": "api/v1/transactions/:key", "responses": [ { "uuid": "ef5325cd-03da-4f5d-8576-10ce297bba79", "body": "{\n \"success\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "593767b4-3825-4a72-869f-883e5a37248d", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "cced366b-d50a-4e1d-96f1-d3074ddd46f6", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "80f16aab-8d62-4865-a169-19d801c1bd59", "documentation": "Retrieve transaction data.", "method": "get", "endpoint": "api/v1/transactions/:key", "responses": [ { "uuid": "a9e268b3-dcf8-4618-bf38-3609ebd59ee2", "body": "{\n \"storage_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"tax_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"transaction\": {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"billing_country_code\": \"\",\n \"buyer_credit_card_prefix\": \"\",\n \"buyer_email\": \"\",\n \"buyer_ip\": \"\",\n \"buyer_name\": \"\",\n \"buyer_tax_number\": \"\",\n \"buyer_tax_number_valid\": {{faker 'datatype.boolean'}},\n \"comments\": \"\",\n \"confirm_timestamp\": \"\",\n \"countries\": {\n \"by_2003_rules\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"detected\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n },\n \"create_timestamp\": \"\",\n \"currency_code\": \"\",\n \"custom_data\": \"\",\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"customer_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"evidence\": {\n \"by_2003_rules\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_payment_method\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n }\n },\n \"external_key\": \"\",\n \"force_country_code\": \"\",\n \"fully_informative\": {{faker 'datatype.boolean'}},\n \"invoice_address\": {\n \"address_detail\": \"\",\n \"building_number\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"freeform_address\": \"\",\n \"postal_code\": \"\",\n \"region\": \"\",\n \"street_name\": \"\"\n },\n \"invoice_date\": \"\",\n \"invoice_image_url\": \"\",\n \"invoice_number\": \"\",\n \"invoice_place\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"manual\": {{faker 'datatype.boolean'}},\n \"note\": \"\",\n \"order_date\": \"\",\n \"original_transaction_key\": \"\",\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"source\": \"\",\n \"status\": \"\",\n \"sub_account_id\": \"\",\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_country_code\": \"\",\n \"tax_data\": {\n \"us_tax_exemption_certificate\": {\n \"certificate_id\": \"\",\n \"detail\": {\n \"exempt_states\": [\n {\n \"identifier_for_exemption_reason\": \"\",\n \"reason_for_exemption\": \"\",\n \"state_abbr\": \"\"\n }\n ],\n \"purchaser_address1\": \"\",\n \"purchaser_address2\": \"\",\n \"purchaser_business_type\": \"\",\n \"purchaser_business_type_other_value\": \"\",\n \"purchaser_city\": \"\",\n \"purchaser_exemption_reason\": \"\",\n \"purchaser_exemption_reason_value\": \"\",\n \"purchaser_first_name\": \"\",\n \"purchaser_last_name\": \"\",\n \"purchaser_state\": \"\",\n \"purchaser_tax_id\": {\n \"state_of_issue\": \"\",\n \"tax_id\": \"\",\n \"tax_id_type\": \"\"\n },\n \"purchaser_title\": \"\",\n \"purchaser_zip\": \"\",\n \"single_purchase\": {{faker 'datatype.boolean'}},\n \"single_purchase_order_identifier\": \"\"\n }\n }\n },\n \"tax_deducted\": {{faker 'datatype.boolean'}},\n \"tax_entity_name\": \"\",\n \"tax_number_service\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}},\n \"tax_timezone\": \"\",\n \"test\": {{faker 'datatype.boolean'}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"transaction_lines\": [\n {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"deducted_tax_rate\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"informative\": {{faker 'datatype.boolean'}},\n \"line_key\": \"\",\n \"product_code\": \"\",\n \"product_tax_code\": \"\",\n \"product_type\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_name\": \"\",\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"unit_of_measure\": \"\",\n \"unit_price\": {{faker 'number.int' max=99999}}\n }\n ],\n \"verification_token\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "468f03eb-0ecf-4fd3-ad15-b196a60f599f", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "4f1c0ae3-0e9b-4b48-8885-21bb3e2b74a9", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "e89227a7-dfec-4789-a61c-efa576bc6ff4", "documentation": "Update transaction", "method": "put", "endpoint": "api/v1/transactions/:key", "responses": [ { "uuid": "3a6cc4b5-34a9-4b93-931a-e1f37e59c9e3", "body": "{\n \"storage_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"tax_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"transaction\": {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"billing_country_code\": \"\",\n \"buyer_credit_card_prefix\": \"\",\n \"buyer_email\": \"\",\n \"buyer_ip\": \"\",\n \"buyer_name\": \"\",\n \"buyer_tax_number\": \"\",\n \"buyer_tax_number_valid\": {{faker 'datatype.boolean'}},\n \"comments\": \"\",\n \"confirm_timestamp\": \"\",\n \"countries\": {\n \"by_2003_rules\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"detected\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n },\n \"create_timestamp\": \"\",\n \"currency_code\": \"\",\n \"custom_data\": \"\",\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"customer_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"evidence\": {\n \"by_2003_rules\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_payment_method\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n }\n },\n \"external_key\": \"\",\n \"force_country_code\": \"\",\n \"fully_informative\": {{faker 'datatype.boolean'}},\n \"invoice_address\": {\n \"address_detail\": \"\",\n \"building_number\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"freeform_address\": \"\",\n \"postal_code\": \"\",\n \"region\": \"\",\n \"street_name\": \"\"\n },\n \"invoice_date\": \"\",\n \"invoice_image_url\": \"\",\n \"invoice_number\": \"\",\n \"invoice_place\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"manual\": {{faker 'datatype.boolean'}},\n \"note\": \"\",\n \"order_date\": \"\",\n \"original_transaction_key\": \"\",\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"source\": \"\",\n \"status\": \"\",\n \"sub_account_id\": \"\",\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_country_code\": \"\",\n \"tax_data\": {\n \"us_tax_exemption_certificate\": {\n \"certificate_id\": \"\",\n \"detail\": {\n \"exempt_states\": [\n {\n \"identifier_for_exemption_reason\": \"\",\n \"reason_for_exemption\": \"\",\n \"state_abbr\": \"\"\n }\n ],\n \"purchaser_address1\": \"\",\n \"purchaser_address2\": \"\",\n \"purchaser_business_type\": \"\",\n \"purchaser_business_type_other_value\": \"\",\n \"purchaser_city\": \"\",\n \"purchaser_exemption_reason\": \"\",\n \"purchaser_exemption_reason_value\": \"\",\n \"purchaser_first_name\": \"\",\n \"purchaser_last_name\": \"\",\n \"purchaser_state\": \"\",\n \"purchaser_tax_id\": {\n \"state_of_issue\": \"\",\n \"tax_id\": \"\",\n \"tax_id_type\": \"\"\n },\n \"purchaser_title\": \"\",\n \"purchaser_zip\": \"\",\n \"single_purchase\": {{faker 'datatype.boolean'}},\n \"single_purchase_order_identifier\": \"\"\n }\n }\n },\n \"tax_deducted\": {{faker 'datatype.boolean'}},\n \"tax_entity_name\": \"\",\n \"tax_number_service\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}},\n \"tax_timezone\": \"\",\n \"test\": {{faker 'datatype.boolean'}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"transaction_lines\": [\n {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"deducted_tax_rate\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"informative\": {{faker 'datatype.boolean'}},\n \"line_key\": \"\",\n \"product_code\": \"\",\n \"product_tax_code\": \"\",\n \"product_type\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_name\": \"\",\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"unit_of_measure\": \"\",\n \"unit_price\": {{faker 'number.int' max=99999}}\n }\n ],\n \"verification_token\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "72f5a31a-3a07-477f-9709-765ecb100a68", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "12db2a41-532f-4841-8744-5724eb2e959b", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "122fd1cf-db2d-41bb-bffa-b6ae1f6b9a44", "documentation": "Confirm transaction", "method": "post", "endpoint": "api/v1/transactions/:key/confirm", "responses": [ { "uuid": "d46f9f04-33d5-4750-9e2b-470daab08f45", "body": "{\n \"storage_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"tax_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"transaction\": {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"billing_country_code\": \"\",\n \"buyer_credit_card_prefix\": \"\",\n \"buyer_email\": \"\",\n \"buyer_ip\": \"\",\n \"buyer_name\": \"\",\n \"buyer_tax_number\": \"\",\n \"buyer_tax_number_valid\": {{faker 'datatype.boolean'}},\n \"comments\": \"\",\n \"confirm_timestamp\": \"\",\n \"countries\": {\n \"by_2003_rules\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"detected\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n },\n \"create_timestamp\": \"\",\n \"currency_code\": \"\",\n \"custom_data\": \"\",\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"customer_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"evidence\": {\n \"by_2003_rules\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_payment_method\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n }\n },\n \"external_key\": \"\",\n \"force_country_code\": \"\",\n \"fully_informative\": {{faker 'datatype.boolean'}},\n \"invoice_address\": {\n \"address_detail\": \"\",\n \"building_number\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"freeform_address\": \"\",\n \"postal_code\": \"\",\n \"region\": \"\",\n \"street_name\": \"\"\n },\n \"invoice_date\": \"\",\n \"invoice_image_url\": \"\",\n \"invoice_number\": \"\",\n \"invoice_place\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"manual\": {{faker 'datatype.boolean'}},\n \"note\": \"\",\n \"order_date\": \"\",\n \"original_transaction_key\": \"\",\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"source\": \"\",\n \"status\": \"\",\n \"sub_account_id\": \"\",\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_country_code\": \"\",\n \"tax_data\": {\n \"us_tax_exemption_certificate\": {\n \"certificate_id\": \"\",\n \"detail\": {\n \"exempt_states\": [\n {\n \"identifier_for_exemption_reason\": \"\",\n \"reason_for_exemption\": \"\",\n \"state_abbr\": \"\"\n }\n ],\n \"purchaser_address1\": \"\",\n \"purchaser_address2\": \"\",\n \"purchaser_business_type\": \"\",\n \"purchaser_business_type_other_value\": \"\",\n \"purchaser_city\": \"\",\n \"purchaser_exemption_reason\": \"\",\n \"purchaser_exemption_reason_value\": \"\",\n \"purchaser_first_name\": \"\",\n \"purchaser_last_name\": \"\",\n \"purchaser_state\": \"\",\n \"purchaser_tax_id\": {\n \"state_of_issue\": \"\",\n \"tax_id\": \"\",\n \"tax_id_type\": \"\"\n },\n \"purchaser_title\": \"\",\n \"purchaser_zip\": \"\",\n \"single_purchase\": {{faker 'datatype.boolean'}},\n \"single_purchase_order_identifier\": \"\"\n }\n }\n },\n \"tax_deducted\": {{faker 'datatype.boolean'}},\n \"tax_entity_name\": \"\",\n \"tax_number_service\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}},\n \"tax_timezone\": \"\",\n \"test\": {{faker 'datatype.boolean'}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"transaction_lines\": [\n {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"deducted_tax_rate\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"informative\": {{faker 'datatype.boolean'}},\n \"line_key\": \"\",\n \"product_code\": \"\",\n \"product_tax_code\": \"\",\n \"product_type\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_name\": \"\",\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"unit_of_measure\": \"\",\n \"unit_price\": {{faker 'number.int' max=99999}}\n }\n ],\n \"verification_token\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "eff682bb-9027-4619-ae84-91988e7eafa5", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "b0be08fe-d549-41c0-9f34-82299a881b85", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "c3ecaeae-75ec-4df8-896c-42b7d81b242e", "documentation": "Email credit note", "method": "post", "endpoint": "api/v1/transactions/:key/invoice/refunds/:refund_note_number/send_email", "responses": [ { "uuid": "1951967d-4e7e-46f2-b085-e4ee758f3e26", "body": "{\n \"success\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "40b036b7-c2e5-4b08-95f1-149e9ed5fa38", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "abfcfd2f-d183-4f01-aae0-cd12adc792ac", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "03060fe4-4e45-45f7-866c-4c9a9e1a3100", "documentation": "Email invoice", "method": "post", "endpoint": "api/v1/transactions/:key/invoice/send_email", "responses": [ { "uuid": "5b5201a6-8e17-4577-ae27-54da2572636b", "body": "{\n \"success\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "3cb3f412-e6d6-4f4c-8208-be296e3a1741", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "21ed310c-fa26-49fd-b95d-338df2dea33c", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "fccf72b4-ef53-4975-9e04-1c0dfa9e8729", "documentation": "List payments", "method": "get", "endpoint": "api/v1/transactions/:key/payments", "responses": [ { "uuid": "eaf964c2-fb97-44e6-80e8-3dcb1085476f", "body": "{\n \"payments\": [\n {\n \"amount\": {{faker 'number.int' max=99999}},\n \"payment_information\": \"\",\n \"payment_timestamp\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "054ed18f-1096-46f6-af32-d51c3f1e28d4", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "c762385e-ff91-46e1-889b-ad0d030f9d75", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "1c7a5be5-532f-47a6-bd40-f14f3930659a", "documentation": "Register a payment", "method": "post", "endpoint": "api/v1/transactions/:key/payments", "responses": [ { "uuid": "91d2a47a-99a4-48e6-b76d-1d7960aa69b7", "body": "{\n \"success\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "e4e4502c-74e0-406d-9047-f3e5a9fc4661", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "82b97fa6-ae4d-4ab4-96f6-f6a1569a99f5", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "88665fab-15ad-47f1-9267-be828c2b02e9", "documentation": "Capture payment", "method": "post", "endpoint": "api/v1/transactions/:key/payments/capture", "responses": [ { "uuid": "6a0c210b-0450-48d3-994c-bb9f89d9156a", "body": "{\n \"success\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "25ede788-da5b-4afc-965d-2612e904e1da", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "832aaca0-2e0c-4ca8-a20d-05755472dd04", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "40d75e6f-d5ad-4fdc-8c75-eadbdeeffdcd", "documentation": "Get transaction refunds", "method": "get", "endpoint": "api/v1/transactions/:key/refunds", "responses": [ { "uuid": "40a3d1bb-de26-4da7-af5f-97545b622bda", "body": "{\n \"refunds\": [\n {\n \"amount\": {{faker 'number.int' max=99999}},\n \"informative\": {{faker 'datatype.boolean'}},\n \"line_key\": \"\",\n \"refund_note_number\": \"\",\n \"refund_note_url\": \"\",\n \"refund_reason\": \"\",\n \"refund_timestamp\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "78f0aeab-2912-4bd1-9020-f2d80ffc4d55", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "dca5870b-7929-462e-a6ce-ebf4ec765a9b", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6ea003e9-a60b-47cc-b08d-f868b9e4222c", "documentation": "Create a refund", "method": "post", "endpoint": "api/v1/transactions/:key/refunds", "responses": [ { "uuid": "53c52c35-06b6-4dd8-9646-cb9cab4d84c1", "body": "{\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "94ed82e2-c6a2-4d4c-920f-804c1c322df1", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "ca33bcb2-b3a8-4c59-90f5-fad4d70e2fd2", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "6a78b121-a83a-47c1-bd7a-12fa737317e0", "documentation": "Un-confirm the transaction", "method": "post", "endpoint": "api/v1/transactions/:key/unconfirm", "responses": [ { "uuid": "107631b9-df02-4ef4-9da5-724c0ecd00d8", "body": "{\n \"storage_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"tax_required_fields\": [\n {\n \"field_name\": \"\"\n }\n ],\n \"transaction\": {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"billing_country_code\": \"\",\n \"buyer_credit_card_prefix\": \"\",\n \"buyer_email\": \"\",\n \"buyer_ip\": \"\",\n \"buyer_name\": \"\",\n \"buyer_tax_number\": \"\",\n \"buyer_tax_number_valid\": {{faker 'datatype.boolean'}},\n \"comments\": \"\",\n \"confirm_timestamp\": \"\",\n \"countries\": {\n \"by_2003_rules\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"detected\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"callingCode\": [\n \"\"\n ],\n \"cca2\": \"\",\n \"cca3\": \"\",\n \"ccn3\": \"\",\n \"code\": \"\",\n \"code_long\": \"\",\n \"codenum\": \"\",\n \"currency\": [\n \"\"\n ],\n \"name\": \"\",\n \"tax_number_country_code\": \"\",\n \"tax_region\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}}\n }\n },\n \"create_timestamp\": \"\",\n \"currency_code\": \"\",\n \"custom_data\": \"\",\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"customer_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"evidence\": {\n \"by_2003_rules\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_billing\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_cc\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_payment_method\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_tax_number\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"by_token\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"forced\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"guessed_from_ip\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"other_commercially_relevant_info\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n },\n \"self_declaration\": {\n \"evidence_type\": \"\",\n \"evidence_value\": \"\",\n \"resolved_country_code\": \"\",\n \"used\": {{faker 'datatype.boolean'}}\n }\n },\n \"external_key\": \"\",\n \"force_country_code\": \"\",\n \"fully_informative\": {{faker 'datatype.boolean'}},\n \"invoice_address\": {\n \"address_detail\": \"\",\n \"building_number\": \"\",\n \"city\": \"\",\n \"country\": \"\",\n \"freeform_address\": \"\",\n \"postal_code\": \"\",\n \"region\": \"\",\n \"street_name\": \"\"\n },\n \"invoice_date\": \"\",\n \"invoice_image_url\": \"\",\n \"invoice_number\": \"\",\n \"invoice_place\": \"\",\n \"key\": \"\",\n \"kind\": \"\",\n \"manual\": {{faker 'datatype.boolean'}},\n \"note\": \"\",\n \"order_date\": \"\",\n \"original_transaction_key\": \"\",\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"source\": \"\",\n \"status\": \"\",\n \"sub_account_id\": \"\",\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_country_code\": \"\",\n \"tax_data\": {\n \"us_tax_exemption_certificate\": {\n \"certificate_id\": \"\",\n \"detail\": {\n \"exempt_states\": [\n {\n \"identifier_for_exemption_reason\": \"\",\n \"reason_for_exemption\": \"\",\n \"state_abbr\": \"\"\n }\n ],\n \"purchaser_address1\": \"\",\n \"purchaser_address2\": \"\",\n \"purchaser_business_type\": \"\",\n \"purchaser_business_type_other_value\": \"\",\n \"purchaser_city\": \"\",\n \"purchaser_exemption_reason\": \"\",\n \"purchaser_exemption_reason_value\": \"\",\n \"purchaser_first_name\": \"\",\n \"purchaser_last_name\": \"\",\n \"purchaser_state\": \"\",\n \"purchaser_tax_id\": {\n \"state_of_issue\": \"\",\n \"tax_id\": \"\",\n \"tax_id_type\": \"\"\n },\n \"purchaser_title\": \"\",\n \"purchaser_zip\": \"\",\n \"single_purchase\": {{faker 'datatype.boolean'}},\n \"single_purchase_order_identifier\": \"\"\n }\n }\n },\n \"tax_deducted\": {{faker 'datatype.boolean'}},\n \"tax_entity_name\": \"\",\n \"tax_number_service\": \"\",\n \"tax_supported\": {{faker 'datatype.boolean'}},\n \"tax_timezone\": \"\",\n \"test\": {{faker 'datatype.boolean'}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"transaction_lines\": [\n {\n \"additional_currencies\": {\n \"invoice\": {\n \"amount\": {{faker 'number.int' max=99999}},\n \"currency_code\": \"\",\n \"fx_rate\": {{faker 'number.int' max=99999}},\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}}\n }\n },\n \"amount\": {{faker 'number.int' max=99999}},\n \"custom_fields\": [\n {\n \"key\": \"\",\n \"value\": \"\"\n }\n ],\n \"custom_id\": \"\",\n \"deducted_tax_amount\": {{faker 'number.int' max=99999}},\n \"deducted_tax_rate\": {{faker 'number.int' max=99999}},\n \"description\": \"\",\n \"id\": {{faker 'number.int' max=99999}},\n \"informative\": {{faker 'datatype.boolean'}},\n \"line_key\": \"\",\n \"product_code\": \"\",\n \"product_tax_code\": \"\",\n \"product_type\": \"\",\n \"quantity\": {{faker 'number.int' max=99999}},\n \"refunded_tax_amount\": {{faker 'number.int' max=99999}},\n \"refunded_total_amount\": {{faker 'number.int' max=99999}},\n \"supply_date\": \"\",\n \"tax_amount\": {{faker 'number.int' max=99999}},\n \"tax_name\": \"\",\n \"tax_rate\": {{faker 'number.int' max=99999}},\n \"total_amount\": {{faker 'number.int' max=99999}},\n \"unit_of_measure\": \"\",\n \"unit_price\": {{faker 'number.int' max=99999}}\n }\n ],\n \"verification_token\": \"\"\n }\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "b73cb5c6-5dba-4cae-bbf7-a5341ad53660", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f0eb9cff-bde2-471d-9fb4-3a056955b676", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "ed20c24a-eff0-43b7-bacf-7f0641a1f528", "documentation": "Create SMS token", "method": "post", "endpoint": "api/v1/verification/sms", "responses": [ { "uuid": "cbdd54e7-162a-4809-9ce9-e33c5ce86081", "body": "{\n \"success\": {{faker 'datatype.boolean'}}\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "493b595f-f094-434a-a0dc-cd1ee52d7e5e", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "f7fe7c81-a00f-437d-8c06-a7be3d376c0e", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "67d9f7ab-4aea-4ac3-8772-7c8bbd22b7d4", "documentation": "Verify SMS token", "method": "get", "endpoint": "api/v1/verification/sms/:token", "responses": [ { "uuid": "c8039a1e-4f14-448b-a06d-6b25bf3583a0", "body": "{\n \"country_code\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "OK", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" }, { "uuid": "8b71fe6a-6906-45cd-8d84-8635d9a63eac", "body": "", "latency": 0, "statusCode": 400, "label": "Validation failed, see JSON body response for details.", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" }, { "uuid": "04e5e5da-4543-4ed9-800f-46afef7069b5", "body": "", "latency": 0, "statusCode": 401, "label": "Incorrect token", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": false, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "0c2f3d67-14d3-4334-8a30-9a0cda19ef69" }, { "type": "route", "uuid": "ed15a8b6-9c6e-47a1-b47e-76175688c734" }, { "type": "route", "uuid": "d5a66110-482e-4a5d-8563-1d8bb3647a35" }, { "type": "route", "uuid": "36627d69-b2a3-419c-af69-2a2b9702f5aa" }, { "type": "route", "uuid": "37a07423-57fa-4c8f-9f65-e51c7c0fa677" }, { "type": "route", "uuid": "8054bea6-e917-4122-a255-0bf636959cab" }, { "type": "route", "uuid": "35db27e6-a4b1-4982-93cb-dc3f0e27b145" }, { "type": "route", "uuid": "4b219c1d-6496-4e0c-baed-17f9e5d22f87" }, { "type": "route", "uuid": "c5247668-d2d7-41d4-ad46-f1be3e07e470" }, { "type": "route", "uuid": "79363e45-a4e8-4605-bc00-beb254f3f19c" }, { "type": "route", "uuid": "8b26e499-e139-40a2-853a-577e5ce73add" }, { "type": "route", "uuid": "1aeaef29-db32-4efe-a1f8-66bd065e725d" }, { "type": "route", "uuid": "833101af-9925-4297-8216-5ac4dd41ff63" }, { "type": "route", "uuid": "efdb9594-3f25-4980-b7c8-f83b149305b1" }, { "type": "route", "uuid": "b0f99bce-3a50-4adf-a5f5-1cd4b6573ed5" }, { "type": "route", "uuid": "8e79dff4-30fe-4fc6-9381-8498584665c4" }, { "type": "route", "uuid": "06e74f40-ddab-499b-b9e4-a6752a0dc2c1" }, { "type": "route", "uuid": "71a6e6cb-83b1-4342-9cca-d0d8b8421ab3" }, { "type": "route", "uuid": "c7b5af34-d7c6-4da9-9b83-a49283e2118a" }, { "type": "route", "uuid": "b31bf90b-190f-40fe-a6a7-f335b225730f" }, { "type": "route", "uuid": "9ea2e848-bfcc-449c-81be-13e92f80259c" }, { "type": "route", "uuid": "71096e57-0f1b-48c2-b120-5d5e9107b8bf" }, { "type": "route", "uuid": "33472e93-2c99-4a17-836b-fb1e543b27b8" }, { "type": "route", "uuid": "80f16aab-8d62-4865-a169-19d801c1bd59" }, { "type": "route", "uuid": "e89227a7-dfec-4789-a61c-efa576bc6ff4" }, { "type": "route", "uuid": "122fd1cf-db2d-41bb-bffa-b6ae1f6b9a44" }, { "type": "route", "uuid": "c3ecaeae-75ec-4df8-896c-42b7d81b242e" }, { "type": "route", "uuid": "03060fe4-4e45-45f7-866c-4c9a9e1a3100" }, { "type": "route", "uuid": "fccf72b4-ef53-4975-9e04-1c0dfa9e8729" }, { "type": "route", "uuid": "1c7a5be5-532f-47a6-bd40-f14f3930659a" }, { "type": "route", "uuid": "88665fab-15ad-47f1-9267-be828c2b02e9" }, { "type": "route", "uuid": "40d75e6f-d5ad-4fdc-8c75-eadbdeeffdcd" }, { "type": "route", "uuid": "6ea003e9-a60b-47cc-b08d-f868b9e4222c" }, { "type": "route", "uuid": "6a78b121-a83a-47c1-bd7a-12fa737317e0" }, { "type": "route", "uuid": "ed20c24a-eff0-43b7-bacf-7f0641a1f528" }, { "type": "route", "uuid": "67d9f7ab-4aea-4ac3-8772-7c8bbd22b7d4" } ] }