Transacciones

Obtener transacciones

GET /v1/transaction-reports

Este endpoint permite buscar informacion impositiva de transacciones por varios criterios.

ParámetroDescripción
page (requerido)El número de la página de resultados a obtener
size (requerido)El número de resultados por página
start (requerido)La fecha de inicio del rango de búsqueda. yyyy-MM-ddTHH:mm:ssZ
end (requerido)La fecha de fin del rango de búsqueda. yyyy-MM-ddTHH:mm:ssZ
operationIdNúmero de operación
merchantIdEl comerciante que realizó las transacciones, obligatorio si el usuario es del tipo comercio
operationTypeEl tipo de operación de las transacciones [PAYMENT, REFUND, ANNULMENT]
cardTypeTipo de tarjeta. [DEBIT, CREDIT]
cardBrandMarca de tarjeta. [VISA, MASTERCARD, AMEX]
paymentMethodEl método de pago. [DEBIT, CREDIT, QR]
statusUn 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
}