Merchant::reports::transaction

get processing result

get
/merchant-api/v1/reports/transactions

Retrieves the processing result of a previously submitted Merchant Transactions Report.

The response will be in JSON format, conforming to the schemaarrow-up-right.

Query parameters
report_idinteger · int64Required

Unique identifier of Merchant Transactions report.

Header parameters
AuthorizationstringRequired

Bearer token for authentication

Responses
chevron-right
200

Transactions report result

application/json
get
/merchant-api/v1/reports/transactions

upload a report

post
/merchant-api/v1/reports/transactions

Uploads a Merchant Transaction report.

The report must conform to the schemaarrow-up-right and the payload size must not exceed 5 Megabytes.

Report processing is asynchronous. To check the status of a submitted report, make a GET request to this same endpoint using the report_id returned in the response of this POST request.

This endpoint is idempotent; submitting the same report content multiple times will result in the same outcome without reprocessing.

Header parameters
AuthorizationstringRequired

Bearer token for authentication

Body

Report of merchant transactions

{
 "$id": "https://store.onside.io/schema/transactions-report.json",
 "title": "Merchant Transactions Report",
 "description": "Report of merchant transactions",
 "type": "object",
 "required": [
   "created_at",
   "transactions"
 ],
 "properties": {
   "created_at": {
     "description": "Date and time when the report was generated in RFC 3339 format",
     "examples": [
       "2025-06-30T16:01:25Z",
       "2025-06-30T03:01:01+02:00"
     ],
     "type": "string",
     "format": "date-time"
   },
   "transactions": {
     "description": "List of transactions",
     "type": "array",
     "items": {
       "type": "object",
       "required": [
         "currency",
         "full_amount",
         "id",
         "payer_country",
         "settled_at",
         "tax_amount"
       ],
       "properties": {
         "currency": {
           "description": "Alpha-3 code of the original currency (ISO 4027) of the transaction",
           "examples": [
             "EUR",
             "USD"
           ],
           "type": "string",
           "pattern": "^[A-Z]{3}$"
         },
         "full_amount": {
           "description": "Amount of the transaction in the original currency in minor units: the smallest unit of a currency, depending on the number of decimals. For example, $12.34 (12 USD and 34 cents) is 1234 in minor units.",
           "examples": [
             "12357",
             "99"
           ],
           "type": "integer"
         },
         "id": {
           "description": "Unique transaction identifier",
           "type": "string"
         },
         "payer_country": {
           "description": "Alpha-3 code of the country (ISO 3166) of the payer",
           "examples": [
             "FRA",
             "ESP"
           ],
           "type": "string",
           "pattern": "^[A-Z]{3}$"
         },
         "settled_at": {
           "description": "Date and time when the transaction was settled in RFC 3339 format",
           "examples": [
             "2025-06-12T12:14:25Z",
             "2025-06-01T03:01:01+02:00"
           ],
           "type": "string",
           "format": "date-time"
         },
         "tax_amount": {
           "description": "Amount of the taxes included in the transaction in the original currency in minor units: the smallest unit of a currency, depending on the number of decimals. For example, $12.34 (12 USD and 34 cents) is 1234 in minor units.",
           "examples": [
             "12357",
             "99"
           ],
           "type": "integer"
         }
       }
     },
     "minItems": 1
   }
 }
}
created_atstring · date-timeRequired

Date and time when the report was generated in RFC 3339 format

Responses
post
/merchant-api/v1/reports/transactions

Last updated

Was this helpful?