Pular para o conteúdo principal
GET
/
v2
/
transactions
List Transactions
curl --request GET \
  --url https://api.pagou.ai/v2/transactions \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "requestId": "<string>",
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "buyer": {
        "name": "<string>",
        "email": "jsmith@example.com"
      },
      "payment": {
        "method": "pix",
        "currency": "BRL",
        "country": "<string>",
        "amount": 0,
        "base_price": 0,
        "external_ref": "<string>",
        "installments": 6,
        "fee": {
          "estimated_fee": 0,
          "net_amount": 0
        },
        "pix": {
          "qrcode": "<string>",
          "endToEnd": "<string>"
        }
      },
      "status": "authorized",
      "products": [
        {
          "title": "<string>",
          "quantity": 0,
          "unit_price": 0
        }
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "paid_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next_cursor": "<string>",
  "prev_cursor": "<string>",
  "total": 123
}

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de consulta

cursor
string
limit
number
padrão:20
Intervalo obrigatório: 1 <= x <= 100
direction
enum<string>
padrão:next
Opções disponíveis:
next,
prev
id
string | null
paymentMethods
enum<string> | null
padrão:pix
Opções disponíveis:
pix,
credit_card
status
deliveryStatus
enum<string> | null
Opções disponíveis:
waiting,
in_transit,
delivered
installments
number | null
name
string | null
email
string | null
documentNumber
string | null
phone
string | null
traceable
boolean | null

Resposta

Success

success
boolean
obrigatório
requestId
string
obrigatório
data
object[]
obrigatório
next_cursor
string | null
obrigatório
prev_cursor
string | null
obrigatório
total
number
obrigatório