StafeBank Gateway
  1. Transactions
StafeBank Gateway
  • Overview
  • Webhooks
  • Error codes
  • Ambiente de Testes
  • Transactions
    • Criar uma Transação
      POST
    • Criar uma Transação Com 3DS
      POST
    • Criar uma Transação PIX
      POST
    • Estornar uma transação
      POST
    • Capturando uma Transação
      POST
    • Buscar Transação
      GET
    • Listar Transações
      GET
    • Retornar Histórico de uma Transação
      GET
    • Retornar Parcelas de uma transação
      GET
  • Payment Links
    • Criar Link
      POST
    • Atualizar Link
      PUT
    • Buscar Link
      GET
    • Listar Links
      GET
    • Transações de um link
      GET
  • Customer
    • Criar Cliente
      POST
    • Encontrar Cliente
      POST
    • Cartões do Cliente
      POST
    • Atualizar Cliente
      PUT
    • Buscar Cliente
      GET
    • Listar Clientes
      GET
    • Deletar um cliente
      DELETE
  • Cards
    • Criar Cartão
      POST
    • Obter Bandeira
      POST
    • Buscar Cartão
      GET
    • Listar Cartões
      GET
  • Webhook
    • Criar um webhook
    • Atualizar Webhook
    • Retornar Webhooks Cadastrados
    • Retornar um Webhook
    • Remover um Webhook
  • Simulate
    • Tax
  • Recurrence
    • Plans
      • Create Plan
      • Update Plan
      • Get a Plan
      • List Plans
    • Subscription
      • Create Subscription
      • Cancel Subscription
      • GET Subscription
  1. Transactions

Retornar Histórico de uma Transação

Amb. de prod.
https://onapi.stafebank.com.br
Amb. de prod.
https://onapi.stafebank.com.br
GET
/v1/transactions/{transaction_id}/history

Requisição

Parâmetros de Caminho

Códigos de solicitação

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'https://onapi.stafebank.com.br/v1/transactions/{{transaction_id}}/history'

Respostas

🟢200Success
application/json
Body

Exemplo
{
  "pagination": {
    "total": 4,
    "count": 4,
    "per_page": 100,
    "current_page": 1,
    "total_pages": 1
  },
  "data": [
    {
      "id": 1041,
      "transaction_id": 431,
      "amount": 120,
      "capture_amount": 120,
      "paid_amount": 120,
      "status": "refunded",
      "created_at": "2023-11-30T09:04:36.000000Z",
      "updated_at": "2023-11-30T09:04:36.000000Z"
    },
    {
      "id": 1036,
      "transaction_id": 431,
      "amount": 120,
      "capture_amount": 120,
      "paid_amount": 120,
      "status": "paid",
      "created_at": "2023-11-30T09:01:42.000000Z",
      "updated_at": "2023-11-30T09:01:42.000000Z"
    },
    {
      "id": 1035,
      "transaction_id": 431,
      "amount": 120,
      "capture_amount": 120,
      "paid_amount": 120,
      "status": "paid",
      "created_at": "2023-11-30T09:01:42.000000Z",
      "updated_at": "2023-11-30T09:01:42.000000Z"
    },
    {
      "id": 1034,
      "transaction_id": 431,
      "amount": 120,
      "capture_amount": 120,
      "paid_amount": null,
      "status": "processing",
      "created_at": "2023-11-30T09:01:39.000000Z",
      "updated_at": "2023-11-30T09:01:39.000000Z"
    }
  ]
}
Modificado em 2025-06-11 09:53:15
Página anterior
Listar Transações
Próxima página
Retornar Parcelas de uma transação
Built with