# Transactions

## Returns the list of all transactions

> The transactions are sorted by creation date, in descending order. The most recently created transactions appear first.\<br /> The transactions can be filtered by date using the \`from\` and \`to\` parameters. \<br /> If the \`from\` and \`to\` parameters are not provided, the transactions are fetched from the beginning until now.\<br /> The transactions can be paginated using the \`limit\` parameter. \<br /> If there are more transactions to fetch with the provided parameters, the response will contain a \`hasNextPage\` field set to \`true\`.\<br /> In order to fetch the next page, the \`to\` parameter must be set to the \`createdAt\` field of the last transaction of the current page.<br>

```json
{"openapi":"3.1.0","info":{"title":"Rialto Manager API","version":"1.0.0"},"servers":[{"url":"https://api.rialtobridge.xyz/api/manager/v1","description":"Main (production) server for the Rialto Manager API"},{"url":"https://staging.api.rialtobridge.xyz/api/manager/v1","description":"Test (staging) server for the Rialto Manager API"},{"url":"http://localhost:3002/api/manager/v1","description":"Development server for the Rialto Manager API"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","name":"RIALTO_API_KEY","in":"header"}},"parameters":{"filterTransactionFrom":{"name":"from","in":"query","required":false,"description":"The date from which the transactions are fetched.<br /> The comparison is made using the `createdAt` field of the transactions.<br /> The comparison is **inclusive**, meaning that the transactions created at the provided date are **included** in the result.<br /> The value is in ISO 8601 format.<br /> If the value is not provided, the transactions are fetched from the beginning.\n","schema":{"type":"string","format":"date-time"}},"filterTransactionTo":{"name":"to","in":"query","required":false,"description":"The date to which the transactions are fetched.<br /> The comparison is made using the `createdAt` field of the transactions.<br /> The comparison is **exlusive**, meaning that the transactions created at the provided date are **not included** in the result.<br /> The value is in ISO 8601 format.<br /> If the value is not provided, the transactions are fetched until now.\n","schema":{"type":"string","format":"date-time"}},"filterTransactionLimit":{"name":"limit","in":"query","required":false,"description":"The maximum number of transactions to fetch.<br /> The value must be a positive integer.<br /> If the value is not provided, the default value is 10.<br/> The maximum value is 100.\n","schema":{"type":"integer","format":"int32"}}},"schemas":{"Transaction":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the transaction."},"transactionType":{"type":"string","description":"The type of the transaction. Possible values are:\n  - OFFRAMP: The transaction is an off-ramping of blockchain asset to fiat currency,\n  - ONRAMP: The transaction is an on-ramping of fiat currency to blockchain asset.\n","enum":["OFFRAMP","ONRAMP"]},"status":{"type":"string","description":"The status of the transaction. Possible values are:\n  - IDLE: The transaction has been created and is waiting for the initial funds transfer to be initiated,\n  - INITIATED: transaction has been initiated, it is in progress of resolution by Rialto,\n  - COMPLETED: The transaction has been completed,\n  - CANCELLED: The transaction has been cancelled,\n  - DISMISSED: The transaction has been dismissed by Rialto.\n","enum":["IDLE","INITIATED","COMPLETED","CANCELLED","DISMISSED"]},"idempotencyKey":{"type":["string","null"],"description":"The idempotency key input at the transaction creation.<br /> It is only defined for transactions created by the API\n"},"originalAmount":{"type":"number","format":"float","description":"The original amount of the transaction.<br /> The value is always positive.\n"},"fiatCurrency":{"type":"string","description":"The fiat currency of the transaction. See [the list of supported](https://docs.rialtobridge.xyz/concepts) fiat currencies."},"blockchainAsset":{"type":"string","description":"The blockchain asset of the transaction. See [the list of supported](https://docs.rialtobridge.xyz/concepts) blockchain assets."},"blockchainNetwork":{"type":"string","description":"The blockchain network of the transaction. See [the list of supported](https://docs.rialtobridge.xyz/concepts) blockchains."},"blockchainWalletId":{"type":"string","format":"uuid","description":"The blockchain wallet identifier of transaction."},"bankAccountId":{"type":"string","format":"uuid","description":"The bank account identifier of transaction.<br /> The fiat currency of the transaction is the one of the bank account.\n"},"wireReferenceOverride":{"type":["string","null"],"description":"In case of offramp, string that will replace the default wire reference.<br /> Use for specific cases of matching and integration on the client bank side.<br /> Field is optional.\n"},"additionalDetails":{"type":"object","description":"The additional details of the transaction.<br /> It can be used to store additional information about the transaction.\n","properties":{"sourceOfFundsDocuments":{"type":"array","items":{"type":"string"},"description":"The keys of the documents uploaded by the user as the source of funds.<br /> Each key can be used in order to download the document.\n"},"businessJustificationDocuments":{"type":"array","items":{"type":"string"},"description":"The keys of the documents uploaded by the user as the business justification.<br /> Each key can be used in order to download the document.\n"},"comments":{"type":"string","description":"Comments added by the user at the creation of the transaction."}}},"initiationInstruction":{"type":"object","description":"The initiation instruction of the transaction.<br /> It changes depending on the transaction type.<br />\n","properties":{"blockchainWallet":{"type":["object","null"],"description":"The Rialto blockchain wallet to which the initiation transfer must be done.<br /> Only present if the transaction is an off-ramp transaction, i.e. transaction type **OFFRAMP**.\n","properties":{"address":{"type":"string","description":"The blockchain wallet address."},"blockchainNetwork":{"type":"string","description":"The blockchain network of the wallet."}}},"bankAccount":{"type":["object","null"],"description":"The Rialto bank account to which the initiation transfer must be done.<br /> Only present if the transaction is an on-ramp transaction, i.e. transaction type **ONRAMP**.\n","properties":{"countryCode":{"type":"string","description":"The country code of the bank account."},"iban":{"type":"string","description":"The IBAN of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."},"intermediaryBic":{"type":["string","null"],"description":"The intermediary BIC of the bank account."},"beneficiary":{"type":"object","description":"The beneficiary of the bank account.","properties":{"name":{"type":"string","description":"The name of the beneficiary."},"address":{"type":["string","null"],"description":"The address of the beneficiary."},"city":{"type":["string","null"],"description":"The city of the beneficiary."},"postcode":{"type":"string","description":"The postcode of the beneficiary."},"countryCode":{"type":"string","description":"The country code of the beneficiary."}}}}},"wireReference":{"type":["string","null"],"description":"The wire reference to include in the initiation transfer to Rialto bank account.<br /> Only present if the transaction is an on-ramp transaction, i.e. transaction type **ONRAMP**.\n"}}},"createdAt":{"type":"string","format":"date-time","description":"The creation date of the transaction."},"initiation":{"type":["object","null"],"description":"The initiation object of the transaction.<br /> Only present if the transaction has been initiated, i.e. in statuses **INITIATED** or **COMPLETED**.<br /> Object will also be present if the transaction has been dismissed by Rialto after initiation, i.e. in status **DISMISSED**.\n","properties":{"amount":{"type":"number","format":"float","description":"The amount of the initial funds transfer to Rialto.<br /> A margin of 1% with respect to the original amount is allowed.<br /> The value is always positive.\n"},"bpsFee":{"type":"number","format":"uint32","description":"The previsionnal fee of the transaction in BPS (basis points).<br /> The volume part of the fee amount can be derived by applying the BPS fee to the amount of the initial funds transfer.<br /> The value is always positive.\n"},"fixedFee":{"type":"number","format":"uint32","description":"The previsionnal fixed fee applied to the transaction.<br /> The fixed fee is applied after the calculation of the volume fee in the total fee computation.<br /> This fee is only applied on offramps, for flows originating from usd or euro stablecoins.<br /> The value is always positive.\n"},"timestamp":{"type":"string","format":"date-time","description":"The date when the funds were received by Rialto, activating the transaction"},"transactionHash":{"type":["string","null"],"description":"The transaction hash of the initiation of the transaction.<br /> Only present for off-ramps, i.e. transaction type **OFFRAMP**.\n"},"wireReference":{"type":["string","null"],"description":"The wire reference of the initiation of the transaction.<br /> Only present for on-ramps, i.e. transaction type **ONRAMP**.\n"}}},"completion":{"type":["object","null"],"description":"The completion object of the transaction.<br /> Only present if the transaction is completed, i.e. in status **COMPLETED**.\n","properties":{"amount":{"type":"number","format":"float","description":"The amount of the transfer to the user.<br /> The value is always positive.\n"},"conversionRate":{"type":"number","format":"float","description":"The conversion rate of the transaction.<br /> For off-ramp transactions, it is the rate of the blockchain asset to fiat currency.<br /> For on-ramp transactions, it is the rate of the fiat currency to blockchain asset.<br/> The value is always positive.\n"},"volumeConsumption":{"type":"number","format":"float","description":"The consumption of the monthly volume of the transaction. <br /> The value is in US dollars. It is computed based on the amount of the transaction, the blockchain asset, the fiat currency, the execution conversion rate and possibly the conversion rate to USD at the time of completion of the transaction.<br /> The value is always positive. Only two decimal places are allowed.\n"},"transactionHash":{"type":["string","null"],"description":"The transaction hash of the completion of the transaction.<br /> Only present for on-ramps, i.e. transaction type **ONRAMP**.\n"},"wireReference":{"type":["string","null"],"description":"The wire reference of the completion of the transaction.<br /> Only present for off-ramps, i.e. transaction type **OFFRAMP**.\n"},"timestamp":{"type":"string","format":"date-time","description":"The date when the transaction was completed"}}},"cancelledAt":{"type":["string","null"],"format":"date-time","description":"The date when the transaction was cancelled.<br /> Only present if the transaction was cancelled, i.e. in status **CANCELLED**.\n"},"dismissal":{"type":["object","null"],"description":"The dismissal object of the transaction.<br /> A transaction can be dismissed by Rialto at any time in case of a problem.<br /> Only present if the transaction was dismissed by Rialto, i.e. in status **DISMISSED**.\n","properties":{"reason":{"type":"string","description":"The reason why the transaction was dismissed."},"timestamp":{"type":"string","format":"date-time","description":"The date when the transaction was dismissed"}}},"clientId":{"type":"string","format":"uuid","description":"The unique identifier of the client."},"clientType":{"type":"string","enum":["INDIVIDUAL","ENTITY"],"description":"The type of the client. <br />\n  - INDIVIDUAL: The client is an individual. <br />\n  - ENTITY: The client is an entity.\n"}}}}},"paths":{"/transactions":{"get":{"summary":"Returns the list of all transactions","description":"The transactions are sorted by creation date, in descending order. The most recently created transactions appear first.<br /> The transactions can be filtered by date using the `from` and `to` parameters. <br /> If the `from` and `to` parameters are not provided, the transactions are fetched from the beginning until now.<br /> The transactions can be paginated using the `limit` parameter. <br /> If there are more transactions to fetch with the provided parameters, the response will contain a `hasNextPage` field set to `true`.<br /> In order to fetch the next page, the `to` parameter must be set to the `createdAt` field of the last transaction of the current page.\n","operationId":"getAllTransactions","tags":["Transactions"],"parameters":[{"$ref":"#/components/parameters/filterTransactionFrom"},{"$ref":"#/components/parameters/filterTransactionTo"},{"$ref":"#/components/parameters/filterTransactionLimit"}],"responses":{"200":{"description":"A JSON array of transactions.","content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Transaction"}},"hasNextPage":{"type":"boolean","description":"Whether there are more transactions to fetch with the provided parameters."}}}}}},"400":{"description":"The request is invalid.","content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","description":"The reason why the request is invalid."},"parameterErrors":{"type":["object","null"],"description":"The errors related to the parameters of the request.<br /> The object is null if there is no error related to the parameters.\n"}}}}}},"401":{"description":"Invalid API key"},"500":{"description":"An unexpected error occurred."}}}}}}
```

## Get a transaction

> Get a transaction by unique identifier.

```json
{"openapi":"3.1.0","info":{"title":"Rialto Manager API","version":"1.0.0"},"servers":[{"url":"https://api.rialtobridge.xyz/api/manager/v1","description":"Main (production) server for the Rialto Manager API"},{"url":"https://staging.api.rialtobridge.xyz/api/manager/v1","description":"Test (staging) server for the Rialto Manager API"},{"url":"http://localhost:3002/api/manager/v1","description":"Development server for the Rialto Manager API"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"type":"apiKey","name":"RIALTO_API_KEY","in":"header"}},"schemas":{"Transaction":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The unique identifier of the transaction."},"transactionType":{"type":"string","description":"The type of the transaction. Possible values are:\n  - OFFRAMP: The transaction is an off-ramping of blockchain asset to fiat currency,\n  - ONRAMP: The transaction is an on-ramping of fiat currency to blockchain asset.\n","enum":["OFFRAMP","ONRAMP"]},"status":{"type":"string","description":"The status of the transaction. Possible values are:\n  - IDLE: The transaction has been created and is waiting for the initial funds transfer to be initiated,\n  - INITIATED: transaction has been initiated, it is in progress of resolution by Rialto,\n  - COMPLETED: The transaction has been completed,\n  - CANCELLED: The transaction has been cancelled,\n  - DISMISSED: The transaction has been dismissed by Rialto.\n","enum":["IDLE","INITIATED","COMPLETED","CANCELLED","DISMISSED"]},"idempotencyKey":{"type":["string","null"],"description":"The idempotency key input at the transaction creation.<br /> It is only defined for transactions created by the API\n"},"originalAmount":{"type":"number","format":"float","description":"The original amount of the transaction.<br /> The value is always positive.\n"},"fiatCurrency":{"type":"string","description":"The fiat currency of the transaction. See [the list of supported](https://docs.rialtobridge.xyz/concepts) fiat currencies."},"blockchainAsset":{"type":"string","description":"The blockchain asset of the transaction. See [the list of supported](https://docs.rialtobridge.xyz/concepts) blockchain assets."},"blockchainNetwork":{"type":"string","description":"The blockchain network of the transaction. See [the list of supported](https://docs.rialtobridge.xyz/concepts) blockchains."},"blockchainWalletId":{"type":"string","format":"uuid","description":"The blockchain wallet identifier of transaction."},"bankAccountId":{"type":"string","format":"uuid","description":"The bank account identifier of transaction.<br /> The fiat currency of the transaction is the one of the bank account.\n"},"wireReferenceOverride":{"type":["string","null"],"description":"In case of offramp, string that will replace the default wire reference.<br /> Use for specific cases of matching and integration on the client bank side.<br /> Field is optional.\n"},"additionalDetails":{"type":"object","description":"The additional details of the transaction.<br /> It can be used to store additional information about the transaction.\n","properties":{"sourceOfFundsDocuments":{"type":"array","items":{"type":"string"},"description":"The keys of the documents uploaded by the user as the source of funds.<br /> Each key can be used in order to download the document.\n"},"businessJustificationDocuments":{"type":"array","items":{"type":"string"},"description":"The keys of the documents uploaded by the user as the business justification.<br /> Each key can be used in order to download the document.\n"},"comments":{"type":"string","description":"Comments added by the user at the creation of the transaction."}}},"initiationInstruction":{"type":"object","description":"The initiation instruction of the transaction.<br /> It changes depending on the transaction type.<br />\n","properties":{"blockchainWallet":{"type":["object","null"],"description":"The Rialto blockchain wallet to which the initiation transfer must be done.<br /> Only present if the transaction is an off-ramp transaction, i.e. transaction type **OFFRAMP**.\n","properties":{"address":{"type":"string","description":"The blockchain wallet address."},"blockchainNetwork":{"type":"string","description":"The blockchain network of the wallet."}}},"bankAccount":{"type":["object","null"],"description":"The Rialto bank account to which the initiation transfer must be done.<br /> Only present if the transaction is an on-ramp transaction, i.e. transaction type **ONRAMP**.\n","properties":{"countryCode":{"type":"string","description":"The country code of the bank account."},"iban":{"type":"string","description":"The IBAN of the bank account."},"bic":{"type":"string","description":"The BIC of the bank account."},"intermediaryBic":{"type":["string","null"],"description":"The intermediary BIC of the bank account."},"beneficiary":{"type":"object","description":"The beneficiary of the bank account.","properties":{"name":{"type":"string","description":"The name of the beneficiary."},"address":{"type":["string","null"],"description":"The address of the beneficiary."},"city":{"type":["string","null"],"description":"The city of the beneficiary."},"postcode":{"type":"string","description":"The postcode of the beneficiary."},"countryCode":{"type":"string","description":"The country code of the beneficiary."}}}}},"wireReference":{"type":["string","null"],"description":"The wire reference to include in the initiation transfer to Rialto bank account.<br /> Only present if the transaction is an on-ramp transaction, i.e. transaction type **ONRAMP**.\n"}}},"createdAt":{"type":"string","format":"date-time","description":"The creation date of the transaction."},"initiation":{"type":["object","null"],"description":"The initiation object of the transaction.<br /> Only present if the transaction has been initiated, i.e. in statuses **INITIATED** or **COMPLETED**.<br /> Object will also be present if the transaction has been dismissed by Rialto after initiation, i.e. in status **DISMISSED**.\n","properties":{"amount":{"type":"number","format":"float","description":"The amount of the initial funds transfer to Rialto.<br /> A margin of 1% with respect to the original amount is allowed.<br /> The value is always positive.\n"},"bpsFee":{"type":"number","format":"uint32","description":"The previsionnal fee of the transaction in BPS (basis points).<br /> The volume part of the fee amount can be derived by applying the BPS fee to the amount of the initial funds transfer.<br /> The value is always positive.\n"},"fixedFee":{"type":"number","format":"uint32","description":"The previsionnal fixed fee applied to the transaction.<br /> The fixed fee is applied after the calculation of the volume fee in the total fee computation.<br /> This fee is only applied on offramps, for flows originating from usd or euro stablecoins.<br /> The value is always positive.\n"},"timestamp":{"type":"string","format":"date-time","description":"The date when the funds were received by Rialto, activating the transaction"},"transactionHash":{"type":["string","null"],"description":"The transaction hash of the initiation of the transaction.<br /> Only present for off-ramps, i.e. transaction type **OFFRAMP**.\n"},"wireReference":{"type":["string","null"],"description":"The wire reference of the initiation of the transaction.<br /> Only present for on-ramps, i.e. transaction type **ONRAMP**.\n"}}},"completion":{"type":["object","null"],"description":"The completion object of the transaction.<br /> Only present if the transaction is completed, i.e. in status **COMPLETED**.\n","properties":{"amount":{"type":"number","format":"float","description":"The amount of the transfer to the user.<br /> The value is always positive.\n"},"conversionRate":{"type":"number","format":"float","description":"The conversion rate of the transaction.<br /> For off-ramp transactions, it is the rate of the blockchain asset to fiat currency.<br /> For on-ramp transactions, it is the rate of the fiat currency to blockchain asset.<br/> The value is always positive.\n"},"volumeConsumption":{"type":"number","format":"float","description":"The consumption of the monthly volume of the transaction. <br /> The value is in US dollars. It is computed based on the amount of the transaction, the blockchain asset, the fiat currency, the execution conversion rate and possibly the conversion rate to USD at the time of completion of the transaction.<br /> The value is always positive. Only two decimal places are allowed.\n"},"transactionHash":{"type":["string","null"],"description":"The transaction hash of the completion of the transaction.<br /> Only present for on-ramps, i.e. transaction type **ONRAMP**.\n"},"wireReference":{"type":["string","null"],"description":"The wire reference of the completion of the transaction.<br /> Only present for off-ramps, i.e. transaction type **OFFRAMP**.\n"},"timestamp":{"type":"string","format":"date-time","description":"The date when the transaction was completed"}}},"cancelledAt":{"type":["string","null"],"format":"date-time","description":"The date when the transaction was cancelled.<br /> Only present if the transaction was cancelled, i.e. in status **CANCELLED**.\n"},"dismissal":{"type":["object","null"],"description":"The dismissal object of the transaction.<br /> A transaction can be dismissed by Rialto at any time in case of a problem.<br /> Only present if the transaction was dismissed by Rialto, i.e. in status **DISMISSED**.\n","properties":{"reason":{"type":"string","description":"The reason why the transaction was dismissed."},"timestamp":{"type":"string","format":"date-time","description":"The date when the transaction was dismissed"}}},"clientId":{"type":"string","format":"uuid","description":"The unique identifier of the client."},"clientType":{"type":"string","enum":["INDIVIDUAL","ENTITY"],"description":"The type of the client. <br />\n  - INDIVIDUAL: The client is an individual. <br />\n  - ENTITY: The client is an entity.\n"}}}}},"paths":{"/transactions/{transactionId}":{"get":{"summary":"Get a transaction","description":"Get a transaction by unique identifier.","operationId":"getTransaction","tags":["Transactions"],"parameters":[{"name":"transactionId","in":"path","description":"The transaction ID","required":true,"schema":{"type":"string"}},{"name":"id_type","in":"query","description":"Defines whether the specified ID is the transaction ID of the transaction hash.","required":false,"schema":{"type":"string","enum":["tx_id","tx_hash"]}}],"responses":{"200":{"description":"The transaction","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Transaction"}}}},"401":{"description":"Invalid API key"},"404":{"description":"The transaction is not found."},"500":{"description":"An unexpected error occurred."}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rialtobridge.xyz/manager-api-reference/transactions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
