Skip to main content
GET
/
v2
/
transactions
/
{id}
Get a Transaction
curl --request GET \
  --url https://api.pagou.ai/v2/transactions/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "amount": 4503599627370546,
  "currency": "BRL",
  "buyer": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "email": "[email protected]",
    "phone": "<string>",
    "birth_date": "<string>",
    "document": {
      "type": "CPF",
      "number": "<string>"
    },
    "address": {
      "street": "<string>",
      "city": "<string>",
      "country": "BR",
      "number": "<string>",
      "complement": "<string>",
      "neighborhood": "<string>",
      "state": "<string>",
      "zipCode": "<string>"
    }
  },
  "fee": {
    "net_amount": 4503599627370495,
    "estimated_fee": 4503599627370495
  },
  "informations": [
    {
      "key": "<string>",
      "value": "<string>"
    }
  ],
  "paid_amount": 4503599627370546,
  "method": "pix",
  "refunded_amount": 4503599627370495,
  "products": [
    {
      "name": "<string>",
      "price": 4503599627370495,
      "quantity": 4503599627370496
    }
  ],
  "traceable": true,
  "splits": [
    {
      "recipient_id": 0,
      "amount": 4503599627370496,
      "charge_processing_fee": true
    }
  ],
  "status": "authorized",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "voucher": {
    "barcode": "<string>",
    "digitable_line": "<string>",
    "url": "<string>",
    "expiration_date": "2023-11-07T05:31:56Z",
    "instructions": "<string>",
    "receipt_url": "<string>"
  },
  "external_ref": "<string>",
  "installments": 6,
  "paid_at": "2023-11-07T05:31:56Z",
  "pix": {
    "qr_code": "<string>",
    "expiration_date": "2023-11-07T05:31:56Z",
    "end_to_end_id": "<string>",
    "receipt_url": "<string>"
  },
  "metadata": {},
  "ip_address": "127.0.0.1"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
required

Response

Success

id
string<uuid>
required
amount
integer
required
Required range: 100 <= x <= 9007199254740991
currency
enum<string>
default:BRL
required
Available options:
BRL
buyer
object
required
fee
object
required
informations
object[]
required
paid_amount
integer
required
Required range: 100 <= x <= 9007199254740991
method
enum<string>
default:pix
required
Available options:
pix
refunded_amount
integer
required
Required range: 0 <= x <= 9007199254740991
products
object[]
required
traceable
boolean
required
splits
object[]
required
status
enum<string>
required
Available options:
authorized,
canceled,
captured,
chargedback,
three_ds_required,
expired,
in_protest,
paid,
partially_paid,
partially_refunded,
pending,
processing,
processed,
refunded,
refused
created_at
string<date-time>
required
updated_at
string<date-time>
required
voucher
object
external_ref
string | null
installments
integer | null
Required range: 1 <= x <= 12
paid_at
string<date-time> | null
pix
object
metadata
object
ip_address