Rent Reporting-as-a-Service
...
Payment Verifications Api
reporting_account_enrollments

/admin/v1/reporting_account_enrollments/{id}/files

1min
code examples curl location globoff '5739 2607 fb91 1226 8548 79df 97cf 431a 3e5e ngrok free app/api/admin/v1/reporting account enrollments/{id}/files' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("5739 2607 fb91 1226 8548 79df 97cf 431a 3e5e ngrok free app/api/admin/v1/reporting account enrollments/{id}/files", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("5739 2607 fb91 1226 8548 79df 97cf 431a 3e5e ngrok free app/api/admin/v1/reporting account enrollments/{id}/files") http = net http new(url host, url port); request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = http request(request) puts response read body import requests import json url = "5739 2607 fb91 1226 8548 79df 97cf 431a 3e5e ngrok free app/api/admin/v1/reporting account enrollments/{id}/files" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // get file(s)