---
updatedAt: 2026-04-23T08:59:08.000Z
agentTools:
  projectIndex: https://docs.thegivingblock.com/llms.txt
---

# GetTransactionByUuid

This endpoint is used to get the transaction by its UUID.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "The Giving Block REST API service",
    "description": "Public API for integration with TGB",
    "version": "0.100.0"
  },
  "paths": {
    "/v1/transaction/{uuid}": {
      "get": {
        "summary": "GetTransactionByUuid",
        "description": "This endpoint is used to get the transaction by its UUID.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "data": {
                      "type": "object",
                      "properties": {
                        "data": {
                          "type": "object",
                          "properties": {
                            "transactions": {
                              "type": "object",
                              "properties": {
                                "data": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "transactionDate": {
                                        "type": "string"
                                      },
                                      "currency": {
                                        "type": "string"
                                      },
                                      "amount": {
                                        "type": "number",
                                        "format": "float"
                                      },
                                      "grossAmount": {
                                        "type": "number",
                                        "format": "float"
                                      },
                                      "totalFees": {
                                        "type": "number",
                                        "format": "float"
                                      },
                                      "netAmount": {
                                        "type": "number",
                                        "format": "float"
                                      },
                                      "txId": {
                                        "type": "string"
                                      },
                                      "destination": {
                                        "type": "string"
                                      },
                                      "origin": {
                                        "type": "string"
                                      },
                                      "anon": {
                                        "type": "boolean"
                                      },
                                      "donationNotes": {
                                        "type": "string",
                                        "nullable": true
                                      },
                                      "fundsDesignation": {
                                        "type": "string",
                                        "nullable": true
                                      },
                                      "organizationId": {
                                        "type": "number",
                                        "format": "float"
                                      },
                                      "organizationName": {
                                        "type": "string"
                                      },
                                      "donorName": {
                                        "type": "string"
                                      },
                                      "donorFirstName": {
                                        "type": "string"
                                      },
                                      "donorLastName": {
                                        "type": "string"
                                      },
                                      "donorEmail": {
                                        "type": "string"
                                      },
                                      "donorAddress": {
                                        "type": "string"
                                      },
                                      "donorEmployer": {
                                        "type": "string",
                                        "nullable": true
                                      },
                                      "donorOccupation": {
                                        "type": "string",
                                        "nullable": true
                                      },
                                      "isDonorRetired": {
                                        "type": "string",
                                        "nullable": true
                                      },
                                      "city": {
                                        "type": "string"
                                      },
                                      "zipcode": {
                                        "type": "string"
                                      },
                                      "state": {
                                        "type": "string"
                                      },
                                      "country": {
                                        "type": "string"
                                      },
                                      "id": {
                                        "type": "string"
                                      },
                                      "type": {
                                        "type": "string"
                                      },
                                      "timestampms": {
                                        "type": "string"
                                      },
                                      "method": {
                                        "type": "string"
                                      },
                                      "totalFeesPercentage": {
                                        "type": "number",
                                        "format": "float"
                                      },
                                      "netAmountCurrency": {
                                        "type": "string"
                                      },
                                      "uuid": {
                                        "type": "string"
                                      },
                                      "originalTransactionId": {
                                        "type": "string",
                                        "nullable": true
                                      },
                                      "areTransactionFeesCovered": {
                                        "type": "boolean"
                                      },
                                      "externalId": {
                                        "type": "string",
                                        "nullable": true
                                      },
                                      "grossAmountInPayoutCurrency": {
                                        "type": "number",
                                        "format": "float"
                                      },
                                      "payoutAmount": {
                                        "type": "number",
                                        "format": "float"
                                      },
                                      "payoutCurrency": {
                                        "type": "string"
                                      },
                                      "paymentProvider": {
                                        "type": "string",
                                        "nullable": true,
                                        "description": "The payment provider used for the transaction. This field is returned only for DAF payments."
                                      }
                                    },
                                    "additionalProperties": false,
                                    "example": {
                                      "transactionDate": "2023-03-21T08:41:24Z",
                                      "currency": "USD",
                                      "amount": 11.69,
                                      "grossAmount": 11.69,
                                      "totalFees": 0.35,
                                      "netAmount": 11.33,
                                      "txId": "char_hWSlEpaeYA4FRHsJa7AigwiG",
                                      "destination": "a0341cbe-bfba-49f3-85d1-b9eeaea71562",
                                      "origin": null,
                                      "anon": false,
                                      "donationNotes": "",
                                      "fundsDesignation": null,
                                      "organizationId": 1189132264,
                                      "organizationName": "The Best Organization Ever",
                                      "donorName": "Example Donor",
                                      "donorFirstName": "Example",
                                      "donorLastName": "Donor",
                                      "donorEmail": "example-email@thegivingblock.com",
                                      "donorAddress": "111 Test st",
                                      "city": "Allentown",
                                      "zipcode": "18109",
                                      "state": "Pennsylvania",
                                      "country": "United States",
                                      "id": 1752,
                                      "type": "Deposit",
                                      "timestampms": "1679388084929",
                                      "method": "Card",
                                      "totalFeesPercentage": 3,
                                      "netAmountCurrency": "USD",
                                      "uuid": "d90f0950-c3a4-4581-bc7e-52b6dd54177e",
                                      "originalTransactionId": null,
                                      "externalId": "some-external-id",
                                      "areTransactionFeesCovered": false,
                                      "payoutCurrency": "USD",
                                      "payoutAmount": 11.33,
                                      "grossAmountInPayoutCurrency": 11.69,
                                      "paymentProvider": "some-provider"
                                    }
                                  },
                                  "description": "List of transactions"
                                }
                              },
                              "additionalProperties": false
                            }
                          },
                          "additionalProperties": false
                        },
                        "pagination": {
                          "type": "object",
                          "properties": {
                            "page": {
                              "type": "integer",
                              "minimum": 1,
                              "description": "Page number, minimal value is 1",
                              "example": 1
                            },
                            "itemsPerPage": {
                              "type": "integer",
                              "minimum": 1,
                              "description": "Number of items per page, minimal value is 1",
                              "example": 10
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "additionalProperties": false
                    },
                    "requestId": {
                      "type": "string",
                      "example": "48a0ff4d-08fb-4a48-9fb8-aaed27b476b5"
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "Validation error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationError"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnauthorizedError"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorMessage": {
                      "type": "string",
                      "example": [
                        "User is not authorized to perform this operation"
                      ]
                    },
                    "errorType": {
                      "type": "string",
                      "example": [
                        "err.forbidden"
                      ]
                    },
                    "meta": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": false
                    },
                    "requestId": {
                      "type": "string",
                      "example": "7c369634-aa21-4c9b-b40c-6245a7139022"
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "errorMessage": {
                      "type": "string",
                      "example": [
                        "Transaction not found"
                      ]
                    },
                    "errorType": {
                      "type": "string",
                      "example": [
                        "err.entityDoesNotExist"
                      ]
                    },
                    "meta": {
                      "type": "object",
                      "properties": {},
                      "additionalProperties": false
                    },
                    "requestId": {
                      "type": "string",
                      "example": "7c140a5d-6edf-451a-8d6a-df2ccc526582"
                    }
                  },
                  "additionalProperties": false
                }
              }
            }
          }
        },
        "tags": [
          "Transactions"
        ],
        "security": [
          {
            "PublicApiAuth": []
          }
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "description": "UUID of the transaction"
            },
            "name": "uuid",
            "in": "path",
            "required": true
          }
        ]
      }
    }
  },
  "servers": [
    {
      "url": "https://public-api.tgbwidget.com",
      "description": "Production Public API server"
    },
    {
      "url": "https://public-api.sandbox.thegivingblock.com",
      "description": "Sandbox Public API server"
    }
  ],
  "components": {
    "securitySchemes": {
      "PublicApiAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "UnauthorizedError": {
        "type": "object",
        "properties": {
          "errorMessage": {
            "type": "string"
          },
          "errorType": {
            "type": "string"
          },
          "meta": {
            "type": "object",
            "properties": {},
            "additionalProperties": false
          },
          "requestId": {
            "type": "string",
            "example": "42dafda7-f1c3-47f3-8595-45864b7f207f"
          }
        },
        "additionalProperties": false
      },
      "ValidationError": {
        "type": "object",
        "properties": {
          "errorMessage": {
            "type": "string"
          },
          "errorType": {
            "type": "string"
          },
          "meta": {
            "type": "object",
            "properties": {
              "errorCode": {
                "type": "string"
              },
              "validationErrorMessage": {
                "type": "string"
              },
              "failedAttributes": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "attributeName": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "path": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "additionalProperties": false
                }
              }
            },
            "additionalProperties": false
          },
          "requestId": {
            "type": "string",
            "example": "28d6ca3b-4ea1-4252-a610-80d16f94cedc"
          }
        },
        "additionalProperties": false
      }
    }
  }
}
```