---
title: "Get transaction by id"
method: GET
path: "/v1/transactions/{transaction_id}"
tags: ["Transactions"]
---

# Get transaction by id

`GET /v1/transactions/{transaction_id}`

Get transaction by transaction_id

## Path parameters

- `transaction_id` string, required

## Response `200`

The record has been successfully getted

- EdubankTransactionResponse
  - `company_logo_url` string — URL with the company logo. This logo will be displayed on the checkout page
  - `company_name` string — Company name that will be displayed on the checkout page
  - `company_data` string — Company data that will be displayed on the checkout page
  - `lose_discount_for` string[] — Payment methods that should lose the applied discount
  - `seller_id` string, required — Edubank seller id
  - `buyer` EdubankBuyers, required
    - `id` string — Buyer id
    - `first_name` string, required — Buyer's first name
    - `last_name` string, required — Buyer's last name
    - `email` string — Buyer's email
    - `taxpayer_id` string, required — Buyer's CPF/CNPJ
    - `birthdate` string — Buyer's date of birth
    - `phone_number` string — Buyer's phone number
    - `address` EdubankBuyersAddress, required
      - `city` string, required — City
      - `additional_information` string — Additional address data. In this field you can inform complement, references
      - `number` string, required — Number
      - `state_code` string, required — State (UF)
      - `street` string, required — Street / Patio
      - `neighborhood` string, required — Neighborhood
      - `zip` string, required — Postal Zone / ZIP Code)
      - `country_code` 'BR', required — Buyer's country code
  - `transaction_id` string, required — Edubank transaction id
  - `settled` boolean, required — The transaction was confirmed manually. The term "settled" is equivalent to "mark as paid"
  - `canceled` boolean, required — The transaction has been canceled
  - `payment_confirmed` boolean, required — Informs if the payment has already been confirmed
  - `successfully_paid` boolean, required — Informs whether the payment operation was successful
  - `payment_amount` number — Confirmed payment amount
  - `reference_id` string, required — Reference ID of your application VARCHAR(500)
  - `buyer_id` string, required — Edubank buyer id
  - `amount_to_pay_today` number — Amount to be paid today. Ex: 2010 = 20.10
  - `expires_in` string — Deadline to allow a credit card or pix payment to be made with this transaction. Default: creation date
  - `transaction_limit_date` string, required — Deadline to use this transaction for payment
  - `transaction_description` string — Description of the sale for payment
  - `seller_card_fees` string[], required — Seller installment card fees
  - `pix_fees` string, required — Seller pix fees
  - `sandbox` boolean, required — Defines whether the account is in test or production mode
  - `is_pinpad_transaction` boolean — Defines that a transaction is pinpad. In this case, the transaction may respect some specific parameters, such as a different pix fees
  - `allows_pix` boolean, required — Allows you to pay with pix
  - `allows_credit_card` boolean, required — Allows you to pay with credit card
  - `allows_bank_slip` boolean, required — Allows you to pay with bank slip
  - `transaction_items` EdubankTransactionItems[] — Edubank transaction items
    - `item` string, required — Item Description
    - `amount` string, required — Item amount
    - `reference` string — Item reference
    - `note` string — Item note
  - `transaction_details` EdubankTransactionDetails, required
    - `amount` number, required — Gross amount to be paid. Ex: 2010 = 20.10
    - `due_date` string, required — Due date
    - `payment_limit_date` string, required — Deadline for payment
    - `body_instructions` string[] — Up to five bank slip instructions
    - `late_fee` EdubankLateFee
      - `mode` string, required — Billing mode. Accepted values: FIXED (fixed) or PERCENTAGE (percentage)
      - `amount` string, required — Late fee amount. Ex: 2.00
    - `interest` EdubankInterest
      - `mode` string, required — Billing mode. Accepted values: DAILY_AMOUNT, DAILY_PERCENTAGE
      - `amount` string, required — Interest fee amount. Ex: 0.033
    - `discount` EdubankDiscount
      - `mode` string, required — Billing mode. Accepted values: FIXED (fixed) or PERCENTAGE (percentage)
      - `date_1` string, required — Deadline for payment to occur with discount 1. It must be before the date entered in "Due date"
      - `amount_1` number, required — Discount 1 amount. Ex: 2010 = 20.10
      - `date_2` string — Deadline for payment to occur with discount 2. It must be before the date entered in "date_1"
      - `amount_2` number — Discount 2 amount. Ex: 2010 = 20.10
      - `date_3` string — Deadline for payment to occur with discount 3. It must be before the date entered in "date_2"
      - `amount_3` number — Discount 3 amount. Ex: 2010 = 20.10
  - `split_rules` EdubankSplit[] — Split rules for the transaction.<br>All objects in the 'split_rules' array must have the same properties.<br>They must all be by value or by percentage
    - `recipient` string, required — Recipient seller_id
    - `amount` number — Value that will be split. Ex: 2010 = 20.10
    - `percentage` string, required — Split percentage
    - `processing_fee` string, required — Defines which seller should process fees. MAIN = Seller who created the transaction. RECIPIENT = Seller informed in the split.
  - `notification_url` string, required — URL that will receive a POST call when the transaction changes
  - `payments` EdubankConfirmedPayment[] — List of all payments that were confirmed for this transaction
    - `create_at` string, required — When payment creation was requested
    - `update_at` string — When the last payment update occurred
    - `payment_id` string, required — Edubank payment id
    - `payment_confirmed` boolean, required — The payment has been confirmed
    - `payment_canceled` boolean, required — The payment has been canceled
    - `payment_voided` boolean, required — The payment has been voided
    - `payment_chargeback` boolean, required — Payment was reversed
    - `payment_type` 'CREDIT_CARD' | 'DEBIT_CARD' | 'BANK_SLIP' | 'PIX', required — Payment method used
    - `payment_received_at` string, required — When payment was received
    - `payment_gross_amount` number, required — Gross payment amount
    - `payment_amount` number, required — Payment amount
    - `receivable_amount` number, required — Amount that will be credited
    - `fees` string, required — Fees

## Other responses

- `400` — Client specified an invalid argument, request body or query param
- `401` — The user is unauthorized
- `403` — Authenticated user is not allowed to access this resource
- `404` — The resource was not found
- `408` — Request timeout
- `422` — Error: Unprocessable Entity
- `429` — Too many requests
- `500` — Internal server error

---

[API](https://skmtc.dev/edubank/apis/api-edubank.md) · [All operations](https://skmtc.dev/edubank/apis/api-edubank/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/edubank/api-edubank/revisions/dce4008191d4/schema)
