curl --request GET \
  --url https://api.dots.dev/api/v2/transactions/{transaction_id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "id": 123,
  "amount": 123,
  "created": "2023-11-07T05:31:56Z",
  "source_name": "<string>",
  "destination_name": "<string>",
  "type": "balance",
  "metadata": "<string>",
  "transfer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "transfer": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created": "2023-11-07T05:31:56Z",
    "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "created",
    "type": "refill",
    "amount": 123,
    "external_data": {
      "account_id": "<string>",
      "external_id": "<string>",
      "platform": "ach"
    },
    "transactions": [
      {}
    ],
    "payout_link_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "metadata": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

transaction_id
string
required

Id of the transaction

Response

200 - application/json
OK

The transaction object.

id
integer
amount
number
created
string
source_name
string
destination_name
string
type
enum<string>

The general category of the transaction

Available options:
balance,
refill,
payout,
payment,
fee,
surrogate
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.

transfer_id
string

ID of the transfer that the transaction belongs to.

transfer
object

The transfer that the transaction belongs to. This is only present if include_transfer is true.