Returns a JSON array of report metadata
Report Service API
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/
Reports
Use these API operations to get payment reports.
| Operation | Method | Description |
|---|---|---|
| List reports | GET | Returns an array of reports available for download. |
| Create a report | POST | Create a report. |
| Get a report | GET | Get the download link for a specific report. |
| Delete a report | DELETE | Delete a specific report. |
| Download a report | GET | Download a transaction report. |
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports
- curl
- Python
- JavaScript
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports?caspian-only=true&created-by=USER' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Returns an array of report metadata for the calling tenant
Unique identifier for a report.
The report type of the downloadable report.
| Value | Description |
|---|---|
| PAYMENT_OPS | Basic payment report suitable for high-level payment investigation and reporting. |
The report format of the downloadable report.
| Enum Value | Description |
|---|---|
| CSV | A CSV file is a text file that uses a comma to delimit values. Each line of text corresponds to a unique record. |
| JSON | JSON (Javascript Object Notation) is a file format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays. |
The status of the report.
| Enum Value | Description |
|---|---|
| PENDING | Report isn't ready for download. |
| READY | Report is ready for download. |
| FAILED | Unable generate the report. |
| EMPTY | Report has no transactions for the date range. |
The ISO-8601 start date (inclusive) of the report.
The ISO-8601 end date (inclusive) of the report.
Note: Must be after startDate, but no more than 90 days after.
Identifies the entity that initiated the report creation.
| Value | Description |
|---|---|
| SCHEDULER | Automated system-generated report initiated by the scheduler. |
| API | User-generated report initiated through the API. |
| [full name] | Full name of the user who initiated the creation of the report through the UI. |
| null | Legacy support for older reports. |
{ "reports": [ { … } ] }
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports
- curl
- Python
- JavaScript
curl -i -X PUT \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports?tenant-id=string&use-caspian=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: */*' \
-d 497f6eca-6276-4993-bfeb-53cbbbba6f08Returns the list of reports with resulting retry STATUS attached
Unique identifier for a report.
The report type of the downloadable report.
| Value | Description |
|---|---|
| PAYMENT_OPS | Basic payment report suitable for high-level payment investigation and reporting. |
The report format of the downloadable report.
| Enum Value | Description |
|---|---|
| CSV | A CSV file is a text file that uses a comma to delimit values. Each line of text corresponds to a unique record. |
| JSON | JSON (Javascript Object Notation) is a file format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays. |
The status of the report.
| Enum Value | Description |
|---|---|
| PENDING | Report isn't ready for download. |
| READY | Report is ready for download. |
| FAILED | Unable generate the report. |
| EMPTY | Report has no transactions for the date range. |
The ISO-8601 start date (inclusive) of the report.
The ISO-8601 end date (inclusive) of the report.
Note: Must be after startDate, but no more than 90 days after.
{ "reports": [ { … } ] }
Parameters defining the requested report
User defined name of the report.
The ISO-8601 start date (inclusive) for the requested report.
The ISO-8601 end date (inclusive) for the requested report.
Note: Must be after startDate, but no more than 90 days after.
The report type of the downloadable report.
| Value | Description |
|---|---|
| PAYMENT_OPS | Basic payment report suitable for high-level payment investigation and reporting. |
The report format of the downloadable report.
| Enum Value | Description |
|---|---|
| CSV | A CSV file is a text file that uses a comma to delimit values. Each line of text corresponds to a unique record. |
| JSON | JSON (Javascript Object Notation) is a file format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays. |
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports
- curl
- Python
- JavaScript
curl -i -X POST \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports?use-caspian=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: */*' \
-d '[object Object]'Returns the JSON record for the posted report
Unique identifier for a report.
The report type of the downloadable report.
| Value | Description |
|---|---|
| PAYMENT_OPS | Basic payment report suitable for high-level payment investigation and reporting. |
The report format of the downloadable report.
| Enum Value | Description |
|---|---|
| CSV | A CSV file is a text file that uses a comma to delimit values. Each line of text corresponds to a unique record. |
| JSON | JSON (Javascript Object Notation) is a file format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays. |
The status of the report.
| Enum Value | Description |
|---|---|
| PENDING | Report isn't ready for download. |
| READY | Report is ready for download. |
| FAILED | Unable generate the report. |
| EMPTY | Report has no transactions for the date range. |
The ISO-8601 start date (inclusive) of the report.
The ISO-8601 end date (inclusive) of the report.
Note: Must be after startDate, but no more than 90 days after.
{ "reportId": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "reportName": "My custom report", "reportType": "PAYMENT_OPS", "reportFormat": "CSV", "reportStatus": "READY", "startDate": "2018-04-06T19:33:35Z", "endDate": "2018-04-06T20:33:35Z", "createdOn": "2018-04-06T20:33:35Z" }
Parameters defining the requested report
| Items Value | Description |
|---|---|
| PAYMENT_OPS | Basic payment report suitable for high-level payment investigation and reporting. |
| Enum Value | Description |
|---|---|
| EXTERNAL | External endpoint |
| INTERNAL | Internal endpoint |
The ISO-8601 start date (inclusive) for the requested report.
The ISO-8601 end date (inclusive) for the requested report.
Note: Must be after startDate, but no more than 90 days after.
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/scheduler/reports
- curl
- Python
- JavaScript
curl -i -X POST \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/scheduler/reports?use-caspian=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: */*' \
-d '[object Object]'Returns an array of reports created
Unique identifier for a report.
The report type of the downloadable report.
| Value | Description |
|---|---|
| PAYMENT_OPS | Basic payment report suitable for high-level payment investigation and reporting. |
The report format of the downloadable report.
| Enum Value | Description |
|---|---|
| CSV | A CSV file is a text file that uses a comma to delimit values. Each line of text corresponds to a unique record. |
| JSON | JSON (Javascript Object Notation) is a file format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays. |
The status of the report.
| Enum Value | Description |
|---|---|
| PENDING | Report isn't ready for download. |
| READY | Report is ready for download. |
| FAILED | Unable generate the report. |
| EMPTY | Report has no transactions for the date range. |
The ISO-8601 start date (inclusive) of the report.
The ISO-8601 end date (inclusive) of the report.
Note: Must be after startDate, but no more than 90 days after.
{ "reports": [ { … } ] }
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/{report-id}
- curl
- Python
- JavaScript
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/{report-id}?caspian-only=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Returns the JSON record of the report specified in the path parameter
Unique identifier for a report.
The report type of the downloadable report.
| Value | Description |
|---|---|
| PAYMENT_OPS | Basic payment report suitable for high-level payment investigation and reporting. |
The report format of the downloadable report.
| Enum Value | Description |
|---|---|
| CSV | A CSV file is a text file that uses a comma to delimit values. Each line of text corresponds to a unique record. |
| JSON | JSON (Javascript Object Notation) is a file format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays. |
The status of the report.
| Enum Value | Description |
|---|---|
| PENDING | Report isn't ready for download. |
| READY | Report is ready for download. |
| FAILED | Unable generate the report. |
| EMPTY | Report has no transactions for the date range. |
The ISO-8601 start date (inclusive) for a requested report.
The ISO-8601 end date (inclusive) for the requested report.
Note: Must be after startDate, but no more than 90 days after.
Link where you can download the report in the available format. This field is available when the report status is READY.
Identifies the entity that initiated the report creation.
| Value | Description |
|---|---|
| SCHEDULER | Automated system-generated report initiated by the scheduler. |
| API | User-generated report initiated through the API. |
| [full name] | Full name of the user who initiated the creation of the report through the UI. |
| null | Legacy support for older reports. |
{ "reportId": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "reportName": "My custom report", "reportType": "PAYMENT_OPS", "reportFormat": "CSV", "reportStatus": "READY", "startDate": "2018-04-06T19:33:35Z", "endDate": "2018-04-06T20:33:35Z", "createdOn": "2018-04-06T20:33:35Z", "downloadLink": "https://reporting-test.rnc.ripplenet.com/v4/reports/download/497f6eca-6276-4993-bfeb-53cbbbba6f08", "reportCreatedBy": "Norma Jean" }
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/{report-id}
- curl
- Python
- JavaScript
curl -i -X DELETE \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/{report-id}?caspian_only=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/download/{report-id}
- curl
- Python
- JavaScript
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/download/497f6eca-6276-4993-bfeb-53cbbbba6f08?caspian-only=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'"string"
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/all
- curl
- Python
- JavaScript
curl -i -X DELETE \
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/all \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/all
- curl
- Python
- JavaScript
curl -i -X PUT \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/all?use-caspian=true' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: */*' \
-d '[object Object]'Returns an array of report metadata for rerun reports
Unique identifier for a report.
The report type of the downloadable report.
| Value | Description |
|---|---|
| PAYMENT_OPS | Basic payment report suitable for high-level payment investigation and reporting. |
The report format of the downloadable report.
| Enum Value | Description |
|---|---|
| CSV | A CSV file is a text file that uses a comma to delimit values. Each line of text corresponds to a unique record. |
| JSON | JSON (Javascript Object Notation) is a file format that uses human-readable text to store and transmit data objects consisting of attribute-value pairs and arrays. |
The status of the report.
| Enum Value | Description |
|---|---|
| PENDING | Report isn't ready for download. |
| READY | Report is ready for download. |
| FAILED | Unable generate the report. |
| EMPTY | Report has no transactions for the date range. |
The ISO-8601 start date (inclusive) of the report.
The ISO-8601 end date (inclusive) of the report.
Note: Must be after startDate, but no more than 90 days after.
{ "reports": [ { … } ] }
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/tenants
- curl
- Python
- JavaScript
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/tenants?tenant-ids=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "property1": [ {} ], "property2": [ {} ] }
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/tenants
- curl
- Python
- JavaScript
curl -i -X DELETE \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/reports/tenants?tenant-id=string&report-id=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/validate-tenant
- curl
- Python
- JavaScript
curl -i -X GET \
https://docs.ripple.com/_mock/products/payments-direct/api-docs/report-service/report-service/internal/validate-tenant \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'