|
| 1 | +servers: |
| 2 | + - url: 'https://api-sandbox.rebilly.com/experimental/organizations/{organizationId}' |
| 3 | + description: Sandbox server |
| 4 | + variables: |
| 5 | + organizationId: |
| 6 | + default: unknown |
| 7 | + description: |- |
| 8 | + Unique organization identifier. |
| 9 | + An organization is an entity that represents a company. |
| 10 | + For more information, see [Obtain an organization ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id). |
| 11 | + - url: 'https://api.rebilly.com/experimental/organizations/{organizationId}' |
| 12 | + description: Live server |
| 13 | + variables: |
| 14 | + organizationId: |
| 15 | + default: unknown |
| 16 | + description: |- |
| 17 | + Unique organization identifier. |
| 18 | + An organization is an entity that represents a company. |
| 19 | + For more information, see [Obtain an organization ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id). |
| 20 | +get: |
| 21 | + x-badge: Experimental |
| 22 | + x-products: |
| 23 | + - Reports |
| 24 | + tags: |
| 25 | + - Reports |
| 26 | + summary: Retrieve a declined transactions report |
| 27 | + operationId: GetDeclinedTransactionsReport |
| 28 | + x-sdk-operation-name: getDeclinedTransactions |
| 29 | + description: Retrieves a report on declined transactions. |
| 30 | + parameters: |
| 31 | + - name: aggregationField |
| 32 | + in: query |
| 33 | + description: Report aggregation field. |
| 34 | + required: true |
| 35 | + schema: |
| 36 | + type: string |
| 37 | + enum: |
| 38 | + - gatewayResponseMessage |
| 39 | + - gatewayResponseOriginalMessage |
| 40 | + - name: periodStart |
| 41 | + in: query |
| 42 | + description: Date and time when the report starts. |
| 43 | + required: true |
| 44 | + schema: |
| 45 | + type: string |
| 46 | + format: date-time |
| 47 | + - name: periodEnd |
| 48 | + in: query |
| 49 | + description: Date and time when the report ends. |
| 50 | + required: true |
| 51 | + schema: |
| 52 | + type: string |
| 53 | + format: date-time |
| 54 | + - $ref: ../components/parameters/collectionLimit.yaml |
| 55 | + - $ref: ../components/parameters/collectionOffset.yaml |
| 56 | + - $ref: ../components/parameters/collectionFilter.yaml |
| 57 | + responses: |
| 58 | + '200': |
| 59 | + description: Report retrieved. |
| 60 | + content: |
| 61 | + application/json: |
| 62 | + schema: |
| 63 | + $ref: ../components/schemas/ReportDeclinedTransactions.yaml |
| 64 | + '401': |
| 65 | + $ref: ../components/responses/Unauthorized.yaml |
| 66 | + '403': |
| 67 | + $ref: ../components/responses/Forbidden.yaml |
0 commit comments