Transacciones - Versión 2.0
Obtener transacciones
GET /v2/transaction-reports
Este endpoint permite buscar información impositiva de transacciones por varios criterios. La versión 2.0 del endpoint introduce mejoras significativas en la estructura de la respuesta para proporcionar una interfaz más clara y eficiente.
Parámetros | Descripción |
---|---|
page |
|
size |
|
start |
|
end |
|
operationId
|
|
merchantId
|
|
operationType
|
|
cardType
|
|
cardBrand
|
|
paymentMethod
|
|
status
|
|
Esquema de la respuesta:
Parámetros | Descripción |
---|---|
customer_id |
|
merchant_id |
|
terminal_id |
|
merchant_additional_info |
|
transaction_id |
|
operation_id |
|
operation_number |
|
operation_additional_info |
|
serial_number |
|
operation_type |
|
payment_method |
|
gross_amount |
|
currency |
|
datetime |
|
status |
|
installments |
|
financing
|
|
operation_detail |
|
tax_info |
|
Esquema del detalle de la operación (operation_detail):
Parámetros | Descripción |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Esquema del detalle de la tarjeta (card):
Parámetros | Descripción |
---|---|
|
|
|
|
|
|
|
|
Esquema de la información de impuestos (tax_info):
Parámetros | Descripción |
---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Esquema del desglose de impuestos (tax_breakdown):
Parámetros | Descripción |
---|---|
tax_code |
|
reference |
|
amount |
|
rate
|
|
Códigos de desglose de impuestos (tax_code):
- MENTA_TO_CUSTOMER_COMMISSION: Comisión de Menta
- MENTA_TO_CUSTOMER_COMMISSION_VAT_TAX: IVA sobre la comisión de Menta
- MENTA_COMMISSION_DISCOUNT: Descuento de Menta
- ACQUIRER_TO_CUSTOMER_COMMISSION: Comisión de la condición comercial
- ACQUIRER_TO_CUSTOMER_COMMISSION_VAT_TAX: IVA sobre la comisión de adquiriente
- CUSTOMER_TO_MERCHANT_COMMISSION: Tasa del plan de pago que pone el cliente
- CUSTOMER_TO_MERCHANT_COMMISSION_VAT_TAX: IVA sobre la tasa del plan de pago
- FINANCIAL_COST: Costo financiero de la tarjeta
- FINANCIAL_COST_VAT_TAX: IVA sobre el costo financiero
- MERCHANT_VAT_TAX: IVA sobre el total del monto del comercio
- MERCHANT_INCOME_TAX: Impuesto a las ganancias del comercio
- CUSTOMER_VAT_TAX: IVA sobre el total del monto del cliente
- CUSTOMER_INCOME_TAX: Impuesto a las ganancias del cliente
- MERCHANT_IIBB_TAX: Ingresos brutos del comercio
curl --request GET \
--location 'https://api.menta.global/api/v2/transaction-reports' \
--header 'Authorization: Bearer {access_token}' \
--url-query 'page=integer' \
--url-query 'size=integer' \
--url-query 'start=string' \
--url-query 'end=string'
{
"content": [
{
"customer_id": "string",
"merchant_id": "string",
"terminal_id": "string",
"merchant_additional_info": "string",
"transaction_id": "string",
"operation_id": "string",
"operation_number": 0,
"operation_additional_info": "string",
"serial_number": "string",
"operation_type": "PAYMENT",
"payment_method": "CREDIT",
"gross_amount": 0,
"currency": "ARS",
"datetime": "2024-03-05T20:21:03-03:00",
"status": "APPROVED",
"installments": 0,
"financing": "ESTANDAR",
"user": "string",
"operation_detail": {
"card": {
"card_bin": "string",
"card_mask": "string",
"card_brand": "VISA",
"is_international_card": false
},
"holder_name": "string",
"holder_document": "string",
"description": "string",
"input_mode": "CONTACTLESS",
"reference_operation_number": 394221095,
"reference_operation_id": "50c7571f-750c-43b5-9baf-f5d1d9a4d022"
},
"tax_info": {
"term": 0,
"payment_date": "2024-02-23T09:26:54-03:00",
"net_amount": 0,
"customer_term": 0,
"customer_payment_date": "2024-03-04T09:26:54-03:00",
"customer_net_amount": 0,
"tax_breakdown": [
{
"tax_code": "string",
"reference": "string",
"amount": 0,
"rate": 0
}
]
}
}
],
"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
}