---
title: "GetChargeResponse"
url: "https://devcenter.stone.com.br/apis/stone-online-legacy/versions/4fb6db99-cd62-490f-8c0f-b04e7c2acd41/schemas/GetChargeResponse"
---

> Full API specification: https://devcenter.stone.com.br/apis/stone-online-legacy/versions/4fb6db99-cd62-490f-8c0f-b04e7c2acd41.md

# GetChargeResponse

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Stone Online · API (Legado)
  version: 1.0.0
servers:
  - url: https://payments.stone.com.br/v1
    description: Payment API Production Server
components:
  schemas:
    GetChargeResponse:
      type: object
      properties:
        charges:
          type: array
          items:
            type: object
            required:
              - id
              - initiator_id
              - amount
              - payment_method
              - status
              - created_at
            properties:
              id:
                type: string
                description: Identificador da charge
              initiator_id:
                type: string
                description: Identificador externo que pode ser utilizado em reversões
              reference_id:
                type: string
                description: Identificador externo do pedido
              amount:
                type: integer
                format: int64
                description: Valor da charge em centavos
              payment_method:
                type: string
                description: Payment method da charge
                enum:
                  - card
              status:
                type: string
                description: Status atual da Charge
                enum:
                  - authorized
                  - paid
                  - canceled
                  - declined
              created_at:
                type: string
                format: date-time
                description: Data e hora da criação da charge no formato "YYYY-MM-ddTHH:mm:ssZ"
              card_transaction:
                type: object
                required:
                  - type
                  - card
                  - transaction_id
                  - authorized_amount
                  - captured_amount
                  - canceled_amount
                properties:
                  type:
                    type: string
                    enum:
                      - credit
                      - debit
                      - voucher
                      - other
                    description: Detalhamento de que tipo de cartão está sendo utilizado na charge
                  transaction_id:
                    type: string
                    description: Identificador da transação emitido pelo provedor
                  funding_source:
                    type: string
                    description: Indicação para o método de liquidação a ser utilizado
                    enum:
                      - credit
                      - debit
                      - prepaid
                  authorized_amount:
                    type: integer
                    format: int64
                    description: Valor autorizado na cobrança, em centavos.
                  captured_amount:
                    type: integer
                    format: int64
                    description: Valor capturado na cobrança, em centavos.
                  canceled_amount:
                    type: integer
                    format: int64
                    description: Valor cancelado na cobrança, em centavos.
                  installments:
                    type: integer
                    format: int32
                    default: 0
                    minimum: 0
                    maximum: 99
                    description: Quantidade de parcelas da cobrança.
                  statement_descriptor:
                    type: string
                    maxLength: 35
                    description: Informação adicional apresentada na filipeta para o comprador
                      final. Em geral o nome fantasia do cliente.
                  merchant_category_code:
                    type: string
                    description: Código de categoria do lojista ou sublojista relacionado à
                      cobrança.
                  card:
                    type: object
                    properties:
                      brand:
                        type: string
                        description: Bandeira do cartão
                      emv_response:
                        type: string
                        format: binary
                        description: EMV
                  details:
                    type: array
                    items:
                      type: object
                      properties:
                        operation:
                          type: string
                          description: Operação feita sobre a charge
                          enum:
                            - authorization
                            - capture
                            - cancel
                        operation_id:
                          type: string
                        local_datetime:
                          type: string
                          format: date-time
                        provider_datetime:
                          type: string
                          format: date-time
                        operation_amount:
                          type: integer
                          format: int64
                        authorization_code:
                          type: string
                        emv_data:
                          type: string
                        acquirer_message:
                          type: string
                        acquirer_return_code:
                          type: string
                  additional_data:
                    type: array
                    description: Detalhamento de informações adicionais
                    items:
                      type: object
                      required:
                        - name
                        - value
                      properties:
                        name:
                          type: string
                          description: Nome da propriedade adicional
                        value:
                          type: string
                          description: Valor da propriedade adicional
```
