Transactions
Retrieve a Transaction
Retrieve a Transaction by its ID.
GET
/
v2
/
transactions
/
{transaction_id}
Authorization
Path
curl --request GET \
--url https://api.dots.dev/api/v2/transactions/{transaction_id} \
--header 'Authorization: <authorization>'
{
"amount": 123,
"created": "2023-11-07T05:31:56Z",
"destination_name": "<string>",
"id": 123,
"metadata": "<string>",
"source_name": "<string>",
"type": "balance"
}
Authorizations
Authorization
string
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
transaction_id
string
requiredId of the transaction
Response
200 - application/json
amount
number
created
string
destination_name
string
id
integer
metadata
Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
source_name
string
type
enum<string>
The general category of the transaction
Available options:
balance
, refill
, payout
, payment
, fee
, surrogate
curl --request GET \
--url https://api.dots.dev/api/v2/transactions/{transaction_id} \
--header 'Authorization: <authorization>'
{
"amount": 123,
"created": "2023-11-07T05:31:56Z",
"destination_name": "<string>",
"id": 123,
"metadata": "<string>",
"source_name": "<string>",
"type": "balance"
}