Transacciones

Obtener transacciones

GET /v1/transaction-reports

Este endpoint permite buscar información impositiva de transacciones por varios criterios.

ParámetrosDescripción
page
  • integer
  • El número de la página de resultados a obtener (>=0)
size
  • integer
  • El número de resultados por página (max = 10000)
start
  • date
  • La fecha de inicio del rango de búsqueda
  • [yyyy-MM-ddTHH:mm:ssZ]
end
  • date
  • La fecha de inicio del rango de búsqueda
  • [yyyy-MM-ddTHH:mm:ssZ]
operationId
  • (opcional)
  • string
  • Número de operación
merchantId
  • (opcional)
  • integer
  • Identificador del comercio que realizó las transacciones, obligatorio si el usuario es del tipo comercio
operationType
  • (opcional)
  • string
  • El tipo de operación de las transacciones
  • [PAYMENT, REFUND, ANNULMENT]
cardType
  • (opcional)
  • string
  • Tipo de tarjeta
  • [DEBIT, CREDIT, PREPAID]
cardBrand
  • (opcional)
  • string
  • Marca de tarjeta
  • [VISA, MASTERCARD, AMEX, CARNET, MAESTRO]
paymentMethod
  • (opcional)
  • string
  • El método de pago
  • [DEBIT, CREDIT, PREPAID, QR]
status
  • (opcional)
  • string
  • Un listado de estados de las transacciones
  • [APPROVED, REJECTED, REVERSED]
  curl --request GET \
    --location 'https://api.menta.global/api/v1/transaction-reports' \
    --header 'Authorization: Bearer {access_token}' \
    --url-query 'page=integer' \
    --url-query 'size=integer' \
    --url-query 'start=string' \
    --url-query 'end=string'
{
  "content": [
    {
      "operation_info": {
        "transaction_id": "string",
        "payment_method": "string",
        "terminal_id": "string",
        "operation_type": "PAYMENT",
        "operation_number": 0,
        "reference_operation_number": 0,
        "operation_id": "string",
        "reference_operation_id": "string",
        "acquirer_id": "string",
        "user": "string",
        "datetime": "2019-08-24T14:15:22Z",
        "status": "APPROVED",
        "installments_number": "string",
        "tip": "string",
        "additional_info": "string",
        "card": {
          "card_mask": "string",
          "card_type": "DEBIT",
          "card_brand": "VISA"
        }
      },
      "merchant_info": {
        "merchant_id": "string",
        "fantasy_name": "string",
        "business_name": "string",
        "additional_info": "string",
        "tax_type": "string",
        "tax_id": "string",
        "country": "string"
      },
      "tax_customer_info": {
        "gross_amount": "string",
        "commission": "string",
        "gross_commission": "string",
        "gross_commission_with_tax": "string",
        "partial_gross_amount": "string",
        "menta_commission": "string",
        "menta_gross_commission": "string",
        "menta_gross_commission_with_tax": "string",
        "discount": "string",
        "taxed_amount": "string",
        "financial_cost": "string",
        "gross_financial_cost": "string",
        "gross_financial_cost_tax": "string",
        "markup": "string",
        "total_markup": "string",
        "gross_markup": "string",
        "term": 0,
        "next_payment_date": "2019-08-24T14:15:22Z"
      },
      "tax_merchant_info": {
        "gross_amount": "string",
        "commission": "string",
        "gross_commission": "string",
        "gross_commission_with_tax": "string",
        "partial_gross_amount": "string",
        "iva": "string",
        "ganancias": "string",
        "taxed_amount": "string",
        "financial_cost": "string",
        "gross_financial_cost": "string",
        "gross_financial_cost_tax": "string",
        "term": 0,
        "next_payment_date": "2019-08-24T14:15:22Z",
        "cbu_or_cvu": "string"
      }
    }
  ],
  "pageable": {
    "sort": {
      "sorted": true,
      "unsorted": true,
      "empty": true
    },
    "page_number": 0,
    "page_size": 0,
    "offset": 0,
    "paged": true,
    "unpaged": true
  },
  "total_pages": 0,
  "total_elements": 0
}