Cargos

Objeto Cargo

El objeto Cargo contiene toda la información relacionada al pago de un orden. Este objeto pertenece al objeto orden.

TipoDescripción
idstringIdentificador único del cargo asignado al azar.
created_atinteger (32-bit unix timestamp)Fecha de creación del cargo.
currencystringDivisa con la cual se realizará el cobro. Utiliza el código de 3 letras del Estándar Internacional ISO 4217.
amountintegerCantidad a pagar.
reference_idstring (opcional)Cadena donde el usuario puede enviar información adicional para la orden.
monthly_installmentsintegerMeses sin intereses a los que se diferirá el cargo. Conekta ofrece 3, 6, 9 y 12 meses sin intereses.
livemodebooleantrue: Modo de producción.
false: Modo de prueba.
payment_methodhashMétodo de pago del cargo.
objectstringClase del objeto. En este caso, "charge".
statusstringStatus del cargo.
feeintegerCantidad de la comisión en centavos.
order_idstringId de la orden a la que pertenece el cargo
{
    id: "589026bbedbb6e56430016ad",
    object: "charge",
    status: "pending_payment",
    amount: 35000,
    fee: 1279,
    reference_id: "Tracking number: 54323456",
    order_id: "ord_2fw8EWJusiRrxdPzT",
    livemode: false,
    created_at: 1597069683,
    currency: "MXN",
    payment_method: {
        service_name: "OxxoPay",
        object: "cash_payment",
        type: "oxxo",
        expires_at: 1599661683,
        store_name: "OXXO",
        reference: "93345678901234"
    }
}
{
    "id": "589026bbedbb6e56430016ad",
    "object": "charge",
    "status": "pending_payment",
    "amount": 35000,
    "fee": 1279,
    "reference_id": "Tracking number: 54323456",
    "order_id": "ord_2fw8EWJusiRrxdPzT",
    "livemode": false,
    "created_at": 1597069683,
    "currency": "MXN",
    "payment_method": {
        "service_name": "OxxoPay",
        "object": "cash_payment",
        "type": "oxxo",
        "expires_at": 1599661683,
        "store_name": "OXXO",
        "reference": "93345678901234"
    }
}
{
    "id": "589026bbedbb6e56430016ad",
    "object": "charge",
    "status": "pending_payment",
    "amount": 35000,
    "fee": 1279,
    "reference_id": "Tracking number: 54323456",
    "order_id": "ord_2fw8EWJusiRrxdPzT",
    "livemode": false,
    "created_at": 1597069683,
    "currency": "MXN",
    "payment_method": {
        "service_name": "OxxoPay",
        "object": "cash_payment",
        "type": "oxxo",
        "expires_at": 1599661683,
        "store_name": "OXXO",
        "reference": "93345678901234"
    }
}
{
    "id": "589026bbedbb6e56430016ad",
    "object": "charge",
    "status": "pending_payment",
    "amount": 35000,
    "fee": 1279,
    "reference_id": "Tracking number: 54323456",
    "order_id": "ord_2fw8EWJusiRrxdPzT",
    "livemode": false,
    "created_at": 1597069683,
    "currency": "MXN",
    "payment_method": {
        "service_name": "OxxoPay",
        "object": "cash_payment",
        "type": "oxxo",
        "expires_at": 1599661683,
        "store_name": "OXXO",
        "reference": "93345678901234"
    }
}
{
    "id": "589026bbedbb6e56430016ad",
    "object": "charge",
    "status": "pending_payment",
    "amount": 35000,
    "fee": 1279,
    "reference_id": "Tracking number: 54323456",
    "order_id": "ord_2fw8EWJusiRrxdPzT",
    "livemode": false,
    "created_at": 1597069683,
    "currency": "MXN",
    "payment_method": {
        "service_name": "OxxoPay",
        "object": "cash_payment",
        "type": "oxxo",
        "expires_at": 1599661683,
        "store_name": "OXXO",
        "reference": "93345678901234"
    }
}
{
    id = 589026bbedbb6e56430016ad,
    object = charge,
    status = pending_payment,
    amount = 35000,
    fee = 1279,
    reference_id = Tracking number: 54323456,
    order_id = ord_2fw8EWJusiRrxdPzT,
    livemode = false,
    created_at = 1597069683,
    currency = MXN,
    payment_method = {
        service_name = OxxoPay,
        object = cash_payment,
        type = oxxo,
        expires_at = 1599661683,
        store_name = OXXO,
        reference = 93345678901234
    }
}
{
    "id": "589026bbedbb6e56430016ad",
    "object": "charge",
    "status": "pending_payment",
    "amount": 35000,
    "fee": 1279,
    "reference_id": "Tracking number: 54323456",
    "order_id": "ord_2fw8EWJusiRrxdPzT",
    "livemode": false,
    "created_at": 1597069683,
    "currency": "MXN",
    "payment_method": {
        "service_name": "OxxoPay",
        "object": "cash_payment",
        "type": "oxxo",
        "expires_at": 1599661683,
        "store_name": "OXXO",
        "reference": "93345678901234"
    }
}
{
    "id": "589026bbedbb6e56430016ad",
    "object": "charge",
    "status": "pending_payment",
    "amount": 35000,
    "fee": 1279,
    "reference_id": "Tracking number: 54323456",
    "order_id": "ord_2fw8EWJusiRrxdPzT",
    "livemode": false,
    "created_at": 1597069683,
    "currency": "MXN",
    "payment_method": {
        "service_name": "OxxoPay",
        "object": "cash_payment",
        "type": "oxxo",
        "expires_at": 1599661683,
        "store_name": "OXXO",
        "reference": "93345678901234"
    }
}