Skip to content

Get Swap Transaction

GET
/swap/transaction/{transactionId}

Get details of a specific swap transaction.

Authorizations

Parameters

Path Parameters

transactionId
required
string format: uuid

Swap transaction ID

Responses

200

Swap transaction details

object
id

Unique identifier of the swap transaction

string format: uuid
123e4567-e89b-12d3-a456-426614174000
sourceCurrency

Source currency code

string
USDC
destinationCurrency

Destination currency code

string
ETH
sourceAmount

Amount in source currency

string
1000.00
destinationAmount

Amount in destination currency

string
0.54
rate

Exchange rate used

string
1850.75
status

Current status of the swap

string
Allowed values: pending completed failed
walletId

Wallet ID that initiated the swap

string format: uuid
organisationId

Organisation ID associated with the swap

string format: uuid
createdAt

When the swap was initiated

string format: date-time
completedAt

When the swap was completed

string format: date-time
nullable
errorMessage

Error message if the swap failed

string
nullable

400

Bad Request

object
code
integer
400
message
string
Bad Request
details
string
Source currency and destination currency are required.

404

Transaction not found