Reporte Account Status

Reporte del estado de cuenta de una compañía.

Authorization

NombreTipoDescripción
AuthorizationBasicSe utiliza la auth que maneja Conekta.

Query

NombreObligatorioTipoDescripciónEjemplo
next_page_urlNostringID de la siguiente página.1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1
sizeNointCantidad de datos que se devuelve.Por defecto es 100.
Mínimo 1
Máximo 1000
yearNointAño que se quiere buscar, este filtro siempre va acompañado del mes.2022
monthNointMes que se quiere buscar, este filtro debe estar asociado con el año.10
fieldNostringFiltro de camposnet,amount

Solicitud

curl --location --request GET 'https://services.conekta.com/reports/v1/account-status?next_page_url=1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1&month=10&year=2022&size=1000' \
--header 'Authorization: Bearer key_111111aaaaaaaabbbbbbbcccc'

Respuesta

{
    "next_page_url": "https://services.conekta.com/reports/v1/account-status?next_page_url=1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1&month=10&year=2022&size=1000",
    "has_more": true,
    "total": 2,
    "object": "list",
    "data": [
        {
            "charge_id": "1a1a1a1a1a1a1a1a1a1a1abbb",
            "commission_details": [
                {
                    "concept": "credit_card_capture",
                    "description": "Credit Card Capture Fee with PaymentLink",
                    "amount": 10.1
                },
                {
                    "concept": "credit_card_capture_tax",
                    "description": "Credit Card Capture Fee Tax",
                    "amount": 1.01
                },
                {
                    "concept": "fee_discount",
                    "description": "Fee Discount",
                    "amount": -10.1
                },
                {
                    "concept": "fee_discount_tax",
                    "description": "Fee Discount Tax",
                    "amount": -1.01
                }
            ],
            "created_at": 1660307000000,
            "commission": 0,
            "net": 1000,
            "amount": 1000,
            "payment_type": "CreditCardPayment",
            "deposit_id": "12ab12ab12ab12ab12ab12",
            "transaction_id": "1111111bbbbbbbb11111111bb",
            "type_transaction": "capture",
            "company_id": "1234567aaabbbbbbbbccccc",
            "invoice_date": "2022-10",
            "status": "paid_out"
        }
    ]
}